Lines Matching refs:bhs
1254 struct buffer_head *bhs[BH_LRU_SIZE]; member
1283 if (__this_cpu_read(bh_lrus.bhs[0]) != bh) { in bh_lru_install()
1284 struct buffer_head *bhs[BH_LRU_SIZE]; in bh_lru_install() local
1289 bhs[out++] = bh; in bh_lru_install()
1292 __this_cpu_read(bh_lrus.bhs[in]); in bh_lru_install()
1301 bhs[out++] = bh2; in bh_lru_install()
1306 bhs[out++] = NULL; in bh_lru_install()
1307 memcpy(this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs)); in bh_lru_install()
1327 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru()
1333 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru()
1334 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru()
1337 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru()
1439 brelse(b->bhs[i]); in invalidate_bh_lru()
1440 b->bhs[i] = NULL; in invalidate_bh_lru()
1451 if (b->bhs[i]) in has_bh_in_lru()
3144 void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[]) in ll_rw_block() argument
3149 struct buffer_head *bh = bhs[i]; in ll_rw_block()
3412 brelse(b->bhs[i]); in buffer_exit_cpu()
3413 b->bhs[i] = NULL; in buffer_exit_cpu()