Home
last modified time | relevance | path

Searched refs:SIDTAB_SIZE (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libselinux/src/
Davc_sidtab.c27 return val & (SIDTAB_SIZE - 1); in sidtab_hash()
35 (sizeof(struct sidtab_node *) * SIDTAB_SIZE); in sidtab_init()
41 for (i = 0; i < SIDTAB_SIZE; i++) in sidtab_init()
110 for (i = 0; i < SIDTAB_SIZE; i++) { in sidtab_sid_stats()
128 SIDTAB_SIZE, max_chain_len); in sidtab_sid_stats()
139 for (i = 0; i < SIDTAB_SIZE; i++) { in sidtab_destroy()
Davc_sidtab.h19 #define SIDTAB_SIZE SIDTAB_HASH_BUCKETS macro
/third_party/selinux/libsepol/src/
Dsidtab.c29 s->htable = calloc(SIDTAB_SIZE, sizeof(sidtab_ptr_t)); in sepol_sidtab_init()
122 for (i = 0; i < SIDTAB_SIZE; i++) { in sepol_sidtab_map()
145 for (i = 0; i < SIDTAB_SIZE; i++) { in sepol_sidtab_map_remove_on_error()
179 for (i = 0; i < SIDTAB_SIZE; i++) { in sepol_sidtab_search_context()
233 for (i = 0; i < SIDTAB_SIZE; i++) { in sepol_sidtab_hash_eval()
250 tag, h->nel, slots_used, SIDTAB_SIZE, max_chain_len); in sepol_sidtab_hash_eval()
261 for (i = 0; i < SIDTAB_SIZE; i++) { in sepol_sidtab_destroy()
/third_party/selinux/libsepol/include/sepol/policydb/
Dsidtab.h31 #define SIDTAB_SIZE SIDTAB_HASH_BUCKETS macro