Home
last modified time | relevance | path

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

/fs/affs/
Dfile.c510 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
519 boff = tmp % bsize; in affs_do_readpage_ofs()
525 tmp = min(bsize - boff, to - pos); in affs_do_readpage_ofs()
528 memcpy(data + pos, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs()
533 boff = 0; in affs_do_readpage_ofs()
544 u32 bidx, boff; in affs_extent_file_ofs() local
553 boff = size % bsize; in affs_extent_file_ofs()
554 if (boff) { in affs_extent_file_ofs()
558 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
559 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_extent_file_ofs()
[all …]
/fs/xfs/
Dxfs_buf.c1599 size_t boff, /* starting buffer offset */ in xfs_buf_iomove() argument
1606 bend = boff + bsize; in xfs_buf_iomove()
1607 while (boff < bend) { in xfs_buf_iomove()
1611 page_index = (boff + bp->b_offset) >> PAGE_SHIFT; in xfs_buf_iomove()
1612 page_offset = (boff + bp->b_offset) & ~PAGE_MASK; in xfs_buf_iomove()
1615 BBTOB(bp->b_io_length) - boff); in xfs_buf_iomove()
1630 boff += csize; in xfs_buf_iomove()
/fs/ocfs2/
Dextent_map.c679 u64 boff = 0; in ocfs2_extent_map_get_blocks() local
694 boff = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_extent_map_get_blocks()
695 boff += (v_blkno & (u64)(bpc - 1)); in ocfs2_extent_map_get_blocks()
698 *p_blkno = boff; in ocfs2_extent_map_get_blocks()
/fs/gfs2/
Dquota.c700 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local
705 boff = off % bsize; in gfs2_write_buf_to_page()
741 if (to_write > (bsize - boff)) { in gfs2_write_buf_to_page()
742 pg_off += (bsize - boff); in gfs2_write_buf_to_page()
743 to_write -= (bsize - boff); in gfs2_write_buf_to_page()
744 boff = pg_off % bsize; in gfs2_write_buf_to_page()