Home
last modified time | relevance | path

Searched refs:fsopts (Results 1 – 6 of 6) sorted by relevance

/freebsd/usr.sbin/makefs/
H A Dffs.c151 ffs_prep_opts(fsinfo_t *fsopts) in ffs_prep_opts() argument
199 fsopts->fs_specific = ffs_opts; in ffs_prep_opts()
200 fsopts->fs_options = copy_opts(ffs_options); in ffs_prep_opts()
204 ffs_cleanup_opts(fsinfo_t *fsopts) in ffs_cleanup_opts() argument
206 free(fsopts->fs_specific); in ffs_cleanup_opts()
207 free(fsopts->fs_options); in ffs_cleanup_opts()
211 ffs_parse_opts(const char *option, fsinfo_t *fsopts) in ffs_parse_opts() argument
213 ffs_opt_t *ffs_opts = fsopts->fs_specific; in ffs_parse_opts()
214 option_t *ffs_options = fsopts->fs_options; in ffs_parse_opts()
220 assert(fsopts != NULL); in ffs_parse_opts()
[all …]
H A Dffs.c151 ffs_prep_opts(fsinfo_t *fsopts) in ffs_prep_opts() argument
199 fsopts->fs_specific = ffs_opts; in ffs_prep_opts()
200 fsopts->fs_options = copy_opts(ffs_options); in ffs_prep_opts()
204 ffs_cleanup_opts(fsinfo_t *fsopts) in ffs_cleanup_opts() argument
206 free(fsopts->fs_specific); in ffs_cleanup_opts()
207 free(fsopts->fs_options); in ffs_cleanup_opts()
211 ffs_parse_opts(const char *option, fsinfo_t *fsopts) in ffs_parse_opts() argument
213 ffs_opt_t *ffs_opts = fsopts->fs_specific; in ffs_parse_opts()
214 option_t *ffs_options = fsopts->fs_options; in ffs_parse_opts()
220 assert(fsopts ! in ffs_parse_opts()
252 ffs_makefs(const char * image,const char * dir,fsnode * root,fsinfo_t * fsopts) ffs_makefs() argument
321 ffs_validate(const char * dir,fsnode * root,fsinfo_t * fsopts) ffs_validate() argument
481 ffs_create_image(const char * image,fsinfo_t * fsopts) ffs_create_image() argument
593 ffs_size_dir(fsnode * root,fsinfo_t * fsopts) ffs_size_dir() argument
675 ffs_build_dinode1(struct ufs1_dinode * dinp,dirbuf_t * dbufp,fsnode * cur,fsnode * root,fsinfo_t * fsopts) ffs_build_dinode1() argument
723 ffs_build_dinode2(struct ufs2_dinode * dinp,dirbuf_t * dbufp,fsnode * cur,fsnode * root,fsinfo_t * fsopts) ffs_build_dinode2() argument
781 ffs_populate_dir(const char * dir,fsnode * root,fsinfo_t * fsopts) ffs_populate_dir() argument
904 ffs_write_file(union dinode * din,uint32_t ino,void * buf,fsinfo_t * fsopts) ffs_write_file() argument
1093 ffs_write_inode(union dinode * dp,uint32_t ino,const fsinfo_t * fsopts) ffs_write_inode() argument
[all...]
H A Dmsdos.c72 msdos_prep_opts(fsinfo_t *fsopts) in msdos_prep_opts() argument
96 fsopts->fs_specific = msdos_opt; in msdos_prep_opts()
97 fsopts->fs_options = copy_opts(msdos_options); in msdos_prep_opts()
101 msdos_cleanup_opts(fsinfo_t *fsopts) in msdos_cleanup_opts() argument
103 free(fsopts->fs_specific); in msdos_cleanup_opts()
104 free(fsopts->fs_options); in msdos_cleanup_opts()
108 msdos_parse_opts(const char *option, fsinfo_t *fsopts) in msdos_parse_opts() argument
110 struct msdos_options *msdos_opt = fsopts->fs_specific; in msdos_parse_opts()
111 option_t *msdos_options = fsopts->fs_options; in msdos_parse_opts()
115 assert(fsopts != NULL); in msdos_parse_opts()
[all …]
H A Dzfs.c72 zfs_prep_opts(fsinfo_t *fsopts) in zfs_prep_opts() argument
103 fsopts->fs_specific = zfs; in zfs_prep_opts()
104 fsopts->fs_options = copy_opts(zfs_options); in zfs_prep_opts()
108 zfs_parse_opts(const char *option, fsinfo_t *fsopts) in zfs_parse_opts() argument
115 zfs = fsopts->fs_specific; in zfs_parse_opts()
135 rv = set_option(fsopts->fs_options, option, buf, sizeof(buf)); in zfs_parse_opts()
140 zfs_size_vdev(fsinfo_t *fsopts) in zfs_size_vdev() argument
145 zfs = fsopts->fs_specific; in zfs_size_vdev()
147 assert(fsopts->maxsize != 0); in zfs_size_vdev()
153 vdevsize = rounddown2(fsopts->maxsize, 1 << zfs->ashift); in zfs_size_vdev()
[all …]
H A Dcd9660.c240 cd9660_prep_opts(fsinfo_t *fsopts) in cd9660_prep_opts() argument
301 fsopts->fs_specific = diskStructure; in cd9660_prep_opts()
302 fsopts->fs_options = copy_opts(cd9660_options); in cd9660_prep_opts()
308 cd9660_cleanup_opts(fsinfo_t *fsopts) in cd9660_cleanup_opts() argument
310 free(fsopts->fs_specific); in cd9660_cleanup_opts()
311 free(fsopts->fs_options); in cd9660_cleanup_opts()
347 cd9660_parse_opts(const char *option, fsinfo_t *fsopts) in cd9660_parse_opts() argument
350 iso9660_disk *diskStructure = fsopts->fs_specific; in cd9660_parse_opts()
351 option_t *cd9660_options = fsopts->fs_options; in cd9660_parse_opts()
460 fsinfo_t *fsopts) in cd9660_makefs() argument
[all …]
/freebsd/usr.sbin/makefs/ffs/
H A Dmkfs.c132 ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, time_t tstamp) in ffs_mkfs() argument
144 ffs_opt_t *ffs_opts = fsopts->fs_specific; in ffs_mkfs()
147 fssize = fsopts->size / fsopts->sectorsize; in ffs_mkfs()
148 sectorsize = fsopts->sectorsize; in ffs_mkfs()
186 ffs_wtfs(fssize - 1, sectorsize, (char *)&sblock, fsopts); in ffs_mkfs()
540 if (fsopts->needswap) in ffs_mkfs()
546 initcg(cylno, tstamp, fsopts); in ffs_mkfs()
567 if (fsopts->needswap) in ffs_mkfs()
569 ffs_write_superblock(&sblock, fsopts); in ffs_mkfs()
578 ffs_write_superblock(struct fs *fs, const fsinfo_t *fsopts) in ffs_write_superblock() argument
[all …]