Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 29) sorted by relevance

12

/security/selinux/ss/
Debitmap.c39 n1 = n1->next; in ebitmap_cmp()
40 n2 = n2->next; in ebitmap_cmp()
64 new->next = NULL; in ebitmap_cpy()
66 prev->next = new; in ebitmap_cpy()
70 n = n->next; in ebitmap_cpy()
120 e_iter = e_iter->next; in ebitmap_netlbl_export()
166 e_prev->next = e_iter; in ebitmap_netlbl_import()
205 n1 = n1->next; in ebitmap_contains()
223 n1 = n1->next; in ebitmap_contains()
224 n2 = n2->next; in ebitmap_contains()
[all …]
Dhashtab.c54 cur = cur->next; in hashtab_insert()
66 newnode->next = prev->next; in hashtab_insert()
67 prev->next = newnode; in hashtab_insert()
69 newnode->next = h->htable[hvalue]; in hashtab_insert()
88 cur = cur->next; in hashtab_search()
108 cur = cur->next; in hashtab_destroy()
137 cur = cur->next; in hashtab_map()
158 cur = cur->next; in hashtab_stat()
Dconditional.c33 for (cur = expr; cur; cur = cur->next) { in cond_evaluate_expr()
101 for (cur = node->true_list; cur; cur = cur->next) { in evaluate_cond_node()
108 for (cur = node->false_list; cur; cur = cur->next) { in evaluate_cond_node()
135 struct cond_av_list *cur, *next; in cond_av_list_destroy() local
136 for (cur = list; cur; cur = next) { in cond_av_list_destroy()
137 next = cur->next; in cond_av_list_destroy()
148 next_expr = cur_expr->next; in cond_node_destroy()
158 struct cond_node *next, *cur; in cond_list_destroy() local
163 for (cur = list; cur; cur = next) { in cond_list_destroy()
164 next = cur->next; in cond_list_destroy()
[all …]
Dsidtab.c48 cur = cur->next; in sidtab_insert()
69 newnode->next = prev->next; in sidtab_insert()
71 prev->next = newnode; in sidtab_insert()
73 newnode->next = s->htable[hvalue]; in sidtab_insert()
96 cur = cur->next; in sidtab_search_core()
107 cur = cur->next; in sidtab_search_core()
143 cur = cur->next; in sidtab_map()
174 cur = cur->next; in sidtab_search_context()
254 cur = cur->next; in sidtab_hash_eval()
279 cur = cur->next; in sidtab_destroy()
Dconditional.h35 struct cond_expr *next; member
45 struct cond_av_list *next; member
60 struct cond_node *next; member
Debitmap.h34 struct ebitmap_node *next; member
51 for (*n = e->node; *n; *n = (*n)->next) { in ebitmap_start_positive()
74 for (*n = (*n)->next; *n; *n = (*n)->next) { in ebitmap_next_positive()
Davtab.c60 newnode->next = prev->next; in avtab_insert_node()
61 prev->next = newnode; in avtab_insert_node()
63 newnode->next = h->htable[hvalue]; in avtab_insert_node()
83 prev = cur, cur = cur->next) { in avtab_insert()
127 prev = cur, cur = cur->next) { in avtab_insert_nonunique()
156 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search()
191 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search_node()
220 for (cur = node->next; cur; cur = cur->next) { in avtab_search_node_next()
252 cur = cur->next; in avtab_destroy()
323 cur = cur->next; in avtab_hash_eval()
[all …]
Dconstraint.h53 struct constraint_expr *next; /* next expression */ member
59 struct constraint_node *next; /* next constraint */ member
Dpolicydb.h92 struct role_trans *next; member
109 struct role_allow *next; member
197 struct ocontext *next; member
203 struct genfs *next; member
Dpolicydb.c655 e = e->next; in cls_destroy()
659 constraint = constraint->next; in cls_destroy()
668 e = e->next; in cls_destroy()
672 constraint = constraint->next; in cls_destroy()
820 c = c->next; in policydb_destroy()
833 c = c->next; in policydb_destroy()
837 g = g->next; in policydb_destroy()
844 for (tr = p->role_tr; tr; tr = tr->next) { in policydb_destroy()
851 for (ra = p->role_allow; ra; ra = ra->next) { in policydb_destroy()
899 for (c = head; c; c = c->next) { in policydb_load_isids()
[all …]
Dhashtab.h18 struct hashtab_node *next; member
Dsidtab.h15 struct sidtab_node *next; member
Dservices.c285 for (e = cexpr; e; e = e->next) { in constraint_expr_eval()
724 constraint = constraint->next; in context_struct_compute_av()
735 for (ra = policydb.role_allow; ra; ra = ra->next) { in context_struct_compute_av()
839 constraint = constraint->next; in security_validate_transition()
1702 for (roletr = policydb.role_tr; roletr; roletr = roletr->next) { in security_compute_sid()
1949 oc = oc->next; in convert_context()
2188 c = c->next; in security_port_sid()
2225 c = c->next; in security_netif_sid()
2294 c = c->next; in security_node_sid()
2308 c = c->next; in security_node_sid()
[all …]
Davtab.h82 struct avtab_node *next; member
/security/apparmor/
Dmatch.c305 u16 *next = NEXT_TABLE(dfa); in aa_dfa_match_len() local
320 state = next[pos]; in aa_dfa_match_len()
329 state = next[pos]; in aa_dfa_match_len()
355 u16 *next = NEXT_TABLE(dfa); in aa_dfa_match() local
370 state = next[pos]; in aa_dfa_match()
379 state = next[pos]; in aa_dfa_match()
403 u16 *next = NEXT_TABLE(dfa); in aa_dfa_next() local
415 state = next[pos]; in aa_dfa_next()
422 state = next[pos]; in aa_dfa_next()
Dapparmorfs.c554 list_entry(pos->member.next, typeof(*pos), member)
572 struct aa_namespace *parent, *next; in __next_namespace() local
576 next = list_first_entry(&ns->sub_ns, typeof(*ns), base.list); in __next_namespace()
577 mutex_lock(&next->lock); in __next_namespace()
578 return next; in __next_namespace()
585 next = list_entry_next(ns, base.list); in __next_namespace()
586 if (!list_entry_is_head(next, &parent->sub_ns, base.list)) { in __next_namespace()
587 mutex_lock(&next->lock); in __next_namespace()
588 return next; in __next_namespace()
665 struct aa_profile *next = __next_profile(profile); in next_profile() local
[all …]
Dprocattr.c139 char *next = hat + strlen(hat) + 1; in aa_setprocattr_changehat() local
141 hat = next; in aa_setprocattr_changehat()
/security/integrity/ima/
Dima_fs.c91 qe = list_entry_rcu(qe->later.next, struct ima_queue_entry, later); in ima_measurements_next()
172 .next = ima_measurements_next,
234 .next = ima_measurements_next,
/security/smack/
Dsmackfs.c573 return list->next; in smk_seq_start()
586 s->private = list->next; in smk_seq_next()
587 return list->next; in smk_seq_next()
661 .next = load2_seq_next,
831 .next = cipso_seq_next,
1009 .next = cipso_seq_next,
1088 .next = netlbladdr_seq_next,
1124 m = list_entry_rcu(smk_netlbladdr_list.next, in smk_netlbladdr_insert()
1138 m_next = list_entry_rcu(m->list.next, in smk_netlbladdr_insert()
1816 .next = load_self_seq_next,
[all …]
/security/keys/
Dproc.c30 .next = proc_keys_next,
51 .next = proc_key_users_next,
Dgc.c131 list_entry(keys->next, struct key, graveyard_link); in key_gc_unused_keys()
Dkeyring.c118 if (!keyring_name_hash[bucket].next) in keyring_publish_name()
390 if (keyring->type_data.link.next != NULL && in keyring_destroy()
983 if (keyring_name_hash[bucket].next) { in find_keyring_by_name()
/security/selinux/
DKconfig47 SELinux will then remain disabled until the next boot.
110 and set the value via the next option. For Fedora Core 5 and later,
Davc.c82 struct avc_callback_node *next; member
800 c->next = avc_callbacks; in avc_add_callback()
951 for (c = avc_callbacks; c; c = c->next) { in avc_ss_reset()
/security/tomoyo/
Dcommon.c736 next: in tomoyo_read_profile()
814 goto next; in tomoyo_read_profile()
2481 if (!ns || (head->r.eof && ns->next != &tomoyo_namespace_list)) { in tomoyo_set_namespace_cursor()
2484 head->r.ns = ns ? ns->next : tomoyo_namespace_list.next; in tomoyo_set_namespace_cursor()
2499 head->r.ns->next != &tomoyo_namespace_list; in tomoyo_has_more_namespace()

12