src/dpdk/drivers/net/nfp/nfpcore/nfp_cppcore.c
int
nfp_cpp_area_acquire(struct nfp_cpp_area *area)
{
	if (area->cpp->op->area_acquire) {
		int err = area->cpp->op->area_acquire(area);

		if (err < 0)
			return -1;
	}

	return 0;
}
/*
 * nfp_cpp_area_acquire - lock down a CPP area for access
 * @area:   CPP area handle
 *
 * Locks down the CPP area for a potential long term activity.  Area
 * must always be locked down before being accessed.
 */
lock down a CPP area for access
@area:   CPP area handle

Locks down the CPP area for a potential long term activity.  Area
must always be locked down before being accessed.
lock down a CPP area for access @area : CPP area handle Locks down the CPP area for a potential long term activity . Area must always be locked down before being accessed .
int
nfp_cpp_area_acquire(struct nfp_cpp_area *area)
{
	if (area->cpp->op->area_acquire) {
		int err = area->cpp->op->area_acquire(area);
		if (err < 0)
			return -1;
	}
	return 0;
}
int nfp_cpp_area_acquire ( struct nfp_cpp_area * area ) { if ( area -> cpp -> op -> area_acquire ) { int err = area -> cpp -> op -> area_acquire ( area ) ; if ( err < 0 ) return -1 ; } return 0 ; }
nfp_cpp_area_acquire - lock down a CPP area for access
 @area:   CPP area handle
nfp_cpp_area_acquire - lock down a CPP area for access @area : CPP area handle