Lines Matching defs:dir
59 const struct cred *hmdfs_override_dir_fsids(struct inode *dir,
62 struct hmdfs_inode_info *hii = hmdfs_i(dir);
127 cred->fsuid = dir->i_uid;
128 cred->fsgid = dir->i_gid;
133 cred->fsuid = dir->i_uid;
134 cred->fsgid = dir->i_gid;
153 struct inode *dir,
157 or->saved_cred = hmdfs_override_dir_fsids(dir, dentry, perm);
177 const struct cred *hmdfs_override_file_fsids(struct inode *dir, __u16 *_perm)
179 struct hmdfs_inode_info *hii = hmdfs_i(dir);
191 cred->fsuid = dir->i_uid;
192 cred->fsgid = dir->i_gid;
245 * eg. files created in sdcard dir by other user
352 struct hmdfs_inode_info *dir = hmdfs_i(parent_inode);
356 if (is_service_dir(dir->perm))
360 void check_and_fixup_ownership_remote(struct inode *dir,
364 struct hmdfs_inode_info *hii = hmdfs_i(dir);
428 dinode->i_uid = dir->i_uid;
429 dinode->i_gid = dir->i_gid;
434 dinode->i_uid = dir->i_uid;
435 dinode->i_gid = dir->i_gid;
437 dinode->i_mode = dir->i_mode | S_IRWXG;