Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ext4/
Dinline.c31 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument
53 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size()
95 struct ext4_iloc iloc; in ext4_get_max_inline_size() local
100 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size()
109 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size()
112 brelse(iloc.bh); in ext4_get_max_inline_size()
139 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock()
155 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock()
161 brelse(is.iloc.bh); in ext4_find_inline_data_nolock()
167 struct ext4_iloc *iloc) in ext4_read_inline_data() argument
[all …]
Dinode.c4244 struct ext4_iloc *iloc, int in_mem, in __ext4_get_inode_loc() argument
4253 iloc->bh = NULL; in __ext4_get_inode_loc()
4258 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
4259 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
4270 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
4370 iloc->bh = bh; in __ext4_get_inode_loc()
4375 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument
4380 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, iloc, 0, in __ext4_get_inode_loc_noinmem()
4390 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument
4396 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, iloc, in ext4_get_inode_loc()
[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()
Dxattr.c580 struct ext4_iloc iloc; in ext4_xattr_ibody_get() local
587 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_get()
590 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get()
624 brelse(iloc.bh); in ext4_xattr_ibody_get()
726 struct ext4_iloc iloc; in ext4_xattr_ibody_list() local
732 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_list()
735 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list()
745 brelse(iloc.bh); in ext4_xattr_ibody_list()
806 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local
818 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage()
[all …]
Dioctl.c345 struct ext4_iloc iloc; in ext4_ioctl_setflags() local
409 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setflags()
431 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setflags()
471 struct ext4_iloc iloc; in ext4_ioctl_setproject() local
495 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject()
499 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject()
503 &iloc); in ext4_ioctl_setproject()
507 brelse(iloc.bh); in ext4_ioctl_setproject()
520 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setproject()
541 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setproject()
[all …]
Dverity.c198 struct ext4_iloc iloc; in ext4_end_enable_verity() local
239 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_end_enable_verity()
245 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_end_enable_verity()
Dext4_jbd2.h212 struct ext4_iloc *iloc);
220 struct ext4_iloc *iloc);
229 struct ext4_iloc *iloc);
Dfast_commit.c813 struct ext4_iloc iloc; in ext4_fc_write_inode() local
818 ret = ext4_get_inode_loc(inode, &iloc); in ext4_fc_write_inode()
840 if (!ext4_fc_memcpy(inode->i_sb, dst, (u8 *)ext4_raw_inode(&iloc), in ext4_fc_write_inode()
1459 struct ext4_iloc iloc; in ext4_fc_replay_inode() local
1479 ret = ext4_get_fc_inode_loc(sb, ino, &iloc); in ext4_fc_replay_inode()
1484 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode()
1505 ret = ext4_handle_dirty_metadata(NULL, NULL, iloc.bh); in ext4_fc_replay_inode()
1508 ret = sync_dirty_buffer(iloc.bh); in ext4_fc_replay_inode()
1529 inode->i_generation = le32_to_cpu(ext4_raw_inode(&iloc)->i_generation); in ext4_fc_replay_inode()
1532 ext4_inode_csum_set(inode, ext4_raw_inode(&iloc), EXT4_I(inode)); in ext4_fc_replay_inode()
[all …]
Dresize.c807 struct ext4_iloc iloc = { .bh = NULL }; in add_new_gdb() local
861 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb()
891 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb()
896 iloc.bh = NULL; in add_new_gdb()
921 brelse(iloc.bh); in add_new_gdb()
997 struct ext4_iloc iloc; in reserve_backup_gdb() local
1054 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb()
1075 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
Dxattr.h116 struct ext4_iloc iloc; member
Dext4.h2505 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument
2507 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
3026 struct ext4_iloc *iloc);
Dextents.c4835 struct ext4_iloc iloc; in ext4_iomap_xattr_fiemap() local
4838 error = ext4_get_inode_loc(inode, &iloc); in ext4_iomap_xattr_fiemap()
4841 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap()
4846 brelse(iloc.bh); in ext4_iomap_xattr_fiemap()
/Linux-v5.15/fs/erofs/
Dxattr.c94 it.blkaddr = erofs_blknr(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs()
95 it.ofs = erofs_blkoff(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs()
207 it->blkaddr = erofs_blknr(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
208 it->ofs = erofs_blkoff(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
Ddata.c50 map->m_pa = iloc(sbi, vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode()
108 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in erofs_map_blocks()
Dzmap.c56 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in z_erofs_fill_inode_lazy()
157 const erofs_off_t ibase = iloc(EROFS_I_SB(inode), vi->nid); in legacy_load_cluster_from_disk()
351 const erofs_off_t ebase = ALIGN(iloc(EROFS_I_SB(inode), vi->nid) + in compacted_load_cluster_from_disk()
Dinternal.h226 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
Dinode.c22 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
/Linux-v5.15/include/trace/events/
Derofs.h70 __entry->blkaddr = erofs_blknr(iloc(EROFS_I_SB(inode), __entry->nid));
71 __entry->ofs = erofs_blkoff(iloc(EROFS_I_SB(inode), __entry->nid));
/Linux-v5.15/fs/udf/
Dinode.c1311 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local
1319 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode()
1321 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode()
1325 if (iloc->logicalBlockNum >= in udf_read_inode()
1326 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode()
1328 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode()
1344 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode()
1363 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()