Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c168 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 …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c208 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 Dnfs3_vfsops.c200 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 Dnfs4_vfsops.c265 struct knetconfig *knconf) { in create_authdh_data() argument
287 data->knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in create_authdh_data()
288 *data->knconf = *knconf; in create_authdh_data()
291 bcopy(knconf->knc_protofmly, pf, KNC_STRSIZE); in create_authdh_data()
292 bcopy(knconf->knc_proto, p, KNC_STRSIZE); in create_authdh_data()
293 data->knconf->knc_protofmly = pf; in create_authdh_data()
294 data->knconf->knc_proto = p; in create_authdh_data()
326 fdata->netnamelen, &fdata->syncaddr, fdata->knconf); in copy_sec_data()
411 if (nargs->knconf) { in nfs4_free_args()
412 if (nargs->knconf->knc_protofmly) in nfs4_free_args()
[all …]
H A Dnfs_dlinet.c320 ASSERT(args->knconf->knc_protofmly != NULL); in mount_root()
321 ASSERT(args->knconf->knc_proto != NULL); in mount_root()
379 args->knconf->knc_semantics = dl_cf->knc_semantics; in mount_root()
380 args->knconf->knc_rdev = dl_cf->knc_rdev; in mount_root()
381 (void) strcpy(args->knconf->knc_protofmly, dl_cf->knc_protofmly); in mount_root()
382 (void) strcpy(args->knconf->knc_proto, dl_cf->knc_proto); in mount_root()
584 struct knetconfig *knconf; in ping_prog() local
590 knconf = &dl_tcp_netconf; in ping_prog()
593 knconf = &dl_udp_netconf; in ping_prog()
600 stat = mycallrpc(knconf, call_addr, prog, vers, NULLPROC, in ping_prog()
[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()
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 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.c4757 struct knetconfig *knconf; in sv_free() local
4765 knconf = svp->sv_knconf; in sv_free()
4766 if (knconf != NULL) { in sv_free()
4767 if (knconf->knc_protofmly != NULL) in sv_free()
4768 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free()
4769 if (knconf->knc_proto != NULL) in sv_free()
4770 kmem_free(knconf->knc_proto, KNC_STRSIZE); in sv_free()
4771 kmem_free(knconf, sizeof (*knconf)); in sv_free()
4773 knconf = svp->sv_origknconf; in sv_free()
4774 if (knconf != NULL) { in sv_free()
[all …]
H A Dnfs4_stub_vnops.c1664 error = nfs4_ping_server_common(nfsfsloc.knconf, in nfs4_process_referral()
1675 knc = nfsfsloc.knconf; in nfs4_process_referral()
1769 svkncp = nfsfsloc.knconf; in nfs4_trigger_esi_create_referral()
1994 nargs->knconf = esi->esi_knconf; in nfs4_trigger_nargs_create()
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c75 struct knetconfig *knconf; member
132 if ((na->knconf = in mount()
160 free(na->knconf); in mount()
/titanic_41/usr/src/uts/common/nfs/
H A Dmount.h70 struct knetconfig *knconf; /* transport netconfig struct */ member
106 caddr32_t knconf; /* transport netconfig struct */ member
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrboot.c112 struct knetconfig knconf; variable
396 (void) convert_nconf_to_knconf(conf, &knconf);
398 (void) printf("knconf %x %s %s %x\n", knconf.knc_semantics,
399 knconf.knc_protofmly, knconf.knc_proto, knconf.knc_rdev);
401 parms.rdc_set->netconfig = &knconf;
/titanic_41/usr/src/lib/librdc/common/
H A Dnetaddrs.c218 convert_nconf_to_knconf(struct netconfig *nconf, struct knetconfig *knconf) in convert_nconf_to_knconf() argument
232 knconf->knc_semantics = nconf->nc_semantics; in convert_nconf_to_knconf()
233 knconf->knc_protofmly = nconf->nc_protofmly; in convert_nconf_to_knconf()
234 knconf->knc_proto = nconf->nc_proto; in convert_nconf_to_knconf()
235 knconf->knc_rdev = sb.st_rdev; in convert_nconf_to_knconf()
H A Dllib-lrdc45 int convert_nconf_to_knconf(struct netconfig *nconf, struct knetconfig *knconf);
H A Drdcconfig.c67 struct knetconfig knconf; variable
288 convert_nconf_to_knconf(conf, &knconf); in populate_addrs()
289 urdc->netconfig = &knconf; in populate_addrs()
/titanic_41/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()
/titanic_41/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.c862 nfs_clnt_secdata(seconfig_t *secp, char *hostname, struct knetconfig *knconf, in nfs_clnt_secdata() argument
929 dkdata->knconf = knconf; in nfs_clnt_secdata()
/titanic_41/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.h383 struct knetconfig **knconf);
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()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c1940 argp->knconf = get_knconf(nconf); in nfsmount()
1941 if (argp->knconf == NULL) { in nfsmount()
1995 free_knconf(argp->knconf); in nfsmount()
2059 free_knconf(argp->knconf); in nfsmount()
2119 if (!(secdata = nfs_clnt_secdata(&nfs_sec, host, argp->knconf, in nfsmount()
2133 free_knconf(argp->knconf); in nfsmount()
2200 free_knconf(argp->knconf); in nfsmount()
2455 free_knconf(argp->knconf); in nfsmount()
4262 if (argp->knconf) in free_nfs_args()
4263 free_knconf(argp->knconf); in free_nfs_args()
[all …]
/titanic_41/usr/src/cmd/rexd/
H A Dmount_nfs.c351 args.knconf = get_knconf(nconf); in mount_nfs()
352 if (args.knconf == NULL) { in mount_nfs()
371 free_knconf(args.knconf); in mount_nfs()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_io.c6015 struct knetconfig *knconf; in _rdc_config() local
6034 knconf = NULL; in _rdc_config()
6083 knconf = kmem_zalloc(sizeof (*knconf), KM_SLEEP); in _rdc_config()
6091 kmem_free(knconf, sizeof (*knconf)); in _rdc_config()
6095 knconf->knc_semantics = STRUCT_FGET(knconf_tmp, knc_semantics); in _rdc_config()
6096 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in _rdc_config()
6097 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in _rdc_config()
6101 knconf->knc_rdev = in _rdc_config()
6105 knconf->knc_rdev = STRUCT_FGET(knconf_tmp, knc_rdev); in _rdc_config()
6112 rc = ddi_copyin(knconf->knc_protofmly, pf, KNC_STRSIZE, mode); in _rdc_config()
[all …]
/titanic_41/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()

12