Lines Matching refs:bhs
1241 struct buffer_head *bhs[BH_LRU_SIZE]; member
1270 if (__this_cpu_read(bh_lrus.bhs[0]) != bh) { in bh_lru_install()
1271 struct buffer_head *bhs[BH_LRU_SIZE]; in bh_lru_install() local
1276 bhs[out++] = bh; in bh_lru_install()
1279 __this_cpu_read(bh_lrus.bhs[in]); in bh_lru_install()
1288 bhs[out++] = bh2; in bh_lru_install()
1293 bhs[out++] = NULL; in bh_lru_install()
1294 memcpy(this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs)); in bh_lru_install()
1314 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru()
1320 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru()
1321 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru()
1324 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru()
1426 brelse(b->bhs[i]); in invalidate_bh_lru()
1427 b->bhs[i] = NULL; in invalidate_bh_lru()
1438 if (b->bhs[i]) in has_bh_in_lru()
3086 void ll_rw_block(int rw, int nr, struct buffer_head *bhs[]) in ll_rw_block() argument
3091 struct buffer_head *bh = bhs[i]; in ll_rw_block()
3354 brelse(b->bhs[i]); in buffer_exit_cpu()
3355 b->bhs[i] = NULL; in buffer_exit_cpu()