Lines Matching refs:blknr
634 long int blknr; in search_dir() local
650 blknr = read_allocated_block(parent_inode, blk_idx); in search_dir()
651 if (blknr <= 0) in search_dir()
655 status = ext4fs_devread((lbaint_t)blknr * fs->sect_perblk, in search_dir()
863 static int unlink_filename(char *filename, unsigned int blknr) in unlink_filename() argument
880 status = ext4fs_devread((lbaint_t)blknr * fs->sect_perblk, 0, in unlink_filename()
912 if (ext4fs_log_journal(block_buffer, blknr)) in unlink_filename()
925 if (ext4fs_put_metadata(block_buffer, blknr)) in unlink_filename()
938 long int blknr = -1; in ext4fs_filename_unlink() local
947 blknr = read_allocated_block(g_parent_inode, blk_idx); in ext4fs_filename_unlink()
948 if (blknr <= 0) in ext4fs_filename_unlink()
950 inodeno = unlink_filename(filename, blknr); in ext4fs_filename_unlink()
1619 long int blknr; in read_allocated_block() local
1677 blknr = le32_to_cpu(inode->b.blocks.dir_blocks[fileblock]); in read_allocated_block()
1720 blknr = le32_to_cpu(ext4fs_indir1_block in read_allocated_block()
1813 blknr = le32_to_cpu(ext4fs_indir2_block[rblock % perblock]); in read_allocated_block()
1952 blknr = le32_to_cpu(ext4fs_indir3_block in read_allocated_block()
1955 debug("read_allocated_block %ld\n", blknr); in read_allocated_block()
1957 return blknr; in read_allocated_block()