Lines Matching full:new_entry
389 struct ext4_xattr_entry *new_entry = xattr_get_last(first);
390 memset(new_entry, 0, EXT4_XATTR_LEN(name_len));
392 new_entry->e_name_len = name_len;
393 new_entry->e_name_index = name_index;
394 memcpy(new_entry->e_name, name, name_len);
395 new_entry->e_value_block = 0;
396 new_entry->e_value_size = cpu_to_le32(value_len);
398 char *val = (char *) new_entry + available_size - EXT4_XATTR_SIZE(value_len);
401 new_entry->e_value_offs = cpu_to_le16(e_value_offs);
406 return new_entry;