Lines Matching refs:entry
50 struct f2fs_acl_entry *entry = (struct f2fs_acl_entry *)(hdr + 1); in f2fs_acl_from_disk() local
71 if ((char *)entry > end) in f2fs_acl_from_disk()
74 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
75 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
82 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
89 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
90 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
96 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
97 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
104 if ((char *)entry != end) in f2fs_acl_from_disk()
116 struct f2fs_acl_entry *entry; in f2fs_acl_to_disk() local
126 entry = (struct f2fs_acl_entry *)(f2fs_acl + 1); in f2fs_acl_to_disk()
130 entry->e_tag = cpu_to_le16(acl->a_entries[i].e_tag); in f2fs_acl_to_disk()
131 entry->e_perm = cpu_to_le16(acl->a_entries[i].e_perm); in f2fs_acl_to_disk()
135 entry->e_id = cpu_to_le32( in f2fs_acl_to_disk()
138 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()
142 entry->e_id = cpu_to_le32( in f2fs_acl_to_disk()
145 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()
152 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_to_disk()