Home
last modified time | relevance | path

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

/linux-4.1.27/security/selinux/ss/
Dpolicydb.c494 "longest chain length %d\n", hash_name, h->nel, in hash_eval()
530 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1146 u32 len, nel; in common_read() local
1165 nel = le32_to_cpu(buf[3]); in common_read()
1171 for (i = 0; i < nel; i++) { in common_read()
1312 u32 len, len2, ncons, nel; in class_read() local
1332 nel = le32_to_cpu(buf[4]); in class_read()
1352 for (i = 0; i < nel; i++) { in class_read()
1842 u32 nel; in range_read() local
1851 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.c90 h->nel++; in avtab_insert_node()
286 h->nel = 0; in avtab_init()
317 h->nel = 0; in avtab_alloc()
352 tag, h->nel, slots_used, h->nslot, max_chain_len, in avtab_hash_eval()
503 u32 nel, i; in avtab_read() local
511 nel = le32_to_cpu(buf[0]); in avtab_read()
512 if (!nel) { in avtab_read()
518 rc = avtab_alloc(a, nel); in avtab_read()
522 for (i = 0; i < nel; i++) { in avtab_read()
570 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.h57 u32 nel; /* number of elements */ member
Dconditional.c465 rc = avtab_alloc(&(p->te_cond_avtab), p->te_avtab.nel); in cond_read_list()
Dservices.c2183 u32 *nel) in security_get_user_sids() argument
2194 *nel = 0; in security_get_user_sids()
2274 *nel = j; in security_get_user_sids()
/linux-4.1.27/security/selinux/include/
Dsecurity.h147 u32 **sids, u32 *nel);