/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 91 p.bind = kmem_zalloc(sizeof (struct t_bind), KM_SLEEP); in t_kalloc() 98 p.call = kmem_zalloc(sizeof (struct t_call), KM_SLEEP); in t_kalloc() 112 p.opt = kmem_zalloc(sizeof (struct t_optmgmt), KM_SLEEP); in t_kalloc() 119 p.dis = kmem_zalloc(sizeof (struct t_discon), KM_SLEEP); in t_kalloc() 126 p.udata = kmem_zalloc(sizeof (struct t_kunitdata), KM_SLEEP); in t_kalloc() 149 p.uderr = kmem_zalloc(sizeof (struct t_uderr), KM_SLEEP); in t_kalloc() 158 p.info = kmem_zalloc(sizeof (struct t_info), KM_SLEEP); in t_kalloc() 173 buf->buf = kmem_zalloc(1024, KM_SLEEP); in _alloc_buf() 186 buf->buf = kmem_zalloc(n, KM_SLEEP); in _alloc_buf()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | ppm_plat.c | 211 domp = kmem_zalloc(sizeof (*domp), KM_SLEEP); in ppm_alloc_pstate_domains() 214 domp->name = kmem_zalloc(MAXNAMELEN, KM_SLEEP); in ppm_alloc_pstate_domains() 226 dbp = kmem_zalloc(sizeof (struct ppm_db), KM_SLEEP); in ppm_alloc_pstate_domains() 227 dbp->name = kmem_zalloc((strlen(path) + 1), in ppm_alloc_pstate_domains() 244 dbp = kmem_zalloc(sizeof (struct ppm_db), KM_SLEEP); in ppm_alloc_pstate_domains() 245 dbp->name = kmem_zalloc((strlen(path) + 1), in ppm_alloc_pstate_domains()
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_phy.c | 343 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 346 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 349 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 352 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 355 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 358 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 361 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 378 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf() 389 kmem_zalloc((sizeof (uint32_t) * in ath9k_hw_init_rf()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | alua_ic_if.c | 525 icrp = (stmf_ic_reg_port_msg_t *)kmem_zalloc(sizeof (*icrp), KM_SLEEP); in stmf_ic_reg_port_msg_alloc() 550 icdp = (stmf_ic_dereg_port_msg_t *)kmem_zalloc(sizeof (*icdp), in stmf_ic_dereg_port_msg_alloc() 618 kmem_zalloc(sizeof (*icrl), KM_SLEEP); in stmf_ic_reg_dereg_lun_msg_alloc() 648 icsc = (stmf_ic_scsi_cmd_msg_t *)kmem_zalloc(sizeof (*icsc), KM_SLEEP); in stmf_ic_scsi_cmd_msg_alloc() 670 (uint8_t *)kmem_zalloc(task->task_cdb_length, KM_SLEEP); in stmf_ic_scsi_cmd_msg_alloc() 698 icsd = (stmf_ic_scsi_data_msg_t *)kmem_zalloc(sizeof (*icsd), KM_SLEEP); in stmf_ic_scsi_data_msg_alloc() 721 icsx = (stmf_ic_scsi_data_xfer_done_msg_t *)kmem_zalloc( in stmf_ic_scsi_data_xfer_done_msg_alloc() 749 icss = (stmf_ic_scsi_status_msg_t *)kmem_zalloc(sizeof (*icss), in stmf_ic_scsi_status_msg_alloc() 778 icrt = (stmf_ic_r2t_msg_t *)kmem_zalloc(sizeof (*icrt), KM_SLEEP); in stmf_ic_r2t_msg_alloc() 799 ics = (stmf_ic_status_msg_t *)kmem_zalloc(sizeof (*ics), KM_SLEEP); in stmf_ic_status_msg_alloc() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | iscsi_boot.c | 156 (uchar_t *)kmem_zalloc(proplen + 1, KM_SLEEP); in iscsiboot_tgt_prop_read() 181 (uchar_t *)kmem_zalloc(proplen + 1, KM_SLEEP); in iscsiboot_tgt_prop_read() 191 (uchar_t *)kmem_zalloc(2, KM_SLEEP); in iscsiboot_tgt_prop_read() 229 (uchar_t *)kmem_zalloc(chap_user_len + 1, KM_SLEEP); in iscsiboot_tgt_prop_read() 235 (uchar_t *)kmem_zalloc(chap_pwd_len + 1, KM_SLEEP); in iscsiboot_tgt_prop_read() 256 (uchar_t *)kmem_zalloc(proplen + 1, KM_SLEEP); in iscsiboot_init_prop_read() 416 (uchar_t *)kmem_zalloc(boot_property.boot_init.ini_name_len, in generate_iscsi_initiator_id()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm_subr.c | 249 domdata.name = kmem_zalloc(strlen(PPM_DOMAIN_PROP) + 1, KM_SLEEP); in ppm_create_db() 260 domp = kmem_zalloc(sizeof (*domp), KM_SLEEP); in ppm_create_db() 261 domp->name = kmem_zalloc(strlen(*dom_namep) + 1, KM_SLEEP); in ppm_create_db() 288 modeldata.name = kmem_zalloc(plen, KM_SLEEP); in ppm_create_db() 318 propnamedata.name = kmem_zalloc(plen, KM_SLEEP); in ppm_create_db() 325 domp->propname = kmem_zalloc( in ppm_create_db() 337 devdata.name = kmem_zalloc(plen, KM_SLEEP); in ppm_create_db() 364 dcdata.name = kmem_zalloc(plen, KM_SLEEP); in ppm_create_db() 373 dc = kmem_zalloc(sizeof (*dc), KM_SLEEP); in ppm_create_db() 502 dbp = kmem_zalloc(sizeof (struct ppm_db), KM_SLEEP); in ppm_parse_pattern() [all …]
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_softc.c | 71 ss = kmem_zalloc(sizeof (*ss), KM_SLEEP); in ddi_soft_state_init() 83 ss->array = kmem_zalloc(ss->n_items * sizeof (void *), KM_SLEEP); in ddi_soft_state_init() 128 new_element = kmem_zalloc(ss->size, KM_SLEEP); in ddi_soft_state_zalloc() 160 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_register.c | 422 usb_reg = kmem_zalloc(sizeof (usb_client_dev_data_t), KM_SLEEP); in usb_get_dev_data() 438 tmpbuf = (char *)kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usb_get_dev_data() 441 usb_reg->dev_mfg = kmem_zalloc( in usb_get_dev_data() 447 usb_reg->dev_product = kmem_zalloc( in usb_get_dev_data() 455 usb_reg->dev_serial = kmem_zalloc( in usb_get_dev_data() 516 usb_client_dev_data_list_t *entry = kmem_zalloc( in usb_get_dev_data() 698 usb_reg->dev_cfg = state.st_dev_cfg = kmem_zalloc( in usba_build_descr_tree() 907 curr_cfg->cfg_str = kmem_zalloc(curr_cfg->cfg_strsize, in usba_process_cfg_descr() 913 curr_cfg->cfg_if = kmem_zalloc((curr_cfg->cfg_n_if * in usba_process_cfg_descr() 960 new_if_descr = kmem_zalloc(sizeof (usb_if_descr_t), KM_SLEEP); in usba_process_if_descr() [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 258 *fctio = kmem_zalloc(sizeof (fctio_t), KM_SLEEP); in fct_copyin_iocdata() 265 *ibuf = kmem_zalloc((*fctio)->fctio_ilen, KM_SLEEP); in fct_copyin_iocdata() 273 *abuf = kmem_zalloc((*fctio)->fctio_alen, KM_SLEEP); in fct_copyin_iocdata() 281 *obuf = kmem_zalloc((*fctio)->fctio_olen, KM_SLEEP); in fct_copyin_iocdata() 370 attr = (fct_port_attrs_t *)kmem_zalloc(sizeof (fct_port_attrs_t), in fct_get_adapter_attr() 432 attr = (fct_port_attrs_t *)kmem_zalloc(sizeof (fct_port_attrs_t), in fct_get_adapter_port_attr() 1041 sh = (__fct_t *)kmem_zalloc(fct_size, kmem_flag); in fct_alloc() 1175 (char *)kmem_zalloc(l+1, KM_SLEEP); in fct_register_local_port() 1195 iport->iport_rp_slots = (fct_i_remote_port_t **)kmem_zalloc( in fct_register_local_port() 1197 iport->iport_rp_tb = kmem_zalloc(rportid_table_size * in fct_register_local_port() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam_frame.c | 223 new_ixl_cmdp = kmem_zalloc( in dcam_frame_rcv_init() 233 new_ixl_sswp = kmem_zalloc( in dcam_frame_rcv_init() 270 kmem_zalloc( in dcam_frame_rcv_init() 298 kmem_zalloc(sizeof (ixl1394_xfer_buf_t), in dcam_frame_rcv_init() 329 new_ixl_cbp = kmem_zalloc( in dcam_frame_rcv_init() 345 new_ixl_jmpp = kmem_zalloc(sizeof (ixl1394_jump_t), KM_SLEEP); in dcam_frame_rcv_init()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 782 net = kmem_zalloc(sizeof (*net), KM_SLEEP); in nfs4_trigger_mount() 914 hostlist = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in nfs4_trigger_domount_args_create() 1049 dma = kmem_zalloc(sizeof (domount_args_t), KM_SLEEP); in nfs4_trigger_domount_args_create() 1142 esi = kmem_zalloc(sizeof (ephemeral_servinfo_t), KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1166 esi->esi_hostname = kmem_zalloc(strlen(svp->sv_hostname) + 1, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1169 esi->esi_addr = kmem_zalloc(sizeof (struct netbuf), KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1173 bufp->buf = kmem_zalloc(bufp->len, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1176 esi->esi_knconf = kmem_zalloc(sizeof (*esi->esi_knconf), KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1180 sikncp->knc_protofmly = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() 1183 sikncp->knc_proto = (caddr_t)kmem_zalloc(KNC_STRSIZE, KM_SLEEP); in nfs4_trigger_esi_create_mirrormount() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.c | 56 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_set_mode() 59 rsp_buf = (menlo_rsp_t *)kmem_zalloc(rsp_size, KM_SLEEP); in emlxs_menlo_set_mode() 120 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_reset() 123 rsp_buf = (menlo_rsp_t *)kmem_zalloc(rsp_size, KM_SLEEP); in emlxs_menlo_reset() 182 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_get_cfg() 241 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_get_logcfg() 298 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_get_log() 354 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_get_paniclog() 526 (uint8_t *)kmem_zalloc(fp->size, KM_SLEEP); in emlxs_fopen() 740 (MAILBOXQ *)kmem_zalloc(sizeof (MAILBOXQ), KM_SLEEP); in emlxs_read_cfg_region() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 136 paddr = kmem_zalloc(PMCS_MAX_UA_SIZE, KM_SLEEP); in pmcs_smhba_set_scsi_device_props() 140 addr = kmem_zalloc(PMCS_MAX_UA_SIZE, KM_SLEEP); in pmcs_smhba_set_scsi_device_props() 186 phy_props = kmem_zalloc(sizeof (nvlist_t *) * iport->nphy, KM_SLEEP); in pmcs_smhba_set_phy_props() 215 packed_data = kmem_zalloc(packed_size, KM_SLEEP); in pmcs_smhba_set_phy_props() 250 pname = kmem_zalloc(MAXPATHLEN, KM_NOSLEEP); in pmcs_smhba_log_sysevent()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 1946 mp_uscmdp = kmem_zalloc((size_t)sizeof (mp_uscsi_cmd_t), KM_SLEEP); in vhci_init_uscsi_cmd() 2167 input_data = kmem_zalloc(mpioc->mp_ilen, in vhci_mpapi_ioctl() 2180 output_data = kmem_zalloc(mpioc->mp_olen, KM_SLEEP); in vhci_mpapi_ioctl() 2351 ilist = kmem_zalloc(sizeof (mpapi_item_list_t), KM_SLEEP); in vhci_mpapi_init() 2352 item = kmem_zalloc(sizeof (mpapi_item_t), KM_SLEEP); in vhci_mpapi_init() 2356 drv = kmem_zalloc(sizeof (mp_driver_prop_t), KM_SLEEP); in vhci_mpapi_init() 2396 dev_prod_list = kmem_zalloc(sizeof (mpapi_item_list_t), KM_SLEEP); in vhci_mpapi_add_dev_prod() 2397 dev_prod_item = kmem_zalloc(sizeof (mpapi_item_t), KM_SLEEP); in vhci_mpapi_add_dev_prod() 2401 dev_prod = kmem_zalloc(sizeof (mp_dev_prod_prop_t), KM_SLEEP); in vhci_mpapi_add_dev_prod() 2586 ilist = kmem_zalloc(sizeof (mpapi_item_list_t), KM_SLEEP); in vhci_mpapi_create_item() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 1766 buf = kmem_zalloc(buf_size, KM_SLEEP); in regdump() 1843 buf = b = kmem_zalloc(t4tid.len, KM_NOSLEEP); in read_tid_tab() 1933 buf = b = kmem_zalloc(min(mr.len, mw_aperture), KM_NOSLEEP); in read_card_mem() 1999 buf = kmem_zalloc(dparams->size, KM_NOSLEEP); in get_devlog() 2081 edc = kmem_zalloc(t4edc.len, KM_NOSLEEP); in read_edc() 2131 buf = kmem_zalloc(t4ibq.len, KM_NOSLEEP); in read_cim_ibq() 2170 buf = kmem_zalloc(t4cimla.len, KM_NOSLEEP); in read_cim_la() 2205 buf = p = kmem_zalloc(t4mbox.len, KM_NOSLEEP); in read_mbox() 2237 ptr = (u8 *)kmem_zalloc(fw.len, KM_NOSLEEP); in flash_fw() 2271 buf = (u8 *)kmem_zalloc(dump.len, KM_NOSLEEP); in get_cudbg()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vio_util.c | 65 vmplp = kmem_zalloc(sizeof (*vmplp), KM_SLEEP); in vio_create_mblks() 75 vmplp->basep = kmem_zalloc(num_mblks * sizeof (vio_mblk_t), KM_SLEEP); in vio_create_mblks() 77 vmplp->datap = kmem_zalloc(num_mblks * mblk_size, KM_SLEEP); in vio_create_mblks() 85 vmplp->quep = kmem_zalloc(vmplp->quelen * in vio_create_mblks() 325 tbuf = kmem_zalloc(vmultip->tbsz, KM_SLEEP); in vio_init_multipools()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_workq.c | 227 if ((pWorkItem = kmem_zalloc((sizeof(BnxeWorkItem) + workDataLen), in BnxeWorkQueueAdd() 268 if ((pWorkItem = kmem_zalloc(sizeof(BnxeWorkItem), KM_NOSLEEP)) == NULL) in BnxeWorkQueueAddNoCopy() 305 if ((pWorkItem = kmem_zalloc(sizeof(BnxeWorkItem), KM_NOSLEEP)) == NULL) in BnxeWorkQueueAddGeneric() 345 if ((pWorkItem = kmem_zalloc((sizeof(BnxeWorkItem) + workDataLen), in BnxeWorkQueueAddDelay() 387 if ((pWorkItem = kmem_zalloc(sizeof(BnxeWorkItem), KM_NOSLEEP)) == NULL) in BnxeWorkQueueAddDelayNoCopy() 425 if ((pWorkItem = kmem_zalloc(sizeof(BnxeWorkItem), KM_NOSLEEP)) == NULL) in BnxeWorkQueueAddDelayGeneric()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_ufm.c | 183 kmem_zalloc((sizeof (ddi_ufm_image_t) * ufmh->ufmh_nimages), in ufm_cache_fill() 203 kmem_zalloc((sizeof (ddi_ufm_slot_t) * img->ufmi_nslots), in ufm_cache_fill() 223 images = kmem_zalloc(sizeof (nvlist_t *) * ufmh->ufmh_nimages, in ufm_cache_fill() 236 slots = kmem_zalloc(sizeof (nvlist_t *) * img->ufmi_nslots, in ufm_cache_fill() 299 buf = kmem_zalloc(UFM_READ_STRIDE, KM_SLEEP); in ufm_read_img() 419 *ufmh = kmem_zalloc(sizeof (ddi_ufm_handle_t), KM_SLEEP); in ddi_ufm_init()
|
H A D | cpupm.c | 48 hzspeeds = kmem_zalloc(nspeeds * sizeof (uint64_t), KM_SLEEP); in cpupm_set_supp_freqs() 54 supp_freqs = kmem_zalloc((UINT64_MAX_STRING * nspeeds), KM_SLEEP); in cpupm_set_supp_freqs()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ibft.c | 372 (uchar_t *)kmem_zalloc( in iscsi_parse_ibft_initiator() 543 (uchar_t *)kmem_zalloc(tgtp->target_name_len + 1, in iscsi_parse_ibft_target() 566 (uchar_t *)kmem_zalloc( in iscsi_parse_ibft_target() 587 (uchar_t *)kmem_zalloc( in iscsi_parse_ibft_target() 604 (uchar_t *)kmem_zalloc( in iscsi_parse_ibft_target() 629 (uchar_t *)kmem_zalloc( in iscsi_parse_ibft_target() 766 ibft_tbl_buf = (char *)kmem_zalloc(ISCSI_IBFT_TBL_BUF_LEN, in ld_ib_prop()
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpi_enum.c | 162 used = kmem_zalloc(sizeof (used_io_mem_t), in add_used_io_mem() 557 io = kmem_zalloc(sizeof (struct regspec) * in parse_resources() 749 d = kmem_zalloc(sizeof (device_id_t), KM_SLEEP); in process_cids() 755 d = kmem_zalloc(sizeof (device_id_t), KM_SLEEP); in process_cids() 811 strs = kmem_zalloc(list_len * sizeof (char *), KM_SLEEP); in create_compatible_property() 816 strs[i] = kmem_zalloc(13, KM_SLEEP); in create_compatible_property() 922 d = kmem_zalloc(sizeof (device_id_t), KM_SLEEP); in isa_acpi_callback() 928 d = kmem_zalloc(sizeof (device_id_t), KM_SLEEP); in isa_acpi_callback() 945 d = kmem_zalloc(sizeof (device_id_t), KM_SLEEP); in isa_acpi_callback() 1083 io = kmem_zalloc(sizeof (int)*(*count), KM_SLEEP); in used_res_io_mem()
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 302 prop->pp_val = kmem_zalloc(len, KM_SLEEP); in promif_stree_setprop() 390 pnp = kmem_zalloc(sizeof (prom_node_t), KM_SLEEP); in create_node() 405 propval = kmem_zalloc(proplen, KM_SLEEP); in create_node() 429 newprop = kmem_zalloc(sizeof (*newprop), KM_SLEEP); in create_prop() 430 newprop->pp_name = kmem_zalloc(prom_strlen(name) + 1, KM_SLEEP); in create_prop()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | isns_client.c | 301 reg_args_p = kmem_zalloc(sizeof (isns_reg_arg_t), KM_SLEEP); in isns_reg() 303 kmem_zalloc(sizeof (iscsi_addr_t), KM_SLEEP); in isns_reg() 306 reg_args_p->node_name = kmem_zalloc(node_name_len, KM_SLEEP); in isns_reg() 309 reg_args_p->node_alias = kmem_zalloc(node_alias_len, KM_SLEEP); in isns_reg() 347 ap = (iscsi_addr_t *)kmem_zalloc(sizeof (iscsi_addr_t), KM_SLEEP); in isns_reg_one_server() 371 reg_args_p = kmem_zalloc(sizeof (isns_reg_arg_t), KM_SLEEP); in isns_reg_one_server() 373 kmem_zalloc(sizeof (iscsi_addr_t), KM_SLEEP); in isns_reg_one_server() 375 reg_args_p->node_name = kmem_zalloc(node_name_len, KM_SLEEP); in isns_reg_one_server() 378 reg_args_p->node_alias = kmem_zalloc(node_alias_len, KM_SLEEP); in isns_reg_one_server() 455 ap = (iscsi_addr_t *)kmem_zalloc(sizeof (iscsi_addr_t), KM_SLEEP); in isns_dereg_one_server() [all …]
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgfru.c | 398 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_getchildlist() 413 clistp = (node_t *)kmem_zalloc(ssize, KM_SLEEP); in sgfru_getchildlist() 469 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_getchildhandles() 520 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_getnodeinfo() 575 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_getsections() 586 sectp = (section_t *)kmem_zalloc(ssize, KM_SLEEP); in sgfru_getsections() 639 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_getsegments() 649 segp = (segment_t *)kmem_zalloc(ssize, KM_SLEEP); in sgfru_getsegments() 704 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_addsegment() 760 datap = kmem_zalloc(size, KM_SLEEP); in sgfru_readsegment() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ncache.c | 245 np = kmem_zalloc(sizeof (nvp_devname_t), KM_SLEEP); in sdev_ncache_unpack_nvlist() 255 np->nvp_paths = kmem_zalloc(nstrs * sizeof (char *), KM_SLEEP); in sdev_ncache_unpack_nvlist() 259 np->nvp_expirecnts = kmem_zalloc(nstrs * sizeof (int), KM_SLEEP); in sdev_ncache_unpack_nvlist() 449 np = kmem_zalloc(sizeof (nvp_devname_t), KM_SLEEP); in sdev_ncache_write() 451 np->nvp_paths = kmem_zalloc(n * sizeof (char *), KM_SLEEP); in sdev_ncache_write() 452 np->nvp_expirecnts = kmem_zalloc(n * sizeof (int), KM_SLEEP); in sdev_ncache_write() 731 ncl = kmem_zalloc(sizeof (sdev_nc_list_t), KM_SLEEP); in sdev_nc_newlist() 826 lp = kmem_zalloc(sizeof (sdev_nc_node_t), KM_SLEEP); in sdev_nc_addname()
|