Searched refs:HASH_BUCKETS (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libselinux/src/ |
D | matchpathcon.c | 180 #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()
|
D | selinux_restorecon.c | 403 #define HASH_BUCKETS (1 << HASH_BITS) macro 404 #define HASH_MASK (HASH_BUCKETS-1) 430 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add() 433 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add() 506 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_eval() 519 nel, used, HASH_BUCKETS, longest); in filespec_eval() 538 for (h = 0; h < HASH_BUCKETS; h++) { in filespec_destroy()
|