Searched defs:strioc (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kgtstate.c72 struct strioctl strioc; local
87 strioc.ic_cmd = TI_GETINFO;
88 strioc.ic_timout = 0;
89 strioc.ic_dp = (char *)&inforeq;
90 strioc.ic_len = (int)sizeof (struct T_info_req);
92 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(),
105 if (strioc.ic_len != sizeof (struct T_info_ack))
H A Dt_kunbind.c78 struct strioctl strioc; local
97 strioc.ic_cmd = TI_UNBIND;
98 strioc.ic_timout = 0;
99 strioc.ic_dp = buf;
100 strioc.ic_len = (int)TUNBINDREQSZ;
102 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(),
116 ok_ack = (struct T_ok_ack *)strioc.ic_dp;
117 if (strioc.ic_len < TOKACKSZ ||
H A Dt_kbind.c76 struct strioctl strioc; local
105 strioc.ic_cmd = TI_BIND;
106 strioc.ic_timout = 0;
107 strioc.ic_dp = buf;
108 strioc.ic_len = (int)TBINDREQSZ + bind_req->ADDR_length;
119 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred,
132 bind_ack = (struct T_bind_ack *)strioc.ic_dp;
133 if (strioc.ic_len < TBINDACKSZ || bind_ack->ADDR_length == 0) {
H A Dt_kopen.c75 struct strioctl strioc; local
213 strioc.ic_cmd = TI_GETINFO;
214 strioc.ic_timout = 0;
215 strioc.ic_dp = (char *)&inforeq;
216 strioc.ic_len = (int)sizeof (struct T_info_req);
218 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, cr, &retval);
240 if (strioc.ic_len != sizeof (struct T_info_ack)) {
245 "t_kopen: strioc.ic_len != sizeof (struct T_info_ack): %d\n",
246 strioc.ic_len);
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c113 struct strioctl strioc; local
143 strioc.ic_cmd = TI_GETINFO;
144 strioc.ic_timout = -1;
145 strioc.ic_len = sizeof (tinfo);
146 strioc.ic_dp = (char *)&tinfo;
149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c54 struct strioctl strioc; local
79 strioc.ic_cmd = TI_GETINFO;
80 strioc.ic_timout = -1;
81 strioc.ic_len = (int)sizeof (struct T_info_req);
82 strioc.ic_dp = (char *)&info;
84 retval = ioctl(fd, I_STR, &strioc);
95 if (strioc.ic_len != (int)sizeof (struct T_info_ack)) {
H A D_utility.c477 struct strioctl strioc; local
479 strioc.ic_cmd = cmd;
480 strioc.ic_timout = -1;
481 strioc.ic_len = size;
482 strioc.ic_dp = buf;
484 if ((retval = ioctl(fd, I_STR, &strioc)) < 0) {
496 *retlenp = strioc.ic_len;
/illumos-gate/usr/src/uts/common/syscall/
H A Ducredsys.c70 struct strioctl strioc; local
76 strioc.ic_cmd = _I_GETPEERCRED;
77 strioc.ic_timout = INFTIM;
78 strioc.ic_len = (int)sizeof (k_peercred_t);
79 strioc.ic_dp = (char *)&kpc;
81 err = strdoioctl(vp->v_stream, &strioc, FNATIVE|FKIOCTL,
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c84 struct strioctl strioc; local
91 strioc.ic_cmd = TL_IOC_UCREDOPT;
92 strioc.ic_timout = -1;
93 strioc.ic_len = (int)sizeof (unsigned int);
94 strioc.ic_dp = (char *)&set;
96 if (ioctl(fd, I_STR, &strioc) == -1 &&
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/
H A Dncaconfd.c340 struct strioctl strioc; local
344 strioc.ic_cmd = NCA_SET_IF;
345 strioc.ic_timout = INFTIM;
346 strioc.ic_len = sizeof (nca_ioctl);
347 strioc.ic_dp = (char *)&nca_ioctl;
355 if (ioctl(fd, I_STR, &strioc) < 0) {
1085 struct strioctl strioc; local
1112 strioc.ic_cmd = NCA_SET_IF;
1113 strioc.ic_timout = INFTIM;
1114 strioc
[all...]
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c1318 struct strioctl strioc; local
1369 strioc.ic_cmd = SMAC_IOC_START;
1370 strioc.ic_timout = INFTIM;
1371 strioc.ic_len = sizeof (start_arg);
1372 strioc.ic_dp = (char *)&start_arg;
1374 if ((err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL,
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c221 struct strioctl strioc; local
292 strioc.ic_cmd = RPC_SERVER;
293 strioc.ic_dp = (char *)0;
294 strioc.ic_len = 0;
295 strioc.ic_timout = -1;
297 if (ioctl(fd, I_STR, &strioc) < 0) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c141 struct strioctl strioc; local
186 strioc.ic_cmd = RPC_SERVER;
187 strioc.ic_dp = (char *)0;
188 strioc.ic_len = 0;
189 strioc.ic_timout = -1;
192 if (ioctl(fd, I_STR, &strioc) < 0) {
/illumos-gate/usr/src/uts/common/io/
H A Dconsconfig_dacf.c549 struct strioctl strioc; local
555 strioc.ic_cmd = CONSOPENPOLLEDIO;
556 strioc.ic_timout = INFTIM;
557 strioc.ic_len = sizeof (polled_io);
558 strioc.ic_dp = (char *)&polled_io;
565 err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, kcred, &rval);
807 struct strioctl strioc; local
927 strioc.ic_cmd = WC_OPEN_FB;
928 strioc.ic_timout = INFTIM;
929 strioc
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c3196 struct strioctl strioc; local
3331 * The ioctl is a tty ioctl - set up strioc buffer
3336 strioc.ic_cmd = cmd;
3337 strioc.ic_timout = INFTIM;
3347 strioc.ic_len = sizeof (int);
3348 strioc.ic_dp = (char *)&native_arg;
3349 return (strdoioctl(stp, &strioc, flag,
3356 strioc.ic_len = sizeof (struct termio);
3357 strioc.ic_dp = (char *)arg;
3358 return (strdoioctl(stp, &strioc, fla
5864 strdoioctl( struct stdata *stp, struct strioctl *strioc, int fflags, int flag, cred_t *crp, int *rvalp) argument
[all...]
H A Dstrsubr.c1730 struct strioctl strioc; local
1808 strioc.ic_cmd = cmd;
1809 strioc.ic_timout = INFTIM;
1810 strioc.ic_len = sizeof (struct linkblk);
1811 strioc.ic_dp = (char *)&linkp->li_lblk;
1898 error = strdoioctl(stp, &strioc, FNATIVE,
2012 struct strioctl strioc; local
2038 strioc.ic_cmd = I_UNLINK;
2040 strioc.ic_cmd = I_PUNLINK;
2041 strioc
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c358 struct strioctl strioc; local
365 strioc.ic_cmd = TI_GETINFO;
366 strioc.ic_timout = -1;
367 strioc.ic_len = sizeof (tinfo);
368 strioc.ic_dp = (char *)&tinfo;
371 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,

Completed in 111 milliseconds