Searched refs:hii (Results 1 – 4 of 4) sorted by relevance
62 struct hmdfs_inode_info *hii = hmdfs_i(dir); in hmdfs_override_dir_fsids() local65 __u16 level = hmdfs_perm_get_next_level(hii->perm); in hmdfs_override_dir_fsids()77 perm = (hii->perm & HMDFS_DIR_TYPE_MASK) | level; in hmdfs_override_dir_fsids()101 if (is_service_dir(hii->perm)) { in hmdfs_override_dir_fsids()107 if (is_data_dir(hii->perm)) { in hmdfs_override_dir_fsids()129 perm = (hii->perm & AUTH_MASK) | HMDFS_DIR_DEFAULT | level; in hmdfs_override_dir_fsids()135 if (is_pkg_auth(hii->perm)) in hmdfs_override_dir_fsids()138 perm = (hii->perm & AUTH_MASK) | HMDFS_DIR_DEFAULT | level; in hmdfs_override_dir_fsids()179 struct hmdfs_inode_info *hii = hmdfs_i(dir); in hmdfs_override_file_fsids() local182 __u16 level = hmdfs_perm_get_next_level(hii->perm); in hmdfs_override_file_fsids()[all …]
84 struct hmdfs_inode_info *hii = hmdfs_i(inode); in iget_test() local98 res = (ia->lo_i == hii->lower_inode); in iget_test()101 res = (ia->lo_i == hii->lower_inode); in iget_test()104 res = (ia->peer == hii->conn && in iget_test()105 ia->remote_ino == hii->remote_ino); in iget_test()109 (memcmp(ia->cloud_record_id, hii->cloud_record_id, in iget_test()111 (ia->reserved[0] == hii->reserved[0])); in iget_test()126 struct hmdfs_inode_info *hii = hmdfs_i(inode); in iget_set() local132 hii->conn = ia->peer; in iget_set()133 hii->remote_ino = ia->remote_ino; in iget_set()[all …]
213 static inline bool hmdfs_i_merge(struct hmdfs_inode_info *hii) in hmdfs_i_merge() argument215 __u8 t = hii->inode_type; in hmdfs_i_merge()
21 struct sharefs_inode_info *hii = SHAREFS_I(dir); in fixup_perm_from_level() local25 __u16 level = perm_get_next_level(hii->perm); in fixup_perm_from_level()57 if (is_read_only_auth(hii->perm)) { in fixup_perm_from_level()60 } else if (is_read_write_auth(hii->perm)) { in fixup_perm_from_level()75 struct sharefs_inode_info *hii = SHAREFS_I(root_inode); in sharefs_root_inode_perm_init() local76 hii->perm = SHAREFS_PERM_FIX; in sharefs_root_inode_perm_init()