/kernel/linux/linux-5.10/fs/ext4/ |
D | inline.c | 30 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument 55 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size() 97 struct ext4_iloc iloc; in ext4_get_max_inline_size() local 102 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size() 111 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size() 114 brelse(iloc.bh); in ext4_get_max_inline_size() 141 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock() 157 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock() 163 brelse(is.iloc.bh); in ext4_find_inline_data_nolock() 169 struct ext4_iloc *iloc) in ext4_read_inline_data() argument [all …]
|
D | inode.c | 4469 struct inode *inode, struct ext4_iloc *iloc, in __ext4_get_inode_loc() argument 4478 iloc->bh = NULL; in __ext4_get_inode_loc() 4483 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc() 4484 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc() 4494 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc() 4500 "block_group %u", block, iloc->block_group); in __ext4_get_inode_loc() 4551 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc() 4608 iloc->bh = bh; in __ext4_get_inode_loc() 4613 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument 4618 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, NULL, iloc, in __ext4_get_inode_loc_noinmem() [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() 820 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local 832 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage() [all …]
|
D | ioctl.c | 342 struct ext4_iloc iloc; in ext4_ioctl_setflags() local 411 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setflags() 433 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setflags() 474 struct ext4_iloc iloc; in ext4_ioctl_setproject() local 502 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject() 506 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject() 510 &iloc); in ext4_ioctl_setproject() 514 brelse(iloc.bh); in ext4_ioctl_setproject() 523 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setproject() 544 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setproject() [all …]
|
D | verity.c | 201 struct ext4_iloc iloc; in ext4_end_enable_verity() local 242 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_end_enable_verity() 248 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_end_enable_verity()
|
D | ext4_jbd2.h | 215 struct ext4_iloc *iloc); 223 struct ext4_iloc *iloc); 232 struct ext4_iloc *iloc);
|
D | fast_commit.c | 766 struct ext4_iloc iloc; in ext4_fc_write_inode() local 771 ret = ext4_get_inode_loc(inode, &iloc); in ext4_fc_write_inode() 794 if (!ext4_fc_memcpy(inode->i_sb, dst, (u8 *)ext4_raw_inode(&iloc), in ext4_fc_write_inode() 799 brelse(iloc.bh); in ext4_fc_write_inode() 1433 struct ext4_iloc iloc; in ext4_fc_replay_inode() local 1455 ret = ext4_get_fc_inode_loc(sb, ino, &iloc); in ext4_fc_replay_inode() 1460 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode() 1481 ret = ext4_handle_dirty_metadata(NULL, NULL, iloc.bh); in ext4_fc_replay_inode() 1484 ret = sync_dirty_buffer(iloc.bh); in ext4_fc_replay_inode() 1505 inode->i_generation = le32_to_cpu(ext4_raw_inode(&iloc)->i_generation); in ext4_fc_replay_inode() [all …]
|
D | resize.c | 814 struct ext4_iloc iloc = { .bh = NULL }; in add_new_gdb() local 867 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb() 897 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb() 902 iloc.bh = NULL; in add_new_gdb() 927 brelse(iloc.bh); in add_new_gdb() 1003 struct ext4_iloc iloc; in reserve_backup_gdb() local 1059 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb() 1080 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
|
D | xattr.h | 129 struct ext4_iloc iloc; member
|
D | namei.c | 3019 struct ext4_iloc iloc; in ext4_orphan_add() local 3049 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add() 3073 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add() 3087 brelse(iloc.bh); in ext4_orphan_add() 3107 struct ext4_iloc iloc; in ext4_orphan_del() local 3121 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del() 3173 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_del() 3179 brelse(iloc.bh); in ext4_orphan_del()
|
D | ext4.h | 2370 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument 2372 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode() 2888 struct ext4_iloc *iloc);
|
D | extents.c | 4884 struct ext4_iloc iloc; in ext4_iomap_xattr_fiemap() local 4887 error = ext4_get_inode_loc(inode, &iloc); in ext4_iomap_xattr_fiemap() 4890 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap() 4895 brelse(iloc.bh); in ext4_iomap_xattr_fiemap()
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | zmap.c | 57 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in z_erofs_fill_inode_lazy() 154 const erofs_off_t ibase = iloc(EROFS_I_SB(inode), vi->nid); in legacy_load_cluster_from_disk() 273 const erofs_off_t ebase = ALIGN(iloc(EROFS_I_SB(inode), vi->nid) + in compacted_load_cluster_from_disk()
|
D | xattr.c | 95 it.blkaddr = erofs_blknr(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs() 96 it.ofs = erofs_blkoff(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs() 208 it->blkaddr = erofs_blknr(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin() 209 it->ofs = erofs_blkoff(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
|
D | internal.h | 214 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
|
D | data.c | 80 map->m_pa = iloc(sbi, vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode()
|
D | inode.c | 22 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
|
/kernel/linux/linux-5.10/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));
|
/kernel/linux/linux-5.10/fs/udf/ |
D | inode.c | 1302 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local 1310 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode() 1312 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode() 1316 if (iloc->logicalBlockNum >= in udf_read_inode() 1317 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode() 1319 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode() 1335 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode() 1354 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()
|