/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_subr.c | 168 nvp->ri_knconf->knc_protofmly = kmem_zalloc(KNC_STRSIZE + 1, KM_SLEEP); in rdc_create_svinfo() 169 nvp->ri_knconf->knc_proto = kmem_zalloc(KNC_STRSIZE + 1, KM_SLEEP); in rdc_create_svinfo() 179 KNC_STRSIZE); in rdc_create_svinfo() 180 (void) strncpy(nvp->ri_knconf->knc_proto, conf->knc_proto, KNC_STRSIZE); in rdc_create_svinfo() 202 kmem_free(svp->ri_knconf->knc_protofmly, KNC_STRSIZE + 1); in rdc_destroy_svinfo() 205 kmem_free(svp->ri_knconf->knc_proto, KNC_STRSIZE + 1); in rdc_destroy_svinfo()
|
H A D | rdc_io.c | 6110 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in _rdc_config() 6111 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in _rdc_config() 6112 rc = ddi_copyin(knconf->knc_protofmly, pf, KNC_STRSIZE, mode); in _rdc_config() 6120 rc = ddi_copyin(knconf->knc_proto, p, KNC_STRSIZE, mode); in _rdc_config() 6281 kmem_free(pf, KNC_STRSIZE); in _rdc_config() 6283 kmem_free(p, KNC_STRSIZE); in _rdc_config()
|
/titanic_41/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 259 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in dh_k4_clnt_loadinfo() 260 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in dh_k4_clnt_loadinfo() 262 KNC_STRSIZE, &nmoved_tmp); in dh_k4_clnt_loadinfo() 264 kmem_free(pf, KNC_STRSIZE); in dh_k4_clnt_loadinfo() 265 kmem_free(p, KNC_STRSIZE); in dh_k4_clnt_loadinfo() 273 p, KNC_STRSIZE, &nmoved_tmp); in dh_k4_clnt_loadinfo() 275 kmem_free(pf, KNC_STRSIZE); in dh_k4_clnt_loadinfo() 276 kmem_free(p, KNC_STRSIZE); in dh_k4_clnt_loadinfo() 316 kmem_free(data->knconf->knc_protofmly, KNC_STRSIZE); in dh_k4_clnt_freeinfo() 317 kmem_free(data->knconf->knc_proto, KNC_STRSIZE); in dh_k4_clnt_freeinfo()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 210 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs_free_args() 212 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs_free_args() 322 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs_copyin() 323 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs_copyin() 324 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs_copyin() 326 kmem_free(pf, KNC_STRSIZE); in nfs_copyin() 327 kmem_free(p, KNC_STRSIZE); in nfs_copyin() 332 error = copyinstr(knconf->knc_proto, p, KNC_STRSIZE, NULL); in nfs_copyin() 334 kmem_free(pf, KNC_STRSIZE); in nfs_copyin() 335 kmem_free(p, KNC_STRSIZE); in nfs_copyin() [all …]
|
H A D | nfs3_vfsops.c | 202 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs3_free_args() 204 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs3_free_args() 312 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs3_copyin() 313 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs3_copyin() 314 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs3_copyin() 316 kmem_free(pf, KNC_STRSIZE); in nfs3_copyin() 317 kmem_free(p, KNC_STRSIZE); in nfs3_copyin() 322 error = copyinstr(knconf->knc_proto, p, KNC_STRSIZE, NULL); in nfs3_copyin() 324 kmem_free(pf, KNC_STRSIZE); in nfs3_copyin() 325 kmem_free(p, KNC_STRSIZE); in nfs3_copyin() [all …]
|
H A D | nfs4_vfsops.c | 289 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in create_authdh_data() 290 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); 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() 414 KNC_STRSIZE); in nfs4_free_args() 416 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs4_free_args() 529 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs4_copyin() 530 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs4_copyin() 531 error = copyinstr(knconf->knc_protofmly, pf, KNC_STRSIZE, NULL); in nfs4_copyin() 533 kmem_free(pf, KNC_STRSIZE); in nfs4_copyin() [all …]
|
H A D | nfs4_callback.c | 145 char netid[KNC_STRSIZE]; 146 char uaddr[KNC_STRSIZE]; 147 char protofmly[KNC_STRSIZE]; 148 char proto[KNC_STRSIZE]; 957 char buf[KNC_STRSIZE], uaddr[KNC_STRSIZE]; in nfs4_svc() 958 char protofmly[KNC_STRSIZE], proto[KNC_STRSIZE]; in nfs4_svc() 990 KNC_STRSIZE, &len); in nfs4_svc()
|
H A D | nfs_common.c | 392 svp->sv_knconf->knc_protofmly = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfsdyn_mountroot() 393 svp->sv_knconf->knc_proto = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfsdyn_mountroot()
|
H A D | nfs4_stub_vnops.c | 1175 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1178 sikncp->knc_proto = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1771 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_referral() 1773 (char *)svkncp->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral() 1774 sikncp->knc_proto = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_referral() 1776 KNC_STRSIZE); in nfs4_trigger_esi_create_referral() 1820 kmem_free(esi->esi_knconf->knc_protofmly, KNC_STRSIZE); in nfs4_trigger_esi_create_referral() 1821 kmem_free(esi->esi_knconf->knc_proto, KNC_STRSIZE); in nfs4_trigger_esi_create_referral()
|
H A D | nfs4_subr.c | 2288 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv4_free() 2290 kmem_free(knconf->knc_proto, KNC_STRSIZE); in sv4_free() 2296 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv4_free() 2298 kmem_free(knconf->knc_proto, KNC_STRSIZE); in sv4_free()
|
H A D | nfs_subr.c | 4768 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free() 4770 kmem_free(knconf->knc_proto, KNC_STRSIZE); in sv_free() 4776 kmem_free(knconf->knc_protofmly, KNC_STRSIZE); in sv_free() 4778 kmem_free(knconf->knc_proto, KNC_STRSIZE); in sv_free()
|
H A D | nfs_server.c | 426 char buf[KNC_STRSIZE]; in nfs_svc() 452 KNC_STRSIZE, &len); in nfs_svc()
|
H A D | nfs4_xdr.c | 215 objp->knc_proto = objp->knc_protofmly + KNC_STRSIZE; in xdr_knetconfig() 217 if (!xdr_opaque(xdrs, objp->knc_protofmly, KNC_STRSIZE)) in xdr_knetconfig() 219 if (!xdr_opaque(xdrs, objp->knc_proto, KNC_STRSIZE)) in xdr_knetconfig()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 92 k->knc_protofmly = malloc(KNC_STRSIZE); in get_knconf() 95 bzero(k->knc_protofmly, KNC_STRSIZE); in get_knconf() 101 k->knc_proto = malloc(KNC_STRSIZE); in get_knconf() 104 bzero(k->knc_proto, KNC_STRSIZE); in get_knconf() 167 (KNC_STRSIZE * 2)); in get_nfs4ref_info()
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | rdma_subr.c | 101 KNC_STRSIZE) == 0) { in rdma_register_mod() 121 m->r_mod->rdma_api = kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in rdma_register_mod() 122 (void) strncpy(m->r_mod->rdma_api, mod->rdma_api, KNC_STRSIZE); in rdma_register_mod() 123 m->r_mod->rdma_api[KNC_STRSIZE - 1] = '\0'; in rdma_register_mod() 157 KNC_STRSIZE) != 0) { in rdma_unregister_mod()
|
H A D | clnt_rdma.c | 1371 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in rdma_reachable() 1372 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in rdma_reachable() 1374 (void) strncpy(pf, NC_INET, KNC_STRSIZE); in rdma_reachable() 1376 (void) strncpy(pf, NC_INET6, KNC_STRSIZE); in rdma_reachable() 1377 pf[KNC_STRSIZE - 1] = '\0'; in rdma_reachable() 1379 (void) strncpy(p, rp->r_mod->rdma_api, KNC_STRSIZE); in rdma_reachable() 1380 p[KNC_STRSIZE - 1] = '\0'; in rdma_reachable()
|
H A D | clnt.h | 206 #define KNC_STRSIZE 128 /* maximum length of knetconfig strings */ macro
|
H A D | clnt_clts.c | 103 char e_protofmly[KNC_STRSIZE]; /* protocol family */ 1248 (void) strncpy(etype->e_protofmly, config->knc_protofmly, KNC_STRSIZE); in endpnt_type_create()
|
/titanic_41/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 215 if (strlcpy(mrp->nml_proto, mik.mik_proto, KNC_STRSIZE) in load_kstat_data() 216 >= KNC_STRSIZE) { in load_kstat_data()
|
H A D | libfsmgt.h | 109 char nml_proto[KNC_STRSIZE]; /* transfer protocol */
|
/titanic_41/usr/src/uts/common/avs/ns/ |
H A D | contract.h | 293 #define KNC_STRSIZE 128 macro
|
/titanic_41/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() 976 if (!xdr_opaque(xdrs, objp->knc_proto, KNC_STRSIZE)) in xdr_knetconfig()
|
/titanic_41/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 479 char mik_proto[KNC_STRSIZE];
|