Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmatchpathcon.c180 #define HASH_BUCKETS (1 << HASH_BITS) macro
181 #define HASH_MASK (HASH_BUCKETS-1)
198 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
201 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
274 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_eval()
288 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
304 for (h = 0; h < HASH_BUCKETS; h++) { in matchpathcon_filespec_destroy()
Dselinux_restorecon.c401 #define HASH_BUCKETS (1 << HASH_BITS) macro
402 #define HASH_MASK (HASH_BUCKETS-1)
428 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add()
431 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add()
504 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_eval()
517 nel, used, HASH_BUCKETS, longest); in filespec_eval()
536 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_destroy()