Home
last modified time | relevance | path

Searched refs:pb_resv_bh_cnt (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c120 int pb_resv_bh_cnt = 0; /* # of bh available */ variable
531 pb_resv_bh_cnt++; in _pagebuf_prealloc_bh()
552 if (pb_resv_bh_cnt < 1) { in _pagebuf_get_prealloc_bh()
560 } while (pb_resv_bh_cnt < 1); in _pagebuf_get_prealloc_bh()
565 BUG_ON(pb_resv_bh_cnt < 1); in _pagebuf_get_prealloc_bh()
570 pb_resv_bh_cnt--; in _pagebuf_get_prealloc_bh()
594 if (! (free = pb_resv_bh_cnt >= NR_RESERVED_BH)) { in _pagebuf_free_bh()
597 if (! (free = pb_resv_bh_cnt >= NR_RESERVED_BH)) { in _pagebuf_free_bh()
601 pb_resv_bh_cnt++; in _pagebuf_free_bh()