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

/external/fio/
H A Dfilehash.c9 #define HASH_BUCKETS 512 macro
10 #define HASH_MASK (HASH_BUCKETS - 1)
12 unsigned int file_hash_size = HASH_BUCKETS * sizeof(struct flist_head);
103 for (i = 0; i < HASH_BUCKETS; i++)
120 for (i = 0; i < HASH_BUCKETS; i++)
/external/selinux/libselinux/src/
H A Dmatchpathcon.c152 #define HASH_BUCKETS (1 << HASH_BITS) macro
153 #define HASH_MASK (HASH_BUCKETS-1)
170 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS);
173 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS);
246 for (h = 0; h < HASH_BUCKETS; h++) {
260 __FUNCTION__, nel, used, HASH_BUCKETS, longest);
276 for (h = 0; h < HASH_BUCKETS; h++) {
/external/selinux/policycoreutils/setfiles/
H A Drestore.c16 #define HASH_BUCKETS (1 << HASH_BITS) macro
17 #define HASH_MASK (HASH_BUCKETS-1)
510 for (h = 0; h < HASH_BUCKETS; h++) {
525 __FUNCTION__, nel, used, HASH_BUCKETS, longest);
539 for (h = 0; h < HASH_BUCKETS; h++) {
565 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS);
568 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS);

Completed in 80 milliseconds