Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
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()
280 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_eval()
294 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
310 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_destroy()
Dselinux_restorecon.c413 #define HASH_BUCKETS (1 << HASH_BITS) macro
414 #define HASH_MASK (HASH_BUCKETS-1)
444 fl_head = calloc(HASH_BUCKETS, sizeof(file_spec_t)); in filespec_add()
535 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_eval()
548 nel, used, HASH_BUCKETS, longest); in filespec_eval()
567 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_destroy()