Home
last modified time | relevance | path

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

/fs/ext3/
Dioctl.c32 struct ext3_iloc iloc; in ext3_ioctl() local
87 err = ext3_reserve_inode_write(handle, inode, &iloc); in ext3_ioctl()
98 err = ext3_mark_iloc_dirty(handle, inode, &iloc); in ext3_ioctl()
117 struct ext3_iloc iloc; in ext3_ioctl() local
138 err = ext3_reserve_inode_write(handle, inode, &iloc); in ext3_ioctl()
142 err = ext3_mark_iloc_dirty(handle, inode, &iloc); in ext3_ioctl()
Dinode.c2684 unsigned long ino, struct ext3_iloc *iloc) in ext3_get_inode_block() argument
2712 iloc->block_group = block_group; in ext3_get_inode_block()
2713 iloc->offset = offset & (EXT3_BLOCK_SIZE(sb) - 1); in ext3_get_inode_block()
2724 struct ext3_iloc *iloc, int in_mem) in __ext3_get_inode_loc() argument
2729 block = ext3_get_inode_block(inode->i_sb, inode->i_ino, iloc); in __ext3_get_inode_loc()
2837 iloc->bh = bh; in __ext3_get_inode_loc()
2841 int ext3_get_inode_loc(struct inode *inode, struct ext3_iloc *iloc) in ext3_get_inode_loc() argument
2844 return __ext3_get_inode_loc(inode, iloc, in ext3_get_inode_loc()
2886 struct ext3_iloc iloc; in ext3_iget() local
2905 ret = __ext3_get_inode_loc(inode, &iloc, 0); in ext3_iget()
[all …]
Dxattr.c267 struct ext3_iloc iloc; in ext3_xattr_ibody_get() local
274 error = ext3_get_inode_loc(inode, &iloc); in ext3_xattr_ibody_get()
277 raw_inode = ext3_raw_inode(&iloc); in ext3_xattr_ibody_get()
299 brelse(iloc.bh); in ext3_xattr_ibody_get()
397 struct ext3_iloc iloc; in ext3_xattr_ibody_list() local
403 error = ext3_get_inode_loc(inode, &iloc); in ext3_xattr_ibody_list()
406 raw_inode = ext3_raw_inode(&iloc); in ext3_xattr_ibody_list()
416 brelse(iloc.bh); in ext3_xattr_ibody_list()
870 struct ext3_iloc iloc; member
883 raw_inode = ext3_raw_inode(&is->iloc); in ext3_xattr_ibody_find()
[all …]
Dresize.c438 struct ext3_iloc iloc; in add_new_gdb() local
495 if ((err = ext3_reserve_inode_write(handle, inode, &iloc))) in add_new_gdb()
523 err = ext3_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb()
550 brelse(iloc.bh); in add_new_gdb()
586 struct ext3_iloc iloc; in reserve_backup_gdb() local
645 if ((err = ext3_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb()
665 ext3_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
Dext3.h941 static inline struct ext3_inode *ext3_raw_inode(struct ext3_iloc *iloc) in ext3_raw_inode() argument
943 return (struct ext3_inode *) (iloc->bh->b_data + iloc->offset); in ext3_raw_inode()
1189 struct ext3_iloc *iloc);
1197 struct ext3_iloc *iloc);
Dnamei.c1931 struct ext3_iloc iloc; in ext3_orphan_add() local
1959 err = ext3_reserve_inode_write(handle, inode, &iloc); in ext3_orphan_add()
1967 rc = ext3_mark_iloc_dirty(handle, inode, &iloc); in ext3_orphan_add()
2001 struct ext3_iloc iloc; in ext3_orphan_del() local
2023 err = ext3_reserve_inode_write(handle, inode, &iloc); in ext3_orphan_del()
2051 err = ext3_mark_iloc_dirty(handle, inode, &iloc); in ext3_orphan_del()
2060 brelse(iloc.bh); in ext3_orphan_del()
/fs/ext4/
Dinode.c3438 struct ext4_iloc *iloc, int in_mem) in __ext4_get_inode_loc() argument
3446 iloc->bh = NULL; in __ext4_get_inode_loc()
3450 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
3451 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
3462 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
3573 iloc->bh = bh; in __ext4_get_inode_loc()
3577 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument
3580 return __ext4_get_inode_loc(inode, iloc, in ext4_get_inode_loc()
3651 struct ext4_iloc iloc; in ext4_iget() local
3666 iloc.bh = NULL; in ext4_iget()
[all …]
Dxattr.c263 struct ext4_iloc iloc; in ext4_xattr_ibody_get() local
270 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_get()
273 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get()
295 brelse(iloc.bh); in ext4_xattr_ibody_get()
393 struct ext4_iloc iloc; in ext4_xattr_ibody_list() local
399 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_ibody_list()
402 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list()
412 brelse(iloc.bh); in ext4_xattr_ibody_list()
897 struct ext4_iloc iloc; member
910 raw_inode = ext4_raw_inode(&is->iloc); in ext4_xattr_ibody_find()
[all …]
Dioctl.c40 struct ext4_iloc iloc; in ext4_ioctl() local
114 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl()
130 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl()
153 struct ext4_iloc iloc; in ext4_ioctl() local
174 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl()
178 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl()
Dext4_jbd2.h186 struct ext4_iloc *iloc);
194 struct ext4_iloc *iloc);
Dresize.c703 struct ext4_iloc iloc; in add_new_gdb() local
762 err = ext4_reserve_inode_write(handle, inode, &iloc); in add_new_gdb()
792 ext4_mark_iloc_dirty(handle, inode, &iloc); in add_new_gdb()
819 brelse(iloc.bh); in add_new_gdb()
853 struct ext4_iloc iloc; in reserve_backup_gdb() local
912 if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) in reserve_backup_gdb()
932 ext4_mark_iloc_dirty(handle, inode, &iloc); in reserve_backup_gdb()
Dnamei.c1979 struct ext4_iloc iloc; in ext4_orphan_add() local
2003 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add()
2018 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add()
2053 struct ext4_iloc iloc; in ext4_orphan_del() local
2080 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del()
2108 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_del()
2117 brelse(iloc.bh); in ext4_orphan_del()
Dext4.h1644 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode() argument
1646 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
Dextents.c4710 struct ext4_iloc iloc; in ext4_xattr_fiemap() local
4713 error = ext4_get_inode_loc(inode, &iloc); in ext4_xattr_fiemap()
4716 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_xattr_fiemap()
4722 brelse(iloc.bh); in ext4_xattr_fiemap()