/netbsd/external/bsd/am-utils/dist/conf/checkmount/ |
H A D | checkmount_osf.c | 70 if ((delim = strchr(fslist[i].f_mntfromname, ':'))) { in fixmount_check_mount() 74 is_same_host(fslist[i].f_mntfromname, in fixmount_check_mount() 77 } else if ((delim = strchr(fslist[i].f_mntfromname, '@'))) { in fixmount_check_mount() 79 if ((STREQ(fslist[i].f_mntfromname, path) || in fixmount_check_mount()
|
H A D | checkmount_bsd44.c | 69 if ((colon = strchr(mntp->f_mntfromname, ':'))) { in fixmount_check_mount() 72 is_same_host(mntp->f_mntfromname, host, hostaddr)) in fixmount_check_mount()
|
/netbsd/external/bsd/am-utils/dist/conf/mtab/ |
H A D | mtab_osf.c | 64 mntfromptr = mp->f_mntfromname; in mnt_dup() 71 at = strchr(mp->f_mntfromname, '@'); in mnt_dup() 75 strncat(mntfrombuf, mp->f_mntfromname, (at - mp->f_mntfromname)); in mnt_dup()
|
H A D | mtab_bsd.c | 64 new_mp->mnt_fsname = xstrdup(mp->f_mntfromname); in mnt_dup()
|
/netbsd/sys/compat/sys/ |
H A D | statvfs.h | 69 char f_mntfromname[_VFS_MNAMELEN]; /* mounted file system */ member 111 memcpy(s90->f_mntfromname, s->f_mntfromname, sizeof(s90->f_mntfromname)); in statvfs_to_statvfs90()
|
H A D | mount.h | 61 char f_mntfromname[MNAMELEN]; /* mounted file system */ member 134 memcpy(s12->f_mntfromname, fs->f_mntfromname, in statvfs_to_statfs12() 135 sizeof(s12->f_mntfromname)); in statvfs_to_statfs12()
|
/netbsd/bin/df/ |
H A D | df.c | 240 strlcpy(totals.f_mntfromname, "total", in main() 241 sizeof(totals.f_mntfromname)); in main() 247 mntbuf[i].f_mntfromlabel : mntbuf[i].f_mntfromname); in main() 275 if (!strcmp(mntbuf[i].f_mntfromname, name)) in getmntpt() 368 if (memcmp(layerbuf.f_mntfromname, in regetmntinfo() 369 mntbuf[j].f_mntfromname, MNAMELEN)) in regetmntinfo() 437 char mntfromname[sizeof(sfsp->f_mntfromname) + 10]; in prtstat() 443 strlcpy(mntfromname, sfsp->f_mntfromname, sizeof(mntfromname)); in prtstat()
|
/netbsd/tests/bin/df/ |
H A D | getmntinfo.c | 103 .f_mntfromname = "filer:/", in setup_filer() 135 .f_mntfromname = "/dev/ld0g", in setup_ld0g() 167 .f_mntfromname = "/dev/strpct", in setup_strpct() 196 .f_mntfromname = "/dev/wd0e", in setup_pr23600()
|
/netbsd/sbin/resize_lfs/ |
H A D | resize_lfs.c | 100 rdevlen = strlen(vfs.f_mntfromname) + 2; in main() 102 if (getdiskrawname(rdev, rdevlen, vfs.f_mntfromname) == NULL) in main() 103 err(1, "Could not convert '%s' to raw name", vfs.f_mntfromname); in main()
|
/netbsd/sys/fs/puffs/ |
H A D | puffs_msgif.h | 148 char f_mntfromname[_VFS_MNAMELEN]; /* mounted file system */ member 188 memcpy(ps->f_mntfromname, s->f_mntfromname, sizeof(ps->f_mntfromname)); in statvfs_to_puffs_statvfs() 224 memcpy(s->f_mntfromname, ps->f_mntfromname, sizeof(s->f_mntfromname)); in puffs_statvfs_to_statvfs()
|
/netbsd/sbin/mount/ |
H A D | mount.c | 190 mntfromname = mntbuf->f_mntfromname; in main() 239 mntfromname = mntbuf->f_mntfromname; in main() 273 mntfromname = mntbuf->f_mntfromname; in main() 425 sfp[i].f_mntfromname, in mountfs() 580 (void)printf("%s on %s type %.*s", sfp->f_mntfromname, in prmount() 629 if (mountfs(sfs->f_fstypename, sfs->f_mntfromname, sfs->f_mntonname, 0, in getmntargs() 649 if (strcmp(mntbuf[i].f_mntfromname, name) == 0 || in getmntpt()
|
/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_compat_20.c | 81 (void)memcpy(sb32p->f_mntfromname, sbp->f_mntfromname, in compat_20_netbsd32_from_statvfs() 82 sizeof(sb32p->f_mntfromname)); in compat_20_netbsd32_from_statvfs()
|
H A D | netbsd32_conv.h | 379 sizeof(sb32p->f_mntfromname)); in netbsd32_from_statvfs90() 384 memcpy(sb32p->f_mntfromname, sbp->f_mntfromname, sizeof(sb32p->f_mntfromname)); in netbsd32_from_statvfs90() 421 sizeof(sb32p->f_mntfromname) + sizeof(sb32p->f_mntfromlabel)); in netbsd32_from_statvfs() 426 memcpy(sb32p->f_mntfromname, sbp->f_mntfromname, sizeof(sb32p->f_mntfromname)); in netbsd32_from_statvfs()
|
/netbsd/usr.sbin/vnconfig/ |
H A D | vnconfig.c | 265 if (strncmp(mnt[i].f_mntfromname, "/dev/", 5) == 0 && in show() 266 strcmp(mnt[i].f_mntfromname + 5, dev) == 0) in show() 271 mnt[i].f_mntfromname); in show()
|
/netbsd/external/cddl/osnet/lib/libzfs/ |
H A D | mnttab.c | 128 mp->mnt_special = sfs->f_mntfromname; in statvfs2mnttab() 180 strcmp(mrefp->mnt_special, gsfs[i].f_mntfromname) != 0) { in getmntany()
|
/netbsd/sys/fs/union/ |
H A D | union_vfsops.c | 286 memcpy(mp->mnt_stat.f_mntfromname, cp, len); in union_mount() 288 xp = mp->mnt_stat.f_mntfromname + len; in union_mount() 296 mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntonname); in union_mount()
|
/netbsd/sys/nfs/ |
H A D | nfs_clntsocket.c | 205 rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); in nfs_receive() 219 rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); in nfs_receive() 235 rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); in nfs_receive() 275 rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname); in nfs_receive() 732 nfs_msg(rep->r_lwp, nmp->nm_mountp->mnt_stat.f_mntfromname, in nfs_request()
|
/netbsd/sys/kern/ |
H A D | vfs_mount.c | 209 mp->mnt_stat.f_mntfromname[sizeof(mp->mnt_stat.f_mntfromname) - 1] = in vfs_rootmountalloc() 211 (void)copystr(devname, mp->mnt_stat.f_mntfromname, in vfs_rootmountalloc() 212 sizeof(mp->mnt_stat.f_mntfromname) - 1, 0); in vfs_rootmountalloc() 1033 mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntonname, in vfs_unmount_print() 1076 mp->mnt_stat.f_mntonname, mp->mnt_stat.f_mntfromname); in vfs_unmount_forceone() 1112 mp->mnt_stat.f_mntfromname); in vfs_unmountall1()
|
H A D | vfs_subr.c | 1289 (void)memcpy(sbp->f_mntfromname, mp->mnt_stat.f_mntfromname, in copy_statvfs_info() 1290 sizeof(sbp->f_mntfromname)); in copy_statvfs_info() 1354 error = (*fun)(fromp, sfs->f_mntfromname, in set_statvfs_info() 1355 sizeof(sfs->f_mntfromname) - 1, &size); in set_statvfs_info() 1358 (void)memset(sfs->f_mntfromname + size, 0, in set_statvfs_info() 1359 sizeof(sfs->f_mntfromname) - size); in set_statvfs_info() 1791 (*pr)("\tmntfromname = %s\n", mp->mnt_stat.f_mntfromname); in vfs_mount_print()
|
/netbsd/sys/fs/unionfs/ |
H A D | unionfs_vfsops.c | 291 memcpy(mp->mnt_stat.f_mntfromname, cp, len); in unionfs_mount() 292 xp = mp->mnt_stat.f_mntfromname + len; in unionfs_mount() 298 mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntonname); in unionfs_mount()
|
/netbsd/sys/compat/common/ |
H A D | compat_util.c | 114 msg, mp->mnt_stat.f_mntonname, mp->mnt_stat.f_mntfromname); in compat_offseterr()
|
/netbsd/usr.bin/eject/ |
H A D | eject.c | 352 if (strncmp(mounts[i].f_mntfromname, dn, len) == 0) { in unmount_dev() 355 mounts[i].f_mntfromname, in unmount_dev()
|
/netbsd/sbin/umount/ |
H A D | umount.c | 357 if ((what == MNTON) && !strcmp(mntbuf[i].f_mntfromname, name)) { in getmntname() 366 mntbuf[i].f_mntfromname) == NULL) in getmntname()
|
/netbsd/external/cddl/osnet/sys/sys/ |
H A D | vfs.h | 49 #define vfs_resource mnt_stat.f_mntfromname
|
/netbsd/sbin/tunefs/ |
H A D | tunefs.c | 459 args.fspec = sfs.f_mntfromname; in main() 465 getprogname(), sfs.f_mntfromname, sfs.f_mntonname); in main() 498 if (stat(sfs[i].f_mntfromname, &st) == -1) in isactive()
|