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

/opensolaris-onvv-gate/usr/src/uts/common/ktli/
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_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_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.c77 struct strioctl strioc; local
215 strioc.ic_cmd = TI_GETINFO;
216 strioc.ic_timout = 0;
217 strioc.ic_dp = (char *)&inforeq;
218 strioc.ic_len = (int)sizeof (struct T_info_req);
220 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, cr, &retval);
242 if (strioc.ic_len != sizeof (struct T_info_ack)) {
247 "t_kopen: strioc.ic_len != sizeof (struct T_info_ack): %d\n",
248 strioc.ic_len);
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c112 struct strioctl strioc; local
142 strioc.ic_cmd = TI_GETINFO;
143 strioc.ic_timout = -1;
144 strioc.ic_len = sizeof (tinfo);
145 strioc.ic_dp = (char *)&tinfo;
148 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,
/opensolaris-onvv-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,
/opensolaris-onvv-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.c475 struct strioctl strioc; local
477 strioc.ic_cmd = cmd;
478 strioc.ic_timout = -1;
479 strioc.ic_len = size;
480 strioc.ic_dp = buf;
482 if ((retval = ioctl(fd, I_STR, &strioc)) < 0) {
494 *retlenp = strioc.ic_len;
/opensolaris-onvv-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 &&
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dstreamio.c3195 struct strioctl strioc; local
3330 * The ioctl is a tty ioctl - set up strioc buffer
3335 strioc.ic_cmd = cmd;
3336 strioc.ic_timout = INFTIM;
3346 strioc.ic_len = sizeof (int);
3347 strioc.ic_dp = (char *)&native_arg;
3348 return (strdoioctl(stp, &strioc, flag,
3355 strioc.ic_len = sizeof (struct termio);
3356 strioc.ic_dp = (char *)arg;
3357 return (strdoioctl(stp, &strioc, fla
5863 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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c217 struct strioctl strioc; local
289 strioc.ic_cmd = RPC_SERVER;
290 strioc.ic_dp = (char *)0;
291 strioc.ic_len = 0;
292 strioc.ic_timout = -1;
294 if (ioctl(fd, I_STR, &strioc) < 0) {
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c136 struct strioctl strioc; local
181 strioc.ic_cmd = RPC_SERVER;
182 strioc.ic_dp = (char *)0;
183 strioc.ic_len = 0;
184 strioc.ic_timout = -1;
187 if (ioctl(fd, I_STR, &strioc) < 0) {
/opensolaris-onvv-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c1319 struct strioctl strioc; local
1370 strioc.ic_cmd = SMAC_IOC_START;
1371 strioc.ic_timout = INFTIM;
1372 strioc.ic_len = sizeof (start_arg);
1373 strioc.ic_dp = (char *)&start_arg;
1375 if ((err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL,
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c354 struct strioctl strioc; local
361 strioc.ic_cmd = TI_GETINFO;
362 strioc.ic_timout = -1;
363 strioc.ic_len = sizeof (tinfo);
364 strioc.ic_dp = (char *)&tinfo;
367 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,

Completed in 266 milliseconds