Lines Matching refs:boff
529 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
538 boff = tmp % bsize; in affs_do_readpage_ofs()
544 tmp = min(bsize - boff, to - pos); in affs_do_readpage_ofs()
547 memcpy(data + pos, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs()
552 boff = 0; in affs_do_readpage_ofs()
563 u32 bidx, boff; in affs_extent_file_ofs() local
572 boff = size % bsize; in affs_extent_file_ofs()
573 if (boff) { in affs_extent_file_ofs()
577 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
578 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_extent_file_ofs()
579 memset(AFFS_DATA(bh) + boff, 0, tmp); in affs_extent_file_ofs()
696 u32 bidx, boff, bsize; in affs_write_end_ofs() local
718 boff = tmp % bsize; in affs_write_end_ofs()
719 if (boff) { in affs_write_end_ofs()
725 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
726 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_write_end_ofs()
727 memcpy(AFFS_DATA(bh) + boff, data + from, tmp); in affs_write_end_ofs()