Home
last modified time | relevance | path

Searched refs:K_TO_K (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c89 if (error = strioctl(vp, I_PLINK, (intptr_t)fd, 0, K_TO_K, CRED(), &id)) in kstr_plink()
102 K_TO_K, CRED(), &rval)); in kstr_unplink()
110 return (strioctl(vp, I_PUSH, (intptr_t)mod, 0, K_TO_K, CRED(), &rval)); in kstr_push()
118 return (strioctl(vp, I_POP, 0, 0, K_TO_K, CRED(), &rval)); in kstr_pop()
147 return (strioctl(vp, cmd, arg, 0, K_TO_K, CRED(), &rval)); in kstr_ioctl()
H A Diwscons.c375 FKIOCTL, K_TO_K, cred, rvalp); in iwscnioctl()
385 (intptr_t)STRREDIR_MOD, FKIOCTL, K_TO_K, in iwscnioctl()
441 FKIOCTL, K_TO_K, cred, rvalp); in iwscnioctl()
H A Dconsconfig_dacf.c2165 (intptr_t)"ldterm", FKIOCTL, K_TO_K, kcred, &rval); in flush_deferred_console_buf()
2167 (intptr_t)"ttcompat", FKIOCTL, K_TO_K, in flush_deferred_console_buf()
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kopen.c172 error = strioctl(vp, I_FIND, (intptr_t)"timod", 0, K_TO_K, cr, &retval); in t_kopen()
183 error = strioctl(vp, I_PUSH, (intptr_t)"timod", 0, K_TO_K, cr, in t_kopen()
218 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, cr, &retval); in t_kopen()
H A Dt_kgtstate.c90 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(), in t_kgetstate()
H A Dt_kunbind.c100 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(), in t_kunbind()
H A Dt_koptmgmt.c114 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, in t_koptmgmt()
H A Dt_kbind.c117 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred, in t_kbind()
/illumos-gate/usr/src/uts/common/syscall/
H A Ducredsys.c82 STR_NOSIG|K_TO_K, CRED(), &rval); in getpeerucred()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K, in svc_tli_kcreate()
H A Drpc_subr.c105 error = strioctl(vp, I_FIND, (intptr_t)"timod", 0, K_TO_K, kcred, in rpc_poptimod()
115 error = strioctl(vp, I_POP, 0, 0, K_TO_K, kcred, &ret); in rpc_poptimod()
H A Dclnt_clts.c1619 K_TO_K, cr, &retval); in endpnt_get()
1625 error = strioctl(tiptr->fp->f_vnode, RPC_CLIENT, 0, 0, K_TO_K, in endpnt_get()
1638 K_TO_K, cr, &retval); in endpnt_get()
H A Dsvc_cots.c235 0, K_TO_K, CRED(), &retval); in svc_cots_kcreate()
H A Dclnt_cots.c2151 K_TO_K, kcred, &retval)) { in connmgr_get()
2159 if (i = strioctl(tiptr->fp->f_vnode, RPC_CLIENT, 0, 0, K_TO_K, in connmgr_get()
2177 K_TO_K, kcred, &retval)) { in connmgr_get()
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c3106 ASSERT((copyflag & K_TO_K) == 0); in strcopyin_strioctl()
3126 ASSERT(copyflag & K_TO_K); in strcopyin_strioctl()
3139 ASSERT((copyflag & K_TO_K) == 0); in strcopyout_strioctl()
3161 ASSERT(copyflag & K_TO_K); in strcopyout_strioctl()
3299 copyflag = K_TO_K; in strioctl()
3303 ASSERT(copyflag == U_TO_K || copyflag == K_TO_K); in strioctl()
3314 if (copyflag == K_TO_K) in strioctl()
3439 K_TO_K, crp, rvalp)); in strioctl()
6006 int copyflag = (flag & (U_TO_K | K_TO_K)); in strdoioctl()
6012 ASSERT(copyflag == U_TO_K || copyflag == K_TO_K); in strdoioctl()
[all …]
H A Dstrsubr.c1452 ASSERT((flag & (U_TO_K | K_TO_K)) == U_TO_K || in putiocd()
1453 (flag & (U_TO_K | K_TO_K)) == K_TO_K); in putiocd()
1471 error = strcopyin(arg, tmp->b_wptr, count, flag & (U_TO_K|K_TO_K)); in putiocd()
1903 K_TO_K | STR_NOERROR | STR_NOSIG, crp, rvalp); in mlink_file()
2060 K_TO_K | STR_NOERROR | STR_NOSIG, crp, rvalp); in munlink()
4153 ASSERT((copyflag & K_TO_K) == 0); in strcopyin()
4157 ASSERT(copyflag & K_TO_K); in strcopyin()
4170 ASSERT(copyflag & K_TO_K); in strcopyout()
H A Ddriver_lyr.c1973 copymode = (mode & FKIOCTL) ? K_TO_K : U_TO_K; in ldi_ioctl()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c508 _SIOCSOCKFALLBACK, 0, 0, K_TO_K, in sotpi_init()
1689 0, 0, K_TO_K, cr, &rval); in sotpi_accept()
1940 0, 0, K_TO_K, cr, &rval)) != 0) { in sotpi_accept()
4834 0, K_TO_K, cr, &res); in sotpi_getpeername()
4959 0, K_TO_K, cr, &res); in sotpi_getsockname()
5950 error = strioctl(vp, _SIOCSOCKFALLBACK, 0, 0, K_TO_K, in socktpi_plumbioctl()
6015 error = strioctl(vp, cmd, (intptr_t)&kstrlist, mode, K_TO_K, in socktpi_plumbioctl()
H A Dsockstr.c148 error = strioctl(vp, _SIOCSOCKFALLBACK, 0, 0, K_TO_K, CRED(), in so_sock2stream()
2737 return (strioctl(vp, I_ESETSIG, (intptr_t)&ss, mode, K_TO_K, cr, in so_set_asyncsigs()
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h1045 #define K_TO_K 02 /* Kernel to Kernel */ macro
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c386 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K, in nfs_srv_set_sc_versions()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c3056 STR_NOSIG | K_TO_K, cred, &rval); in prgetfdinfo()