Lines Matching refs:mll

420 	struct mac_label_listener *mll, *mll_tmp;  in mac_policy_addto_labellist()  local
452 mll = kalloc_type(struct mac_label_listener, Z_WAITOK); in mac_policy_addto_labellist()
453 SLIST_INSERT_HEAD(&mlls, mll, mll_list); in mac_policy_addto_labellist()
494 mll = SLIST_FIRST(&mlls); in mac_policy_addto_labellist()
497 mll->mll_handle = handle; in mac_policy_addto_labellist()
498 SLIST_INSERT_HEAD(&mle->mle_listeners, mll, mll_list); in mac_policy_addto_labellist()
507 SLIST_FOREACH_SAFE(mll, &mlls, mll_list, mll_tmp) { in mac_policy_addto_labellist()
508 kfree_type(struct mac_label_listener, mll); in mac_policy_addto_labellist()
523 struct mac_label_listener *mll, **mllp; in mac_policy_removefrom_labellist() local
544 SLIST_FOREACH_PREVPTR(mll, mllp, &mle->mle_listeners, mll_list) { in mac_policy_removefrom_labellist()
545 if (mll->mll_handle == handle) { in mac_policy_removefrom_labellist()
546 *mllp = SLIST_NEXT(mll, mll_list); in mac_policy_removefrom_labellist()
547 kfree_type(struct mac_label_listener, mll); in mac_policy_removefrom_labellist()
914 struct mac_label_listener *mll; in mac_label_externalize() local
946 SLIST_FOREACH(mll, &mle->mle_listeners, mll_list) { in mac_label_externalize()
947 mpc = mac_policy_list.entries[mll->mll_handle].mpc; in mac_label_externalize()
1077 struct mac_label_listener *mll; in mac_label_internalize() local
1094 SLIST_FOREACH(mll, &mle->mle_listeners, mll_list) { in mac_label_internalize()
1095 mpc = mac_policy_list.entries[mll->mll_handle].mpc; in mac_label_internalize()