Lines Matching refs:entry
56 struct f2fs_acl_entry *entry = (struct f2fs_acl_entry *)(hdr + 1); in f2fs_acl_from_disk() local
74 if ((char *)entry > end) in f2fs_acl_from_disk()
77 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
78 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
85 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
92 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
93 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
99 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
100 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
107 if ((char *)entry != end) in f2fs_acl_from_disk()
118 struct f2fs_acl_entry *entry; in f2fs_acl_to_disk() local
127 entry = (struct f2fs_acl_entry *)(f2fs_acl + 1); in f2fs_acl_to_disk()
131 entry->e_tag = cpu_to_le16(acl->a_entries[i].e_tag); in f2fs_acl_to_disk()
132 entry->e_perm = cpu_to_le16(acl->a_entries[i].e_perm); in f2fs_acl_to_disk()
136 entry->e_id = cpu_to_le32( in f2fs_acl_to_disk()
139 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()
143 entry->e_id = cpu_to_le32( in f2fs_acl_to_disk()
146 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()
153 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()