Home
last modified time | relevance | path

Searched refs:k (Results 1 – 8 of 8) sorted by relevance

/security/selinux/ss/
Dhashtab.h54 int hashtab_insert(struct hashtab *h, void *k, void *d);
62 void *hashtab_search(struct hashtab *h, const void *k);
81 int (*apply)(void *k, void *d, void *args),
Dconditional.c259 static int cond_insertf(struct avtab *a, struct avtab_key *k, struct avtab_datum *d, void *ptr) in cond_insertf() argument
273 if (k->specified & AVTAB_TYPE) { in cond_insertf()
274 if (avtab_search(&p->te_avtab, k)) { in cond_insertf()
287 node_ptr = avtab_search_node(&p->te_cond_avtab, k); in cond_insertf()
289 if (avtab_search_node_next(node_ptr, k->specified)) { in cond_insertf()
306 if (avtab_search(&p->te_cond_avtab, k)) { in cond_insertf()
313 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf()
Davtab.h63 struct avtab_datum *avtab_search(struct avtab *h, struct avtab_key *k);
69 int (*insert)(struct avtab *a, struct avtab_key *k,
Dpolicydb.c1957 int k; in policydb_read() local
1962 for (k = 0; k < 4; k++) in policydb_read()
1963 c->u.node6.addr[k] = nodebuf[k]; in policydb_read()
1964 for (k = 0; k < 4; k++) in policydb_read()
1965 c->u.node6.mask[k] = nodebuf[k+4]; in policydb_read()
Davtab.c327 int (*insertf)(struct avtab *a, struct avtab_key *k, in avtab_read_item() argument
454 static int avtab_insertf(struct avtab *a, struct avtab_key *k, in avtab_insertf() argument
457 return avtab_insert(a, k, d); in avtab_insertf()
Dhashtab.c118 int (*apply)(void *k, void *d, void *args), in hashtab_map() argument
Dservices.c2442 static int get_classes_callback(void *k, void *d, void *args) in get_classes_callback() argument
2445 char *name = k, **classes = args; in get_classes_callback()
2480 static int get_permissions_callback(void *k, void *d, void *args) in get_permissions_callback() argument
2483 char *name = k, **perms = args; in get_permissions_callback()
/security/selinux/
Dhooks.c5500 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc() argument
5516 k->security = ksec; in selinux_key_alloc()
5520 static void selinux_key_free(struct key *k) in selinux_key_free() argument
5522 struct key_security_struct *ksec = k->security; in selinux_key_free()
5524 k->security = NULL; in selinux_key_free()