/titanic_41/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 …]
|
/titanic_41/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 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 D | nfs_dlinet.c | 320 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 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 | 4757 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 D | nfs4_stub_vnops.c | 1664 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 D | mount.c | 75 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 D | mount.h | 70 struct knetconfig *knconf; /* transport netconfig struct */ member 106 caddr32_t knconf; /* transport netconfig struct */ member
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 112 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 D | netaddrs.c | 218 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 D | llib-lrdc | 45 int convert_nconf_to_knconf(struct netconfig *nconf, struct knetconfig *knconf);
|
H A D | rdcconfig.c | 67 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 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()
|
/titanic_41/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 | 862 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 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.h | 383 struct knetconfig **knconf);
|
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()
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 1940 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 D | mount_nfs.c | 351 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 D | rdc_io.c | 6015 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 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()
|