• Home
  • Raw
  • Download

Lines Matching refs:blk

151 errcode_t ext2fs_adjust_ea_refcount3(ext2_filsys fs, blk64_t blk,  in ext2fs_adjust_ea_refcount3()  argument
159 if ((blk >= ext2fs_blocks_count(fs->super)) || in ext2fs_adjust_ea_refcount3()
160 (blk < fs->super->s_first_data_block)) in ext2fs_adjust_ea_refcount3()
170 retval = ext2fs_read_ext_attr3(fs, blk, block_buf, inum); in ext2fs_adjust_ea_refcount3()
179 retval = ext2fs_write_ext_attr3(fs, blk, block_buf, inum); in ext2fs_adjust_ea_refcount3()
189 errcode_t ext2fs_adjust_ea_refcount2(ext2_filsys fs, blk64_t blk, in ext2fs_adjust_ea_refcount2() argument
193 return ext2fs_adjust_ea_refcount3(fs, blk, block_buf, adjust, in ext2fs_adjust_ea_refcount2()
197 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk, in ext2fs_adjust_ea_refcount() argument
201 return ext2fs_adjust_ea_refcount2(fs, blk, block_buf, adjust, in ext2fs_adjust_ea_refcount()
325 blk64_t blk; in ext2fs_free_ext_attr() local
339 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); in ext2fs_free_ext_attr()
340 if (blk == 0) in ext2fs_free_ext_attr()
344 if ((blk < fs->super->s_first_data_block) || in ext2fs_free_ext_attr()
345 (blk >= ext2fs_blocks_count(fs->super))) { in ext2fs_free_ext_attr()
354 err = ext2fs_read_ext_attr3(fs, blk, block_buf, ino); in ext2fs_free_ext_attr()
366 err = ext2fs_write_ext_attr3(fs, blk, block_buf, ino); in ext2fs_free_ext_attr()
373 ext2fs_block_alloc_stats2(fs, blk, -1); in ext2fs_free_ext_attr()
397 blk64_t blk, goal; in prep_ea_block_for_write() local
401 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); in prep_ea_block_for_write()
402 if (blk != 0) { in prep_ea_block_for_write()
403 if ((blk < fs->super->s_first_data_block) || in prep_ea_block_for_write()
404 (blk >= ext2fs_blocks_count(fs->super))) { in prep_ea_block_for_write()
413 err = ext2fs_read_ext_attr3(fs, blk, block_buf, ino); in prep_ea_block_for_write()
430 err = ext2fs_write_ext_attr3(fs, blk, block_buf, ino); in prep_ea_block_for_write()
443 err = ext2fs_alloc_block2(fs, goal, NULL, &blk); in prep_ea_block_for_write()
446 ext2fs_file_acl_block_set(fs, (struct ext2_inode *)inode, blk); in prep_ea_block_for_write()
527 blk64_t blk; in ext2fs_xattrs_write() local
626 blk = ext2fs_file_acl_block(handle->fs, in ext2fs_xattrs_write()
628 err = ext2fs_write_ext_attr3(handle->fs, blk, block_buf, in ext2fs_xattrs_write()
634 blk = ext2fs_file_acl_block(handle->fs, (struct ext2_inode *)inode); in ext2fs_xattrs_write()
635 if (!block_buf && blk) { in ext2fs_xattrs_write()
787 blk64_t blk; in ext2fs_xattrs_read() local
837 blk = ext2fs_file_acl_block(handle->fs, (struct ext2_inode *)inode); in ext2fs_xattrs_read()
838 if (blk != 0) { in ext2fs_xattrs_read()
839 if ((blk < handle->fs->super->s_first_data_block) || in ext2fs_xattrs_read()
840 (blk >= ext2fs_blocks_count(handle->fs->super))) { in ext2fs_xattrs_read()
849 err = ext2fs_read_ext_attr3(handle->fs, blk, block_buf, in ext2fs_xattrs_read()