/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | hashtab.c | 26 static u32 hashtab_compute_size(u32 nel) in hashtab_compute_size() argument 28 return nel == 0 ? 0 : roundup_pow_of_two(nel); in hashtab_compute_size() 36 h->nel = 0; in hashtab_init() 62 h->nel++; in __hashtab_insert() 167 new->nel++; in hashtab_duplicate()
|
H A D | policydb.c | 694 hash_name, h->nel, info.slots_used, h->size, in hash_eval() 732 p->p_classes.nprim, p->te_avtab.nel); in policydb_index() 1136 u32 len, nel; in common_read() local 1149 nel = le32_to_cpu(buf[3]); in common_read() 1151 rc = symtab_init(&comdatum->permissions, nel); in common_read() 1160 for (i = 0; i < nel; i++) { in common_read() 1300 u32 len, len2, ncons, nel; in class_read() local 1314 nel = le32_to_cpu(buf[4]); in class_read() 1316 rc = symtab_init(&cladatum->permissions, nel); in class_read() 1341 for (i = 0; i < nel; in class_read() 1818 u32 nel; range_read() local 2064 u32 nel; filename_trans_read() local 2106 u32 nel, nel2, len, len2; genfs_read() local 2220 u32 nel, len; ocontext_read() local 2409 u32 len, nprim, nel, perm; policydb_read() local 2873 size_t nel; role_allow_write() local 3000 u32 nel; write_cons_helper() local 3264 size_t nel, len; ocontext_write() local [all...] |
H A D | avtab.c | 102 h->nel++; in avtab_insert_node() 298 h->nel = 0; in avtab_destroy() 306 h->nel = 0; in avtab_init() 382 tag, h->nel, slots_used, h->nslot, max_chain_len, in avtab_hash_eval() 570 u32 nel, i; in avtab_read() local 578 nel = le32_to_cpu(buf[0]); in avtab_read() 579 if (!nel) { in avtab_read() 585 rc = avtab_alloc(a, nel); in avtab_read() 589 for (i = 0; i < nel; i++) { in avtab_read() 652 buf[0] = cpu_to_le32(a->nel); in avtab_write() [all...] |
H A D | hashtab.h | 35 u32 nel; /* number of elements in hash table */ member 69 if (!h->size || h->nel == HASHTAB_MAX_NODES) in hashtab_insert()
|
H A D | avtab.h | 85 u32 nel; /* number of elements */ member
|
H A D | conditional.c | 431 rc = avtab_alloc(&(p->te_cond_avtab), p->te_avtab.nel); in cond_read_list()
|
H A D | services.c | 2724 * @nel: number of elements in @sids 2729 * array containing the set of SIDs. Set *@nel to the 2737 u32 *nel) in security_get_user_sids() 2751 *nel = 0; in security_get_user_sids() 2840 *nel = j; in security_get_user_sids() 2733 security_get_user_sids(struct selinux_state *state, u32 fromsid, char *username, u32 **sids, u32 *nel) security_get_user_sids() argument
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | hashtab.c | 27 static u32 hashtab_compute_size(u32 nel) in hashtab_compute_size() argument 29 return nel == 0 ? 0 : roundup_pow_of_two(nel); in hashtab_compute_size() 37 h->nel = 0; in hashtab_init() 63 h->nel++; in __hashtab_insert() 170 new->nel++; in hashtab_duplicate()
|
H A D | avtab.c | 102 h->nel++; in avtab_insert_node() 113 if (!h || !h->nslot || h->nel == U32_MAX) in avtab_insert() 159 if (!h || !h->nslot || h->nel == U32_MAX) in avtab_insert_nonunique() 268 h->nel = 0; in avtab_destroy() 276 h->nel = 0; in avtab_init() 353 tag, h->nel, slots_used, h->nslot, max_chain_len, in avtab_hash_eval() 542 u32 nel, i; in avtab_read() local 550 nel = le32_to_cpu(buf[0]); in avtab_read() 551 if (!nel) { in avtab_read() 557 rc = avtab_alloc(a, nel); in avtab_read() [all...] |
H A D | policydb.c | 688 hash_name, h->nel, info.slots_used, h->size, in hash_eval() 729 p->p_classes.nprim, p->te_avtab.nel); in policydb_index() 1131 u32 i, len, nel; in common_read() local 1144 nel = le32_to_cpu(buf[3]); in common_read() 1146 rc = symtab_init(&comdatum->permissions, nel); in common_read() 1155 for (i = 0; i < nel; i++) { in common_read() 1295 u32 i, len, len2, ncons, nel; in class_read() local 1309 nel = le32_to_cpu(buf[4]); in class_read() 1311 rc = symtab_init(&cladatum->permissions, nel); in class_read() 1336 for (i = 0; i < nel; in class_read() 1816 u32 i, nel; range_read() local 2062 u32 nel, i; filename_trans_read() local 2104 u32 i, j, nel, nel2, len, len2; genfs_read() local 2219 u32 j, nel, len; ocontext_read() local 2412 u32 i, j, len, nprim, nel, perm; policydb_read() local 2875 size_t nel; role_allow_write() local 3002 u32 nel; write_cons_helper() local 3265 size_t nel, len; ocontext_write() local [all...] |
H A D | hashtab.h | 35 u32 nel; /* number of elements in hash table */ member 69 if (!h->size || h->nel == HASHTAB_MAX_NODES) in hashtab_insert()
|
H A D | avtab.h | 85 u32 nel; /* number of elements */ member
|
H A D | conditional.c | 432 rc = avtab_alloc(&(p->te_cond_avtab), p->te_avtab.nel); in cond_read_list()
|
H A D | services.c | 2683 * @nel: number of elements in @sids 2688 * array containing the set of SIDs. Set *@nel to the 2695 u32 *nel) in security_get_user_sids() 2709 *nel = 0; in security_get_user_sids() 2797 *nel = j; in security_get_user_sids() 2692 security_get_user_sids(u32 fromsid, char *username, u32 **sids, u32 *nel) security_get_user_sids() argument
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | security.h | 281 int security_get_user_sids(u32 callsid, char *username, u32 **sids, u32 *nel);
|
/kernel/linux/linux-5.10/security/selinux/include/ |
H A D | security.h | 339 u32 **sids, u32 *nel);
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | header.c | 2195 if (memcmp(filename, "nel.kallsyms]", 13) == 0) { in perf_header__read_build_ids()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | header.c | 2406 if (memcmp(filename, "nel.kallsyms]", 13) == 0) { in perf_header__read_build_ids()
|