/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 227 sizeof (emlxs_event_entry_t), KM_NOSLEEP))) { in emlxs_event() 369 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_rscn_event() 410 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_vportrscn_event() 490 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_ct_event() 555 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_link_event() 677 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_dump_event() 716 if (!(bp = (uint32_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_temp_event() 753 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_fcoe_event() 782 if (!(bp = (uint8_t *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_async_event() 1119 if (!(bp = (struct sd_plogi_rcv_v0 *)kmem_alloc(size, KM_NOSLEEP))) { in emlxs_log_sd_basic_els_event() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_workq.c | 228 KM_NOSLEEP)) == NULL) 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() 346 KM_NOSLEEP)) == NULL) 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/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 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/common/inet/ilb/ |
H A D | ilb_alg_hash.c | 212 (*tbl_size + INIT_HASH_TBL_SIZE), KM_NOSLEEP)) == NULL) { in grow_tbl() 370 if ((alg = kmem_alloc(sizeof (ilb_alg_data_t), KM_NOSLEEP)) == NULL) in ilb_alg_hash_init() 372 if ((hash_alg = kmem_alloc(sizeof (hash_t), KM_NOSLEEP)) == NULL) { in ilb_alg_hash_init() 391 INIT_HASH_TBL_SIZE, KM_NOSLEEP); in ilb_alg_hash_init() 402 INIT_HASH_TBL_SIZE, KM_NOSLEEP); in ilb_alg_hash_init()
|
H A D | ilb_alg_rr.c | 123 new_server = kmem_alloc(sizeof (rr_server_t), KM_NOSLEEP); in rr_server_add() 193 if ((alg = kmem_alloc(sizeof (ilb_alg_data_t), KM_NOSLEEP)) == NULL) in ilb_alg_rr_init() 195 if ((rr_alg = kmem_alloc(sizeof (rr_t), KM_NOSLEEP)) == NULL) { in ilb_alg_rr_init()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kmem.h | 48 #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ macro 52 #define KM_NOSLEEP_LAZY (KM_NOSLEEP | KM_NORMALPRI) /* Syntactic sugar. */
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_physical.c | 123 KM_NOSLEEP)) == NULL || smrt_command_attach_internal(smrt, smcm, in smrt_phys_identify() 124 sizeof (*sipd), KM_NOSLEEP) != 0) { in smrt_phys_identify() 252 info = kmem_zalloc(sizeof (*info), KM_NOSLEEP); in smrt_read_phys_ext() 328 KM_NOSLEEP); in smrt_read_phys_ext() 395 KM_NOSLEEP)) == NULL || smrt_command_attach_internal(smrt, smcm, in smrt_phys_discover() 396 sizeof (*smrpl), KM_NOSLEEP) != 0) { in smrt_phys_discover()
|
H A D | smrt_logvol.c | 72 if ((smlv = kmem_zalloc(sizeof (*smlv), KM_NOSLEEP)) == in smrt_read_logvols() 137 if ((smlv = kmem_zalloc(sizeof (*smlv), KM_NOSLEEP)) == in smrt_read_logvols_ext() 188 KM_NOSLEEP)) == NULL || smrt_command_attach_internal(smrt, smcm, in smrt_logvol_discover() 189 sizeof (smrt_report_logical_lun_t), KM_NOSLEEP) != 0) { in smrt_logvol_discover()
|
H A D | smrt_sata.c | 46 KM_NOSLEEP)) == NULL || smrt_command_attach_internal(smrt, smcm, in smrt_sata_determine_wwn() 47 SMRT_SATA_INQ83_LEN, KM_NOSLEEP) != 0) { in smrt_sata_determine_wwn()
|
H A D | smrt_commands.c | 79 VERIFY(kmflags == KM_SLEEP || kmflags == KM_NOSLEEP); in smrt_contig_alloc() 157 VERIFY(kmflags == KM_SLEEP || kmflags == KM_NOSLEEP); in smrt_command_alloc_impl() 258 VERIFY(kmflags == KM_SLEEP || kmflags == KM_NOSLEEP); in smrt_command_attach_internal()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_buf.c | 207 rx_data = kmem_zalloc(sizeof (ixgbe_rx_data_t), KM_NOSLEEP); in ixgbe_alloc_rx_ring_data() 229 rx_data->ring_size, KM_NOSLEEP); in ixgbe_alloc_rx_ring_data() 241 rx_data->free_list_size, KM_NOSLEEP); in ixgbe_alloc_rx_ring_data() 256 KM_NOSLEEP); in ixgbe_alloc_rx_ring_data() 669 tx_ring->ring_size, KM_NOSLEEP); in ixgbe_alloc_tcb_lists() 681 tx_ring->free_list_size, KM_NOSLEEP); in ixgbe_alloc_tcb_lists() 698 tx_ring->free_list_size, KM_NOSLEEP); in ixgbe_alloc_tcb_lists()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_buf.c | 339 rx_data = kmem_zalloc(sizeof (igb_rx_data_t), KM_NOSLEEP); in igb_alloc_rx_ring_data() 362 rx_data->ring_size, KM_NOSLEEP); in igb_alloc_rx_ring_data() 374 rx_data->free_list_size, KM_NOSLEEP); in igb_alloc_rx_ring_data() 389 KM_NOSLEEP); in igb_alloc_rx_ring_data() 675 tx_ring->ring_size, KM_NOSLEEP); in igb_alloc_tcb_lists() 687 tx_ring->free_list_size, KM_NOSLEEP); in igb_alloc_tcb_lists() 704 tx_ring->free_list_size, KM_NOSLEEP); in igb_alloc_tcb_lists()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci_tpgs.c | 62 bp = getrbuf(KM_NOSLEEP); in vhci_tpgs_set_target_groups() 69 bufp = kmem_zalloc(len, KM_NOSLEEP); in vhci_tpgs_set_target_groups() 216 bp = getrbuf(KM_NOSLEEP); in vhci_tpgs_get_target_fo_mode() 318 bufp = kmem_zalloc(buf_len, KM_NOSLEEP); in vhci_tpgs_page83() 462 bufp = kmem_zalloc(len, KM_NOSLEEP); in vhci_tpgs_report_target_groups()
|
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippconf.c | 376 if ((buf = kmem_zalloc(strlen(modname) + 1, KM_NOSLEEP)) == NULL) { in ipp_mod_name() 599 if ((buf = kmem_zalloc(strlen(aname) + 1, KM_NOSLEEP)) == NULL) { in ipp_action_name() 1215 KM_NOSLEEP)) != NULL) { in ipp_packet_alloc() 1652 if ((sip = kmem_alloc(sizeof (ipp_stat_impl_t), KM_NOSLEEP)) == NULL) in ipp_stat_create() 1916 if ((rp = kmem_zalloc(sizeof (ipp_ref_t), KM_NOSLEEP)) == NULL) in ref_mod() 2030 if ((buf = kmem_alloc(length, KM_NOSLEEP)) == NULL) in get_mod_ref() 2082 if ((buf = kmem_alloc(length, KM_NOSLEEP)) == NULL) { in get_mods() 2226 if ((rp = kmem_zalloc(sizeof (ipp_ref_t), KM_NOSLEEP)) == NULL) { in alloc_mod() 2231 if ((imp = kmem_cache_alloc(ipp_mod_cache, KM_NOSLEEP)) == NULL) { in alloc_mod() 2487 if ((rp = kmem_zalloc(sizeof (ipp_ref_t), KM_NOSLEEP)) == NULL) in condemn_action() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_resource.c | 109 iser_wr = kmem_cache_alloc(iser_state->iser_wr_cache, KM_NOSLEEP); in iser_wr_get() 206 tmp = kmem_cache_alloc(hca->iser_msg_cache, KM_NOSLEEP); in iser_msg_get() 251 iser_buf->iser_mr = kmem_zalloc(sizeof (iser_mr_t), KM_NOSLEEP); in iser_buf_cache_constructor() 501 km_flags |= KM_NOSLEEP; in iser_vmem_chunk_alloc() 551 mr_flags |= KM_NOSLEEP; in iser_reg_mem()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 980 ncp = kmem_alloc(NCACHE_SIZE(namlen), KM_NOSLEEP); in dnlc_get() 1198 if ((dcp = kmem_zalloc(sizeof (dircache_t), KM_NOSLEEP)) == NULL) { in dnlc_dir_start() 1202 KM_NOSLEEP)) == NULL) { in dnlc_dir_start() 1206 KM_NOSLEEP)) == NULL) { in dnlc_dir_start() 1260 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry() 1271 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry() 1281 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry() 1370 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() 1379 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() 1389 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | loop.c | 90 KM_NOSLEEP); in rdsv3_loop_xmit() 159 lc = kmem_zalloc(sizeof (struct rdsv3_loop_connection), KM_NOSLEEP); in rdsv3_loop_conn_alloc()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_vpd.c | 48 buf = kmem_zalloc(size, KM_NOSLEEP); in sfxge_vpd_get_keyword() 102 buf = kmem_zalloc(size, KM_NOSLEEP); in sfxge_vpd_set_keyword()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_buf.c | 78 dbuf = kmem_zalloc(sizeof (oce_dma_buf_t), KM_NOSLEEP); in oce_alloc_dma_buffer() 174 ring = kmem_zalloc(sizeof (oce_ring_buffer_t), KM_NOSLEEP); in create_ring_buffer()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 1997 NULL, data, NULL, digest, ctx, KM_NOSLEEP); in dprov_digest() 2021 req, NULL, data, NULL, NULL, ctx, KM_NOSLEEP); in dprov_digest_update() 2043 NULL, key, NULL, ctx, KM_NOSLEEP); in dprov_digest_key() 2066 NULL, NULL, NULL, digest, ctx, KM_NOSLEEP); in dprov_digest_final() 2189 NULL, data, NULL, mac, ctx, 0, KM_NOSLEEP); in dprov_mac() 2212 req, NULL, data, NULL, NULL, ctx, 0, KM_NOSLEEP); in dprov_mac_update() 2234 NULL, NULL, NULL, mac, ctx, 0, KM_NOSLEEP); in dprov_mac_final() 2409 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP); in dprov_encrypt() 2434 req, NULL, NULL, plaintext, ciphertext, ctx, 0, KM_NOSLEEP); in dprov_encrypt_update() 2459 req, NULL, NULL, NULL, ciphertext, ctx, 0, KM_NOSLEEP); in dprov_encrypt_final() [all …]
|
/illumos-gate/usr/src/uts/sun4v/ontario/io/ |
H A D | tsalarm.c | 514 KM_NOSLEEP)) == NULL) { in tsalarm_open() 519 KM_NOSLEEP)) == NULL) { in tsalarm_open() 524 KM_NOSLEEP)) == NULL) { in tsalarm_open() 529 KM_NOSLEEP)) == NULL) { in tsalarm_open() 533 KM_NOSLEEP)) == NULL) { in tsalarm_open() 537 KM_NOSLEEP)) == NULL) { in tsalarm_open() 813 KM_NOSLEEP)) == NULL) in glvc_alarm_set() 1220 KM_NOSLEEP); in tsal_pcp_read() 1357 KM_NOSLEEP)) == NULL) { in tsal_pcp_send_req_msg_hdr()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_addr.c | 130 kmem_zalloc(sizeof (s1394_addr_space_blk_t), KM_NOSLEEP); in s1394_request_addr_blk() 237 KM_NOSLEEP); in s1394_claim_addr_blk() 279 KM_NOSLEEP); in s1394_claim_addr_blk() 319 KM_NOSLEEP); in s1394_claim_addr_blk() 328 KM_NOSLEEP); in s1394_claim_addr_blk() 470 KM_NOSLEEP); in s1394_reserve_addr_blk() 498 KM_NOSLEEP); in s1394_reserve_addr_blk() 524 KM_NOSLEEP); in s1394_reserve_addr_blk() 533 KM_NOSLEEP); in s1394_reserve_addr_blk()
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara_perfctr.c | 324 sizeof (ni_ksinfo_t), KM_NOSLEEP); in niagara_kstat_init() 367 sizeof (ni_ksinfo_t), KM_NOSLEEP); in niagara_kstat_init() 403 sizeof (ni_ksinfo_t), KM_NOSLEEP); in niagara_kstat_init() 439 sizeof (ni_ksinfo_t), KM_NOSLEEP); in niagara_kstat_init() 474 KM_NOSLEEP); in niagara_kstat_init()
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/ |
H A D | i2c_svc.c | 199 sleep = KM_NOSLEEP; in i2c_transfer_alloc() 201 sleep = KM_NOSLEEP; in i2c_transfer_alloc()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_handlers.c | 235 nclients * sizeof (ibmf_async_event_cb_t), KM_NOSLEEP); in ibmf_i_callback_clients() 238 nclients * sizeof (void*), KM_NOSLEEP); in ibmf_i_callback_clients() 241 nclients * sizeof (ibmf_handle_t), KM_NOSLEEP); in ibmf_i_callback_clients()
|