Lines Matching defs:bhs
1290 * The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their
1305 struct buffer_head *bhs[BH_LRU_SIZE];
1352 swap(evictee, b->bhs[i]);
1380 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]);
1386 __this_cpu_write(bh_lrus.bhs[i],
1387 __this_cpu_read(bh_lrus.bhs[i - 1]));
1390 __this_cpu_write(bh_lrus.bhs[0], bh);
1486 brelse(b->bhs[i]);
1487 b->bhs[i] = NULL;
1509 if (b->bhs[i])
1726 /* Recheck when the folio is locked which pins bhs */
3053 brelse(b->bhs[i]);
3054 b->bhs[i] = NULL;
3109 * @bhs: a batch of struct buffer_head
3116 void __bh_read_batch(int nr, struct buffer_head *bhs[],
3122 struct buffer_head *bh = bhs[i];