Home
last modified time | relevance | path

Searched refs:MNAMELEN (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/sys/dev/
H A Dfssvar.h48 char fsg_mount[MNAMELEN]; /* Mount point of file system */
70 char fsg_mount[MNAMELEN]; /* Mount point of file system */
158 char sc_mntname[MNAMELEN]; /* Mount point */
H A Dfss.c437 memcpy(fsg50->fsg_mount, sc->sc_mntname, MNAMELEN); in fss_ioctl()
444 memcpy(fsg50->fsg_mount, sc->sc_mntname, MNAMELEN); in fss_ioctl()
460 memcpy(fsg->fsg_mount, sc->sc_mntname, MNAMELEN); in fss_ioctl()
467 memcpy(fsg->fsg_mount, sc->sc_mntname, MNAMELEN); in fss_ioctl()
721 memcpy(sc->sc_mntname, sc->sc_mount->mnt_stat.f_mntonname, MNAMELEN); in fss_create_files()
/netbsd-src/sys/nfs/
H A Dnfs_bootstatic.c112 MNAMELEN); in nfs_bootstatic()
123 char rootserver[MNAMELEN]; in nfs_bootstatic()
158 aprint_normal("nfs_boot: root=%.*s\n", MNAMELEN, in nfs_bootstatic()
H A Dnfsdiskless.h62 char ndm_host[MNAMELEN]; /* server:pathname */
76 char nd_bootfile[MNAMELEN]; /* Boot file */
H A Dnfs_bootdhcp.c776 if (len >= (MNAMELEN-10)) { in bootp_extract()
778 (MNAMELEN-10)); in bootp_extract()
904 #if BP_FILE_LEN > MNAMELEN in bootp_extract()
905 #define BOOTFILELEN MNAMELEN in bootp_extract()
H A Dnfs_vfsops.c650 pth = malloc(MNAMELEN, M_TEMP, M_WAITOK); in nfs_mount()
651 error = copyinstr(path, pth, MNAMELEN - 1, &len); in nfs_mount()
654 memset(&pth[len], 0, MNAMELEN - len); in nfs_mount()
655 hst = malloc(MNAMELEN, M_TEMP, M_WAITOK); in nfs_mount()
656 error = copyinstr(args->hostname, hst, MNAMELEN - 1, &len); in nfs_mount()
659 memset(&hst[len], 0, MNAMELEN - len); in nfs_mount()
H A Dnfs_bootparam.c403 char pathname[MNAMELEN]; in bp_getfile()
/netbsd-src/sys/fs/nfs/common/
H A Dnfsdiskless.h68 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
102 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
H A Dnfs_mountcommon.h51 char nmcom_hostname[MNAMELEN]; /* server's name */
H A Dnfs_diskless.c287 strncpy(nd3->root_hostnam, cp, MNAMELEN - 1); in nfs_setup_diskless()
321 strncpy(nd->root_hostnam, cp, MNAMELEN - 1); in nfs_setup_diskless()
/netbsd-src/usr.bin/systat/
H A Ddf.c79 char s[MNAMELEN]; in showdf()
80 char s2[MNAMELEN]; in showdf()
/netbsd-src/sys/compat/sys/
H A Dmount.h60 char f_mntonname[MNAMELEN]; /* directory on which mounted */
61 char f_mntfromname[MNAMELEN]; /* mounted file system */
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clvfsops.c270 bcopy(nfs_diskless.root_hostnam, nfsv3_diskless.root_hostnam, MNAMELEN); in nfs_convert_diskless()
345 bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); in nfs_statfs()
346 bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN); in nfs_statfs()
755 char nam[MNAMELEN + 1]; in nfs_mount_parse_from()
795 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { in nfs_mount_parse_from()
880 char hst[MNAMELEN]; in nfs_mount()
1229 error = copyinstr(args.hostname, hst, MNAMELEN - 1, &hstlen); in nfs_mount()
1232 bzero(&hst[hstlen], MNAMELEN - hstlen); in nfs_mount()
1243 bcopy(args.hostname, hst, MNAMELEN); in nfs_mount()
1244 hst[MNAMELEN - 1] = '\0'; in nfs_mount()
[all …]
/netbsd-src/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_osf.c55 char mntfrombuf[MNAMELEN]; in mnt_dup()
/netbsd-src/sbin/mount_nfs/
H A Dgetnfsargs_small.c197 static char nam[MNAMELEN + 1]; in getnfsargs()
H A Dgetnfsargs.c117 static char nam[MNAMELEN + 1]; in getnfsargs()
/netbsd-src/usr.sbin/autofs/
H A Dautounmountd.c60 char af_mountpoint[MNAMELEN];
/netbsd-src/sys/ufs/lfs/
H A Dlfs.h893 u_char dlfs_fsmnt[MNAMELEN]; /* 232: name mounted on */
966 u_char dlfs_fsmnt[MNAMELEN]; /* 312: name mounted on */
/netbsd-src/sys/arch/xen/xen/
H A Dxen_machdep.c143 MNAMELEN); in xen_parse_cmdline()
/netbsd-src/sys/ufs/mfs/
H A Dmfs_vfsops.c230 (void) copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, 0); in mfs_mountroot()
/netbsd-src/sys/fs/union/
H A Dunion_vfsops.c288 len = MNAMELEN - len; in union_mount()
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32.h314 char f_mntonname[MNAMELEN]; /* directory on which mounted */
315 char f_mntfromname[MNAMELEN]; /* mounted file system */
/netbsd-src/sys/sys/
H A Dmount.h63 #define MNAMELEN 90 /* length of buffer for returned name */ macro
/netbsd-src/sys/fs/unionfs/
H A Dunionfs_vfsops.c292 len = MNAMELEN - len; in unionfs_mount()
/netbsd-src/usr.bin/fstat/
H A Dfstat.c913 char mntonname[MNAMELEN]; in getmnton()
929 MNAMELEN); in getmnton()

12