Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Ddirect-io.c83 unsigned blocks_available; /* At block_in_file. changes */ member
175 if (ret < 0 && sdio->blocks_available && dio_op == REQ_OP_WRITE) { in dio_refill_pages()
929 if (sdio->blocks_available == 0) { in do_direct_IO()
944 sdio->blocks_available = in do_direct_IO()
974 sdio->blocks_available -= dio_remainder; in do_direct_IO()
1018 this_chunk_blocks = sdio->blocks_available; in do_direct_IO()
1028 if (this_chunk_blocks == sdio->blocks_available) in do_direct_IO()
1044 sdio->blocks_available -= this_chunk_blocks; in do_direct_IO()
/linux-6.12.1/fs/gfs2/
Drgrp.c1569 u32 free_blocks, blocks_available; in rg_mblk_search() local
1577 blocks_available = rgd->rd_free_clone - rgd->rd_reserved; in rg_mblk_search()
1579 blocks_available += rs->rs_reserved; in rg_mblk_search()
1588 if (free_blocks < extlen || blocks_available < extlen) in rg_mblk_search()
2055 u32 free_blocks, blocks_available, skip = 0; in gfs2_inplace_reserve() local
2139 blocks_available = rgd->rd_free_clone - rgd->rd_reserved; in gfs2_inplace_reserve()
2140 if (free_blocks < target || blocks_available < target) { in gfs2_inplace_reserve()
2145 if (rs->rs_reserved > blocks_available) in gfs2_inplace_reserve()
2146 rs->rs_reserved = blocks_available; in gfs2_inplace_reserve()