Lines Matching defs:handle
261 * handle lower than staticmax are considered "static" and cannot be
264 * Modules with a handle at or above the staticmax high water mark
586 mac_policy_addto_labellist(mac_policy_handle_t handle, int static_entry)
595 mpc = mac_get_mpc(handle);
662 new_mlls[mll_free]->mll_handle = handle;
688 mac_policy_removefrom_labellist(mac_policy_handle_t handle)
694 mpc = mac_get_mpc(handle);
710 if (mll->mll_handle == handle) {
868 /* Find the first free handle in the list (using our hint). */
880 * we can place its handle adjacent to the last static entry,
928 mac_policy_unregister(mac_policy_handle_t handle)
938 mpc = mac_get_mpc(handle);
962 mac_policy_removefrom_labellist(handle);
964 mac_get_mpc(handle) = NULL;
965 if (handle < mac_policy_list.freehint &&
966 handle >= mac_policy_list.staticmax)
967 mac_policy_list.freehint = handle;
969 if (handle == mac_policy_list.maxindex)
2309 mac_policy_unregister(mac_policy_handle_t handle __unused)
2316 mac_audit_text(char *text __unused, mac_policy_handle_t handle __unused)