Lines Matching refs:bidx

528 	u32 bidx, boff, bsize;  in affs_do_readpage_ofs()  local
536 bidx = tmp / bsize; in affs_do_readpage_ofs()
540 bh = affs_bread_ino(inode, bidx, create); in affs_do_readpage_ofs()
549 bidx++; in affs_do_readpage_ofs()
562 u32 bidx, boff; in affs_extent_file_ofs() local
570 bidx = size / bsize; in affs_extent_file_ofs()
573 bh = affs_bread_ino(inode, bidx, 0); in affs_extent_file_ofs()
583 bidx++; in affs_extent_file_ofs()
584 } else if (bidx) { in affs_extent_file_ofs()
585 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_extent_file_ofs()
592 bh = affs_getzeroblk_ino(inode, bidx); in affs_extent_file_ofs()
599 AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); in affs_extent_file_ofs()
610 bidx, tmp_next); in affs_extent_file_ofs()
617 bidx++; in affs_extent_file_ofs()
695 u32 bidx, boff, bsize; in affs_write_end_ofs() local
716 bidx = tmp / bsize; in affs_write_end_ofs()
719 bh = affs_bread_ino(inode, bidx, 0); in affs_write_end_ofs()
732 bidx++; in affs_write_end_ofs()
733 } else if (bidx) { in affs_write_end_ofs()
734 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_write_end_ofs()
742 bh = affs_getemptyblk_ino(inode, bidx); in affs_write_end_ofs()
749 AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); in affs_write_end_ofs()
759 bidx, tmp_next); in affs_write_end_ofs()
770 bidx++; in affs_write_end_ofs()
774 bh = affs_bread_ino(inode, bidx, 1); in affs_write_end_ofs()
783 AFFS_DATA_HEAD(bh)->sequence = cpu_to_be32(bidx); in affs_write_end_ofs()
793 bidx, tmp_next); in affs_write_end_ofs()
805 bidx++; in affs_write_end_ofs()