Home
last modified time | relevance | path

Searched refs:dir_count (Results 1 – 12 of 12) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dunsquash-1.c213 int dir_count, size; in squashfs_opendir_1() local
226 dir->dir_count = 0; in squashfs_opendir_1()
261 dir_count = dirh.count + 1; in squashfs_opendir_1()
263 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_1()
267 if(dir_count > 256) in squashfs_opendir_1()
270 while(dir_count--) { in squashfs_opendir_1()
291 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_1()
292 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_1()
299 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_1()
300 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_1()
[all …]
Dunsquash-3.c290 int dir_count, size; in squashfs_opendir_3() local
303 dir->dir_count = 0; in squashfs_opendir_3()
339 dir_count = dirh.count + 1; in squashfs_opendir_3()
341 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_3()
345 if(dir_count > 256) in squashfs_opendir_3()
348 while(dir_count--) { in squashfs_opendir_3()
369 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_3()
370 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_3()
377 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_3()
378 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_3()
[all …]
Dunsquash-4.c259 int dir_count, size; in squashfs_opendir_4() local
272 dir->dir_count = 0; in squashfs_opendir_4()
303 dir_count = dirh.count + 1; in squashfs_opendir_4()
305 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_4()
309 if(dir_count > 256) in squashfs_opendir_4()
312 while(dir_count--) { in squashfs_opendir_4()
327 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_4()
328 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_4()
335 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_4()
336 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_4()
[all …]
Dread_fs.c126 int *dev_count, int *dir_count, int *fifo_count, int *sock_count, in scan_inode_table() argument
391 (*dir_count) ++; in scan_inode_table()
408 (*dir_count) ++; in scan_inode_table()
634 int byte, bytes = 0, dir_count; in squashfs_readdir() local
669 dir_count = dirh.count + 1; in squashfs_readdir()
671 "0x%x, 0x%x directory entries\n", bytes, dir_count); in squashfs_readdir()
674 while(dir_count--) { in squashfs_readdir()
861 int *file_count, int *sym_count, int *dev_count, int *dir_count, in read_filesystem() argument
901 dir_count, fifo_count, sock_count, id_table); in read_filesystem()
Dunsquashfs.h178 int dir_count; member
Dunsquashfs.c53 int bytes = 0, swap, file_count = 0, dir_count = 0, sym_count = 0, variable
1233 if(dir->cur_entry == dir->dir_count) in squashfs_readdir()
1622 dir_count ++; in dir_scan()
2807 printf("created %d directories\n", dir_count); in main()
Dmksquashfs.c117 int file_count = 0, sym_count = 0, dev_count = 0, dir_count = 0, fifo_count = 0, variable
398 dir_count = sdir_count; in restorefs()
1305 dir_count ++; in write_dir()
4889 printf("Number of directories %d\n", dir_count); in write_filesystem_tables()
5954 &file_count, &sym_count, &dev_count, &dir_count, in main()
6011 sdir_count = dir_count + 1; in main()
6045 dir_count ++; in main()
6065 inode_count = file_count + dir_count + sym_count + dev_count + in main()
/external/squashfs-tools/kernel/fs/squashfs/
Dnamei.c146 int err, length = 0, dir_count, size; in squashfs_lookup() local
177 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_lookup()
178 while (dir_count--) { in squashfs_lookup()
Ddir.c109 int offset = squashfs_i(inode)->offset, length = 0, dir_count, size, in squashfs_readdir() local
175 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_readdir()
176 while (dir_count--) { in squashfs_readdir()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c532 dir_count; in squashfs_readdir_2() local
566 dir_count = dirh.count + 1; in squashfs_readdir_2()
567 while (dir_count--) { in squashfs_readdir_2()
639 dir_count; in squashfs_lookup_2() local
676 dir_count = dirh.count + 1; in squashfs_lookup_2()
677 while (dir_count--) { in squashfs_lookup_2()
Dinode.c1741 dir_count; in squashfs_readdir() local
1802 dir_count = dirh.count + 1; in squashfs_readdir()
1803 while (dir_count--) { in squashfs_readdir()
1876 dir_count; in squashfs_lookup() local
1912 dir_count = dirh.count + 1; in squashfs_lookup()
1913 while (dir_count--) { in squashfs_lookup()
/external/e2fsprogs/lib/blkid/
Dprobe.h531 __u32 dir_count; member