/Linux-v5.15/fs/ext4/ |
D | inline.c | 31 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 …]
|
D | inode.c | 4244 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 …]
|
D | orphan.c | 103 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()
|
D | xattr.c | 580 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 …]
|
D | ioctl.c | 345 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 …]
|
D | verity.c | 198 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()
|
D | ext4_jbd2.h | 212 struct ext4_iloc *iloc); 220 struct ext4_iloc *iloc); 229 struct ext4_iloc *iloc);
|
D | fast_commit.c | 813 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 …]
|
D | resize.c | 807 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()
|
D | xattr.h | 116 struct ext4_iloc iloc; member
|
D | ext4.h | 2505 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);
|
D | extents.c | 4835 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/ |
D | xattr.c | 94 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()
|
D | data.c | 50 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()
|
D | zmap.c | 56 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()
|
D | internal.h | 226 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
|
D | inode.c | 22 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
|
/Linux-v5.15/include/trace/events/ |
D | erofs.h | 70 __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/ |
D | inode.c | 1311 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()
|