Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ext4/
Dinline.c32 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 …]
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.c4451 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 …]
Dxattr.c595 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 …]
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
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 …]
Dverity.c199 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()
Dfast_commit.c851 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 …]
Dext4_jbd2.h212 struct ext4_iloc *iloc);
220 struct ext4_iloc *iloc);
229 struct ext4_iloc *iloc);
Dresize.c832 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()
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()
2992 struct ext4_iloc *iloc);
Dextents.c4874 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/
Dxattr.c75 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()
Ddata.c101 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()
Dzmap.c58 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()
Dinode.c17 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
Dinternal.h275 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
/Linux-v6.1/include/trace/events/
Derofs.h69 __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/
Dinode.c1305 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()