Home
last modified time | relevance | path

Searched refs:fs_name (Results 1 – 19 of 19) sorted by relevance

/netbsd/sbin/mount_lfs/
H A Dmount_lfs.c156 char fs_name[MAXPATHLEN], canon_dev[MAXPATHLEN]; in mount_lfs() local
160 mount_lfs_parseargs(argc, argv, &args, &mntflags, canon_dev, fs_name); in mount_lfs()
179 if (mount(MOUNT_LFS, fs_name, mntflags, &args, sizeof args) == -1) { in mount_lfs()
195 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in mount_lfs()
204 invoke_cleaner(fs_name); in mount_lfs()
209 kill_cleaner(fs_name); in mount_lfs()
/netbsd/sbin/mount_chfs/
H A Dmount_chfs.c129 char canon_dev[MAXPATHLEN], fs_name[MAXPATHLEN]; in mount_chfs() local
133 canon_dev, fs_name); in mount_chfs()
135 if (mount(MOUNT_CHFS, fs_name, mntflags, &args, sizeof args) == -1) { in mount_chfs()
136 err(EXIT_FAILURE, "chfs on %s", fs_name); in mount_chfs()
/netbsd/sbin/mount_ext2fs/
H A Dmount_ext2fs.c128 char fs_name[MAXPATHLEN], canon_dev[MAXPATHLEN]; in mount_ext2fs() local
133 canon_dev, fs_name); in mount_ext2fs()
135 if (mount(MOUNT_EXT2FS, fs_name, mntflags, &args, sizeof args) == -1) { in mount_ext2fs()
151 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in mount_ext2fs()
/netbsd/sbin/mount_ffs/
H A Dmount_ffs.c132 char fs_name[MAXPATHLEN], canon_dev[MAXPATHLEN]; in mount_ffs() local
137 mount_ffs_parseargs(argc, argv, &args, &mntflags, canon_dev, fs_name); in mount_ffs()
139 if (mount(MOUNT_FFS, fs_name, mntflags, &args, sizeof args) == -1) { in mount_ffs()
155 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in mount_ffs()
/netbsd/external/bsd/am-utils/dist/amd/
H A Damfs_host.c174 do_mount(am_nfs_handle_t *fhp, char *mntdir, char *fs_name, mntfs *mf) in do_mount() argument
178 dlog("amfs_host: mounting fs %s on %s\n", fs_name, mntdir); in do_mount()
186 return mount_nfs_fh(fhp, mntdir, fs_name, mf); in do_mount()
319 char fs_name[MAXPATHLEN], *rfs_dir; in amfs_host_mount() local
473 xstrlcpy(fs_name, mf->mf_info, sizeof(fs_name)); in amfs_host_mount()
474 if ((rfs_dir = strchr(fs_name, ':')) == (char *) NULL) { in amfs_host_mount()
489 xstrlcpy(rfs_dir, ex->ex_dir, sizeof(fs_name) - (rfs_dir - fs_name)); in amfs_host_mount()
491 if (do_mount(&fp[j], mntpt, fs_name, mf) == 0) in amfs_host_mount()
H A Dops_xfs.c104 mount_xfs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_xfs() argument
122 mnt.mnt_fsname = fs_name; in mount_xfs()
136 xfs_args.fspec = fs_name; in mount_xfs()
H A Dops_efs.c104 mount_efs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_efs() argument
122 mnt.mnt_fsname = fs_name; in mount_efs()
136 efs_args.fspec = fs_name; in mount_efs()
H A Dops_ufs.c108 mount_ufs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_ufs() argument
126 mnt.mnt_fsname = fs_name; in mount_ufs()
145 ufs_args.fspec = fs_name; in mount_ufs()
H A Dops_cdfs.c103 mount_cdfs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_cdfs() argument
122 mnt.mnt_fsname = fs_name; in mount_cdfs()
209 cdfs_args.fspec = fs_name; in mount_cdfs()
H A Dops_pcfs.c103 mount_pcfs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_pcfs() argument
127 mnt.mnt_fsname = fs_name; in mount_pcfs()
140 pcfs_args.fspec = fs_name; in mount_pcfs()
H A Dops_udf.c141 mount_udf(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_udf() argument
180 mnt.mnt_fsname = fs_name; in mount_udf()
240 udf_args.fspec = fs_name; in mount_udf()
H A Dops_lofs.c103 mount_lofs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_lofs() argument
118 mnt.mnt_fsname = fs_name; in mount_lofs()
H A Dops_tmpfs.c104 mount_tmpfs(char *mntdir, char *fs_name, char *opts, int on_autofs) in mount_tmpfs() argument
124 mnt.mnt_fsname = fs_name; in mount_tmpfs()
H A Dops_ext.c147 mount_ext(char *mntdir, char *fs_name, char *opts, int on_autofs, char * in mount_ext() argument
166 mnt.mnt_fsname = fs_name; in mount_ext()
H A Dops_nfs.c781 mount_nfs_fh(am_nfs_handle_t *fhp, char *mntdir, char *fs_name, mntfs *mf) in mount_nfs_fh() argument
807 if (!(colon = strchr(fs_name, ':'))) in mount_nfs_fh()
812 xstrlcpy(host, fs_name, sizeof(host)); in mount_nfs_fh()
854 mnt.mnt_fsname = fs_name; in mount_nfs_fh()
913 fs_name); in mount_nfs_fh()
935 error = mount_nfs_fh(fhp, mntdir, fs_name, mf); in mount_nfs_fh()
H A Damd.h561 extern int mount_nfs_fh(am_nfs_handle_t *fhp, char *mntdir, char *fs_name, mntfs *mf);
735 extern int mount_lofs(char *mntdir, char *fs_name, char *opts, int on_autofs);
/netbsd/sys/dev/ic/
H A Dapple_smc_fan.c56 const char *fs_name; member
353 name, fan_sensors[sensor].fs_name); in apple_smc_fan_attach_sensor()
367 name, fan_sensors[sensor].fs_name, error); in apple_smc_fan_attach_sensor()
408 fan, fan_sensors[sensor].fs_name, error); in apple_smc_fan_refresh()
/netbsd/external/bsd/am-utils/dist/libamu/
H A Dmount_fs.c865 char *fs_name) in compute_nfs23_args() argument
1039 nap->fsname = fs_name; in compute_nfs23_args()
1259 char *fs_name) in compute_nfs4_args() argument
1283 if ((s = strchr(fs_name, ':')) != NULL) in compute_nfs4_args()
1286 s = fs_name; in compute_nfs4_args()
1402 char *fs_name) in compute_nfs_args() argument
1407 nfs_proto, fhp, host_name, fs_name); in compute_nfs_args()
1411 nfs_proto, fhp, host_name, fs_name); in compute_nfs_args()
/netbsd/external/bsd/am-utils/dist/include/
H A Dam_utils.h383 …p_addr, u_long nfs_version, char *nfs_proto, am_nfs_handle_t *fhp, char *host_name, char *fs_name);