Lines Matching refs:new_entry
378 struct ext4_xattr_entry *new_entry = xattr_get_last(first);
379 memset(new_entry, 0, EXT4_XATTR_LEN(name_len));
381 new_entry->e_name_len = name_len;
382 new_entry->e_name_index = name_index;
383 memcpy(new_entry->e_name, name, name_len);
384 new_entry->e_value_block = 0;
385 new_entry->e_value_size = cpu_to_le32(value_len);
387 char *val = (char *) new_entry + available_size - EXT4_XATTR_SIZE(value_len);
390 new_entry->e_value_offs = cpu_to_le16(e_value_offs);
395 return new_entry;