/onnv-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_tabs.c | 228 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 D | kcf_cryptoadm.c | 195 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 …]
|
/onnv-gate/usr/src/common/crypto/ecc/ |
H A D | ecl_curve.c | 71 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()
|
/onnv-gate/usr/src/uts/common/os/ |
H A D | dacf_clnt.c | 94 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 D | dacf.c | 372 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()
|
/onnv-gate/usr/src/uts/common/kiconv/kiconv_emea/ |
H A D | kiconv_emea.c | 111 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 …]
|
/onnv-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 151 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 …]
|
/onnv-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_ioctl.c | 241 name = kmem_alloc(MAXPATHLEN, KM_SLEEP); in setnm_ioctl() 336 name = kmem_alloc(MAXPATHLEN, KM_SLEEP); in getnm_ioctl() 1008 did = kmem_alloc(nm->devid_size, KM_SLEEP); in getdid_ioctl() 1126 minorname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in getdidmin_ioctl() 1223 data = kmem_alloc(ur->ur_size, KM_SLEEP); in mddb_userreq_ioctl() 1784 d = kmem_alloc(sz, KM_SLEEP); in md_base_ioctl() 2056 d = kmem_alloc(sz, KM_SLEEP); in md_base_ioctl() 2082 d = kmem_alloc(sz, KM_SLEEP); in md_base_ioctl() 2116 d = kmem_alloc(sz, KM_SLEEP); in md_base_ioctl() 2143 d = kmem_alloc(sz, KM_SLEEP); in md_base_ioctl() [all …]
|
/onnv-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 112 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 D | sec_svc.c | 248 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()
|
/onnv-gate/usr/src/lib/libbc/inc/include/rpc/ |
H A D | types.h | 57 extern char *kmem_alloc(); 58 #define mem_alloc(bsize) kmem_alloc((u_int)bsize)
|
/onnv-gate/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 176 minors = kmem_alloc(sz, KM_SLEEP); in sp_setstatus() 177 recids = kmem_alloc((nunits + 1) * sizeof (mddb_recid_t), KM_SLEEP); in sp_setstatus() 257 watermarks = kmem_alloc(wsz, KM_SLEEP); in sp_update_watermarks() 260 offsets = kmem_alloc(osz, KM_SLEEP); in sp_update_watermarks() 307 bp = kmem_alloc(biosize(), KM_SLEEP); in sp_update_watermarks() 394 bp = kmem_alloc(biosize(), KM_SLEEP); in sp_read_watermark() 781 par = kmem_alloc(npar * sizeof (*par), KM_SLEEP); in sp_grow() 782 plock = kmem_alloc(npar * sizeof (*plock), KM_SLEEP); in sp_grow() 1051 d = kmem_alloc(sz, KM_SLEEP); in sp_admin_ioctl() 1070 d = kmem_alloc(sz, KM_SLEEP); in sp_admin_ioctl() [all …]
|
/onnv-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | page.c | 64 page = kmem_alloc(PAGE_SIZE, gfp); in rdsv3_page_remainder_alloc() 77 page = kmem_alloc(bytes, KM_NOSLEEP); in rdsv3_page_remainder_alloc()
|
/onnv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 269 if (!(entry = (emlxs_event_entry_t *)kmem_alloc( in emlxs_event() 410 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_rscn_event() 451 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_vportrscn_event() 495 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_ct_event() 560 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_link_event() 678 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_dump_event() 717 if (!(bp = (uint32_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_temp_event() 754 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_fcoe_event() 783 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_async_event() 1125 if (!(bp = (struct sd_plogi_rcv_v0 *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_sd_basic_els_event() [all …]
|
/onnv-gate/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 242 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_get() 243 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP); in rctlsys_get() 296 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_get() 321 oblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_get() 347 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_get() 416 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_set() 431 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_set() 449 oblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); in rctlsys_set() 802 kname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in rctlsys_ctl() 811 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP); in rctlsys_ctl() [all …]
|
H A D | getpagesizes.c | 57 pgsza = kmem_alloc(sizeof (*pgsza) * nelem, KM_SLEEP); in getpagesizes() 90 pgsza32 = kmem_alloc(sizeof (*pgsza32) * pagesizes, KM_SLEEP); in getpagesizes32()
|
/onnv-gate/usr/src/uts/common/io/ |
H A D | sysevent.c | 222 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()
|
/onnv-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 322 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 D | nfs3_vfsops.c | 312 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 …]
|
/onnv-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss_utils.c | 72 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);
|
/onnv-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_client.c | 103 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()
|
/onnv-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 470 fnip->fi_opts = kmem_alloc(len, KM_SLEEP); in auto_mount() 487 fnip->fi_map = kmem_alloc(len, KM_SLEEP); in auto_mount() 525 fnip->fi_addr.buf = kmem_alloc(args.addr.len, KM_SLEEP); in auto_mount() 547 fnip->fi_path = kmem_alloc(len, KM_SLEEP); in auto_mount() 564 fnip->fi_opts = kmem_alloc(len, KM_SLEEP); in auto_mount() 579 fnip->fi_map = kmem_alloc(len, KM_SLEEP); in auto_mount() 594 fnip->fi_subdir = kmem_alloc(len, KM_SLEEP); in auto_mount() 609 fnip->fi_key = kmem_alloc(len, KM_SLEEP); in auto_mount()
|
/onnv-gate/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 224 recids = kmem_alloc(num_recs * sizeof (mddb_recid_t), KM_SLEEP); in stripe_set() 446 par = kmem_alloc(npar * sizeof (*par), KM_SLEEP); in stripe_grow() 447 plock = kmem_alloc(npar * sizeof (*plock), KM_SLEEP); in stripe_grow() 536 recids = kmem_alloc(num_recs * sizeof (mddb_recid_t), KM_SLEEP); in stripe_grow() 919 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() 936 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() 953 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() 970 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() 987 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() 1004 d = kmem_alloc(sz, KM_SLEEP); in stripe_admin_ioctl() [all …]
|
/onnv-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 69 char *buf = kmem_alloc(len, KM_SLEEP); in vdev_disk_hold() 166 char *buf = kmem_alloc(len, KM_SLEEP); in vdev_disk_open() 250 physpath = kmem_alloc(MAXPATHLEN, KM_SLEEP); in vdev_disk_open() 426 zio->io_vsd = dkc = kmem_alloc(sizeof (*dkc), KM_SLEEP); in vdev_disk_io_start() 466 vdb = kmem_alloc(sizeof (vdev_disk_buf_t), KM_SLEEP); in vdev_disk_io_start() 569 label = kmem_alloc(sizeof (vdev_label_t), KM_SLEEP); in vdev_disk_read_rootlabel()
|
/onnv-gate/usr/src/uts/common/rpc/ |
H A D | mt_rpcinit.c | 73 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()
|