Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_subr.c168 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 Drdc_io.c6110 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 Dsec_clnt.c259 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 Dnfs_vfsops.c210 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 Dnfs3_vfsops.c202 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 Dnfs4_vfsops.c289 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 Dnfs4_callback.c145 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 Dnfs_common.c392 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 Dnfs4_stub_vnops.c1175 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 Dnfs4_subr.c2288 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 Dnfs_subr.c4768 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 Dnfs_server.c426 char buf[KNC_STRSIZE]; in nfs_svc()
452 KNC_STRSIZE, &len); in nfs_svc()
H A Dnfs4_xdr.c215 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 Dnfs_resolve.c92 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 Drdma_subr.c101 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 Dclnt_rdma.c1371 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 Dclnt.h206 #define KNC_STRSIZE 128 /* maximum length of knetconfig strings */ macro
H A Dclnt_clts.c103 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 Dnfs_mntinfo.c215 if (strlcpy(mrp->nml_proto, mik.mik_proto, KNC_STRSIZE) in load_kstat_data()
216 >= KNC_STRSIZE) { in load_kstat_data()
H A Dlibfsmgt.h109 char nml_proto[KNC_STRSIZE]; /* transfer protocol */
/titanic_41/usr/src/uts/common/avs/ns/
H A Dcontract.h293 #define KNC_STRSIZE 128 macro
/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c974 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 Dnfs_clnt.h479 char mik_proto[KNC_STRSIZE];