Lines Matching defs:operation
359 * the module list, invoking each instance of the operation, and combining
364 #define MAC_POLICY_BOOLEAN(operation, composition, args...) do { \
368 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
370 mpc->mpc_ops->mpo_ ## operation (args); \
375 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
377 mpc->mpc_ops->mpo_ ## operation \
384 #define MAC_POLICY_BOOLEAN_NOSLEEP(operation, composition, args...) do {\
388 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
390 mpc->mpc_ops->mpo_ ## operation (args); \
397 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
399 mpc->mpc_ops->mpo_ ## operation \
488 * MAC_POLICY_PERFORM performs the designated operation by walking the policy
489 * module list and invoking that operation for each policy.
491 #define MAC_POLICY_PERFORM(operation, args...) do { \
495 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
496 mpc->mpc_ops->mpo_ ## operation (args); \
501 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
502 mpc->mpc_ops->mpo_ ## operation (args); \
508 #define MAC_POLICY_PERFORM_NOSLEEP(operation, args...) do { \
512 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
513 mpc->mpc_ops->mpo_ ## operation (args); \
520 if (mpc->mpc_ops->mpo_ ## operation != NULL) \
521 mpc->mpc_ops->mpo_ ## operation (args); \