Lines Matching refs:entry
33 struct ext4_xattr_entry *entry;
48 * needs an empty 4 bytes to indicate the gap between the xattr entry
58 entry = IFIRST(header);
62 while (!IS_LAST_ENTRY(entry)) {
63 void *next = EXT4_XATTR_NEXT(entry);
70 if (!entry->e_value_inum && entry->e_value_size) {
71 size_t offs = le16_to_cpu(entry->e_value_offs);
75 entry = next;
78 ((void *)entry - (void *)IFIRST(header)) - sizeof(__u32);
81 entry = (struct ext4_xattr_entry *)
84 free += EXT4_XATTR_SIZE(le32_to_cpu(entry->e_value_size));
101 * If we can't find the space for a xattr entry, don't use the space
180 struct ext4_xattr_entry *entry;
203 entry = (struct ext4_xattr_entry *)((void *)raw_inode +
206 (unsigned int)le32_to_cpu(entry->e_value_size));
209 (void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs), len);
225 struct ext4_xattr_entry *entry;
254 entry = (struct ext4_xattr_entry *)((void *)raw_inode +
257 memcpy((void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs) + pos,
291 /* Insert the xttr entry. */
369 /* Update the xattr entry. */
1030 * Add a new entry into a inline dir.
1032 * and -EEXIST if directory entry already exists.
1077 struct ext4_xattr_entry *entry;
1083 entry = (struct ext4_xattr_entry *)((void *)ext4_raw_inode(iloc) +
1086 return (void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs);
1109 /* this is just created, so create an empty entry. */
1284 * Try to add the new entry to the inline data.
1543 /* for other entry, the real offset in