Home
last modified time | relevance | path

Searched refs:e_name_len (Results 1 – 8 of 8) 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.c54 for (n = 0; n < entry->e_name_len; n++) { in ext2fs_ext_attr_hash_entry()
661 e->e_name_len = strlen(shortname); in write_xattrs_to_buffer()
668 memcpy((char *)e + sizeof(*e), shortname, e->e_name_len); in write_xattrs_to_buffer()
837 if (EXT2_EXT_ATTR_SIZE(end->e_name_len) > remain) in read_xattrs_from_buffer()
841 remain -= EXT2_EXT_ATTR_SIZE(end->e_name_len); in read_xattrs_from_buffer()
863 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in read_xattrs_from_buffer()
868 err = ext2fs_get_memzero(entry->e_name_len + prefix_len + 1, in read_xattrs_from_buffer()
874 if (entry->e_name_len) in read_xattrs_from_buffer()
877 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()
215 last->e_name_len = len; in f2fs_setxattr()
Ddump.c314 char *name = strndup(ent->e_name, ent->e_name_len); in dump_xattr()
315 void *value = ent->e_name + ent->e_name_len; in dump_xattr()
Dmount.c128 char *value = (char *)(ent->e_name + le16_to_cpu(ent->e_name_len)); in print_xattr_entry()
133 for (i = 0; i < le16_to_cpu(ent->e_name_len); i++) in print_xattr_entry()
136 ent->e_name_len, le16_to_cpu(ent->e_value_size)); in print_xattr_entry()
/external/e2fsprogs/debugfs/
Dxattrs.c435 off, off, ent.e_name_len, ent.e_name_index); in dump_xattr_raw_entries()
442 if ((off + ent.e_name_len) >= len) in dump_xattr_raw_entries()
445 safe_print(f, (char *)(buf + off), ent.e_name_len); in dump_xattr_raw_entries()
467 off += (ent.e_name_len + 3) & ~3; in dump_xattr_raw_entries()
/external/e2fsprogs/e2fsck/
Dpass1.c466 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ea_in_inode()
475 if (EXT2_EXT_ATTR_SIZE(entry->e_name_len) > remain) { in check_ea_in_inode()
476 pctx->num = entry->e_name_len; in check_ea_in_inode()
482 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in check_ea_in_inode()
2507 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ext_attr()
2513 (entry->e_name_len == 0 || entry->e_name_index != 0)) || in check_ext_attr()