Lines Matching defs:inode_num
107 u32 inode_num;
116 inode_num = allocate_inode(info);
119 inode_num = EXT4_ROOT_INO;
122 if (inode_num == EXT4_ALLOCATE_FAILED) {
127 add_directory(inode_num);
129 inode = get_inode(inode_num);
131 error("failed to get inode %u", inode_num);
147 dentry = add_dentry(data, &offset, NULL, inode_num, ".", EXT4_FT_DIR);
175 return inode_num;
182 u32 inode_num;
184 inode_num = allocate_inode(info);
185 if (inode_num == EXT4_ALLOCATE_FAILED) {
190 inode = get_inode(inode_num);
192 error("failed to get inode %u", inode_num);
209 return inode_num;
216 u32 inode_num;
219 inode_num = allocate_inode(info);
220 if (inode_num == EXT4_ALLOCATE_FAILED) {
225 inode = get_inode(inode_num);
227 error("failed to get inode %u", inode_num);
245 return inode_num;
248 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime)
250 struct ext4_inode *inode = get_inode(inode_num);
450 static int xattr_add(u32 inode_num, int name_index, const char *name,
456 struct ext4_inode *inode = get_inode(inode_num);
468 int inode_set_selinux(u32 inode_num, const char *secon)
473 return xattr_add(inode_num, EXT4_XATTR_INDEX_SECURITY,
477 int inode_set_capabilities(u32 inode_num, uint64_t capabilities) {
490 return xattr_add(inode_num, EXT4_XATTR_INDEX_SECURITY,