Home
last modified time | relevance | path

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

/fs/affs/
Dfile.c526 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
537 boff = tmp % bsize; in affs_do_readpage_ofs()
543 tmp = min(bsize - boff, to - pos); in affs_do_readpage_ofs()
545 memcpy(data + pos, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs()
549 boff = 0; in affs_do_readpage_ofs()
561 u32 bidx, boff; in affs_extent_file_ofs() local
570 boff = size % bsize; in affs_extent_file_ofs()
571 if (boff) { in affs_extent_file_ofs()
575 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
576 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_extent_file_ofs()
[all …]
/fs/xfs/
Dxfs_buf.c1451 size_t boff, /* starting buffer offset */ in xfs_buf_iomove() argument
1458 bend = boff + bsize; in xfs_buf_iomove()
1459 while (boff < bend) { in xfs_buf_iomove()
1463 page_index = (boff + bp->b_offset) >> PAGE_SHIFT; in xfs_buf_iomove()
1464 page_offset = (boff + bp->b_offset) & ~PAGE_MASK; in xfs_buf_iomove()
1467 BBTOB(bp->b_io_length) - boff); in xfs_buf_iomove()
1482 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.c667 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local
672 boff = off % bsize; in gfs2_write_buf_to_page()
708 if (to_write > (bsize - boff)) { in gfs2_write_buf_to_page()
709 pg_off += (bsize - boff); in gfs2_write_buf_to_page()
710 to_write -= (bsize - boff); in gfs2_write_buf_to_page()
711 boff = pg_off % bsize; in gfs2_write_buf_to_page()