Lines Matching refs:entry
35 struct ext4_xattr_entry *entry;
50 * needs an empty 4 bytes to indicate the gap between the xattr entry
60 entry = IFIRST(header);
64 while (!IS_LAST_ENTRY(entry)) {
65 void *next = EXT4_XATTR_NEXT(entry);
72 if (!entry->e_value_inum && entry->e_value_size) {
73 size_t offs = le16_to_cpu(entry->e_value_offs);
77 entry = next;
80 ((void *)entry - (void *)IFIRST(header)) - sizeof(__u32);
83 entry = (struct ext4_xattr_entry *)
86 free += EXT4_XATTR_SIZE(le32_to_cpu(entry->e_value_size));
103 * If we can't find the space for a xattr entry, don't use the space
182 struct ext4_xattr_entry *entry;
204 entry = (struct ext4_xattr_entry *)((void *)raw_inode +
207 (unsigned int)le32_to_cpu(entry->e_value_size));
210 (void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs), len);
226 struct ext4_xattr_entry *entry;
255 entry = (struct ext4_xattr_entry *)((void *)raw_inode +
258 memcpy((void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs) + pos,
293 /* Insert the xttr entry. */
372 /* Update the xattr entry. */
1001 * Add a new entry into a inline dir.
1003 * and -EEXIST if directory entry already exists.
1049 struct ext4_xattr_entry *entry;
1055 entry = (struct ext4_xattr_entry *)((void *)ext4_raw_inode(iloc) +
1058 return (void *)IFIRST(header) + le16_to_cpu(entry->e_value_offs);
1081 /* this is just created, so create an empty entry. */
1257 * Try to add the new entry to the inline data.
1521 /* for other entry, the real offset in