Home
last modified time | relevance | path

Searched refs:e_name_len (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dext2_ext_attr.h29 __u8 e_name_len; /* length of name */ member
48 (char *)(entry) + EXT2_EXT_ATTR_LEN((entry)->e_name_len)) )
Dext_attr.c41 for (n = 0; n < entry->e_name_len; n++) { in ext2fs_ext_attr_hash_entry()
495 e->e_name_len = strlen(shortname); in write_xattrs_to_buffer()
504 memcpy((char *)e + sizeof(*e), shortname, e->e_name_len); in write_xattrs_to_buffer()
685 if (EXT2_EXT_ATTR_SIZE(end->e_name_len) > remain) in read_xattrs_from_buffer()
689 remain -= EXT2_EXT_ATTR_SIZE(end->e_name_len); in read_xattrs_from_buffer()
703 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in read_xattrs_from_buffer()
741 err = ext2fs_get_memzero(entry->e_name_len + prefix_len + 1, in read_xattrs_from_buffer()
747 if (entry->e_name_len) in read_xattrs_from_buffer()
750 entry->e_name_len); in read_xattrs_from_buffer()
/external/f2fs-tools/fsck/
Dxattr.h32 __u8 e_name_len; member
123 entry->e_name_len + le16_to_cpu(entry->e_value_size)))
Dxattr.c59 if (entry->e_name_len != len) in __find_xattr()
212 last->e_name_len = len; in f2fs_setxattr()
Ddump.c331 char *name = strndup(ent->e_name, ent->e_name_len); in dump_xattr()
332 void *value = ent->e_name + ent->e_name_len; in dump_xattr()
Dmount.c129 char *value = (char *)(ent->e_name + le16_to_cpu(ent->e_name_len)); in print_xattr_entry()
134 for (i = 0; i < le16_to_cpu(ent->e_name_len); i++) in print_xattr_entry()
137 ent->e_name_len, le16_to_cpu(ent->e_value_size)); in print_xattr_entry()
/external/e2fsprogs/e2fsck/
Dpass1.c376 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ea_in_inode()
385 if (EXT2_EXT_ATTR_SIZE(entry->e_name_len) > remain) { in check_ea_in_inode()
386 pctx->num = entry->e_name_len; in check_ea_in_inode()
392 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in check_ea_in_inode()
2348 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ext_attr()
2354 (entry->e_name_len == 0 || entry->e_name_index != 0)) || in check_ext_attr()