Home
last modified time | relevance | path

Searched refs:nel (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/security/selinux/ss/
Dpolicydb.c499 "longest chain length %d\n", hash_name, h->nel, in hash_eval()
535 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1151 u32 len, nel; in common_read() local
1170 nel = le32_to_cpu(buf[3]); in common_read()
1176 for (i = 0; i < nel; i++) { in common_read()
1317 u32 len, len2, ncons, nel; in class_read() local
1337 nel = le32_to_cpu(buf[4]); in class_read()
1357 for (i = 0; i < nel; i++) { in class_read()
1847 u32 nel; in range_read() local
1856 nel = le32_to_cpu(buf[0]); in range_read()
[all …]
Dsidtab.c26 s->nel = 0; in sidtab_init()
78 s->nel++; in sidtab_insert()
263 "chain length %d\n", tag, h->nel, slots_used, SIDTAB_SIZE, in sidtab_hash_eval()
287 s->nel = 0; in sidtab_destroy()
298 dst->nel = src->nel; in sidtab_set()
Davtab.c104 h->nel++; in avtab_insert_node()
307 h->nel = 0; in avtab_init()
338 h->nel = 0; in avtab_alloc()
373 tag, h->nel, slots_used, h->nslot, max_chain_len, in avtab_hash_eval()
560 u32 nel, i; in avtab_read() local
568 nel = le32_to_cpu(buf[0]); in avtab_read()
569 if (!nel) { in avtab_read()
575 rc = avtab_alloc(a, nel); in avtab_read()
579 for (i = 0; i < nel; i++) { in avtab_read()
642 buf[0] = cpu_to_le32(a->nel); in avtab_write()
Dhashtab.c24 p->nel = 0; in hashtab_create()
46 if (!h || h->nel == HASHTAB_MAX_NODES) in hashtab_insert()
73 h->nel++; in hashtab_insert()
Dhashtab.h24 u32 nel; /* number of elements in hash table */ member
Dsidtab.h26 unsigned int nel; /* number of elements */ member
Davtab.h88 u32 nel; /* number of elements */ member
Dconditional.c466 rc = avtab_alloc(&(p->te_cond_avtab), p->te_avtab.nel); in cond_read_list()
Dservices.c2358 u32 *nel) in security_get_user_sids() argument
2369 *nel = 0; in security_get_user_sids()
2449 *nel = j; in security_get_user_sids()
/linux-4.4.14/security/selinux/include/
Dsecurity.h178 u32 **sids, u32 *nel);