Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ext4/
Dinline.c30 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument
52 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size()
94 struct ext4_iloc iloc; in ext4_get_max_inline_size() local
99 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size()
108 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size()
111 brelse(iloc.bh); in ext4_get_max_inline_size()
138 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock()
154 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock()
160 brelse(is.iloc.bh); in ext4_find_inline_data_nolock()
166 struct ext4_iloc *iloc) in ext4_read_inline_data() argument
[all …]
Dioctl.c210 struct ext4_iloc iloc; in ext4_ioctl_setflags() local
264 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setflags()
283 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setflags()
323 struct ext4_iloc iloc; in ext4_ioctl_setproject() local
352 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject()
356 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject()
360 &iloc); in ext4_ioctl_setproject()
364 brelse(iloc.bh); in ext4_ioctl_setproject()
377 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setproject()
398 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setproject()
[all …]
Dinode.c4539 struct ext4_iloc *iloc, int in_mem) in __ext4_get_inode_loc() argument
4547 iloc->bh = NULL; in __ext4_get_inode_loc()
4552 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
4553 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
4564 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
4672 iloc->bh = bh; in __ext4_get_inode_loc()
4676 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument
4679 return __ext4_get_inode_loc(inode, iloc, in ext4_get_inode_loc()
4791 struct ext4_iloc iloc; in ext4_iget() local
4810 iloc.bh = NULL; in ext4_iget()
[all …]
Dxattr.c579 struct ext4_iloc iloc; in ext4_xattr_ibody_get() local
586 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_get()
589 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get()
623 brelse(iloc.bh); in ext4_xattr_ibody_get()
728 struct ext4_iloc iloc; in ext4_xattr_ibody_list() local
734 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_list()
737 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list()
747 brelse(iloc.bh); in ext4_xattr_ibody_list()
804 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local
816 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage()
[all …]
Dext4_jbd2.h215 struct ext4_iloc *iloc);
223 struct ext4_iloc *iloc);
229 struct ext4_iloc *iloc);
Dxattr.h116 struct ext4_iloc iloc; member
Dresize.c790 struct ext4_iloc iloc; in add_new_gdb() local
840 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb()
871 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb()
897 brelse(iloc.bh); in add_new_gdb()
968 struct ext4_iloc iloc; in reserve_backup_gdb() local
1022 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb()
1043 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
Dnamei.c2750 struct ext4_iloc iloc; in ext4_orphan_add() local
2780 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add()
2801 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add()
2833 struct ext4_iloc iloc; in ext4_orphan_del() local
2847 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del()
2896 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_del()
2902 brelse(iloc.bh); in ext4_orphan_del()
Dext4.h2076 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument
2078 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
Dextents.c5122 struct ext4_iloc iloc; in ext4_xattr_fiemap() local
5125 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_fiemap()
5128 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_xattr_fiemap()
5134 brelse(iloc.bh); in ext4_xattr_fiemap()
/Linux-v4.19/drivers/staging/erofs/
Dxattr.c52 it.blkaddr = erofs_blknr(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs()
53 it.ofs = erofs_blkoff(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs()
131 it->blkaddr = erofs_blknr(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
132 it->ofs = erofs_blkoff(iloc(sbi, vi->nid) + inline_xattr_ofs); in inline_xattr_iter_begin()
Dinode.c159 blkaddr = erofs_blknr(iloc(sbi, vi->nid)); in fill_inode()
160 ofs = erofs_blkoff(iloc(sbi, vi->nid)); in fill_inode()
Ddata.c121 map->m_pa = iloc(sbi, vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode()
Dinternal.h305 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
Dunzip_vle.c1455 return erofs_blknr(iloc(sbi, vi->nid) + ofs);
1468 return erofs_blkoff(iloc(sbi, vi->nid) + ofs);
/Linux-v4.19/drivers/staging/erofs/include/trace/events/
Derofs.h67 __entry->blkaddr = erofs_blknr(iloc(EROFS_I_SB(inode), __entry->nid));
68 __entry->ofs = erofs_blkoff(iloc(EROFS_I_SB(inode), __entry->nid));
/Linux-v4.19/fs/udf/
Dinode.c1272 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local
1280 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode()
1282 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode()
1286 if (iloc->logicalBlockNum >= in udf_read_inode()
1287 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode()
1289 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode()
1305 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode()
1324 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()