Lines Matching refs:list
108 struct list_head list; member
207 list_for_each_entry_rcu(sp, rule_list, list) { in smk_set_access()
228 list_add_rcu(&sp->list, rule_list); in smk_set_access()
237 list_add_rcu(&smlp->list, &smack_rule_list); in smk_set_access()
536 struct list_head *list; in smk_seq_start() local
547 list = s->private; in smk_seq_start()
548 if (list_empty(list)) in smk_seq_start()
552 return list->next; in smk_seq_start()
553 return list; in smk_seq_start()
559 struct list_head *list = v; in smk_seq_next() local
561 if (list_is_last(list, head)) { in smk_seq_next()
565 s->private = list->next; in smk_seq_next()
566 return list->next; in smk_seq_next()
622 struct list_head *list = v; in load_seq_show() local
624 list_entry(list, struct smack_master_list, list); in load_seq_show()
770 struct list_head *list = v; in cipso_seq_show() local
772 list_entry(list, struct smack_known, list); in cipso_seq_show()
959 struct list_head *list = v; in cipso2_seq_show() local
961 list_entry(list, struct smack_known, list); in cipso2_seq_show()
1043 struct list_head *list = v; in netlbladdr_seq_show() local
1045 list_entry(list, struct smk_netlbladdr, list); in netlbladdr_seq_show()
1092 list_add_rcu(&new->list, &smk_netlbladdr_list); in smk_netlbladdr_insert()
1097 struct smk_netlbladdr, list); in smk_netlbladdr_insert()
1101 list_add_rcu(&new->list, &smk_netlbladdr_list); in smk_netlbladdr_insert()
1105 list_for_each_entry_rcu(m, &smk_netlbladdr_list, list) { in smk_netlbladdr_insert()
1106 if (list_is_last(&m->list, &smk_netlbladdr_list)) { in smk_netlbladdr_insert()
1107 list_add_rcu(&new->list, &m->list); in smk_netlbladdr_insert()
1110 m_next = list_entry_rcu(m->list.next, in smk_netlbladdr_insert()
1111 struct smk_netlbladdr, list); in smk_netlbladdr_insert()
1113 list_add_rcu(&new->list, &m->list); in smk_netlbladdr_insert()
1230 list_for_each_entry_rcu(skp, &smk_netlbladdr_list, list) { in smk_write_netlbladdr()
1420 list_for_each_entry_rcu(skp, &smack_known_list, list) in smk_write_direct()
1498 list_for_each_entry_rcu(skp, &smack_known_list, list) in smk_write_mapped()
1776 struct list_head *list = v; in load_self_seq_show() local
1778 list_entry(list, struct smack_rule, list); in load_self_seq_show()
1908 struct list_head *list = v; in load2_seq_show() local
1910 list_entry(list, struct smack_master_list, list); in load2_seq_show()
1985 struct list_head *list = v; in load_self2_seq_show() local
1987 list_entry(list, struct smack_rule, list); in load_self2_seq_show()
2109 list_for_each_entry_rcu(sp, rule_list, list) in smk_write_revoke_subj()