Home
last modified time | relevance | path

Searched refs:HASH_BUCKETS (Results 1 - 2 of 2) sorted by relevance

/third_party/selinux/libselinux/src/
H A Dmatchpathcon.c186 #define HASH_BUCKETS (1 << HASH_BITS) macro
187 #define HASH_MASK (HASH_BUCKETS-1)
204 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
207 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
277 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_eval()
291 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
307 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_destroy()
H A Dselinux_restorecon.c416 #define HASH_BUCKETS (1 << HASH_BITS) macro
417 #define HASH_MASK (HASH_BUCKETS-1)
448 fl_head = calloc(HASH_BUCKETS, sizeof(file_spec_t)); in filespec_add()
540 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_eval()
553 nel, used, HASH_BUCKETS, longest); in filespec_eval()
572 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_destroy()

Completed in 4 milliseconds