Home
last modified time | relevance | path

Searched refs:iloc (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/ext4/
Dinline.c32 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument
58 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size()
109 struct ext4_iloc iloc; in ext4_get_max_inline_size() local
114 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size()
123 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size()
126 brelse(iloc.bh); in ext4_get_max_inline_size()
153 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock()
169 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock()
174 brelse(is.iloc.bh); in ext4_find_inline_data_nolock()
180 struct ext4_iloc *iloc) in ext4_read_inline_data() argument
[all …]
Dorphan.c103 struct ext4_iloc iloc; in ext4_orphan_add() local
144 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add()
168 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add()
182 brelse(iloc.bh); in ext4_orphan_add()
233 struct ext4_iloc iloc; in ext4_orphan_del() local
250 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del()
303 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_del()
309 brelse(iloc.bh); in ext4_orphan_del()
Dinode.c4360 struct inode *inode, struct ext4_iloc *iloc, in __ext4_get_inode_loc() argument
4369 iloc->bh = NULL; in __ext4_get_inode_loc()
4374 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
4375 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
4385 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
4391 "block_group %u", block, iloc->block_group); in __ext4_get_inode_loc()
4443 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc()
4499 iloc->bh = bh; in __ext4_get_inode_loc()
4504 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument
4509 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, NULL, iloc, in __ext4_get_inode_loc_noinmem()
[all …]
Dxattr.c640 struct ext4_iloc iloc; in ext4_xattr_ibody_get() local
647 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_get()
650 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get()
684 brelse(iloc.bh); in ext4_xattr_ibody_get()
785 struct ext4_iloc iloc; in ext4_xattr_ibody_list() local
791 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_list()
794 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list()
804 brelse(iloc.bh); in ext4_xattr_ibody_list()
865 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local
877 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage()
[all …]
Dioctl.c583 struct ext4_iloc iloc; in ext4_ioctl_setflags() local
647 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setflags()
670 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setflags()
710 struct ext4_iloc iloc; in ext4_ioctl_setproject() local
738 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject()
742 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject()
746 &iloc); in ext4_ioctl_setproject()
750 brelse(iloc.bh); in ext4_ioctl_setproject()
759 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setproject()
781 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setproject()
[all …]
Dverity.c197 struct ext4_iloc iloc; in ext4_end_enable_verity() local
238 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_end_enable_verity()
244 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_end_enable_verity()
Dfast_commit.c850 struct ext4_iloc iloc; in ext4_fc_write_inode() local
855 ret = ext4_get_inode_loc(inode, &iloc); in ext4_fc_write_inode()
878 memcpy(dst, (u8 *)ext4_raw_inode(&iloc), inode_len); in ext4_fc_write_inode()
881 brelse(iloc.bh); in ext4_fc_write_inode()
1524 struct ext4_iloc iloc; in ext4_fc_replay_inode() local
1547 ret = ext4_get_fc_inode_loc(sb, ino, &iloc); in ext4_fc_replay_inode()
1552 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode()
1573 ret = ext4_handle_dirty_metadata(NULL, NULL, iloc.bh); in ext4_fc_replay_inode()
1576 ret = sync_dirty_buffer(iloc.bh); in ext4_fc_replay_inode()
1598 inode->i_generation = le32_to_cpu(ext4_raw_inode(&iloc)->i_generation); in ext4_fc_replay_inode()
[all …]
Dext4_jbd2.h212 struct ext4_iloc *iloc);
220 struct ext4_iloc *iloc);
229 struct ext4_iloc *iloc);
Dresize.c835 struct ext4_iloc iloc = { .bh = NULL }; in add_new_gdb() local
889 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb()
919 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb()
924 iloc.bh = NULL; in add_new_gdb()
949 brelse(iloc.bh); in add_new_gdb()
1025 struct ext4_iloc iloc; in reserve_backup_gdb() local
1082 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb()
1103 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
Dxattr.h129 struct ext4_iloc iloc; member
Dext4.h2516 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument
2518 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
2990 struct ext4_iloc *iloc);
Dextents.c4903 struct ext4_iloc iloc; in ext4_iomap_xattr_fiemap() local
4906 error = ext4_get_inode_loc(inode, &iloc); in ext4_iomap_xattr_fiemap()
4909 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap()
4914 brelse(iloc.bh); in ext4_iomap_xattr_fiemap()
/linux-6.6.21/fs/udf/
Dinode.c1324 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local
1333 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode()
1335 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode()
1339 if (iloc->logicalBlockNum >= in udf_read_inode()
1340 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode()
1342 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode()
1358 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode()
1377 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()