Home
last modified time | relevance | path

Searched refs:KM_NOSLEEP (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c227 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()
1157 KM_NOSLEEP))) { in emlxs_log_sd_prlo_event()
1195 KM_NOSLEEP))) { in emlxs_log_sd_lsrjt_event()
1235 KM_NOSLEEP))) { in emlxs_log_sd_fc_bsy_event()
1278 KM_NOSLEEP))) { in emlxs_log_sd_fc_rdchk_event()
1319 KM_NOSLEEP))) { in emlxs_log_sd_scsi_event()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_workq.c228 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 Dt4_ioctl.c1269 buf = b = kmem_zalloc(t4tid.len, KM_NOSLEEP); in read_tid_tab()
1359 buf = b = kmem_zalloc(min(mr.len, mw_aperture), KM_NOSLEEP); in read_card_mem()
1425 buf = kmem_zalloc(dparams->size, KM_NOSLEEP); in get_devlog()
1508 edc = kmem_zalloc(t4edc.len, KM_NOSLEEP); in read_edc()
1558 buf = kmem_zalloc(t4ibq.len, KM_NOSLEEP); in read_cim_ibq()
1597 buf = kmem_zalloc(t4cimla.len, KM_NOSLEEP); in read_cim_la()
1632 buf = p = kmem_zalloc(t4mbox.len, KM_NOSLEEP); in read_mbox()
1664 ptr = (u8 *)kmem_zalloc(fw.len, KM_NOSLEEP); in flash_fw()
1698 buf = (u8 *)kmem_zalloc(dump.len, KM_NOSLEEP); in get_cudbg()
/illumos-gate/usr/src/uts/common/sys/
H A Dkmem.h48 #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/inet/ilb/
H A Dilb_alg_hash.c212 (*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 Dilb_alg_rr.c123 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/io/scsi/adapters/smrt/
H A Dsmrt_physical.c123 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 Dsmrt_logvol.c72 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 Dsmrt_sata.c46 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 Dsmrt_commands.c79 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 Dixgbe_buf.c207 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 Digb_buf.c339 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 Dscsi_vhci_tpgs.c62 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 Dippconf.c376 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()
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()
2487 if ((rp = kmem_zalloc(sizeof (ipp_ref_t), KM_NOSLEEP)) == NULL) in condemn_action()
2663 if ((rp = kmem_zalloc(sizeof (ipp_ref_t), KM_NOSLEEP)) == NULL) in ref_action()
2689 KM_NOSLEEP)) == NULL) { in ref_action()
3191 KM_NOSLEEP)) == NULL) in realloc_packet()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dloop.c90 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/ib/clients/iser/
H A Diser_resource.c109 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 Ddnlc.c980 ncp = kmem_alloc(NCACHE_SIZE(namlen), KM_NOSLEEP); in dnlc_get()
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()
1894 newhash = kmem_zalloc(sizeof (dcentry_t *) * newsize, KM_NOSLEEP); in dnlc_dir_adjust_nhash()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_vpd.c48 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 Doce_buf.c78 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/sun4u/io/i2c/misc/
H A Di2c_svc.c199 sleep = KM_NOSLEEP; in i2c_transfer_alloc()
201 sleep = KM_NOSLEEP; in i2c_transfer_alloc()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c3834 KM_NOSLEEP); in dprov_object_destroy()
3859 KM_NOSLEEP); in dprov_object_get_size()
3987 0, NULL, KM_NOSLEEP); in dprov_object_find_final()
4253 KM_NOSLEEP); in dprov_alloc_context()
4260 KM_NOSLEEP); in dprov_alloc_context()
4606 KM_NOSLEEP); in copyin_aes_ctr_mech()
5180 KM_NOSLEEP)) == NULL) in dprov_dual_submit_req()
5262 KM_NOSLEEP)) == NULL) in dprov_random_submit_req()
5289 KM_NOSLEEP)) == NULL) in dprov_session_submit_req()
5356 KM_NOSLEEP)) == NULL) in dprov_key_submit_req()
[all …]
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c514 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 Ds1394_addr.c130 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 Dniagara_perfctr.c324 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/common/io/ib/mgt/ibmf/
H A Dibmf_handlers.c235 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()

12345678910>>...22