/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/uts/common/io/iwn/ |
H A D | if_iwnreg.h | 1442 uint32_t sleep; member in struct:iwn_general_stats
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 2291 mac_minor_hold(boolean_t sleep) argument 2300 if (sleep)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 888 // wait one second to give the client a chance to go to sleep, and then start our ARP/NDP probing. 891 // If we don't wait for the client to go to sleep, then when the client sees our ARP Announcements there's a risk 1020 // When we wake up from sleep, we call ActivateUnicastRegistration. It is possible that just before we went to sleep, 1024 // to sleep, then it is okay to start in Pending state as we will go back to NoTarget state if we don't have a target. 1507 // If this is a non-sleep proxy keepalive record, fetch the MAC address of the remote host. 1531 // Adding a record may affect whether or not we should sleep 2043 // DiscardDeregistrations is used on shutdown and sleep to discard (forcibly and immediately) 2214 // Right now we only send Neighbor Solicitations to verify whether the host we're proxying for has gone to sleep yet. 2330 // If there are no sleep proxie 6531 mDNSCoreMachineSleep(mDNS *const m, mDNSBool sleep) argument [all...] |
/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/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
|
H A D | modhash.c | 80 * keycmp, sleep) 102 * sleep, returning the storage handle in 'handle'. 420 * sleep - should be KM_SLEEP or KM_NOSLEEP, to indicate whether 421 * to sleep for memory, or fail in low-memory conditions. 434 int sleep) /* whether to sleep for mem */ 439 if ((mod_hash = kmem_zalloc(MH_SIZE(nchains), sleep)) == NULL) 442 mod_hash->mh_name = kmem_alloc(strlen(hname) + 1, sleep); 449 mod_hash->mh_sleep = sleep; 426 mod_hash_create_extended( char *hname, size_t nchains, void (*kdtor)(mod_hash_key_t), void (*vdtor)(mod_hash_val_t), uint_t (*hash_alg)(void *, mod_hash_key_t), void *hash_alg_data, int (*keycmp)(mod_hash_key_t, mod_hash_key_t), int sleep) argument
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 4146 * callbacks may not sleep or acquire adaptive mutex locks. 10870 * case we have to sleep to keep from getting buried while holding 10941 int sleep; local 11072 sleep = ((sfmmup == KHATID) ? KM_NOSLEEP : KM_SLEEP); 11074 if ((hmeblkp = kmem_cache_alloc(sfmmu_cache, sleep)) == NULL) { 12798 * may sleep waiting for memory if sufficient memory is not
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | 5710_hsi.h | 8928 u8_t sleep /* Measure including a thread sleep */; member in struct:t_measure_pci_latency_ctrl 8936 u8_t sleep /* Measure including a thread sleep */; member in struct:t_measure_pci_latency_ctrl
|
/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/inet/sctp/ |
H A D | sctp.c | 781 sctp_init_values(sctp_t *sctp, sctp_t *psctp, int sleep) argument 814 if (sleep == KM_SLEEP) { 911 if ((err = sctp_build_hdrs(sctp, sleep)) != 0) { 1328 int sleep = flags & SCTP_CAN_BLOCK ? KM_SLEEP : KM_NOSLEEP; local 1364 if ((connp = ipcl_conn_create(IPCL_SCTPCONN, sleep, 1378 if ((ack_mp = sctp_timer_alloc(sctp, sctp_ack_timer, sleep)) == NULL || 1380 sleep)) == NULL) { 1401 if (sctp_init_values(sctp, psctp, sleep) != 0) { 1424 if (sctp_dup_saddrs(psctp, sctp, sleep)) {
|
H A D | sctp_addr.c | 232 sctp_get_all_ipifs(sctp_t *sctp, int sleep) argument 265 error = sctp_ipif_hash_insert(sctp, sctp_ipif, sleep, 455 sctp_ipif_hash_insert(sctp_t *sctp, sctp_ipif_t *ipif, int sleep, argument 490 ipif_obj = kmem_zalloc(sizeof (sctp_saddr_ipif_t), sleep); 611 sctp_copy_ipifs(sctp_ipif_hash_t *list1, sctp_t *sctp2, int sleep) argument 621 error = sctp_ipif_hash_insert(sctp2, obj->saddr_ipifp, sleep, 635 sctp_dup_saddrs(sctp_t *sctp1, sctp_t *sctp2, int sleep) argument 641 return (sctp_get_all_ipifs(sctp2, sleep)); 649 error = sctp_copy_ipifs(&sctp1->sctp_saddrs[i], sctp2, sleep);
|
H A D | sctp_conn.c | 360 int sleep = sctp->sctp_cansleep ? KM_SLEEP : KM_NOSLEEP; local 530 if ((err = sctp_add_faddr(sctp, &dstaddr, sleep,
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
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/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_event.c | 961 uint32_t sleep) 997 if (!sleep) { 1386 uint32_t sleep) 1422 if (!sleep) { 960 emlxs_get_dfc_event(emlxs_port_t *port, emlxs_dfc_event_t *dfc_event, uint32_t sleep) argument 1385 emlxs_get_sd_event(emlxs_port_t *port, emlxs_dfc_event_t *dfc_event, uint32_t sleep) argument
|
H A D | emlxs_pkt.c | 149 uint32_t datalen, int32_t sleep) 172 if (!(pkt = (fc_packet_t *)kmem_alloc(pkt_size, sleep))) { 178 cb = (sleep == KM_SLEEP) ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT; 148 emlxs_pkt_alloc(emlxs_port_t *port, uint32_t cmdlen, uint32_t rsplen, uint32_t datalen, int32_t sleep) argument
|
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/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 227 * sleep = This call can sleep or not 237 fcoei_init_pkt(void *fca_handle, fc_packet_t *fpkt, int sleep) argument 242 ASSERT(sleep + 1); 450 * flags - Set to KM_SLEEP if the function may sleep, or KM_NOSLEEP if 451 * the function may not 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/sun4v/io/niumx/ |
H A D | niumx.c | 650 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; local 661 if ((mp = kmem_alloc(sizeof (ddi_dma_impl_t), sleep)) == 0) {
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/ |
H A D | i2c_svc.c | 187 int sleep; local 197 sleep = KM_SLEEP; 199 sleep = KM_NOSLEEP; 201 sleep = KM_NOSLEEP; 206 if ((i2cw = kmem_zalloc(size, sleep)) == NULL) {
|
/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/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) {
|