Lines Matching refs:bhs
1278 * The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their
1293 struct buffer_head *bhs[BH_LRU_SIZE];
1340 swap(evictee, b->bhs[i]);
1368 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]);
1374 __this_cpu_write(bh_lrus.bhs[i],
1375 __this_cpu_read(bh_lrus.bhs[i - 1]));
1378 __this_cpu_write(bh_lrus.bhs[0], bh);
1487 brelse(b->bhs[i]);
1488 b->bhs[i] = NULL;
1510 if (b->bhs[i])
1723 /* Recheck when the folio is locked which pins bhs */
3031 brelse(b->bhs[i]);
3032 b->bhs[i] = NULL;
3087 * @bhs: a batch of struct buffer_head
3094 void __bh_read_batch(int nr, struct buffer_head *bhs[],
3100 struct buffer_head *bh = bhs[i];