Lines Matching refs:parent
106 if (xt->parent == NULL) in svc_dg_xprtfree()
197 svc_dg_xprtcopy(SVCXPRT *parent) in svc_dg_xprtcopy() argument
207 SVCEXT(xprt)->parent = parent; in svc_dg_xprtcopy()
209 SVCEXT(xprt)->flags = SVCEXT(parent)->flags; in svc_dg_xprtcopy()
211 xprt->xp_fd = parent->xp_fd; in svc_dg_xprtcopy()
212 xprt->xp_port = parent->xp_port; in svc_dg_xprtcopy()
214 if (parent->xp_tp) { in svc_dg_xprtcopy()
215 xprt->xp_tp = (char *)strdup(parent->xp_tp); in svc_dg_xprtcopy()
222 if (parent->xp_netid) { in svc_dg_xprtcopy()
223 xprt->xp_netid = (char *)strdup(parent->xp_netid); in svc_dg_xprtcopy()
226 if (parent->xp_tp) in svc_dg_xprtcopy()
227 free(parent->xp_tp); in svc_dg_xprtcopy()
232 xprt->xp_ltaddr = parent->xp_ltaddr; /* shared with parent */ in svc_dg_xprtcopy()
234 xprt->xp_rtaddr = parent->xp_rtaddr; in svc_dg_xprtcopy()
240 (void) memcpy(xprt->xp_rtaddr.buf, parent->xp_rtaddr.buf, in svc_dg_xprtcopy()
242 xprt->xp_type = parent->xp_type; in svc_dg_xprtcopy()
249 su->su_iosz = get_svc_dg_data(parent)->su_iosz; in svc_dg_xprtcopy()
561 if (SVCEXT(xprt)->parent) in _svc_dg_destroy_private()
563 xprt = SVCEXT(xprt)->parent; in _svc_dg_destroy_private()
694 if (svc_mt_mode != RPC_SVC_MT_NONE && SVCEXT(xprt)->parent != NULL) in svc_dg_enablecache()
696 transp = SVCEXT(xprt)->parent; in svc_dg_enablecache()
754 SVCXPRT *parent; in cache_set() local
768 if (svc_mt_mode != RPC_SVC_MT_NONE && SVCEXT(xprt)->parent != NULL) in cache_set()
770 parent = SVCEXT(xprt)->parent; in cache_set()
772 parent = xprt; in cache_set()
776 uc = (struct cl_cache *)get_svc_dg_data(parent)->su_cache; in cache_set()
786 loc = CACHE_LOC(parent, victim->cache_xid); in cache_set()
853 loc = CACHE_LOC(parent, victim->cache_xid); in cache_set()
869 SVCXPRT *parent; in cache_get() local
880 if (svc_mt_mode != RPC_SVC_MT_NONE && SVCEXT(xprt)->parent != NULL) in cache_get()
882 parent = SVCEXT(xprt)->parent; in cache_get()
884 parent = xprt; in cache_get()
888 uc = (struct cl_cache *)get_svc_dg_data(parent)->su_cache; in cache_get()
892 loc = CACHE_LOC(parent, su->su_xid); in cache_get()