Lines Matching refs:ent
412 struct ext2_ext_attr_entry ent; in dump_xattr_raw_entries() local
428 ext2fs_swap_ext_attr_entry(&ent, in dump_xattr_raw_entries()
431 ent = *((struct ext2_ext_attr_entry *) (buf + off)); in dump_xattr_raw_entries()
435 off, off, ent.e_name_len, ent.e_name_index); in dump_xattr_raw_entries()
436 vstart = value_start + ent.e_value_offs; in dump_xattr_raw_entries()
438 "value_size = %u\n", ent.e_value_offs, in dump_xattr_raw_entries()
439 vstart, ent.e_value_inum, ent.e_value_size); 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()
447 if (ent.e_value_size == 0) in dump_xattr_raw_entries()
450 if (ent.e_value_inum) in dump_xattr_raw_entries()
451 fprintf(f, "<ino %u>", ent.e_value_inum); in dump_xattr_raw_entries()
452 else if (ent.e_value_offs >= len || in dump_xattr_raw_entries()
453 (vstart + ent.e_value_size) > len) in dump_xattr_raw_entries()
456 ent.e_value_size)) in dump_xattr_raw_entries()
458 ent.e_value_size); in dump_xattr_raw_entries()
462 ent.e_value_size); in dump_xattr_raw_entries()
467 off += (ent.e_name_len + 3) & ~3; in dump_xattr_raw_entries()