Home
last modified time | relevance | path

Searched refs:kmem_alloc (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/titanic_50/usr/src/uts/common/crypto/core/
H A Dkcf_prov_tabs.c228 dst->co_control_ops = kmem_alloc(sizeof (crypto_control_ops_t), in allocate_ops_v1()
232 dst->co_digest_ops = kmem_alloc(sizeof (crypto_digest_ops_t), in allocate_ops_v1()
236 dst->co_cipher_ops = kmem_alloc(sizeof (crypto_cipher_ops_t), in allocate_ops_v1()
240 dst->co_mac_ops = kmem_alloc(sizeof (crypto_mac_ops_t), in allocate_ops_v1()
244 dst->co_sign_ops = kmem_alloc(sizeof (crypto_sign_ops_t), in allocate_ops_v1()
248 dst->co_verify_ops = kmem_alloc(sizeof (crypto_verify_ops_t), in allocate_ops_v1()
252 dst->co_dual_ops = kmem_alloc(sizeof (crypto_dual_ops_t), in allocate_ops_v1()
256 dst->co_dual_cipher_mac_ops = kmem_alloc( in allocate_ops_v1()
260 dst->co_random_ops = kmem_alloc( in allocate_ops_v1()
273 dst->co_session_ops = kmem_alloc(sizeof (crypto_session_ops_t), in allocate_ops_v1()
[all …]
H A Dkcf_cryptoadm.c195 mechsp = kmem_alloc(alloc_size, KM_SLEEP); in kcf_soft_config_init()
320 p = kmem_alloc(new_count * sizeof (crypto_dev_list_entry_t), KM_SLEEP); in crypto_get_dev_list()
367 namep = names = kmem_alloc(n, KM_SLEEP); in crypto_get_soft_list()
395 final_buffer = kmem_alloc(final_size, KM_SLEEP); in crypto_get_soft_list()
465 mech_names = kmem_alloc(max_count * sizeof (crypto_mech_name_t), in crypto_get_dev_info()
485 kmem_alloc(k * sizeof (crypto_mech_name_t), KM_SLEEP); in crypto_get_dev_info()
520 tmp = kmem_alloc(name_len + 8, KM_SLEEP); in crypto_get_soft_info()
853 mech_names = kmem_alloc(n * sizeof (crypto_mech_name_t), kmflag); in dup_mech_names()
996 mech_names = kmem_alloc((scnt - dcnt) * sizeof (crypto_mech_name_t), in crypto_build_permitted_mech_names()
1060 new_entry->ce_name = kmem_alloc(name_len, KM_SLEEP); in add_soft_config()
[all …]
/titanic_50/usr/src/common/crypto/ecc/
H A Decl_curve.c71 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag); in ECCurveParams_dup()
81 ret->irr = kmem_alloc(strlen(params->irr) + 1, kmflag); in ECCurveParams_dup()
89 ret->curvea = kmem_alloc(strlen(params->curvea) + 1, kmflag); in ECCurveParams_dup()
97 ret->curveb = kmem_alloc(strlen(params->curveb) + 1, kmflag); in ECCurveParams_dup()
105 ret->genx = kmem_alloc(strlen(params->genx) + 1, kmflag); in ECCurveParams_dup()
113 ret->geny = kmem_alloc(strlen(params->geny) + 1, kmflag); in ECCurveParams_dup()
121 ret->order = kmem_alloc(strlen(params->order) + 1, kmflag); in ECCurveParams_dup()
/titanic_50/usr/src/uts/common/os/
H A Ddacf_clnt.c94 dev_path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_match_create_minor()
96 pa_rsrv = kmem_alloc(sizeof (dacf_rsrvlist_t), KM_SLEEP); in dacfc_match_create_minor()
97 pd_rsrv = kmem_alloc(sizeof (dacf_rsrvlist_t), KM_SLEEP); in dacfc_match_create_minor()
103 drv_mname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_match_create_minor()
248 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_postattach()
302 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_predetach()
313 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_predetach()
H A Ddacf.c372 rule = kmem_alloc(sizeof (dacf_rule_t), KM_SLEEP); in dacf_rule_ctor()
377 rule->r_devspec_data = kmem_alloc(strlen(device_spec) + 1, KM_SLEEP); in dacf_rule_ctor()
388 rule->r_module = kmem_alloc(strlen(module) + 1, KM_SLEEP); in dacf_rule_ctor()
391 rule->r_opset = kmem_alloc(strlen(opset) + 1, KM_SLEEP); in dacf_rule_ctor()
611 arg = kmem_alloc(sizeof (dacf_arg_t), KM_SLEEP); in dacf_arg_insert()
612 arg->arg_name = kmem_alloc(strlen(name) + 1, KM_SLEEP); in dacf_arg_insert()
614 arg->arg_val = kmem_alloc(strlen(val) + 1, KM_SLEEP); in dacf_arg_insert()
731 str = kmem_alloc(strlen(mod_name) + 1, KM_SLEEP); in dacf_module_register()
876 dst->opset_name = kmem_alloc(strlen(src->opset_name) + 1, KM_SLEEP); in dacf_opset_copy()
890 dst->opset_ops = kmem_alloc(sizeof (dacf_op_t) * (nelems + 1), in dacf_opset_copy()
/titanic_50/usr/src/uts/common/kiconv/kiconv_emea/
H A Dkiconv_emea.c111 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_720()
123 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_737()
135 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_852()
147 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_857()
159 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_862()
171 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_866()
183 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_1250()
195 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_1251()
207 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_1253()
219 s = (kiconv_state_t)kmem_alloc(sizeof (kiconv_state_data_t), KM_SLEEP); in open_to_1254()
[all …]
/titanic_50/usr/src/psm/stand/boot/common/
H A Dreadfile.c151 extern void *kmem_alloc(size_t, int);
368 allphdrs = (caddr_t)kmem_alloc(phdrsize, 0); in read_elf32()
393 if ((note_buf = kmem_alloc(phdr->p_filesz, 0)) == NULL) in read_elf32()
472 kmem_alloc(phdr->p_memsz, 0)) == NULL) in read_elf32()
650 if ((elfbootvec = (Elf32_Boot *)kmem_alloc(vsize, 0)) == NULL) in read_elf32()
662 (Elf32_Addr)(uintptr_t)kmem_alloc(size, 0)) == NULL) { in read_elf32()
675 if ((elfbootvecELF32_64 = (Elf32_Boot *)kmem_alloc(vsize, 0)) in read_elf32()
683 (Elf32_Addr)(uintptr_t)kmem_alloc(size, 0)) == NULL) { in read_elf32()
767 allphdrs = (caddr_t)kmem_alloc(phdrsize, 0); in read_elf64()
793 if ((note_buf = kmem_alloc(phdr->p_filesz, 0)) == NULL) in read_elf64()
[all …]
/titanic_50/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c112 data = kmem_alloc(sizeof (*data), KM_SLEEP); in gss_clnt_loadinfo()
138 elements = kmem_alloc(data->mechanism.length, KM_SLEEP); in gss_clnt_loadinfo()
171 data = kmem_alloc(sizeof (*data), KM_SLEEP); in dh_k4_clnt_loadinfo()
200 syncaddr->buf = kmem_alloc(syncaddr->len, KM_SLEEP); in dh_k4_clnt_loadinfo()
211 kmem_alloc(nlen, KM_SLEEP); in dh_k4_clnt_loadinfo()
224 knconf = kmem_alloc(sizeof (*knconf), KM_SLEEP); in dh_k4_clnt_loadinfo()
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()
335 secdata = kmem_alloc(sizeof (*secdata), KM_SLEEP); in sec_clnt_loadinfo()
728 mech = kmem_alloc(sizeof (rpc_gss_OID_desc), KM_SLEEP); in sec_clnt_revoke()
[all …]
H A Dsec_svc.c248 oroots = kmem_alloc(oallocsz, KM_SLEEP); in sec_svc_loadrootnames()
277 roots[i] = kmem_alloc(len, KM_SLEEP); in sec_svc_loadrootnames()
285 roots = kmem_alloc(allocsz, KM_SLEEP); in sec_svc_loadrootnames()
286 oroots = kmem_alloc(oallocsz, KM_SLEEP); in sec_svc_loadrootnames()
307 gssname = kmem_alloc(len, KM_SLEEP); in sec_svc_loadrootnames()
/titanic_50/usr/src/lib/libbc/inc/include/rpc/
H A Dtypes.h57 extern char *kmem_alloc();
58 #define mem_alloc(bsize) kmem_alloc((u_int)bsize)
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c225 if (!(entry = (emlxs_event_entry_t *)kmem_alloc( in emlxs_event()
368 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_rscn_event()
409 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_vportrscn_event()
489 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_ct_event()
554 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_link_event()
674 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_dump_event()
713 if (!(bp = (uint32_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_temp_event()
750 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_fcoe_event()
779 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_async_event()
1116 if (!(bp = (struct sd_plogi_rcv_v0 *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_sd_basic_els_event()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dpage.c64 page = kmem_alloc(PAGE_SIZE, gfp); in rdsv3_page_remainder_alloc()
77 page = kmem_alloc(bytes, KM_NOSLEEP); in rdsv3_page_remainder_alloc()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c322 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs_copyin()
323 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs_copyin()
348 pc = kmem_alloc(sizeof (*pc), KM_SLEEP); in nfs_copyin()
364 nargs->addr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP); in nfs_copyin()
367 addr.buf = kmem_alloc(addr.len, KM_SLEEP); in nfs_copyin()
422 syncaddr.buf = kmem_alloc(syncaddr.len, KM_SLEEP); in nfs_copyin()
430 nargs->syncaddr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP); in nfs_copyin()
535 args = kmem_alloc(sizeof (struct nfs_args), KM_SLEEP); in nfs_mount()
865 secdata = kmem_alloc(sizeof (*secdata), KM_SLEEP); in nfs_mount()
868 data = kmem_alloc(sizeof (*data), KM_SLEEP); in nfs_mount()
[all …]
H A Dnfs3_vfsops.c312 pf = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs3_copyin()
313 p = kmem_alloc(KNC_STRSIZE, KM_SLEEP); in nfs3_copyin()
345 nargs->addr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP); in nfs3_copyin()
348 addr.buf = kmem_alloc(addr.len, KM_SLEEP); in nfs3_copyin()
402 syncaddr.buf = kmem_alloc(syncaddr.len, KM_SLEEP); in nfs3_copyin()
410 nargs->syncaddr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP); in nfs3_copyin()
518 args = kmem_alloc(sizeof (struct nfs_args), KM_SLEEP); in nfs3_mount()
524 fhandle = kmem_alloc(sizeof (nfs_fhandle), KM_SLEEP); in nfs3_mount()
836 secdata = kmem_alloc(sizeof (*secdata), KM_SLEEP); in nfs3_mount()
839 data = kmem_alloc(sizeof (*data), KM_SLEEP); in nfs3_mount()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dsysevent.c222 chan_name = kmem_alloc(uargs.chan_name.len, KM_SLEEP); in sysevent_chan_open()
307 sid = kmem_alloc(uargs.sid.len, KM_SLEEP); in sysevent_subscribe()
320 class_info = kmem_alloc(uargs.class_info.len, KM_SLEEP); in sysevent_subscribe()
371 sid = kmem_alloc(uargs.sid.len, KM_SLEEP); in sysevent_unsubscribe()
401 buf = kmem_alloc(uargs.out_data.len, KM_SLEEP); in sysevent_channames()
437 channel = kmem_alloc(uargs.in_data.len, KM_SLEEP); in sysevent_chandata()
450 buf = kmem_alloc(uargs.out_data.len, KM_SLEEP); in sysevent_chandata()
499 buf = kmem_alloc(bufsz, KM_SLEEP); in sysevent_setpropnvl()
554 char *buf = kmem_alloc(reqsz, KM_SLEEP); in sysevent_getpropnvl()
/titanic_50/usr/src/uts/common/syscall/
H A Drctlsys.c242 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_get()
243 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP); in rctlsys_get()
320 oblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_get()
346 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_get()
415 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_set()
430 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_set()
448 oblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_set()
801 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_ctl()
810 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP); in rctlsys_ctl()
839 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP); in rctlsys_ctl()
[all …]
H A Dgetpagesizes.c57 pgsza = kmem_alloc(sizeof (*pgsza) * nelem, KM_SLEEP); in getpagesizes()
90 pgsza32 = kmem_alloc(sizeof (*pgsza32) * pagesizes, KM_SLEEP); in getpagesizes32()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_usr.c135 ioc = kmem_alloc(sizeof (*ioc), KM_SLEEP); in smb_usr_simplerq()
228 ioc = kmem_alloc(sizeof (*ioc), KM_SLEEP); in smb_usr_t2request()
253 t2p = kmem_alloc(sizeof (*t2p), KM_SLEEP); in smb_usr_t2request()
377 ioc = kmem_alloc(sizeof (*ioc), KM_SLEEP); in smb_usr_rw()
456 ioc = kmem_alloc(sizeof (*ioc), KM_SLEEP); in smb_usr_ntcreate()
524 ioc = kmem_alloc(sizeof (*ioc), KM_SLEEP); in smb_usr_printjob()
597 ossn = kmem_alloc(sizeof (*ossn), KM_SLEEP); in smb_usr_get_ssn()
736 tcon = kmem_alloc(sizeof (*tcon), KM_SLEEP); in smb_usr_get_tree()
872 vcp->vc_mackey = kmem_alloc(vcp->vc_mackeylen, KM_SLEEP); in smb_usr_iod_work()
/titanic_50/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c72 tmp = (gss_OID) kmem_alloc(sizeof (gss_OID_desc), KM_SLEEP); in __rpc_gss_dup_oid()
74 tmp->elements = kmem_alloc((oid->length), KM_SLEEP); in __rpc_gss_dup_oid()
136 (*principal) = (rpc_gss_principal_t)kmem_alloc(plen, KM_SLEEP);
/titanic_50/usr/src/uts/common/xen/io/
H A Dxenbus_client.c103 state = kmem_alloc(strlen(path) + 1 + strlen(path2) + 1, KM_SLEEP); in xenbus_watch_path2()
161 path_buffer = kmem_alloc(strlen("error/") + strlen(dev->nodename) + in error_path()
179 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP); in common_dev_error()
/titanic_50/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c466 fnip->fi_opts = kmem_alloc(len, KM_SLEEP); in auto_mount()
483 fnip->fi_map = kmem_alloc(len, KM_SLEEP); in auto_mount()
521 fnip->fi_addr.buf = kmem_alloc(args.addr.len, KM_SLEEP); in auto_mount()
543 fnip->fi_path = kmem_alloc(len, KM_SLEEP); in auto_mount()
560 fnip->fi_opts = kmem_alloc(len, KM_SLEEP); in auto_mount()
575 fnip->fi_map = kmem_alloc(len, KM_SLEEP); in auto_mount()
590 fnip->fi_subdir = kmem_alloc(len, KM_SLEEP); in auto_mount()
605 fnip->fi_key = kmem_alloc(len, KM_SLEEP); in auto_mount()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c133 packed = kmem_alloc(fuid_size, KM_SLEEP); in zfs_fuid_table_load()
151 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_table_load()
258 fuids = kmem_alloc(numnodes * sizeof (void *), KM_SLEEP); in zfs_fuid_sync()
274 packed = kmem_alloc(nvsize, KM_SLEEP); in zfs_fuid_sync()
343 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_find_by_domain()
456 fuid_domain = kmem_alloc(sizeof (zfs_fuid_domain_t), KM_SLEEP); in zfs_fuid_node_add()
470 fuid = kmem_alloc(sizeof (zfs_fuid_t), KM_SLEEP); in zfs_fuid_node_add()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dpersistent.c151 target_name = kmem_alloc(MAX_KEY_SIZE, KM_SLEEP); in persistent_init_static_addr_oids()
1208 name = (char *)kmem_alloc(ISCSI_MAX_NAME_LEN, KM_SLEEP); in persistent_dump_data()
1209 addr_buf = (char *)kmem_alloc(INET6_ADDRSTRLEN, KM_SLEEP); in persistent_dump_data()
1210 bitbuf = (char *)kmem_alloc(BITBUF_LEN, KM_SLEEP); in persistent_dump_data()
1230 radius = (iscsi_radius_props_t *)kmem_alloc(sizeof (*radius), in persistent_dump_data()
1246 entry = (entry_t *)kmem_alloc(sizeof (*entry), KM_SLEEP); in persistent_dump_data()
1301 param = (persistent_param_t *)kmem_alloc(sizeof (*param), KM_SLEEP); in persistent_dump_data()
1398 chap = (iscsi_chap_props_t *)kmem_alloc(sizeof (*chap), KM_SLEEP); in persistent_dump_data()
1410 auth = (iscsi_auth_props_t *)kmem_alloc(sizeof (*auth), KM_SLEEP); in persistent_dump_data()
/titanic_50/usr/src/uts/common/rpc/
H A Dmt_rpcinit.c73 ks_data = kmem_alloc(template_size, KM_SLEEP); in rpcstat_zone_init_common()
95 rpcstat = kmem_alloc(sizeof (*rpcstat), KM_SLEEP); in mt_kstat_zone_init()
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c211 vpath = kmem_alloc(len, KM_SLEEP); in vncache_enter()
217 vpath = kmem_alloc(len, KM_SLEEP); in vncache_enter()
260 vpath = kmem_alloc(len, KM_SLEEP); in vncache_renamed()

12345678910>>...37