/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 93 RPCLOG(8, ", knc_protofmly %s", config->knc_protofmly); in clnt_tli_kcreate() 96 if (config == NULL || config->knc_protofmly == NULL || ncl == NULL) { in clnt_tli_kcreate() 117 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate() 119 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate() 141 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate() 143 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate() 192 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kinit() 194 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kinit()
|
H A D | rpc_subr.c | 450 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 D | clnt_clts.c | 358 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() 1121 plen = strlen(p->cku_config.knc_protofmly) + 1; in clnt_clts_kdestroy() 1122 kmem_free(p->cku_config.knc_protofmly, plen); in clnt_clts_kdestroy() 1273 (void) strncpy(etype->e_protofmly, config->knc_protofmly, KNC_STRSIZE); in endpnt_type_create() 1411 RPCLOG(1, "endpnt_get: protofmly %s, ", config->knc_protofmly); in endpnt_get() 1431 config->knc_protofmly) == 0)) in endpnt_get() 1666 (strcmp(config->knc_protofmly, NC_INET) == 0 || in endpnt_get() 1667 strcmp(config->knc_protofmly, NC_INET6) == 0)) { in endpnt_get()
|
H A D | clnt.h | 220 caddr_t knc_protofmly; /* protocol family */ member 229 caddr32_t knc_protofmly; /* protocol family */ member
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 66 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()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dump.c | 182 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 D | nfs_vfsops.c | 209 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 D | nfs4_vfsops.c | 292 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in create_authdh_data() 294 data->knconf->knc_protofmly = pf; in create_authdh_data() 398 strcmp(si->sv_knconf->knc_protofmly, in nfs4_chkdup_servinfo4() 399 svp->sv_knconf->knc_protofmly) == 0 && in nfs4_chkdup_servinfo4() 414 if (nargs->knconf->knc_protofmly) in nfs4_free_args() 415 kmem_free(nargs->knconf->knc_protofmly, in nfs4_free_args() 523 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs4_copyin() 533 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs4_copyin() 550 knconf->knc_protofmly = pf; in nfs4_copyin() 814 args->knconf == NULL || args->knconf->knc_protofmly == NULL || in nfs4_mount() [all …]
|
H A D | nfs3_vfsops.c | 201 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 D | nfs4_stub_vnops.c | 1180 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1181 (void) strcat((char *)sikncp->knc_protofmly, in nfs4_trigger_esi_create_mirrormount() 1182 (char *)svkncp->knc_protofmly); in nfs4_trigger_esi_create_mirrormount() 1682 (knc->knc_protofmly == NULL) || (knc->knc_proto == NULL)) { in nfs4_process_referral() 1776 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_referral() 1777 (void) strlcat((char *)sikncp->knc_protofmly, in nfs4_trigger_esi_create_referral() 1778 (char *)svkncp->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral() 1825 kmem_free(esi->esi_knconf->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral()
|
H A D | nfs4_subr.c | 858 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 D | nfs4_srv_deleg.c | 468 knc.knc_protofmly = "inet"; in rfs4_cbch_init() 475 knc.knc_protofmly = "inet"; in rfs4_cbch_init() 482 knc.knc_protofmly = "inet6"; in rfs4_cbch_init() 489 knc.knc_protofmly = "inet6"; in rfs4_cbch_init()
|
H A D | nfs_subr.c | 343 svp->sv_knconf->knc_protofmly) == 0)) in clget_impl() 364 strlen(svp->sv_knconf->knc_protofmly) + 1, in clget_impl() 367 svp->sv_knconf->knc_protofmly); in clget_impl() 4768 if (knconf->knc_protofmly != NULL) in sv_free() 4769 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free() 4776 if (knconf->knc_protofmly != NULL) in sv_free() 4777 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free() 5140 if (strcmp(knconf->knc_protofmly, NC_INET) == 0) { in nfs_mount_label_policy() 5143 } else if (strcmp(knconf->knc_protofmly, NC_INET6) == 0) { in nfs_mount_label_policy()
|
H A D | nfs_common.c | 392 svp->sv_knconf->knc_protofmly = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfsdyn_mountroot()
|
H A D | nfs_dlinet.c | 322 ASSERT(args->knconf->knc_protofmly != NULL); in mount_root() 383 (void) strcpy(args->knconf->knc_protofmly, dl_cf->knc_protofmly); in mount_root()
|
H A D | nfs4_callback.c | 866 if (strcmp(p->protofmly, knc->knc_protofmly) == 0 && in nfs4_cb_args() 877 knc->knc_protofmly, knc->knc_proto)); in nfs4_cb_args()
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | klmmod.c | 224 knc.knc_protofmly = NC_INET; in lm_svc() 227 knc.knc_protofmly = NC_INET6; in lm_svc() 230 knc.knc_protofmly = NC_LOOPBACK; in lm_svc()
|
H A D | nlm_impl.c | 767 knc->knc_protofmly = NC_INET; in nlm_init_local_knc() 2748 strcmp(nc->n_knc.knc_protofmly, in nlm_knc_to_netid() 2749 knc->knc_protofmly) == 0) { in nlm_knc_to_netid()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 238 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 D | key_call.c | 260 configp->knc_protofmly = loopback_name; in key_call()
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_handle.c | 116 gssg->gss_config.knc_protofmly = loopback_name; in getgssd_handle()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | tlabel.c | 273 if (strcmp(knconf->knc_protofmly, NC_INET) == 0) { in getflabel_nfs() 277 } else if (strcmp(knconf->knc_protofmly, NC_INET6) == 0) { in getflabel_nfs()
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 630 fnip->fi_knconf.knc_protofmly = NC_LOOPBACK; in auto_mount()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid_server.c | 974 if (!xdr_opaque(xdrs, objp->knc_protofmly, KNC_STRSIZE)) in xdr_knetconfig()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/ |
H A D | nfs_clnt.c | 566 (uintptr_t)knconf.knc_protofmly) == -1) in nfs_servinfo_dcmd() 853 (uintptr_t)knconf.knc_protofmly) == -1) in nfs4_servinfo_dcmd()
|