Lines Matching refs:bhs
1265 struct buffer_head *bhs[BH_LRU_SIZE]; member
1294 if (__this_cpu_read(bh_lrus.bhs[0]) != bh) { in bh_lru_install()
1295 struct buffer_head *bhs[BH_LRU_SIZE]; in bh_lru_install() local
1300 bhs[out++] = bh; in bh_lru_install()
1303 __this_cpu_read(bh_lrus.bhs[in]); in bh_lru_install()
1312 bhs[out++] = bh2; in bh_lru_install()
1317 bhs[out++] = NULL; in bh_lru_install()
1318 memcpy(this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs)); in bh_lru_install()
1338 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru()
1344 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru()
1345 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru()
1348 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru()
1450 brelse(b->bhs[i]); in invalidate_bh_lru()
1451 b->bhs[i] = NULL; in invalidate_bh_lru()
1462 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()