Home
last modified time | relevance | path

Searched refs:knconf (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c184 data->knconf = in dh_k4_clnt_loadinfo()
224 knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in dh_k4_clnt_loadinfo()
231 kmem_free(knconf, sizeof (*knconf)); in dh_k4_clnt_loadinfo()
240 knconf->knc_proto = in dh_k4_clnt_loadinfo()
246 if (copyin(data->knconf, knconf, sizeof (*knconf))) { in dh_k4_clnt_loadinfo()
247 kmem_free(knconf, sizeof (*knconf)); in dh_k4_clnt_loadinfo()
266 kmem_free(knconf, sizeof (*knconf)); in dh_k4_clnt_loadinfo()
277 kmem_free(knconf, sizeof (*knconf)); in dh_k4_clnt_loadinfo()
285 knconf->knc_proto = p; in dh_k4_clnt_loadinfo()
295 data->knconf = knconf; in dh_k4_clnt_loadinfo()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c208 if (nargs->knconf) { in nfs_free_args()
213 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs_free_args()
214 nargs->knconf = NULL; in nfs_free_args()
305 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in nfs_copyin()
309 kmem_free(knconf, sizeof (*knconf)); in nfs_copyin()
328 kmem_free(knconf, sizeof (*knconf)); in nfs_copyin()
336 kmem_free(knconf, sizeof (*knconf)); in nfs_copyin()
344 nargs->knconf = knconf; in nfs_copyin()
666 args->knconf = NULL; in nfs_mount()
877 data->knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in nfs_mount()
[all …]
H A Dnfs3_vfsops.c200 if (nargs->knconf) { in nfs3_free_args()
205 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs3_free_args()
206 nargs->knconf = NULL; in nfs3_free_args()
295 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in nfs3_copyin()
299 kmem_free(knconf, sizeof (*knconf)); in nfs3_copyin()
318 kmem_free(knconf, sizeof (*knconf)); in nfs3_copyin()
326 kmem_free(knconf, sizeof (*knconf)); in nfs3_copyin()
334 nargs->knconf = knconf; in nfs3_copyin()
636 args->knconf = NULL; in nfs3_mount()
847 data->knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in nfs3_mount()
[all …]
H A Dnfs4_vfsops.c288 data->knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in create_authdh_data()
289 *data->knconf = *knconf; in create_authdh_data()
413 if (nargs->knconf) { in nfs4_free_args()
419 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs4_free_args()
514 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in nfs4_copyin()
518 kmem_free(knconf, sizeof (*knconf)); in nfs4_copyin()
537 kmem_free(knconf, sizeof (*knconf)); in nfs4_copyin()
545 kmem_free(knconf, sizeof (*knconf)); in nfs4_copyin()
553 nargs->knconf = knconf; in nfs4_copyin()
814 args->knconf == NULL || args->knconf->knc_protofmly == NULL || in nfs4_mount()
[all …]
H A Dnfs_dlinet.c322 ASSERT(args->knconf->knc_protofmly != NULL); in mount_root()
323 ASSERT(args->knconf->knc_proto != NULL); in mount_root()
381 args->knconf->knc_semantics = dl_cf->knc_semantics; in mount_root()
382 args->knconf->knc_rdev = dl_cf->knc_rdev; in mount_root()
384 (void) strcpy(args->knconf->knc_proto, dl_cf->knc_proto); in mount_root()
586 struct knetconfig *knconf; in ping_prog() local
592 knconf = &dl_tcp_netconf; in ping_prog()
595 knconf = &dl_udp_netconf; in ping_prog()
1944 stat = mycallrpc(knconf, call_addr, in pmap_kgetport()
1962 rpcb_parms.r_netid = knconf->knc_proto; in pmap_kgetport()
[all …]
H A Dnfs4_subr.c2270 struct knetconfig *knconf; in sv4_free() local
2285 knconf = svp->sv_knconf; in sv4_free()
2286 if (knconf != NULL) { in sv4_free()
2287 if (knconf->knc_protofmly != NULL) in sv4_free()
2289 if (knconf->knc_proto != NULL) in sv4_free()
2291 kmem_free(knconf, sizeof (*knconf)); in sv4_free()
2293 knconf = svp->sv_origknconf; in sv4_free()
2294 if (knconf != NULL) { in sv4_free()
2295 if (knconf->knc_protofmly != NULL) in sv4_free()
2297 if (knconf->knc_proto != NULL) in sv4_free()
[all …]
H A Dnfs_common.c401 args.knconf = svp->sv_knconf; in nfsdyn_mountroot()
423 args.knconf = svp->sv_knconf; in nfsdyn_mountroot()
444 args.knconf = svp->sv_knconf; in nfsdyn_mountroot()
H A Dnfs_subr.c4758 struct knetconfig *knconf; in sv_free() local
4766 knconf = svp->sv_knconf; in sv_free()
4767 if (knconf != NULL) { in sv_free()
4768 if (knconf->knc_protofmly != NULL) in sv_free()
4770 if (knconf->knc_proto != NULL) in sv_free()
4772 kmem_free(knconf, sizeof (*knconf)); in sv_free()
4774 knconf = svp->sv_origknconf; in sv_free()
4775 if (knconf != NULL) { in sv_free()
4776 if (knconf->knc_protofmly != NULL) in sv_free()
4778 if (knconf->knc_proto != NULL) in sv_free()
[all …]
H A Dnfs4_stub_vnops.c1669 error = nfs4_ping_server_common(nfsfsloc.knconf, in nfs4_process_referral()
1680 knc = nfsfsloc.knconf; in nfs4_process_referral()
1774 svkncp = nfsfsloc.knconf; in nfs4_trigger_esi_create_referral()
1999 nargs->knconf = esi->esi_knconf; in nfs4_trigger_nargs_create()
H A Dnfs4_xdr.c241 if (!xdr_pointer(xdrs, (char **)&objp->knconf, in xdr_nfs_fsl_info()
/illumos-gate/usr/src/uts/common/nfs/
H A Dmount.h70 struct knetconfig *knconf; /* transport netconfig struct */ member
106 caddr32_t knconf; /* transport netconfig struct */ member
H A Dnfs4.h67 struct knetconfig *knconf; member
/illumos-gate/usr/src/uts/common/os/
H A Dtlabel.c265 struct knetconfig *knconf; in getflabel_nfs() local
271 knconf = svp->sv_knconf; in getflabel_nfs()
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/cmd/mdb/common/modules/nfs/
H A Dnfs_clnt.c529 struct knetconfig knconf; in nfs_servinfo_dcmd() local
557 if (mdb_vread(&knconf, sizeof (knconf), in nfs_servinfo_dcmd()
563 mdb_printf("%u", knconf.knc_semantics); in nfs_servinfo_dcmd()
566 (uintptr_t)knconf.knc_protofmly) == -1) in nfs_servinfo_dcmd()
572 (uintptr_t)knconf.knc_proto) == -1) in nfs_servinfo_dcmd()
816 struct knetconfig knconf; in nfs4_servinfo_dcmd() local
844 if (mdb_vread(&knconf, sizeof (knconf), in nfs4_servinfo_dcmd()
850 mdb_printf("%u", knconf.knc_semantics); in nfs4_servinfo_dcmd()
853 (uintptr_t)knconf.knc_protofmly) == -1) in nfs4_servinfo_dcmd()
859 (uintptr_t)knconf.knc_proto) == -1) in nfs4_servinfo_dcmd()
H A Dnfs.c511 nfs_addr_by_conf(uintptr_t knconf, struct netbuf *addr, in nfs_addr_by_conf() argument
517 if (mdb_vread(&conf, sizeof (conf), knconf) == -1) { in nfs_addr_by_conf()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c163 fsl_retp->knconf = get_knconf(netconf); in get_nfs4ref_info()
164 if (fsl_retp->knconf == NULL) in get_nfs4ref_info()
181 free_knconf(fsl_retp->knconf); in free_nfs4ref_info()
H A Dnfs_sec.c855 nfs_clnt_secdata(seconfig_t *secp, char *hostname, struct knetconfig *knconf, in nfs_clnt_secdata() argument
922 dkdata->knconf = knconf; in nfs_clnt_secdata()
/illumos-gate/usr/src/uts/common/rpc/
H A Dauth.h100 struct knetconfig *knconf; /* knetconfig info that associated */ member
109 caddr32_t knconf; /* knetconfig info that associated */ member
H A Dclnt_rdma.c1330 rdma_reachable(int addr_type, struct netbuf *addr, struct knetconfig **knconf) in rdma_reachable() argument
1385 *knconf = knc; in rdma_reachable()
H A Dclnt.h383 struct knetconfig **knconf);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c1881 if (argp->knconf == NULL) { in nfsmount()
1935 free_knconf(argp->knconf); in nfsmount()
1999 free_knconf(argp->knconf); in nfsmount()
2073 free_knconf(argp->knconf); in nfsmount()
2140 free_knconf(argp->knconf); in nfsmount()
2395 free_knconf(argp->knconf); in nfsmount()
4175 if (argp->knconf) in free_nfs_args()
4176 free_knconf(argp->knconf); in free_nfs_args()
4209 if (dhk4->knconf->knc_proto) in free_nfs_args()
4211 if (dhk4->knconf) in free_nfs_args()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c827 if (argp->knconf) in mount_nfs()
828 free(argp->knconf); in mount_nfs()
1359 if (!(secdata = nfs_clnt_secdata(&nfs_sec, hostname, args->knconf, in make_secure()
2564 args->knconf = knconfp; in getaddr_nfs()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c1078 if (!xdr_pointer(xdrs, (char **)&objp->knconf, in xdr_nfs_fsl_info()