/Linux-v6.1/fs/ext4/ |
D | inline.c | 32 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument 57 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size() 99 struct ext4_iloc iloc; in ext4_get_max_inline_size() local 104 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size() 113 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size() 116 brelse(iloc.bh); in ext4_get_max_inline_size() 143 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock() 159 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock() 165 brelse(is.iloc.bh); in ext4_find_inline_data_nolock() 171 struct ext4_iloc *iloc) in ext4_read_inline_data() argument [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 | inode.c | 4451 struct inode *inode, struct ext4_iloc *iloc, in __ext4_get_inode_loc() argument 4460 iloc->bh = NULL; in __ext4_get_inode_loc() 4465 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc() 4466 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc() 4477 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc() 4526 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc() 4582 iloc->bh = bh; in __ext4_get_inode_loc() 4587 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument 4592 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, NULL, iloc, in __ext4_get_inode_loc_noinmem() 4602 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument [all …]
|
D | xattr.c | 595 struct ext4_iloc iloc; in ext4_xattr_ibody_get() local 602 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_get() 605 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get() 639 brelse(iloc.bh); in ext4_xattr_ibody_get() 741 struct ext4_iloc iloc; in ext4_xattr_ibody_list() local 747 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_list() 750 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list() 760 brelse(iloc.bh); in ext4_xattr_ibody_list() 821 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local 833 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage() [all …]
|
D | ioctl.c | 583 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 734 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject() 738 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject() 742 &iloc); in ext4_ioctl_setproject() 746 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 …]
|
D | verity.c | 199 struct ext4_iloc iloc; in ext4_end_enable_verity() local 240 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_end_enable_verity() 246 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_end_enable_verity()
|
D | fast_commit.c | 851 struct ext4_iloc iloc; in ext4_fc_write_inode() local 856 ret = ext4_get_inode_loc(inode, &iloc); in ext4_fc_write_inode() 881 if (!ext4_fc_memcpy(inode->i_sb, dst, (u8 *)ext4_raw_inode(&iloc), in ext4_fc_write_inode() 886 brelse(iloc.bh); in ext4_fc_write_inode() 1521 struct ext4_iloc iloc; in ext4_fc_replay_inode() local 1544 ret = ext4_get_fc_inode_loc(sb, ino, &iloc); in ext4_fc_replay_inode() 1549 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode() 1570 ret = ext4_handle_dirty_metadata(NULL, NULL, iloc.bh); in ext4_fc_replay_inode() 1573 ret = sync_dirty_buffer(iloc.bh); in ext4_fc_replay_inode() 1595 inode->i_generation = le32_to_cpu(ext4_raw_inode(&iloc)->i_generation); in ext4_fc_replay_inode() [all …]
|
D | ext4_jbd2.h | 212 struct ext4_iloc *iloc); 220 struct ext4_iloc *iloc); 229 struct ext4_iloc *iloc);
|
D | resize.c | 832 struct ext4_iloc iloc = { .bh = NULL }; in add_new_gdb() local 886 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb() 916 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb() 921 iloc.bh = NULL; in add_new_gdb() 946 brelse(iloc.bh); in add_new_gdb() 1022 struct ext4_iloc iloc; in reserve_backup_gdb() local 1079 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb() 1100 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
|
D | xattr.h | 129 struct ext4_iloc iloc; member
|
D | ext4.h | 2516 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() 2992 struct ext4_iloc *iloc);
|
D | extents.c | 4874 struct ext4_iloc iloc; in ext4_iomap_xattr_fiemap() local 4877 error = ext4_get_inode_loc(inode, &iloc); in ext4_iomap_xattr_fiemap() 4880 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap() 4885 brelse(iloc.bh); in ext4_iomap_xattr_fiemap()
|
/Linux-v6.1/fs/erofs/ |
D | xattr.c | 75 it.blkaddr = erofs_blknr(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs() 76 it.ofs = erofs_blkoff(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs() 173 it->blkaddr = erofs_blknr(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin() 174 it->ofs = erofs_blkoff(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
|
D | data.c | 101 map->m_pa = iloc(sbi, vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode() 157 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in erofs_map_blocks()
|
D | zmap.c | 58 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in z_erofs_fill_inode_lazy() 172 const erofs_off_t ibase = iloc(EROFS_I_SB(inode), vi->nid); in legacy_load_cluster_from_disk() 375 const erofs_off_t ebase = ALIGN(iloc(EROFS_I_SB(inode), vi->nid) + in compacted_load_cluster_from_disk()
|
D | inode.c | 17 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
|
D | internal.h | 275 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
|
/Linux-v6.1/include/trace/events/ |
D | erofs.h | 69 __entry->blkaddr = erofs_blknr(iloc(EROFS_I_SB(inode), __entry->nid)); 70 __entry->ofs = erofs_blkoff(iloc(EROFS_I_SB(inode), __entry->nid));
|
/Linux-v6.1/fs/udf/ |
D | inode.c | 1305 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local 1313 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode() 1315 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode() 1319 if (iloc->logicalBlockNum >= in udf_read_inode() 1320 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode() 1322 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode() 1338 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode() 1357 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()
|