Lines Matching refs:shift
77 const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); in nested_table_free() local
78 const unsigned int len = 1 << shift; in nested_table_free()
86 size >>= shift; in nested_table_free()
152 const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); in nested_bucket_table_alloc() local
156 if (nbuckets < (1 << (shift + 1))) in nested_bucket_table_alloc()
172 tbl->nest = (ilog2(nbuckets) - 1) % shift + 1; in nested_bucket_table_alloc()
1191 const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); in __rht_bucket_nested() local
1201 while (ntbl && size > (1 << shift)) { in __rht_bucket_nested()
1202 index = subhash & ((1 << shift) - 1); in __rht_bucket_nested()
1205 size >>= shift; in __rht_bucket_nested()
1206 subhash >>= shift; in __rht_bucket_nested()
1231 const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); in rht_bucket_nested_insert() local
1239 size <= (1 << shift)); in rht_bucket_nested_insert()
1241 while (ntbl && size > (1 << shift)) { in rht_bucket_nested_insert()
1242 index = hash & ((1 << shift) - 1); in rht_bucket_nested_insert()
1243 size >>= shift; in rht_bucket_nested_insert()
1244 hash >>= shift; in rht_bucket_nested_insert()
1246 size <= (1 << shift)); in rht_bucket_nested_insert()