Home
last modified time | relevance | path

Searched refs:knc_protofmly (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_subr.c120 svp->ri_knconf->knc_protofmly); in rdc_print_svinfo()
168 nvp->ri_knconf->knc_protofmly = kmem_zalloc(KNC_STRSIZE + 1, KM_SLEEP); in rdc_create_svinfo()
171 if (nvp->ri_knconf->knc_protofmly == NULL || in rdc_create_svinfo()
178 (void) strncpy(nvp->ri_knconf->knc_protofmly, conf->knc_protofmly, in rdc_create_svinfo()
201 if (svp->ri_knconf->knc_protofmly) in rdc_destroy_svinfo()
202 kmem_free(svp->ri_knconf->knc_protofmly, KNC_STRSIZE + 1); in rdc_destroy_svinfo()
/titanic_50/usr/src/uts/common/rpc/
H A Dclnt_gen.c95 RPCLOG(8, ", knc_protofmly %s", config->knc_protofmly); in clnt_tli_kcreate()
98 if (config == NULL || config->knc_protofmly == NULL || ncl == NULL) { in clnt_tli_kcreate()
119 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate()
121 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate()
143 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate()
145 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate()
194 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kinit()
196 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kinit()
H A Drpc_subr.c450 ASSERT(strcmp(config->knc_protofmly, NC_INET) == 0); in portmap_getport()
531 if (strcmp(config->knc_protofmly, NC_INET) == 0) { in rpcbind_getaddr()
539 } else if (strcmp(config->knc_protofmly, NC_INET6) == 0) { in rpcbind_getaddr()
545 } else if (strcmp(config->knc_protofmly, NC_LOOPBACK) == 0) { in rpcbind_getaddr()
621 if (strcmp(config->knc_protofmly, NC_INET) == 0) { in rpcbind_getaddr()
629 } else if (strcmp(config->knc_protofmly, NC_INET6) == 0) { in rpcbind_getaddr()
637 } else if (strcmp(config->knc_protofmly, NC_LOOPBACK) == 0) { in rpcbind_getaddr()
646 strcmp(config->knc_protofmly, NC_INET) == 0) { in rpcbind_getaddr()
H A Dclnt_clts.c358 plen = strlen(config->knc_protofmly) + 1; in clnt_clts_kcreate()
359 p->cku_config.knc_protofmly = kmem_alloc(plen, KM_SLEEP); in clnt_clts_kcreate()
360 bcopy(config->knc_protofmly, p->cku_config.knc_protofmly, plen); in clnt_clts_kcreate()
1110 plen = strlen(p->cku_config.knc_protofmly) + 1; in clnt_clts_kdestroy()
1111 kmem_free(p->cku_config.knc_protofmly, plen); in clnt_clts_kdestroy()
1262 (void) strncpy(etype->e_protofmly, config->knc_protofmly, KNC_STRSIZE); in endpnt_type_create()
1400 RPCLOG(1, "endpnt_get: protofmly %s, ", config->knc_protofmly); in endpnt_get()
1420 config->knc_protofmly) == 0)) in endpnt_get()
1655 (strcmp(config->knc_protofmly, NC_INET) == 0 || in endpnt_get()
1656 strcmp(config->knc_protofmly, NC_INET6) == 0)) { in endpnt_get()
H A Dclnt.h220 caddr_t knc_protofmly; /* protocol family */ member
229 caddr32_t knc_protofmly; /* protocol family */ member
/titanic_50/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c66 if (k->knc_protofmly) in free_knconf()
67 free(k->knc_protofmly); in free_knconf()
92 k->knc_protofmly = malloc(KNC_STRSIZE); in get_knconf()
93 if (k->knc_protofmly == NULL) in get_knconf()
95 bzero(k->knc_protofmly, KNC_STRSIZE); in get_knconf()
96 bcopy(nconf->nc_protofmly, k->knc_protofmly, len); in get_knconf()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c182 if ((strcmp(nfsdump_cf.knc_protofmly, NC_INET) == 0) || in nd_init()
183 ((v6 = strcmp(nfsdump_cf.knc_protofmly, NC_INET6))\ in nd_init()
211 if ((strcmp(nfsdump_cf.knc_protofmly, NC_INET) == 0) || in nd_init()
212 (strcmp(nfsdump_cf.knc_protofmly, NC_INET6) == 0)) { in nd_init()
H A Dnfs_vfsops.c209 if (nargs->knconf->knc_protofmly) in nfs_free_args()
210 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs_free_args()
314 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs_copyin()
324 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs_copyin()
341 knconf->knc_protofmly = pf; in nfs_copyin()
637 if ((strlen(args->knconf->knc_protofmly) >= KNC_STRSIZE) || in nfs_mount()
714 if (strcmp(svp->sv_knconf->knc_protofmly, NC_INET) == 0) in nfs_mount()
716 else if (strcmp(svp->sv_knconf->knc_protofmly, NC_INET6) == 0) in nfs_mount()
881 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in nfs_mount()
883 data->knconf->knc_protofmly = pf; in nfs_mount()
[all …]
H A Dnfs4_vfsops.c291 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in create_authdh_data()
293 data->knconf->knc_protofmly = pf; in create_authdh_data()
396 strcmp(si->sv_knconf->knc_protofmly, in nfs4_chkdup_servinfo4()
397 svp->sv_knconf->knc_protofmly) == 0 && in nfs4_chkdup_servinfo4()
412 if (nargs->knconf->knc_protofmly) in nfs4_free_args()
413 kmem_free(nargs->knconf->knc_protofmly, in nfs4_free_args()
521 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs4_copyin()
531 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs4_copyin()
548 knconf->knc_protofmly = pf; in nfs4_copyin()
812 args->knconf == NULL || args->knconf->knc_protofmly == NULL || in nfs4_mount()
[all …]
H A Dnfs3_vfsops.c201 if (nargs->knconf->knc_protofmly) in nfs3_free_args()
202 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs3_free_args()
304 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs3_copyin()
314 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs3_copyin()
331 knconf->knc_protofmly = pf; in nfs3_copyin()
611 if ((strlen(args->knconf->knc_protofmly) >= KNC_STRSIZE) || in nfs3_mount()
695 if (strcmp(svp->sv_knconf->knc_protofmly, NC_INET) == 0) in nfs3_mount()
697 else if (strcmp(svp->sv_knconf->knc_protofmly, NC_INET6) == 0) in nfs3_mount()
851 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in nfs3_mount()
853 data->knconf->knc_protofmly = pf; in nfs3_mount()
[all …]
H A Dnfs4_stub_vnops.c1175 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount()
1176 (void) strcat((char *)sikncp->knc_protofmly, in nfs4_trigger_esi_create_mirrormount()
1177 (char *)svkncp->knc_protofmly); in nfs4_trigger_esi_create_mirrormount()
1677 (knc->knc_protofmly == NULL) || (knc->knc_proto == NULL)) { in nfs4_process_referral()
1771 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_referral()
1772 (void) strlcat((char *)sikncp->knc_protofmly, in nfs4_trigger_esi_create_referral()
1773 (char *)svkncp->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral()
1820 kmem_free(esi->esi_knconf->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral()
H A Dnfs4_subr.c858 svp->sv_knconf->knc_protofmly) == 0)) in clget4()
879 strlen(svp->sv_knconf->knc_protofmly) + 1, in clget4()
882 svp->sv_knconf->knc_protofmly); in clget4()
2287 if (knconf->knc_protofmly != NULL) in sv4_free()
2288 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv4_free()
2295 if (knconf->knc_protofmly != NULL) in sv4_free()
2296 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv4_free()
H A Dnfs4_srv_deleg.c463 knc.knc_protofmly = "inet"; in rfs4_cbch_init()
470 knc.knc_protofmly = "inet"; in rfs4_cbch_init()
477 knc.knc_protofmly = "inet6"; in rfs4_cbch_init()
484 knc.knc_protofmly = "inet6"; in rfs4_cbch_init()
H A Dnfs_subr.c342 svp->sv_knconf->knc_protofmly) == 0)) in clget_impl()
363 strlen(svp->sv_knconf->knc_protofmly) + 1, in clget_impl()
366 svp->sv_knconf->knc_protofmly); in clget_impl()
4767 if (knconf->knc_protofmly != NULL) in sv_free()
4768 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free()
4775 if (knconf->knc_protofmly != NULL) in sv_free()
4776 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free()
5139 if (strcmp(knconf->knc_protofmly, NC_INET) == 0) { in nfs_mount_label_policy()
5142 } else if (strcmp(knconf->knc_protofmly, NC_INET6) == 0) { in nfs_mount_label_policy()
H A Dnfs_common.c392 svp->sv_knconf->knc_protofmly = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfsdyn_mountroot()
/titanic_50/usr/src/uts/common/klm/
H A Dklmmod.c223 knc.knc_protofmly = NC_INET; in lm_svc()
226 knc.knc_protofmly = NC_INET6; in lm_svc()
229 knc.knc_protofmly = NC_LOOPBACK; in lm_svc()
H A Dnlm_impl.c767 knc->knc_protofmly = NC_INET; in nlm_init_local_knc()
2715 strcmp(nc->n_knc.knc_protofmly, in nlm_knc_to_netid()
2716 knc->knc_protofmly) == 0) { in nlm_knc_to_netid()
/titanic_50/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c238 knconf->knc_protofmly = in dh_k4_clnt_loadinfo()
239 (caddr_t)(uintptr_t)knconf32.knc_protofmly; in dh_k4_clnt_loadinfo()
261 error = copyinstr(knconf->knc_protofmly, pf, in dh_k4_clnt_loadinfo()
284 knconf->knc_protofmly = pf; in dh_k4_clnt_loadinfo()
316 kmem_free(data->knconf->knc_protofmly, KNC_STRSIZE); in dh_k4_clnt_freeinfo()
H A Dkey_call.c260 configp->knc_protofmly = loopback_name; in key_call()
/titanic_50/usr/src/cmd/rexd/
H A Dmount_nfs.c757 k->knc_protofmly = strdup(nconf->nc_protofmly); in get_knconf()
758 if (k->knc_protofmly == NULL) in get_knconf()
778 if (k->knc_protofmly) in free_knconf()
779 free(k->knc_protofmly); in free_knconf()
/titanic_50/usr/src/uts/common/gssapi/
H A Dgssd_handle.c116 gssg->gss_config.knc_protofmly = loopback_name; in getgssd_handle()
/titanic_50/usr/src/uts/common/os/
H A Dtlabel.c273 if (strcmp(knconf->knc_protofmly, NC_INET) == 0) { in getflabel_nfs()
277 } else if (strcmp(knconf->knc_protofmly, NC_INET6) == 0) { in getflabel_nfs()
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c64 char *knc_protofmly; /* protocol family */ member
/titanic_50/usr/src/uts/common/avs/ns/
H A Dcontract.h296 caddr_t knc_protofmly; member
/titanic_50/usr/src/lib/librdc/common/
H A Dnetaddrs.c233 knconf->knc_protofmly = nconf->nc_protofmly; in convert_nconf_to_knconf()

12