Home
last modified time | relevance | path

Searched refs:embuf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c143 struct mntentbuf embuf; in getmntany() local
187 embuf.mbuf_emp = (struct extmnttab *)mgetp; in getmntany()
188 embuf.mbuf_bufsize = MNT_LINE_MAX; in getmntany()
189 embuf.mbuf_buf = bufp; in getmntany()
191 switch (ret = ioctl(fileno(fp), MNTIOC_GETMNTANY, &embuf)) { in getmntany()
225 struct mntentbuf embuf; in getmntent_common() local
229 embuf.mbuf_emp = emp; in getmntent_common()
230 embuf.mbuf_bufsize = bufsize; in getmntent_common()
231 if ((embuf.mbuf_buf = getmntbuf(embuf.mbuf_bufsize)) == NULL) { in getmntent_common()
236 while ((ret = ioctl(fileno(fp), command, &embuf)) == MNTFS_TOOLONG) { in getmntent_common()
[all …]
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1607 STRUCT_DECL(mntentbuf, embuf); /* Our copy of user's embuf */ in mntioctl()
1625 STRUCT_INIT(embuf, datamodel); in mntioctl()
1626 if (copyin((void *) arg, STRUCT_BUF(embuf), in mntioctl()
1627 STRUCT_SIZE(embuf))) { in mntioctl()
1631 uemp = STRUCT_FGETP(embuf, mbuf_emp); in mntioctl()
1632 ubufp = STRUCT_FGETP(embuf, mbuf_buf); in mntioctl()
1633 ubufsize = STRUCT_FGET(embuf, mbuf_bufsize); in mntioctl()
1795 STRUCT_DECL(mntentbuf, embuf); /* Our copy of user's embuf */ in mntioctl()
1816 STRUCT_INIT(embuf, datamodel); in mntioctl()
1817 if (copyin((void *) arg, STRUCT_BUF(embuf), in mntioctl()
[all …]