HomeSort by relevance Sort by last modified time
    Searched defs:rec_len (Results 1 - 15 of 15) sorted by null

  /external/e2fsprogs/lib/ext2fs/
newdir.c 34 int rec_len; local
61 rec_len = fs->blocksize - EXT2_DIR_REC_LEN(1);
62 dir->rec_len = EXT2_DIR_REC_LEN(1);
67 dir = (struct ext2_dir_entry *) (buf + dir->rec_len);
68 retval = ext2fs_set_rec_len(fs, rec_len, dir);
dirblock.c 28 unsigned int name_len, rec_len; local
41 dirent->rec_len = ext2fs_swab16(dirent->rec_len);
49 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0)
51 if ((rec_len < 8) || (rec_len % 4)) {
52 rec_len = 8;
54 } else if (((name_len & 0xFF) + 8) > rec_len)
56 p += rec_len;
81 unsigned int rec_len; local
    [all...]
link.c 41 unsigned int rec_len, min_rec_len, curr_rec_len; local
47 rec_len = EXT2_DIR_REC_LEN(ls->namelen);
60 (offset + (int) curr_rec_len + (int) next->rec_len <= blocksize)) {
61 curr_rec_len += next->rec_len;
75 if (curr_rec_len < (min_rec_len + rec_len))
77 rec_len = curr_rec_len - min_rec_len;
82 dirent->rec_len);
85 ls->err = ext2fs_set_rec_len(ls->fs, rec_len, next);
95 if (curr_rec_len < rec_len)
dir_iterate.c 28 unsigned int *rec_len)
30 unsigned int len = dirent->rec_len;
33 *rec_len = len;
35 *rec_len = fs->blocksize;
37 *rec_len = (len & 65532) | ((len & 3) << 16);
48 dirent->rec_len = len;
53 dirent->rec_len = EXT4_MAX_REC_LEN;
55 dirent->rec_len = 0;
57 dirent->rec_len = (len & 65532) | ((len >> 16) & 3);
74 unsigned int rec_len; local
191 unsigned int rec_len, size; local
    [all...]
tdb.c 170 tdb_len_t rec_len; /* total byte length of record */ member in struct:list_struct
177 char record[rec_len];
1105 rec.rec_len = size - sizeof(rec);
2488 tdb_len_t rec_len; member in struct:__anon40
    [all...]
ext2_fs.h 767 __u16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry
780 __u16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry_2
  /external/e2fsprogs/debugfs/
htree.c 44 unsigned int rec_len; local
69 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len);
72 "while getting rec_len for block %lu",
76 if (((offset + rec_len) > fs->blocksize) ||
77 (rec_len < 8) ||
78 ((rec_len % 4) != 0) ||
79 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) {
94 dirent->inode, hash, minor_hash, rec_len, name);
102 offset += rec_len;
371 unsigned int rec_len; local
    [all...]
  /external/e2fsprogs/e2fsck/
message.c 21 * %Dr <dirent>->rec_len
363 unsigned int rec_len, len; local
376 if ((ext2fs_get_rec_len(fs, dirent, &rec_len) == 0) &&
377 (len > rec_len))
378 len = rec_len;
382 (void) ext2fs_get_rec_len(fs, dirent, &rec_len);
383 fprintf(f, "%u", rec_len);
pass2.c 15 * - The length of the directory entry (rec_len) should be at
19 * should be less than (rec_len - 8).
352 unsigned int rec_len, new_len; local
365 (void) ext2fs_get_rec_len(ctx->fs, dirent, &rec_len);
368 if (rec_len < 12)
369 rec_len = dirent->rec_len = 12;
384 if (rec_len > 12) {
385 new_len = rec_len - 12;
391 dirent->rec_len = 12
413 unsigned int rec_len; local
648 unsigned int rec_len, prev_rec_len; local
721 unsigned int rec_len; local
    [all...]
rehash.c 91 unsigned int offset, dir_offset, rec_len; local
120 (void) ext2fs_get_rec_len(fs, dirent, &rec_len);
121 if (((dir_offset + rec_len) > fs->blocksize) ||
122 (rec_len < 8) ||
123 ((rec_len % 4) != 0) ||
124 (((dirent->name_len & 0xFF)+8U) > rec_len)) {
128 dir_offset += rec_len;
406 unsigned int rec_len, prev_rec_len, left, slack, offset; local
432 rec_len = 0;
442 rec_len = EXT2_DIR_REC_LEN(ent->dir->name_len & 0xFF)
    [all...]
pass1.c 407 unsigned int i, rec_len, not_device = 0; local
481 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len);
487 (rec_len < 12) ||
488 (rec_len % 4) ||
489 (rec_len >= ctx->fs->blocksize - 12))
492 dirent = (struct ext2_dir_entry *) (buf + rec_len);
493 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len);
499 (rec_len < 12) ||
500 (rec_len % 4))
    [all...]
  /external/libnfc-nci/src/nfc/ndef/
ndef_utils.c 272 UINT32 rec_len = 0; local
277 rec_len++;
281 rec_len++;
287 rec_len++;
292 rec_len += 4;
299 rec_len++;
305 rec_len += (payload_len + type_len + id_len);
307 return (rec_len);
    [all...]
  /external/e2fsprogs/misc/
e2image.c 480 unsigned int rec_len; local
484 for (p = buf; p < end-8; p += rec_len) {
486 rec_len = dirent->rec_len;
488 rec_len = ext2fs_swab16(rec_len);
490 if (rec_len == EXT4_MAX_REC_LEN || rec_len == 0)
491 rec_len = fs->blocksize;
493 rec_len = (rec_len & 65532) | ((rec_len & 3) << 16)
501 (unsigned long long) blk, rec_len); local
    [all...]
  /development/ndk/platforms/android-3/include/linux/
ext2_fs.h 349 __le16 rec_len; member in struct:ext2_dir_entry
356 __le16 rec_len; member in struct:ext2_dir_entry_2
ext3_fs.h 412 __le16 rec_len; member in struct:ext3_dir_entry
419 __le16 rec_len; member in struct:ext3_dir_entry_2

Completed in 1537 milliseconds