Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetmntent.c156 if ((copyp = bufp = getmntbuf(MNT_LINE_MAX)) == NULL) { in getmntany()
163 copyp += snprintf(mgetp->mnt_special, MNT_LINE_MAX, "%s", in getmntany()
169 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mountp) + 1; in getmntany()
174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1; in getmntany()
179 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mntopts) + 1; in getmntany()
183 (void) snprintf(mgetp->mnt_time, bufp + MNT_LINE_MAX - copyp, in getmntany()
188 embuf.mbuf_bufsize = MNT_LINE_MAX; in getmntany()
226 static size_t bufsize = MNT_LINE_MAX; in getmntent_common()
255 emp->mnt_special > MNT_LINE_MAX)) in getmntent_common()
309 char tmpopts[MNT_LINE_MAX]; in hasmntopt()
[all …]
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c568 entry_length = MNT_LINE_MAX; in mntfs_snapshot()
1639 if (ubufsize != MNT_LINE_MAX) { in mntioctl()
1645 prefbuf = kmem_alloc(MNT_LINE_MAX, KM_SLEEP); in mntioctl()
1646 if (copyin(ubufp, prefbuf, MNT_LINE_MAX)) { in mntioctl()
1647 kmem_free(prefbuf, MNT_LINE_MAX); in mntioctl()
1653 *(prefbuf + MNT_LINE_MAX - 1) = 0; in mntioctl()
1659 kmem_free(prefbuf, MNT_LINE_MAX); in mntioctl()
1670 mnt_special), ubufp, prefbuf, MNT_LINE_MAX); in mntioctl()
1672 mnt_mountp), ubufp, prefbuf, MNT_LINE_MAX); in mntioctl()
1674 mnt_fstype), ubufp, prefbuf, MNT_LINE_MAX); in mntioctl()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c51 char mnt_mountp[MNT_LINE_MAX]; in meta_get_mountp()
52 char mnt_special[MNT_LINE_MAX]; in meta_get_mountp()
H A Dmeta_check.c290 char mountp[MNT_LINE_MAX]; in meta_check_mounted()
291 char mnt_special[MNT_LINE_MAX]; in meta_check_mounted()
358 char mountp[MNT_LINE_MAX]; in meta_check_drivemounted()
359 char mnt_special[MNT_LINE_MAX]; in meta_check_drivemounted()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A D_open.c42 #define MNT_LINE_MAX 1024 macro
147 char line[MNT_LINE_MAX]; in open_mnt()
200 while ((lp = fgets(lp, MNT_LINE_MAX, fp)) != NULL) { in getmntline()
201 if (strlen(lp) == MNT_LINE_MAX-1 && lp[MNT_LINE_MAX-2] != '\n') in getmntline()
/titanic_41/usr/src/uts/common/sys/
H A Dmnttab.h42 #define MNT_LINE_MAX 1024 macro
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c570 char line[MNT_LINE_MAX + 1]; in disable_vfstab_entry()
593 char spec[MNT_LINE_MAX + 1]; in disable_vfstab_entry()
594 char newline[MNT_LINE_MAX + 1]; in disable_vfstab_entry()
/titanic_41/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c355 whoami, MNT_LINE_MAX-2); in mnterror()
/titanic_41/usr/src/cmd/halt/
H A Dhalt.c664 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; in validate_ufs_disk()
684 char mntopts[MNT_LINE_MAX] = { '\0' }; in validate_zfs_pool()
/titanic_41/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c561 char mntopts[MNT_LINE_MAX] = ""; in grub_fsd_mount_tmp()
/titanic_41/usr/src/cmd/fs.d/
H A Dumount.c521 myname, MNT_LINE_MAX-2); in mnterror()
H A Ddf.c496 mtab_file, MNT_LINE_MAX); in mtab_error()
1731 file, MNT_LINE_MAX); in vfs_error()
H A Dmount.c792 myname, MNT_LINE_MAX-2); in mnterror()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c106 #define HOST_NM_LN MNT_LINE_MAX
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c266 char mntopts[MNT_LINE_MAX]; in zfs_mount()
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_main.c5977 if (len + 1 + strlen(newopts) >= MNT_LINE_MAX) { in append_options()
5980 "-o", MNT_LINE_MAX); in append_options()
6017 options = safe_malloc(MNT_LINE_MAX + 1); in share_mount()
6570 char mntopts[MNT_LINE_MAX] = { '\0' }; in manual_mount()
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c293 static size_t bufsize = MNT_LINE_MAX; in mntfs_ioctl()
/titanic_41/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2707 char tmpopts[MNT_LINE_MAX]; in mountOptionPresent()