Home
last modified time | relevance | path

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

/fs/iomap/
Dbuffered-io.c64 unsigned int first_blk = off >> inode->i_blkbits; in ifs_set_range_uptodate() local
66 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_set_range_uptodate()
70 bitmap_set(ifs->state, first_blk, nr_blks); in ifs_set_range_uptodate()
101 unsigned int first_blk = (off >> inode->i_blkbits); in ifs_clear_range_dirty() local
103 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_clear_range_dirty()
107 bitmap_clear(ifs->state, first_blk + blks_per_folio, nr_blks); in ifs_clear_range_dirty()
124 unsigned int first_blk = (off >> inode->i_blkbits); in ifs_set_range_dirty() local
126 unsigned int nr_blks = last_blk - first_blk + 1; in ifs_set_range_dirty()
130 bitmap_set(ifs->state, first_blk + blks_per_folio, nr_blks); in ifs_set_range_dirty()
989 unsigned int first_blk, last_blk, i; in iomap_write_delalloc_ifs_punch() local
[all …]
/fs/xfs/
Dxfs_log_recover.c272 xfs_daddr_t first_blk, in xlog_find_cycle_start() argument
283 mid_blk = BLK_AVG(first_blk, end_blk); in xlog_find_cycle_start()
284 while (mid_blk != first_blk && mid_blk != end_blk) { in xlog_find_cycle_start()
292 first_blk = mid_blk; /* first_half_cycle == mid_cycle */ in xlog_find_cycle_start()
293 mid_blk = BLK_AVG(first_blk, end_blk); in xlog_find_cycle_start()
295 ASSERT((mid_blk == first_blk && mid_blk+1 == end_blk) || in xlog_find_cycle_start()
296 (mid_blk == end_blk && mid_blk-1 == first_blk)); in xlog_find_cycle_start()
504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
511 error = xlog_find_zeroed(log, &first_blk); in xlog_find_head()
517 *return_head_blk = first_blk; in xlog_find_head()
[all …]