Lines Matching refs:boff
510 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()
560 memset(AFFS_DATA(bh) + boff, 0, tmp); in affs_extent_file_ofs()
677 u32 bidx, boff, bsize; in affs_write_end_ofs() local
699 boff = tmp % bsize; in affs_write_end_ofs()
700 if (boff) { in affs_write_end_ofs()
706 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
707 BUG_ON(boff + tmp > bsize || tmp > bsize); in affs_write_end_ofs()
708 memcpy(AFFS_DATA(bh) + boff, data + from, tmp); in affs_write_end_ofs()