/external/e2fsprogs/lib/ext2fs/ |
D | dir_iterate.c | 28 unsigned int *rec_len) in ext2fs_get_rec_len() argument 30 unsigned int len = dirent->rec_len; in ext2fs_get_rec_len() 33 *rec_len = fs->blocksize; in ext2fs_get_rec_len() 35 *rec_len = (len & 65532) | ((len & 3) << 16); in ext2fs_get_rec_len() 46 dirent->rec_len = len; in ext2fs_set_rec_len() 51 dirent->rec_len = EXT4_MAX_REC_LEN; in ext2fs_set_rec_len() 53 dirent->rec_len = 0; in ext2fs_set_rec_len() 55 dirent->rec_len = (len & 65532) | ((len >> 16) & 3); in ext2fs_set_rec_len() 72 unsigned int rec_len; in ext2fs_validate_entry() local 78 if (ext2fs_get_rec_len(fs, dirent, &rec_len)) in ext2fs_validate_entry() [all …]
|
D | dirblock.c | 28 unsigned int name_len, rec_len; in ext2fs_read_dir_block2() local 41 dirent->rec_len = ext2fs_swab16(dirent->rec_len); in ext2fs_read_dir_block2() 49 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0) in ext2fs_read_dir_block2() 51 if ((rec_len < 8) || (rec_len % 4)) { in ext2fs_read_dir_block2() 52 rec_len = 8; in ext2fs_read_dir_block2() 54 } else if (((name_len & 0xFF) + 8) > rec_len) in ext2fs_read_dir_block2() 56 p += rec_len; in ext2fs_read_dir_block2() 75 unsigned int rec_len; in ext2fs_write_dir_block2() local 86 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0) in ext2fs_write_dir_block2() 88 if ((rec_len < 8) || in ext2fs_write_dir_block2() [all …]
|
D | link.c | 41 unsigned int rec_len, min_rec_len, curr_rec_len; in link_proc() local 44 rec_len = EXT2_DIR_REC_LEN(ls->namelen); in link_proc() 57 (offset + curr_rec_len + next->rec_len <= blocksize)) { in link_proc() 58 curr_rec_len += next->rec_len; in link_proc() 72 if (curr_rec_len < (min_rec_len + rec_len)) in link_proc() 74 rec_len = curr_rec_len - min_rec_len; in link_proc() 79 dirent->rec_len); in link_proc() 82 ls->err = ext2fs_set_rec_len(ls->fs, rec_len, next); in link_proc() 92 if (curr_rec_len < rec_len) in link_proc()
|
D | newdir.c | 34 int rec_len; in ext2fs_new_dir_block() local 59 rec_len = fs->blocksize - EXT2_DIR_REC_LEN(1); in ext2fs_new_dir_block() 60 dir->rec_len = EXT2_DIR_REC_LEN(1); in ext2fs_new_dir_block() 65 dir = (struct ext2_dir_entry *) (buf + dir->rec_len); in ext2fs_new_dir_block() 66 retval = ext2fs_set_rec_len(fs, rec_len, dir); in ext2fs_new_dir_block()
|
D | unlink.c | 60 prev->rec_len += dirent->rec_len; in unlink_proc()
|
D | tdb.c | 172 tdb_len_t rec_len; /* total byte length of record */ member 1107 rec.rec_len = size - sizeof(rec); in tdb_expand() 1805 rec.rec_len = 0; in tdb_recovery_allocate() 1815 if (recovery_head != 0 && *recovery_size <= rec.rec_len) { in tdb_recovery_allocate() 1817 *recovery_max_size = rec.rec_len; in tdb_recovery_allocate() 1903 rec->rec_len = recovery_max_size; in transaction_setup_recovery() 2315 totalsize = sizeof(*rec) + rec->rec_len; in update_tailer() 2337 right = offset + sizeof(*rec) + rec->rec_len; in tdb_free() 2352 rec->rec_len += sizeof(r) + r.rec_len; in tdb_free() 2389 rec->rec_len += leftsize; in tdb_free() [all …]
|
D | ext2_fs.h | 683 __u16 rec_len; /* Directory entry length */ member 696 __u16 rec_len; /* Directory entry length */ member
|
D | ext2fs.h | 801 unsigned int *rec_len);
|
/external/e2fsprogs/misc/ |
D | e2image.c | 348 unsigned int rec_len; in scramble_dir_block() local 352 for (p = buf; p < end-8; p += rec_len) { in scramble_dir_block() 354 rec_len = dirent->rec_len; in scramble_dir_block() 356 rec_len = ext2fs_swab16(rec_len); in scramble_dir_block() 358 if (rec_len == EXT4_MAX_REC_LEN || rec_len == 0) in scramble_dir_block() 359 rec_len = fs->blocksize; in scramble_dir_block() 361 rec_len = (rec_len & 65532) | ((rec_len & 3) << 16); in scramble_dir_block() 363 printf("rec_len = %d, name_len = %d\n", rec_len, dirent->name_len); in scramble_dir_block() 365 if (rec_len < 8 || (rec_len % 4) || in scramble_dir_block() 366 (p+rec_len > end)) { in scramble_dir_block() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | pass2.c | 347 unsigned int rec_len, new_len; in check_dot() local 360 (void) ext2fs_get_rec_len(ctx->fs, dirent, &rec_len); in check_dot() 363 if (rec_len < 12) in check_dot() 364 rec_len = dirent->rec_len = 12; in check_dot() 379 if (rec_len > 12) { in check_dot() 380 new_len = rec_len - 12; in check_dot() 386 dirent->rec_len = 12; in check_dot() 407 int rec_len, problem = 0; in check_dotdot() local 418 (void) ext2fs_get_rec_len(ctx->fs, dirent, &rec_len); in check_dotdot() 421 if (rec_len < 12) in check_dotdot() [all …]
|
D | rehash.c | 91 unsigned int offset, dir_offset, rec_len; in fill_dir_block() local 120 (void) ext2fs_get_rec_len(fs, dirent, &rec_len); in fill_dir_block() 121 if (((dir_offset + rec_len) > fs->blocksize) || in fill_dir_block() 122 (rec_len < 8) || in fill_dir_block() 123 ((rec_len % 4) != 0) || in fill_dir_block() 124 (((dirent->name_len & 0xFF)+8) > rec_len)) { in fill_dir_block() 128 dir_offset += rec_len; in fill_dir_block() 406 unsigned int rec_len, prev_rec_len; in copy_dir_entries() local 442 rec_len = EXT2_DIR_REC_LEN(ent->dir->name_len & 0xFF); in copy_dir_entries() 443 if (rec_len > left) { in copy_dir_entries() [all …]
|
D | message.c | 361 unsigned int rec_len; in expand_dirent_expression() local 377 if ((ext2fs_get_rec_len(fs, dirent, &rec_len) == 0) && in expand_dirent_expression() 378 (len > rec_len)) in expand_dirent_expression() 379 len = rec_len; in expand_dirent_expression() 383 (void) ext2fs_get_rec_len(fs, dirent, &rec_len); in expand_dirent_expression() 384 printf("%u", rec_len); in expand_dirent_expression()
|
D | pass1.c | 409 unsigned int i, rec_len, not_device = 0; in check_is_really_dir() local 482 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len); in check_is_really_dir() 488 (rec_len < 12) || in check_is_really_dir() 489 (rec_len % 4) || in check_is_really_dir() 490 (rec_len >= ctx->fs->blocksize - 12)) in check_is_really_dir() 493 dirent = (struct ext2_dir_entry *) (buf + rec_len); in check_is_really_dir() 494 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len); in check_is_really_dir() 500 (rec_len < 12) || in check_is_really_dir() 501 (rec_len % 4)) in check_is_really_dir()
|
/external/e2fsprogs/debugfs/ |
D | htree.c | 44 unsigned int rec_len; in htree_dump_leaf_node() local 70 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in htree_dump_leaf_node() 77 if (((offset + rec_len) > fs->blocksize) || in htree_dump_leaf_node() 78 (rec_len < 8) || in htree_dump_leaf_node() 79 ((rec_len % 4) != 0) || in htree_dump_leaf_node() 80 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) { in htree_dump_leaf_node() 95 hash, minor_hash, rec_len, name); in htree_dump_leaf_node() 103 offset += rec_len; in htree_dump_leaf_node() 397 unsigned int rec_len; in search_dir_block() local 413 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in search_dir_block() [all …]
|
D | ls.c | 110 dirent->rec_len, name); in list_dir_proc()
|
/external/e2fsprogs/ext2ed/ |
D | dir_com.c | 120 next = dir_entry_ptr->rec_len; in search_dir_entries() 466 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in action_show() 622 dir_entry_ptr->rec_len=(unsigned int) atol (value); in type_dir___set() 623 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->rec_len);refresh_command_w… in type_dir___set() 651 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in type_dir___set()
|
D | disk.c | 213 current_type->length=type_data.u.t_ext2_dir_entry.rec_len; in load_type_data()
|
D | ext2.descriptors | 379 __u16 rec_len; /* Directory entry length */
|
/external/qemu/telephony/ |
D | sim_card.c | 176 byte_t rec_len; member 217 file_size = file->linear.rec_count * file->linear.rec_len; in sim_file_to_hex() 277 gsm_hex_from_byte( dst, file->linear.rec_len ); in sim_file_to_hex()
|
/external/kernel-headers/original/linux/ |
D | ext2_fs.h | 512 __le16 rec_len; /* Directory entry length */ member 525 __le16 rec_len; /* Directory entry length */ member
|
D | ext3_fs.h | 607 __le16 rec_len; /* Directory entry length */ member 620 __le16 rec_len; /* Directory entry length */ member
|
/external/grub/stage2/ |
D | fsys_ext2fs.c | 177 __u16 rec_len; /* Directory entry length */ member 750 loc += dp->rec_len; in ext2fs_dir()
|
/external/e2fsprogs/po/ |
D | e2fsprogs.pot | 34 #. %Dr <dirent> -> rec_len 1884 #. @-expanded: entry '%Dn' in %p (%i) has rec_len of %Dr, should be %N.\n 1885 msgid "@E has rec_len of %Dr, @s %N.\n"
|
D | zh_CN.po | 32 #. %Dr <dirent> -> rec_len 1871 #. @-expanded: entry '%Dn' in %p (%i) has rec_len of %Dr, should be %N.\n 1873 msgid "@E has rec_len of %Dr, @s %N.\n"
|
D | nl.po | 34 #. %Dr <dirent> -> rec_len 1967 #. @-expanded: entry '%Dn' in %p (%i) has rec_len of %Dr, should be %N.\n 1969 msgid "@E has rec_len of %Dr, @s %N.\n" 1970 msgstr "@E heeft een 'rec_len' van %Dr, zou %N moeten zijn.\n"
|