Home
last modified time | relevance | path

Searched refs:rhtp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c625 tsol_find_unlabeled_label(tsol_tpc_t *rhtp, bslabel_t *sl, uint32_t *doi) in tsol_find_unlabeled_label() argument
627 *doi = rhtp->tpc_tp.tp_doi; in tsol_find_unlabeled_label()
628 switch (rhtp->tpc_tp.host_type) { in tsol_find_unlabeled_label()
630 *sl = rhtp->tpc_tp.tp_def_label; in tsol_find_unlabeled_label()
633 *sl = rhtp->tpc_tp.tp_sl_range_cipso.upper_bound; in tsol_find_unlabeled_label()
1128 tsol_tpc_t *rhtp; in tsol_can_reply_error() local
1159 rhtp = find_tpc(&ipha->ipha_dst, IPV4_VERSION, B_FALSE); in tsol_can_reply_error()
1162 rhtp = find_tpc(&ip6h->ip6_dst, IPV6_VERSION, B_FALSE); in tsol_can_reply_error()
1165 if (rhtp == NULL || label2doi(plabel) != rhtp->tpc_tp.tp_doi) { in tsol_can_reply_error()
1175 switch (rhtp->tpc_tp.host_type) { in tsol_can_reply_error()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c572 make_rnode4(nfs4_sharedfh_t *fh, r4hashq_t *rhtp, struct vfs *vfsp, in make_rnode4() argument
582 ASSERT(RW_READ_HELD(&rhtp->r_lock)); in make_rnode4()
587 if ((rp = r4find(rhtp, fh, vfsp)) != NULL) { in make_rnode4()
592 rw_exit(&rhtp->r_lock); in make_rnode4()
610 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode4()
624 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode4()
675 rp->r_hashq = rhtp; in make_rnode4()
699 rw_enter(&rhtp->r_lock, RW_WRITER); in make_rnode4()
700 if ((trp = r4find(rhtp, fh, vfsp)) != NULL) { in make_rnode4()
703 rw_exit(&rhtp->r_lock); in make_rnode4()
[all …]
H A Dnfs_subr.c2458 make_rnode(nfs_fhandle *fh, rhashq_t *rhtp, struct vfs *vfsp, in make_rnode() argument
2469 ASSERT(RW_READ_HELD(&rhtp->r_lock)); in make_rnode()
2473 if ((rp = rfind(rhtp, fh, vfsp)) != NULL) { in make_rnode()
2479 rw_exit(&rhtp->r_lock); in make_rnode()
2496 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode()
2510 rw_enter(&rhtp->r_lock, RW_READER); in make_rnode()
2590 rp->r_hashq = rhtp; in make_rnode()
2606 rw_enter(&rhtp->r_lock, RW_WRITER); in make_rnode()
2607 if ((trp = rfind(rhtp, fh, vfsp)) != NULL) { in make_rnode()
2611 rw_exit(&rhtp->r_lock); in make_rnode()
[all …]