/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 2557 int sleep; local 2560 sleep = (fmr_attr->fmr_flags & IBT_MR_SLEEP) ? HERMON_SLEEP : 2562 if ((sleep == HERMON_SLEEP) && 2563 (sleep != HERMON_SLEEPFLAG_FOR_CONTEXT())) { 2567 fmrpool = (hermon_fmrhdl_t)kmem_zalloc(sizeof (*fmrpool), sleep); 2611 sizeof (hermon_fmr_list_t), sleep);
|
H A D | hermon_mr.c | 70 uint_t sleep, uint_t *dereg_level); 74 ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer); 185 uint_t sleep, mr_is_umem; local 189 * Check the sleep flag. Ensure that it is consistent with the 191 * context, then we shouldn't be attempting to sleep). 193 sleep = (mr_attr->mr_flags & IBT_MR_NOSLEEP) ? HERMON_NOSLEEP : 195 if ((sleep == HERMON_SLEEP) && 196 (sleep != HERMON_SLEEPFLAG_FOR_CONTEXT())) { 212 status = hermon_rsrc_alloc(state, HERMON_DMPT, 1, sleep, &mpt); 224 status = hermon_rsrc_alloc(state, HERMON_MRHDL, 1, sleep, 452 uint_t sleep, mtt_pgsize_bits; local 745 hermon_mr_deregister(hermon_state_t *state, hermon_mrhdl_t *mrhdl, uint_t level, uint_t sleep) argument 1230 uint_t sleep; local 1350 hermon_mw_free(hermon_state_t *state, hermon_mwhdl_t *mwhdl, uint_t sleep) argument 1484 uint_t sleep, mtt_pgsize_bits, bind_type, mr_is_umem; local 1837 uint_t sleep; local 2027 uint_t sleep; local 2175 hermon_mr_fexch_mpt_init(hermon_state_t *state, hermon_pdhdl_t pd, uint32_t mpt_indx, uint_t nummtt, uint64_t mtt_addr, uint_t sleep) argument 2238 hermon_mr_fexch_mpt_fini(hermon_state_t *state, hermon_pdhdl_t pd, uint32_t mpt_indx, uint_t sleep) argument 2271 uint_t sleep; local 2388 uint_t sleep, dereg_level; local 2696 hermon_mr_rereg_xlat_helper(hermon_state_t *state, hermon_mrhdl_t mr, hermon_bind_info_t *bind, hermon_mr_options_t *op, uint64_t *mtt_addr, uint_t sleep, uint_t *dereg_level) argument 3096 hermon_mr_mem_bind(hermon_state_t *state, hermon_bind_info_t *bind, ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer) argument [all...] |
H A D | hermon_cmd.c | 3608 hermon_nop_post(hermon_state_t *state, uint_t interval, uint_t sleep) argument 3622 if (sleep) cmd.cp_flags = HERMON_CMD_NOSLEEP_SPIN;
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.c | 63 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; local 66 if ((mp = kmem_alloc(sizeof (px_dma_hdl_t), sleep)) == 0) { 786 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP; local 798 MMU_PAGE_SIZE, sleep); 811 sleep);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_dma.c | 254 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; local 257 if ((mp = kmem_alloc(sizeof (pci_dma_hdl_t), sleep)) == 0) { 991 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP; local 1003 IOMMU_PAGE_SIZE, sleep); 1016 sleep);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 2032 int (*iodone)(struct buf *), struct buf *bp_mem, int sleep) 2038 bufp = kmem_alloc(sizeof (struct buf), sleep); 2031 bioclone(struct buf *bp, off_t off, size_t len, dev_t dev, daddr_t blkno, int (*iodone)(struct buf *), struct buf *bp_mem, int sleep) argument
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 54 #pragma weak _sleep = sleep 401 * temporary mask before the thread goes to sleep. If 685 sleep(unsigned int sec) function
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fdc.c | 1378 int sleep = 1; local 1438 sleep = 0; 1443 sleep = 0; 1449 sleep = 0; 1536 rval_exec = fdc_exec(fcp, sleep, change); 2150 * to sleep: set sleep 2154 fdc_exec(struct fdcntlr *fcp, int sleep, int change) argument 2165 (CE_CONT, "fdc_exec: sleep %x change %x\n", sleep, chang [all...] |
H A D | bofi.c | 372 int sleep = (dmareqp->dmar_fp == DDI_DMA_SLEEP) ? VM_SLEEP: VM_NOSLEEP; local 378 dmareqp->dmar_object.dmao_obj.pp_obj.pp_pp, sleep); 384 dmareqp->dmar_object.dmao_obj.virt_obj.v_as, sleep); 395 dmareqp->dmar_object.dmao_obj.virt_obj.v_as, sleep); 2195 * we either didn't need to sleep, we've been woken up or we've been
|
/illumos-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientstub.c | 64 #define sleep(X) Sleep((X) * 1000) macro 588 sleep(1); // Sleep a bit, then try again 809 sleep(1); 987 if (num_logs < 1000) num_logs++;else sleep(1);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 2034 fcsm_alloc_cmd(fcsm_t *fcsm, uint32_t cmd_len, uint32_t resp_len, int sleep) argument 2049 callback = (sleep == KM_SLEEP) ? DDI_DMA_SLEEP: DDI_DMA_DONTWAIT; 2051 cmd = (fcsm_cmd_t *)kmem_cache_alloc(fcsm->sm_cmd_cache, sleep); 2080 if (fc_ulp_init_packet((opaque_t)pinfo->port_handle, pkt, sleep) 2342 fcsm_alloc_job(int sleep) argument 2346 job = (fcsm_job_t *)kmem_cache_alloc(fcsm_job_cache, sleep); 3219 fcsm_ct_passthru(int instance, fcio_t *fcio, int sleep, int job_flags, argument 3227 job = fcsm_alloc_job(sleep); 3228 ASSERT(sleep == KM_NOSLEEP || job != NULL);
|
H A D | fcp.c | 520 int sleep); 8373 * allocates memory in non-sleep mode 12099 fcp_linkreset(struct fcp_port *pptr, struct scsi_address *ap, int sleep) argument 12139 return (fc_ulp_linkreset(pptr->port_fp_handle, &wwn, sleep));
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | conf.h | 391 # define BROKEN_PTHREAD_SLEEP 1 /* sleep after pthread_create() fails */ 697 # define sleep sleepX macro 790 # define sleep sleepX macro
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpireg.h | 513 uint32_t sleep[5]; member in struct:wpi_power
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 2572 socal_transport(fcal_packet_t *fcalpkt, fcal_sleep_t sleep, int req_q_no) argument 2588 DEBUGF(4, (CE_CONT, "socal%d: transport: packet, sleep = %p, %d\n", 2589 instance, fcalpkt, sleep)); 2595 req_q_no, sleep, fcalpkt, 0)); 2603 * FCAL_TRANSPORT_QFULL, if queue full & sleep not set 2615 int rqix, fcal_sleep_t sleep, fcal_packet_t *to_queue, 2641 * Get a token early. That way we won't sleep 2647 sleep)) == NULL) { 3038 uint_t sleep) 4043 socal_packet_alloc(socal_state_t *socalp, fcal_sleep_t sleep) argument 2614 socal_cq_enque(socal_state_t *socalp, socal_port_t *port_statep, cqe_t *cqe, int rqix, fcal_sleep_t sleep, fcal_packet_t *to_queue, int mtxheld) argument 3036 socal_els(void *ssp, uint_t port, uint_t elscode, uint_t dest, void (*callback)(), void *arg, caddr_t reqpl, caddr_t *rsppl, uint_t sleep) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 7721 uint32_t sleep; local 7786 sleep = (dfc->flag & 0x01) ? 1 : 0; 7788 emlxs_get_dfc_event(port, dfc_event, sleep); 10050 uint32_t event, pid, sleep, i; local 10093 sleep = (dfc->flag & 0x01) ? 1 : 0; 10095 emlxs_get_sd_event(vport, dfc_event, sleep);
|
H A D | emlxs_solaris.c | 2154 emlxs_fca_pkt_init(opaque_t fca_port_handle, fc_packet_t *pkt, int32_t sleep) argument 3414 emlxs_fca_pkt_abort(opaque_t fca_port_handle, fc_packet_t *pkt, int32_t sleep) argument 3716 if (!sleep) {
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 135 #undef sleep macro 1097 * are found that haven't left yet, sleep for TWARN seconds and 3038 * timer() is a substitute for sleep() which uses alarm() and pause(). 4434 (void) sleep(1);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 844 fc_ulp_init_packet(opaque_t port_handle, fc_packet_t *pkt, int sleep) argument 855 rval = port->fp_fca_tran->fca_init_pkt(port->fp_fca_handle, pkt, sleep); 1587 * Submit an asynchronous request to the job handler if the sleep 1596 fc_ulp_linkreset(opaque_t port_handle, la_wwn_t *pwwn, int sleep) argument 1632 if (sleep == KM_SLEEP) { 1633 job = fctl_alloc_job(JOB_LINK_RESET, 0, NULL, NULL, sleep); 1651 fctl_link_reset_done, port, sleep); 2875 int sleep) 2892 new = fctl_alloc_ulp_port(sleep); 2909 fctl_alloc_ulp_port(int sleep) argument 2874 fctl_add_ulp_port(fc_ulp_module_t *ulp_module, fc_local_port_t *port_handle, int sleep) argument 3226 fctl_create_remote_node(la_wwn_t *nwwn, int sleep) argument 3285 fctl_enlist_nwwn_table(fc_remote_node_t *rnodep, int sleep) argument 3454 fctl_alloc_remote_port(fc_local_port_t *port, la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep) argument 4294 fctl_alloc_job(int job_code, int job_flags, void (*comp) (opaque_t, uchar_t), opaque_t arg, int sleep) argument 4518 fctl_create_remote_port(fc_local_port_t *port, la_wwn_t *node_wwn, la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep) argument 5246 fctl_alloc_ns_cmd(uint32_t cmd_len, uint32_t resp_len, uint32_t data_len, uint32_t ns_flags, int sleep) argument 5651 fctl_add_orphan(fc_local_port_t *port, fc_remote_port_t *pd, int sleep) argument [all...] |
H A D | fp.c | 1556 * This can sleep for an arbitrary duration, since it waits for 1864 * Context: Can sleep iff called with KM_SLEEP flag. 3996 int flag, int sleep) 4013 sizeof (la_els_logi_t), sleep, NULL); 4049 int cmd_flag, int sleep, fc_remote_port_t *pd, fc_packet_t *ulp_pkt) 4093 sizeof (la_els_adisc_t), sleep, tmp_pd); 4115 sizeof (la_els_logi_t), sleep, pd); 4601 fc_portmap_t *changelist, uint32_t listlen, uint32_t alloc_len, int sleep) 4609 clist = kmem_zalloc(sizeof (*clist), sleep); 4705 uint32_t listlen, uint32_t alloc_len, int sleep, in 3995 fp_fabric_login(fc_local_port_t *port, uint32_t s_id, job_request_t *job, int flag, int sleep) argument 4048 fp_port_login(fc_local_port_t *port, uint32_t d_id, job_request_t *job, int cmd_flag, int sleep, fc_remote_port_t *pd, fc_packet_t *ulp_pkt) argument 4600 fp_ulp_statec_cb(fc_local_port_t *port, uint32_t state, fc_portmap_t *changelist, uint32_t listlen, uint32_t alloc_len, int sleep) argument 4704 fp_ulp_devc_cb(fc_local_port_t *port, fc_portmap_t *changelist, uint32_t listlen, uint32_t alloc_len, int sleep, int sync) argument 5208 fp_ns_init(fc_local_port_t *port, job_request_t *job, int sleep) argument 5363 fp_ns_reg(fc_local_port_t *port, fc_remote_port_t *pd, uint16_t cmd_code, job_request_t *job, int polled, int sleep) argument 7052 fp_ns_scr(fc_local_port_t *port, job_request_t *job, uchar_t scr_func, int sleep) argument 7123 fp_ns_get_devcount(fc_local_port_t *port, job_request_t *job, int create, int sleep) argument 11244 fp_prlo_acc_init(fc_local_port_t *port, fc_remote_port_t *pd, fc_unsol_buf_t *buf, job_request_t *job, int sleep) argument 11904 fp_handle_unsol_plogi(fc_local_port_t *port, fc_unsol_buf_t *buf, job_request_t *job, int sleep) argument 12108 fp_handle_unsol_flogi(fc_local_port_t *port, fc_unsol_buf_t *buf, job_request_t *job, int sleep) argument 12188 fp_login_acc_init(fc_local_port_t *port, fp_cmd_t *cmd, fc_unsol_buf_t *buf, job_request_t *job, int sleep) argument 12308 fp_handle_unsol_rscn(fc_local_port_t *port, fc_unsol_buf_t *buf, job_request_t *job, int sleep) argument 12649 fp_remote_lip(fc_local_port_t *port, la_wwn_t *pwwn, int sleep, job_request_t *job) argument 12894 fp_ns_query(fc_local_port_t *port, fctl_ns_req_t *ns_cmd, job_request_t *job, int polled, int sleep) argument 13600 fp_ulp_notify(fc_local_port_t *port, uint32_t statec, int sleep) argument 13672 fp_create_remote_port_by_ns(fc_local_port_t *port, uint32_t d_id, int sleep) argument 14026 fp_validate_area_domain(fc_local_port_t *port, uint32_t id, uint32_t mask, job_request_t *job, int sleep) argument 14453 fp_validate_rscn_page(fc_local_port_t *port, fc_affected_id_t *page, job_request_t *job, fctl_ns_req_t *ns_cmd, fc_portmap_t *listptr, int *listindex, int sleep) argument 14876 fp_ns_validate_device(fc_local_port_t *port, fc_remote_port_t *pd, job_request_t *job, int polled, int sleep) argument [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_subr.c | 3120 int (*iodone)(buf_t *), buf_t *bp_mem, int sleep) 3122 (void) bioclone(bp, off, len, dev, 0, iodone, bp_mem, sleep); 3119 md_bioclone(buf_t *bp, off_t off, size_t len, dev_t dev, diskaddr_t blkno, int (*iodone)(buf_t *), buf_t *bp_mem, int sleep) argument
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | scsb.c | 6103 scsb_alloc_i2ctx(i2c_client_hdl_t phandle, uint_t sleep) argument 6108 SCSB_DATA_REGISTERS + 2, sleep) == I2C_FAILURE) {
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bcache.c | 4799 int sleep; local 4800 sleep = (flag & ALLOC_NOWAIT) ? KM_NOSLEEP : KM_SLEEP; 4806 kmem_alloc((size_t)centry->cc_alloc_size_dm, sleep);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_api.c | 2577 ql_init_pkt(opaque_t fca_handle, fc_packet_t *pkt, int sleep) argument 3734 /* Set poll flag if sleep wanted. */ 8120 QL_PRINT_3(CE_CONT, "(%d): Going to sleep\n", ha->instance); 15552 * sleep: KM_SLEEP/KM_NOSLEEP flag. 15565 ql_alloc_phys(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep) argument 15593 if (ddi_dma_alloc_handle(ha->dip, &dma_attr, (sleep == KM_SLEEP) ? 15603 mem->bp = kmem_zalloc(mem->size, sleep); 15615 mem->flags, (sleep == KM_SLEEP) ? DDI_DMA_SLEEP : 15649 if (ql_bind_dma_buffer(ha, mem, sleep) != DDI_DMA_MAPPED) { 15710 * sleep 15723 ql_alloc_dma_resouce(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep) argument 15806 ql_bind_dma_buffer(ql_adapter_state_t *ha, dma_mem_t *mem, int sleep) argument [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 2291 mac_minor_hold(boolean_t sleep) argument 2300 if (sleep)
|