Lines Matching refs:boff
508 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()
527 memcpy(data + pos, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs()
531 boff = 0; in affs_do_readpage_ofs()
543 u32 bidx, boff; in affs_extent_file_ofs() local
552 boff = size % bsize; in affs_extent_file_ofs()
553 if (boff) { in affs_extent_file_ofs()
557 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
558 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_extent_file_ofs()
559 memset(AFFS_DATA(bh) + boff, 0, tmp); in affs_extent_file_ofs()
676 u32 bidx, boff, bsize; in affs_write_end_ofs() local
698 boff = tmp % bsize; in affs_write_end_ofs()
699 if (boff) { in affs_write_end_ofs()
705 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
706 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_write_end_ofs()
707 memcpy(AFFS_DATA(bh) + boff, data + from, tmp); in affs_write_end_ofs()