/titanic_50/usr/src/uts/common/ktli/ |
H A D | t_kunbind.c | 78 struct strioctl strioc; in t_kunbind() local 97 strioc.ic_cmd = TI_UNBIND; in t_kunbind() 98 strioc.ic_timout = 0; in t_kunbind() 99 strioc.ic_dp = buf; in t_kunbind() 100 strioc.ic_len = (int)TUNBINDREQSZ; in t_kunbind() 102 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(), in t_kunbind() 116 ok_ack = (struct T_ok_ack *)strioc.ic_dp; in t_kunbind() 117 if (strioc.ic_len < TOKACKSZ || in t_kunbind()
|
H A D | t_kgtstate.c | 72 struct strioctl strioc; in t_kgetstate() local 87 strioc.ic_cmd = TI_GETINFO; in t_kgetstate() 88 strioc.ic_timout = 0; in t_kgetstate() 89 strioc.ic_dp = (char *)&inforeq; in t_kgetstate() 90 strioc.ic_len = (int)sizeof (struct T_info_req); in t_kgetstate() 92 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(), in t_kgetstate() 105 if (strioc.ic_len != sizeof (struct T_info_ack)) in t_kgetstate()
|
H A D | t_kbind.c | 76 struct strioctl strioc; in t_kbind() local 105 strioc.ic_cmd = TI_BIND; in t_kbind() 106 strioc.ic_timout = 0; in t_kbind() 107 strioc.ic_dp = buf; in t_kbind() 108 strioc.ic_len = (int)TBINDREQSZ + bind_req->ADDR_length; in t_kbind() 119 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred, in t_kbind() 132 bind_ack = (struct T_bind_ack *)strioc.ic_dp; in t_kbind() 133 if (strioc.ic_len < TBINDACKSZ || bind_ack->ADDR_length == 0) { in t_kbind()
|
H A D | t_kopen.c | 75 struct strioctl strioc; in t_kopen() local 213 strioc.ic_cmd = TI_GETINFO; in t_kopen() 214 strioc.ic_timout = 0; in t_kopen() 215 strioc.ic_dp = (char *)&inforeq; in t_kopen() 216 strioc.ic_len = (int)sizeof (struct T_info_req); in t_kopen() 218 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, cr, &retval); in t_kopen() 240 if (strioc.ic_len != sizeof (struct T_info_ack)) { in t_kopen() 246 strioc.ic_len); in t_kopen()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | ucredsys.c | 70 struct strioctl strioc; in getpeerucred() local 76 strioc.ic_cmd = _I_GETPEERCRED; in getpeerucred() 77 strioc.ic_timout = INFTIM; in getpeerucred() 78 strioc.ic_len = (int)sizeof (k_peercred_t); in getpeerucred() 79 strioc.ic_dp = (char *)&kpc; in getpeerucred() 81 err = strdoioctl(vp->v_stream, &strioc, FNATIVE|FKIOCTL, in getpeerucred()
|
/titanic_50/usr/src/uts/common/rpc/ |
H A D | svc_gen.c | 113 struct strioctl strioc; in svc_tli_kcreate() local 143 strioc.ic_cmd = TI_GETINFO; in svc_tli_kcreate() 144 strioc.ic_timout = -1; in svc_tli_kcreate() 145 strioc.ic_len = sizeof (tinfo); in svc_tli_kcreate() 146 strioc.ic_dp = (char *)&tinfo; in svc_tli_kcreate() 149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K, in svc_tli_kcreate()
|
/titanic_50/usr/src/lib/libnsl/nsl/ |
H A D | t_alloc.c | 54 struct strioctl strioc; in _tx_alloc() local 79 strioc.ic_cmd = TI_GETINFO; in _tx_alloc() 80 strioc.ic_timout = -1; in _tx_alloc() 81 strioc.ic_len = (int)sizeof (struct T_info_req); in _tx_alloc() 82 strioc.ic_dp = (char *)&info; in _tx_alloc() 84 retval = ioctl(fd, I_STR, &strioc); in _tx_alloc() 95 if (strioc.ic_len != (int)sizeof (struct T_info_ack)) { in _tx_alloc()
|
H A D | _utility.c | 477 struct strioctl strioc; in _t_do_ioctl() local 479 strioc.ic_cmd = cmd; in _t_do_ioctl() 480 strioc.ic_timout = -1; in _t_do_ioctl() 481 strioc.ic_len = size; in _t_do_ioctl() 482 strioc.ic_dp = buf; in _t_do_ioctl() 484 if ((retval = ioctl(fd, I_STR, &strioc)) < 0) { in _t_do_ioctl() 496 *retlenp = strioc.ic_len; in _t_do_ioctl()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | streamio.c | 3196 struct strioctl strioc; in strioctl() local 3336 strioc.ic_cmd = cmd; in strioctl() 3337 strioc.ic_timout = INFTIM; in strioctl() 3347 strioc.ic_len = sizeof (int); in strioctl() 3348 strioc.ic_dp = (char *)&native_arg; in strioctl() 3349 return (strdoioctl(stp, &strioc, flag, in strioctl() 3356 strioc.ic_len = sizeof (struct termio); in strioctl() 3357 strioc.ic_dp = (char *)arg; in strioctl() 3358 return (strdoioctl(stp, &strioc, flag, in strioctl() 3364 strioc.ic_len = sizeof (struct termios); in strioctl() [all …]
|
H A D | strsubr.c | 1730 struct strioctl strioc; in mlink_file() local 1808 strioc.ic_cmd = cmd; in mlink_file() 1809 strioc.ic_timout = INFTIM; in mlink_file() 1810 strioc.ic_len = sizeof (struct linkblk); in mlink_file() 1811 strioc.ic_dp = (char *)&linkp->li_lblk; in mlink_file() 1898 error = strdoioctl(stp, &strioc, FNATIVE, in mlink_file() 2012 struct strioctl strioc; in munlink() local 2038 strioc.ic_cmd = I_UNLINK; in munlink() 2040 strioc.ic_cmd = I_PUNLINK; in munlink() 2041 strioc.ic_timout = INFTIM; in munlink() [all …]
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 84 struct strioctl strioc; in __rpc_negotiate_uid() local 91 strioc.ic_cmd = TL_IOC_UCREDOPT; in __rpc_negotiate_uid() 92 strioc.ic_timout = -1; in __rpc_negotiate_uid() 93 strioc.ic_len = (int)sizeof (unsigned int); in __rpc_negotiate_uid() 94 strioc.ic_dp = (char *)&set; in __rpc_negotiate_uid() 96 if (ioctl(fd, I_STR, &strioc) == -1 && in __rpc_negotiate_uid()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 340 struct strioctl strioc; in nca_set_nif() local 344 strioc.ic_cmd = NCA_SET_IF; in nca_set_nif() 345 strioc.ic_timout = INFTIM; in nca_set_nif() 346 strioc.ic_len = sizeof (nca_ioctl); in nca_set_nif() 347 strioc.ic_dp = (char *)&nca_ioctl; in nca_set_nif() 355 if (ioctl(fd, I_STR, &strioc) < 0) { in nca_set_nif() 1085 struct strioctl strioc; in nca_del_nif() local 1112 strioc.ic_cmd = NCA_SET_IF; in nca_del_nif() 1113 strioc.ic_timout = INFTIM; in nca_del_nif() 1114 strioc.ic_len = sizeof (nca_ioctl); in nca_del_nif() [all …]
|
/titanic_50/usr/src/uts/common/io/ |
H A D | consconfig_dacf.c | 549 struct strioctl strioc; in consconfig_get_polledio() local 555 strioc.ic_cmd = CONSOPENPOLLEDIO; in consconfig_get_polledio() 556 strioc.ic_timout = INFTIM; in consconfig_get_polledio() 557 strioc.ic_len = sizeof (polled_io); in consconfig_get_polledio() 558 strioc.ic_dp = (char *)&polled_io; in consconfig_get_polledio() 565 err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, kcred, &rval); in consconfig_get_polledio() 807 struct strioctl strioc; in cons_build_upper_layer() local 927 strioc.ic_cmd = WC_OPEN_FB; in cons_build_upper_layer() 928 strioc.ic_timout = INFTIM; in cons_build_upper_layer() 929 strioc.ic_len = strlen(sp->cons_fb_path) + 1; in cons_build_upper_layer() [all …]
|
/titanic_50/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 1318 struct strioctl strioc; in softmac_lower_setup() local 1369 strioc.ic_cmd = SMAC_IOC_START; in softmac_lower_setup() 1370 strioc.ic_timout = INFTIM; in softmac_lower_setup() 1371 strioc.ic_len = sizeof (start_arg); in softmac_lower_setup() 1372 strioc.ic_dp = (char *)&start_arg; in softmac_lower_setup() 1374 if ((err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, in softmac_lower_setup()
|
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 141 struct strioctl strioc; in nfslib_transport_open() local 186 strioc.ic_cmd = RPC_SERVER; in nfslib_transport_open() 187 strioc.ic_dp = (char *)0; in nfslib_transport_open() 188 strioc.ic_len = 0; in nfslib_transport_open() 189 strioc.ic_timout = -1; in nfslib_transport_open() 192 if (ioctl(fd, I_STR, &strioc) < 0) { in nfslib_transport_open()
|
/titanic_50/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 221 struct strioctl strioc; in rdc_transport_open() local 292 strioc.ic_cmd = RPC_SERVER; in rdc_transport_open() 293 strioc.ic_dp = (char *)0; in rdc_transport_open() 294 strioc.ic_len = 0; in rdc_transport_open() 295 strioc.ic_timout = -1; in rdc_transport_open() 297 if (ioctl(fd, I_STR, &strioc) < 0) { in rdc_transport_open()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 361 struct strioctl strioc; in nfs_srv_set_sc_versions() local 368 strioc.ic_cmd = TI_GETINFO; in nfs_srv_set_sc_versions() 369 strioc.ic_timout = -1; in nfs_srv_set_sc_versions() 370 strioc.ic_len = sizeof (tinfo); in nfs_srv_set_sc_versions() 371 strioc.ic_dp = (char *)&tinfo; in nfs_srv_set_sc_versions() 374 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K, in nfs_srv_set_sc_versions()
|