Searched refs:nr_hash (Results 1 – 4 of 4) sorted by relevance
1185 unsigned int nr_hash; in dcache_init() local1214 nr_hash = (1UL << order) * PAGE_SIZE / in dcache_init()1216 d_hash_mask = (nr_hash - 1); in dcache_init()1218 tmp = nr_hash; in dcache_init()1228 nr_hash, order, (PAGE_SIZE << order)); in dcache_init()1234 i = nr_hash; in dcache_init()
1024 unsigned int nr_hash; in mnt_init() local1045 nr_hash = (1UL << order) * PAGE_SIZE / sizeof(struct list_head); in mnt_init()1049 } while ((nr_hash >> hash_bits) != 0); in mnt_init()1056 nr_hash = 1UL << hash_bits; in mnt_init()1057 hash_mask = nr_hash-1; in mnt_init()1061 nr_hash, order, (PAGE_SIZE << order)); in mnt_init()1065 i = nr_hash; in mnt_init()
1303 unsigned int nr_hash; in inode_init() local1314 nr_hash = (1UL << order) * PAGE_SIZE / in inode_init()1316 i_hash_mask = (nr_hash - 1); in inode_init()1318 tmp = nr_hash; in inode_init()1328 nr_hash, order, (PAGE_SIZE << order)); in inode_init()1334 i = nr_hash; in inode_init()
2859 unsigned int nr_hash; in buffer_init() local2877 nr_hash = (PAGE_SIZE << order) / sizeof(struct buffer_head *); in buffer_init()2878 bh_hash_mask = (nr_hash - 1); in buffer_init()2880 tmp = nr_hash; in buffer_init()2889 nr_hash, order, (PAGE_SIZE << order)); in buffer_init()2895 for(i = 0; i < nr_hash; i++) in buffer_init()