Lines Matching refs:FILE
25 // Changed -d file to -f file
200 // file modes
205 #define FM_IFREG 0100000 // regular file
325 getdelim(char **lineptr, size_t *n, int delim, FILE *stream)
457 udecl16(s_mnt_count) /* The number of times the file system has been mounted */ \
458 decl16(s_max_mnt_count) /* The number of times the file system can be mounted */ \
480 udecl16(i_mode) /* Entry type and file mode */ \
482 udecl32(i_size) /* File/dir size in bytes */ \
494 udecl32(i_file_acl) /* File access control list */ \
541 The blockwalker is used to access all the blocks of a file (including
725 static FILE *
728 FILE *fp;
969 // the file. moreover, i_blocks isn't updated.
971 // if hole!=0, create a hole in the file
1189 error_msg_and_die("file too big !");
1203 // add blocks to an inode (file/dir/etc...)
1435 // make a file from a FILE*
1437 mkfile_fs(filesystem *fs, uint32 parent_nod, const char *name, uint32 mode, size_t size, FILE *f, uid_t uid, gid_t gid, uint32 ctime, uint32 mtime)
1445 error_msg_and_die("not enough mem to read file '%s'", name);
1487 // add or fixup entries to the filesystem from a text file
1493 f A regular file
1495 c Character special device file
1496 b Block special device file
1507 add2fs_from_file(filesystem *fs, uint32 this_nod, FILE * fh, uint32 fs_timestamp, struct stats *stats)
1659 FILE *fh;
1818 with a file of size 268K nblk would be 269.The above check
2130 load_fs(FILE * fh, int swapit)
2159 flist_blocks(filesystem *fs, uint32 nod, FILE *fh)
2183 // saves blocks to FILE*
2185 write_blocks(filesystem *fs, uint32 nod, FILE* f)
2416 dump_fs(filesystem *fs, FILE * fh, int swapit)
2435 FILE *fh;
2468 error_msg_and_die("%s is neither a file nor a directory", dopt[i]);
2486 " -D, --devtable <file>\n"
2491 " -g, --block-map <path> Generate a block map file for this path.\n"
2498 " -a, --fix-android-stats Fix-up file stats (user, perms, ...)\n"
2652 FILE * fh = xfopen(fsin, "rb");
2705 FILE *fh;
2718 FILE * fh = xfopen(fsout, "wb");