Home
last modified time | relevance | path

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

/third_party/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()
659 e->e_name_len = strlen(x->short_name); in write_xattrs_to_buffer()
666 memcpy((char *)e + sizeof(*e), x->short_name, e->e_name_len); in write_xattrs_to_buffer()
835 if (EXT2_EXT_ATTR_SIZE(end->e_name_len) > remain) in read_xattrs_from_buffer()
839 remain -= EXT2_EXT_ATTR_SIZE(end->e_name_len); in read_xattrs_from_buffer()
861 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in read_xattrs_from_buffer()
866 err = ext2fs_get_memzero(entry->e_name_len + prefix_len + 1, in read_xattrs_from_buffer()
872 if (entry->e_name_len) in read_xattrs_from_buffer()
875 entry->e_name_len); in read_xattrs_from_buffer()
/third_party/f2fs-tools/fsck/
Dxattr.h32 __u8 e_name_len; member
124 entry->e_name_len + le16_to_cpu(entry->e_value_size)))
Dxattr.c75 if (entry->e_name_len != len) in __find_xattr()
232 last->e_name_len = len; in f2fs_setxattr()
Ddump.c316 char *name = strndup(ent->e_name, ent->e_name_len); in dump_xattr()
317 void *value = ent->e_name + ent->e_name_len; in dump_xattr()
Dmount.c194 const u8 *value = (const u8 *)&ent->e_name[ent->e_name_len]; in print_xattr_entry()
200 for (i = 0; i < ent->e_name_len; i++) in print_xattr_entry()
203 ent->e_name_len, size); in print_xattr_entry()
/third_party/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()
/third_party/e2fsprogs/e2fsck/
Dpass1.c459 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ea_in_inode()
468 if (EXT2_EXT_ATTR_SIZE(entry->e_name_len) > remain) { in check_ea_in_inode()
469 pctx->num = entry->e_name_len; in check_ea_in_inode()
475 remain -= EXT2_EXT_ATTR_SIZE(entry->e_name_len); in check_ea_in_inode()
2542 EXT2_EXT_ATTR_LEN(entry->e_name_len))) { in check_ext_attr()
2548 (entry->e_name_len == 0 || entry->e_name_index != 0)) || in check_ext_attr()