Lines Matching refs:operation
348 * the module list, invoking each instance of the operation, and combining
353 #define MAC_POLICY_BOOLEAN(operation, composition, args...) do { \
357 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
359 mpc->mpc_ops->mpo_ ## operation (args); \
364 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
366 mpc->mpc_ops->mpo_ ## operation \
373 #define MAC_POLICY_BOOLEAN_NOSLEEP(operation, composition, args...) do {\
377 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
379 mpc->mpc_ops->mpo_ ## operation (args); \
386 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
388 mpc->mpc_ops->mpo_ ## operation \
477 * MAC_POLICY_PERFORM performs the designated operation by walking the policy
478 * module list and invoking that operation for each policy.
480 #define MAC_POLICY_PERFORM(operation, args...) do { \
484 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
485 mpc->mpc_ops->mpo_ ## operation (args); \
490 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
491 mpc->mpc_ops->mpo_ ## operation (args); \
497 #define MAC_POLICY_PERFORM_NOSLEEP(operation, args...) do { \
501 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
502 mpc->mpc_ops->mpo_ ## operation (args); \
509 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
510 mpc->mpc_ops->mpo_ ## operation (args); \