| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | inline.c | 31 struct ext4_iloc *iloc) in get_max_inline_xattr_value_size() argument 56 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size() 98 struct ext4_iloc iloc; in ext4_get_max_inline_size() local 103 error = ext4_get_inode_loc(inode, &iloc); in ext4_get_max_inline_size() 112 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc); in ext4_get_max_inline_size() 115 brelse(iloc.bh); in ext4_get_max_inline_size() 142 error = ext4_get_inode_loc(inode, &is.iloc); in ext4_find_inline_data_nolock() 158 (void *)ext4_raw_inode(&is.iloc)); in ext4_find_inline_data_nolock() 164 brelse(is.iloc.bh); in ext4_find_inline_data_nolock() 170 struct ext4_iloc *iloc) in ext4_read_inline_data() argument [all …]
|
| H A 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() 802 struct ext4_iloc iloc = { .bh = NULL }; in ext4_get_inode_usage() local 814 ret = ext4_get_inode_loc(inode, &iloc); in ext4_get_inode_usage() [all …]
|
| H A D | inode.c | 4396 struct ext4_iloc *iloc, int in_mem, in __ext4_get_inode_loc() argument 4405 iloc->bh = NULL; in __ext4_get_inode_loc() 4410 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc() 4411 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc() 4422 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc() 4524 iloc->bh = bh; in __ext4_get_inode_loc() 4529 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument 4534 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, iloc, 0, in __ext4_get_inode_loc_noinmem() 4544 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument 4550 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, iloc, in ext4_get_inode_loc() [all …]
|
| H A D | ioctl.c | 341 struct ext4_iloc iloc; in ext4_ioctl_setflags() local 410 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setflags() 432 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setflags() 473 struct ext4_iloc iloc; in ext4_ioctl_setproject() local 497 err = ext4_get_inode_loc(inode, &iloc); in ext4_ioctl_setproject() 501 raw_inode = ext4_raw_inode(&iloc); in ext4_ioctl_setproject() 505 &iloc); in ext4_ioctl_setproject() 509 brelse(iloc.bh); in ext4_ioctl_setproject() 522 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl_setproject() 543 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl_setproject() [all …]
|
| H A D | verity.c | 204 struct ext4_iloc iloc; in ext4_end_enable_verity() local 245 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_end_enable_verity() 251 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_end_enable_verity()
|
| H A D | fast_commit.c | 753 struct ext4_iloc iloc; in ext4_fc_write_inode() local 758 ret = ext4_get_inode_loc(inode, &iloc); in ext4_fc_write_inode() 781 if (!ext4_fc_memcpy(inode->i_sb, dst, (u8 *)ext4_raw_inode(&iloc), in ext4_fc_write_inode() 786 brelse(iloc.bh); in ext4_fc_write_inode() 1420 struct ext4_iloc iloc; in ext4_fc_replay_inode() local 1442 ret = ext4_get_fc_inode_loc(sb, ino, &iloc); in ext4_fc_replay_inode() 1447 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode() 1468 ret = ext4_handle_dirty_metadata(NULL, NULL, iloc.bh); in ext4_fc_replay_inode() 1471 ret = sync_dirty_buffer(iloc.bh); in ext4_fc_replay_inode() 1492 inode->i_generation = le32_to_cpu(ext4_raw_inode(&iloc)->i_generation); in ext4_fc_replay_inode() [all …]
|
| H A D | ext4_jbd2.h | 215 struct ext4_iloc *iloc); 223 struct ext4_iloc *iloc); 232 struct ext4_iloc *iloc);
|
| H A 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() 924 brelse(iloc.bh); in add_new_gdb() 1000 struct ext4_iloc iloc; in reserve_backup_gdb() local 1056 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb() 1077 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
|
| H A D | xattr.h | 129 struct ext4_iloc iloc; member
|
| H A D | namei.c | 3096 struct ext4_iloc iloc; in ext4_orphan_add() local 3126 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add() 3147 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add() 3161 brelse(iloc.bh); in ext4_orphan_add() 3181 struct ext4_iloc iloc; in ext4_orphan_del() local 3195 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del() 3244 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_del() 3250 brelse(iloc.bh); in ext4_orphan_del()
|
| H A D | ext4.h | 2392 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument 2394 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode() 2911 struct ext4_iloc *iloc);
|
| H A D | extents.c | 4872 struct ext4_iloc iloc; in ext4_iomap_xattr_fiemap() local 4875 error = ext4_get_inode_loc(inode, &iloc); in ext4_iomap_xattr_fiemap() 4878 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap() 4883 brelse(iloc.bh); in ext4_iomap_xattr_fiemap()
|
| /OK3568_Linux_fs/kernel/fs/erofs/ |
| H A 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()
|
| H A D | zmap.c | 57 pos = ALIGN(iloc(EROFS_SB(sb), vi->nid) + vi->inode_isize + in z_erofs_fill_inode_lazy() 158 const erofs_off_t ibase = iloc(EROFS_I_SB(inode), vi->nid); in legacy_load_cluster_from_disk() 322 const erofs_off_t ebase = ALIGN(iloc(EROFS_I_SB(inode), vi->nid) + in compacted_load_cluster_from_disk()
|
| H A D | internal.h | 225 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() function
|
| H A D | inode.c | 22 const erofs_off_t inode_loc = iloc(sbi, vi->nid); in erofs_read_inode()
|
| H A D | data.c | 82 map->m_pa = iloc(sbi, vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A 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));
|
| /OK3568_Linux_fs/kernel/fs/udf/ |
| H A D | inode.c | 1310 struct kernel_lb_addr *iloc = &iinfo->i_location; in udf_read_inode() local 1318 if (iloc->partitionReferenceNum >= sbi->s_partitions) { in udf_read_inode() 1320 iloc->partitionReferenceNum, sbi->s_partitions); in udf_read_inode() 1324 if (iloc->logicalBlockNum >= in udf_read_inode() 1325 sbi->s_partmaps[iloc->partitionReferenceNum].s_partition_len) { in udf_read_inode() 1327 iloc->logicalBlockNum, iloc->partitionReferenceNum); in udf_read_inode() 1343 bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); in udf_read_inode() 1362 ibh = udf_read_ptagged(inode->i_sb, iloc, 1, &ident); in udf_read_inode()
|