Searched defs:tcr (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dppriv.c245 setpflags(uint_t flag, uint_t val, cred_t *tcr) argument
250 boolean_t use_curcred = (tcr == NULL);
274 cr = pcr = tcr;
/illumos-gate/usr/src/uts/common/os/
H A Dpriv.c575 cred_t *tcr; local
580 crhold(tcr = tp->p_cred);
583 if (scr == tcr && !(tp->p_flag & SNOCD))
586 idsmatch = (scr->cr_uid == tcr->cr_uid &&
587 scr->cr_uid == tcr->cr_ruid &&
588 scr->cr_uid == tcr->cr_suid &&
589 scr->cr_gid == tcr->cr_gid &&
590 scr->cr_gid == tcr->cr_rgid &&
591 scr->cr_gid == tcr->cr_sgid &&
598 if (scr->cr_zone != tcr
[all...]
H A Dpolicy.c1677 secpolicy_proc_owner(const cred_t *scr, const cred_t *tcr, int mode) argument
1682 (tcr->cr_uid == 0 || tcr->cr_ruid == 0 || tcr->cr_suid == 0))
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_vfsops.c1025 cred_t *lcr = NULL, *tcr = cr; local
1160 tcr = lcr;
1175 xdr_FSINFO3res, (caddr_t)&res, tcr,
1317 error = nfs3getattr(rtvp, &va, tcr);
H A Dnfs_vfsops.c1155 cred_t *lcr = NULL, *tcr = cr; local
1265 tcr = lcr;
1268 error = nfsgetattr(rtvp, &va, tcr);
1294 tcr, &douprintf, &fs.fs_status, 0, NULL);
H A Dnfs4_vfsops.c2284 cred_t *lcr = NULL, *tcr = cr; local
2459 tcr = lcr;
2495 NFS4_GETFH_NEEDSOP, tcr, &e);
2603 error = nfs4getattr(rtvp, &va, tcr);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c517 struct T_conn_req *tcr; local
540 tcr = (struct T_conn_req *)mp->b_rptr;
543 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tcr)) {
568 switch (tcr->DEST_length) {
591 tcr->OPT_length, BPRI_HI);
605 sin = (sin_t *)mi_offset_param(mp, tcr->DEST_offset,
606 tcr->DEST_length); /* extract DEST_length worth of sin_t */
617 if (tcr->OPT_length != 0) {
618 ntcr->OPT_length = tcr->OPT_length;
620 bcopy((uchar_t *)tcr
1296 struct T_conn_res *tcr; local
[all...]
/illumos-gate/usr/src/uts/common/io/upf/
H A Dupf_usbgem.c945 uint32_t tcr; local
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c653 struct T_capability_req tcr; local
675 tcr.PRIM_type = T_CAPABILITY_REQ;
676 tcr.CAP_bits1 = cap_bits1;
677 mp = soallocproto1(&tcr, sizeof (tcr),
/illumos-gate/usr/src/uts/common/io/
H A Dtimod.c1770 struct T_capability_req *tcr; local
1772 error = miocpullup(mp, sizeof (*tcr));
1779 tcr = (struct T_capability_req *)tcsr_mp->b_rptr;
1781 tcr->CAP_bits1);
1783 if (tcr->PRIM_type != T_CAPABILITY_REQ) {
1785 tcr->PRIM_type);
1804 if ((tcr->CAP_bits1 & TC1_INFO) == 0) {
1822 if ((tcr->CAP_bits1 & TC1_INFO) != 0) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dicmp.c620 struct T_conn_req *tcr; local
640 tcr = (struct T_conn_req *)mp->b_rptr;
647 if (tcr->OPT_length != 0) {
652 len = tcr->DEST_length;
659 sa = (struct sockaddr *)mi_offset_param(mp, tcr->DEST_offset,
664 tcr->DEST_offset, sizeof (sin6_t));
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c623 struct T_conn_req *tcr; local
640 tcr = (struct T_conn_req *)mp->b_rptr;
648 if (tcr->OPT_length != 0) {
659 len = tcr->DEST_length;
660 switch (tcr->DEST_length) {
666 sa = (struct sockaddr *)mi_offset_param(mp, tcr->DEST_offset,
671 sa = (struct sockaddr *)mi_offset_param(mp, tcr->DEST_offset,
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtw.c495 uint32_t tcr; local
496 tcr = RTW_READ(regs, RTW_TCR);
497 tcr &= ~RTW_TCR_LBK_MASK;
499 tcr |= RTW_TCR_LBK_CONT;
501 tcr |= RTW_TCR_LBK_NORMAL;
502 RTW_WRITE(regs, RTW_TCR, tcr);
1707 uint32_t tcr; local
1709 tcr = RTW_READ(regs, RTW_TCR);
1711 tcr |= RTW_TCR_CWMIN;
1712 tcr
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_cots.c2641 struct T_conn_req *tcr; local
2654 mp = allocb_cred(sizeof (*tcr) + addr->len, cr, NOPID);
2680 tcr = (struct T_conn_req *)mp->b_rptr;
2681 bzero(tcr, sizeof (*tcr));
2682 tcr->PRIM_type = T_CONN_REQ;
2683 tcr->DEST_length = addr->len;
2684 tcr->DEST_offset = sizeof (struct T_conn_req);
2685 mp->b_wptr = mp->b_rptr + sizeof (*tcr);
2687 bcopy(addr->buf, mp->b_wptr, tcr
[all...]

Completed in 159 milliseconds