/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 168 struct knetconfig *knconf; in dh_k4_clnt_loadinfo() local 184 data->knconf = in dh_k4_clnt_loadinfo() 185 (struct knetconfig *)(uintptr_t)data32.knconf; in dh_k4_clnt_loadinfo() 224 knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in dh_k4_clnt_loadinfo() 229 if (copyin(data->knconf, &knconf32, in dh_k4_clnt_loadinfo() 231 kmem_free(knconf, sizeof (*knconf)); in dh_k4_clnt_loadinfo() 237 knconf->knc_semantics = knconf32.knc_semantics; in dh_k4_clnt_loadinfo() 238 knconf->knc_protofmly = in dh_k4_clnt_loadinfo() 240 knconf->knc_proto = in dh_k4_clnt_loadinfo() 242 knconf->knc_rdev = expldev(knconf32.knc_rdev); in dh_k4_clnt_loadinfo() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 208 if (nargs->knconf) { in nfs_free_args() 209 if (nargs->knconf->knc_protofmly) in nfs_free_args() 210 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs_free_args() 211 if (nargs->knconf->knc_proto) in nfs_free_args() 212 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs_free_args() 213 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs_free_args() 214 nargs->knconf = NULL; in nfs_free_args() 267 struct knetconfig *knconf; /* transport knetconfig structure */ in nfs_copyin() local 305 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in nfs_copyin() 307 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs_copyin() [all …]
|
H A D | nfs3_vfsops.c | 200 if (nargs->knconf) { in nfs3_free_args() 201 if (nargs->knconf->knc_protofmly) in nfs3_free_args() 202 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs3_free_args() 203 if (nargs->knconf->knc_proto) in nfs3_free_args() 204 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs3_free_args() 205 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs3_free_args() 206 nargs->knconf = NULL; in nfs3_free_args() 259 struct knetconfig *knconf; /* transport knetconfig structure */ in nfs3_copyin() local 295 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in nfs3_copyin() 297 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs3_copyin() [all …]
|
H A D | nfs4_vfsops.c | 265 struct knetconfig *knconf) in create_authdh_data() argument 288 data->knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in create_authdh_data() 289 *data->knconf = *knconf; in create_authdh_data() 292 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in create_authdh_data() 293 bcopy(knconf->knc_proto, p, KNC_STRSIZE); in create_authdh_data() 294 data->knconf->knc_protofmly = pf; in create_authdh_data() 295 data->knconf->knc_proto = p; in create_authdh_data() 328 fdata->netnamelen, &fdata->syncaddr, fdata->knconf); in copy_sec_data() 413 if (nargs->knconf) { in nfs4_free_args() 414 if (nargs->knconf->knc_protofmly) in nfs4_free_args() [all …]
|
H A D | nfs_dlinet.c | 322 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() 383 (void) strcpy(args->knconf->knc_protofmly, dl_cf->knc_protofmly); 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() 602 stat = mycallrpc(knconf, call_addr, prog, vers, NULLPROC, in ping_prog() [all …]
|
H A D | nfs4_subr.c | 2270 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() 2288 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv4_free() 2289 if (knconf->knc_proto != NULL) in sv4_free() 2290 kmem_free(knconf->knc_proto, KNC_STRSIZE); 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() [all …]
|
H A D | nfs_common.c | 401 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 D | nfs_subr.c | 4758 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() 4769 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free() 4770 if (knconf->knc_proto != NULL) in sv_free() 4771 kmem_free(knconf->knc_proto, KNC_STRSIZE); 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() [all …]
|
H A D | nfs4_stub_vnops.c | 1669 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 D | nfs4_xdr.c | 241 if (!xdr_pointer(xdrs, (char **)&objp->knconf, in xdr_nfs_fsl_info()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | mount.h | 70 struct knetconfig *knconf; /* transport netconfig struct */ member 106 caddr32_t knconf; /* transport netconfig struct */ member
|
H A D | nfs4.h | 67 struct knetconfig *knconf; member
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | tlabel.c | 265 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 D | nfs_clnt.c | 529 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 D | nfs.c | 511 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 D | nfs_resolve.c | 163 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 D | nfs_sec.c | 855 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 D | auth.h | 100 struct knetconfig *knconf; /* knetconfig info that associated */ member 109 caddr32_t knconf; /* knetconfig info that associated */ member
|
H A D | clnt_rdma.c | 1330 rdma_reachable(int addr_type, struct netbuf *addr, struct knetconfig **knconf) in rdma_reachable() argument 1385 *knconf = knc; in rdma_reachable()
|
H A D | clnt.h | 383 struct knetconfig **knconf);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 1880 argp->knconf = get_knconf(nconf); in nfsmount() 1881 if (argp->knconf == NULL) { in nfsmount() 1935 free_knconf(argp->knconf); in nfsmount() 1999 free_knconf(argp->knconf); in nfsmount() 2059 if (!(secdata = nfs_clnt_secdata(&nfs_sec, host, 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() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 827 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 D | nfsmapid_server.c | 1078 if (!xdr_pointer(xdrs, (char **)&objp->knconf, in xdr_nfs_fsl_info()
|