Searched refs:nel (Results 1 – 8 of 8) sorted by relevance
| /security/selinux/ss/ |
| A D | hashtab.c | 28 static u32 hashtab_compute_size(u32 nel) in hashtab_compute_size() argument 30 return nel == 0 ? 0 : roundup_pow_of_two(nel); in hashtab_compute_size() 38 h->nel = 0; in hashtab_init() 65 h->nel++; in __hashtab_insert() 177 new->nel++; in hashtab_duplicate()
|
| A D | avtab.c | 94 h->nel++; in avtab_insert_node() 127 if (!h || !h->nslot || h->nel == U32_MAX) in avtab_insert() 161 if (!h || !h->nslot || h->nel == U32_MAX) in avtab_insert_nonunique() 240 h->nel = 0; in avtab_destroy() 248 h->nel = 0; in avtab_init() 514 u32 nel, i; in avtab_read() local 521 nel = le32_to_cpu(buf[0]); in avtab_read() 522 if (!nel) { in avtab_read() 528 rc = avtab_alloc(a, nel); in avtab_read() 532 for (i = 0; i < nel; i++) { in avtab_read() [all …]
|
| A D | policydb.c | 1164 u32 i, len, nel; in common_read() local 1850 u32 i, nel; in range_read() local 2097 u32 nel, i; in filename_trans_read() local 2922 size_t nel; in role_allow_write() local 2925 nel = 0; in role_allow_write() 2927 nel++; in role_allow_write() 3048 u32 nel; in write_cons_helper() local 3052 nel = 0; in write_cons_helper() 3054 nel++; in write_cons_helper() 3320 nel = 0; in ocontext_write() [all …]
|
| A D | hashtab.h | 35 u32 nel; /* number of elements in hash table */ member 70 if (!h->size || h->nel == HASHTAB_MAX_NODES) in hashtab_insert()
|
| A D | avtab.h | 86 u32 nel; /* number of elements */ member
|
| A D | conditional.c | 428 rc = avtab_alloc(&(p->te_cond_avtab), p->te_avtab.nel); in cond_read_list()
|
| A D | services.c | 2768 u32 *nel) in security_get_user_sids() argument 2782 *nel = 0; in security_get_user_sids() 2870 *nel = j; in security_get_user_sids()
|
| /security/selinux/include/ |
| A D | security.h | 304 int security_get_user_sids(u32 fromsid, const char *username, u32 **sids, u32 *nel);
|
Completed in 26 milliseconds