Searched refs:MNT_LINE_MAX (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c156 if ((copyp = bufp = getmntbuf(MNT_LINE_MAX)) == NULL) {
163 copyp += snprintf(mgetp->mnt_special, MNT_LINE_MAX, "%s",
169 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mountp) + 1;
174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1;
179 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mntopts) + 1;
183 (void) snprintf(mgetp->mnt_time, bufp + MNT_LINE_MAX - copyp,
188 embuf.mbuf_bufsize = MNT_LINE_MAX;
226 static size_t bufsize = MNT_LINE_MAX;
255 emp->mnt_special > MNT_LINE_MAX))
309 char tmpopts[MNT_LINE_MAX];
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c51 char mnt_mountp[MNT_LINE_MAX];
52 char mnt_special[MNT_LINE_MAX];
H A Dmeta_check.c290 char mountp[MNT_LINE_MAX];
291 char mnt_special[MNT_LINE_MAX];
358 char mountp[MNT_LINE_MAX];
359 char mnt_special[MNT_LINE_MAX];
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h42 #define MNT_LINE_MAX 1024 macro
44 #define MNT_TOOLONG 1 /* entry exceeds MNT_LINE_MAX */
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c42 #define MNT_LINE_MAX 1024 macro
147 char line[MNT_LINE_MAX];
200 while ((lp = fgets(lp, MNT_LINE_MAX, fp)) != NULL) {
201 if (strlen(lp) == MNT_LINE_MAX-1 && lp[MNT_LINE_MAX-2] != '\n')
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c568 entry_length = MNT_LINE_MAX;
1639 if (ubufsize != MNT_LINE_MAX) {
1645 prefbuf = kmem_alloc(MNT_LINE_MAX, KM_SLEEP);
1646 if (copyin(ubufp, prefbuf, MNT_LINE_MAX)) {
1647 kmem_free(prefbuf, MNT_LINE_MAX);
1653 *(prefbuf + MNT_LINE_MAX - 1) = 0;
1659 kmem_free(prefbuf, MNT_LINE_MAX);
1670 mnt_special), ubufp, prefbuf, MNT_LINE_MAX);
1672 mnt_mountp), ubufp, prefbuf, MNT_LINE_MAX);
1674 mnt_fstype), ubufp, prefbuf, MNT_LINE_MAX);
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c355 whoami, MNT_LINE_MAX-2);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c570 char line[MNT_LINE_MAX + 1];
593 char spec[MNT_LINE_MAX + 1];
594 char newline[MNT_LINE_MAX + 1];
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c665 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES;
685 char mntopts[MNT_LINE_MAX] = { '\0' };
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c561 char mntopts[MNT_LINE_MAX] = "";
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c511 myname, MNT_LINE_MAX-2);
H A Ddf.c496 mtab_file, MNT_LINE_MAX);
1731 file, MNT_LINE_MAX);
H A Dmount.c785 myname, MNT_LINE_MAX-2);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c107 #define HOST_NM_LN MNT_LINE_MAX
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c332 char mntopts[MNT_LINE_MAX];
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c6020 if (len + 1 + strlen(newopts) >= MNT_LINE_MAX) {
6023 "-o", MNT_LINE_MAX);
6060 options = safe_malloc(MNT_LINE_MAX + 1);
6622 char mntopts[MNT_LINE_MAX] = { '\0' };
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2707 char tmpopts[MNT_LINE_MAX];
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c294 static size_t bufsize = MNT_LINE_MAX;

Completed in 4298 milliseconds