Lines Matching defs:list
46 * notice, this list of conditions and the following disclaimer.
48 * notice, this list of conditions and the following disclaimer in the
261 * mac_policy_list holds the list of policy modules. Modules with a
267 * for the list, stored in mac_policy_busy. The busy count is protected
268 * by mac_policy_mtx; the list may be modified only while the busy
270 * to the list from being acquired. For almost all operations,
272 * as the list cannot be modified while the busy count is elevated.
273 * For a few special operations involving a change to the list of
279 * Policy list array allocation chunk size. Trying to set this so that we
289 * mac_label_element_list holds the master list of label namespaces for
291 * elements is added to the master list if not already present. When a
355 printf("%s(): Label not in list!\n", __func__);
403 /* Free list */
573 * policy to either the static or non-static label namespace list.
574 * A namespace is added to the the list only if it is not already on one of
582 struct mac_label_element_list_t *list;
596 list = &mac_static_label_element_list;
598 list = &mac_label_element_list;
601 * Before we grab the policy list lock, allocate enough memory
629 * appropriate list only if not already on a list.
650 LIST_INSERT_HEAD(list, mle, mle_list);
673 * the policy manages from the non-static list of namespaces.
697 * that label element from the list. Note that we only
698 * have to worry about the non-static list.
716 * After the policy list has changed, walk the list to update any global
722 #if !defined(CONFIG_MACF_ALWAYS_LABEL_MBUF) && 0 /* port to new list style */
731 /* XXX - convert to new list structure */
764 aele = &(arr->list[j]);
774 &(dict->list[k]));
818 /* allocate new policy list array, zero new chunk */
826 /* copy old entries into new list */
880 /* Find the first free handle in the list (using our hint). */
1183 * namespaces contained in a list.