/illumos-gate/usr/src/cmd/initpkg/ |
H A D | umountall.sh | 65 # /usr/bin/sleep -k, to sleep after an fuser -c -k on the mountpoint 137 sleep () { function 138 : # No need to show where we'd sleep 207 sleep () { function 211 if [ ! -x /usr/bin/sleep ]; then 212 sleep () { function 213 echo "umountall: sleep after fuser -k skipped (no /usr)" 1>&2 353 sleep 2
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | unistd.c | 72 sleep(unsigned int secs) function
|
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/ |
H A D | sleep.c | 20 sleep(unsigned n) function 43 * sleep never did anything more than this before.
|
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/ |
H A D | sleep.c | 23 * sleep(n) 32 sleep(unsigned n) function
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_gcmd.c | 66 int sleep) 74 gwp = kmem_zalloc(gwrap_len, (sleep ? KM_SLEEP : KM_NOSLEEP)); 76 ASSERT(sleep == FALSE); 64 ghd_gcmd_alloc(gtgt_t *gtgtp, int ccblen, int sleep) argument
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | clock.c | 484 ** SLEEP -- a version of sleep that works with this stuff 486 ** Because Unix sleep uses the alarm facility, I must reimplement 490 ** intvl -- time to sleep. 511 sleep(intvl) function 546 syslog(LOG_ERR, "sleep: interval=%u exceeds max value %d", 572 syslog(LOG_ERR, "sleep: sm_setevent(%u) failed", intvl);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
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_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
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 22 * sleep delay 29 #define sleep ______sleep macro 31 #undef sleep macro 39 # define sleep _ast_sleep macro 126 unsigned int sleep(unsigned int sec) function 173 sleep(n); 199 sleep(n); 211 sleep(n);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 57 void sleep(int secs) function 71 printf("<sleep>\n"); 72 return sleep(secs);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_fcoib.c | 234 uint8_t port, uint32_t qp_indx, uint_t sleep) 254 nummtt, mtt_addr, sleep); 264 uint32_t qpnum, uint_t sleep) 283 status = hermon_mr_fexch_mpt_fini(state, pd, mpt_indx, sleep); 233 hermon_fcoib_fexch_mkey_init(hermon_state_t *state, hermon_pdhdl_t pd, uint8_t port, uint32_t qp_indx, uint_t sleep) argument 263 hermon_fcoib_fexch_mkey_fini(hermon_state_t *state, hermon_pdhdl_t pd, uint32_t qpnum, uint_t sleep) argument
|
/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/lib/libldap5/include/ldap/ |
H A D | portable.h | 404 #define sleep(a) Sleep( a*1000 ) macro
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_thread.c | 159 nst_thread_alloc(nstset_t *set, const int sleep) argument 178 if (!sleep)
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
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,
|
H A D | sctp_timer.c | 157 sctp_timer_alloc(sctp_t *sctp, pfv_t func, int sleep) argument 164 if (sleep == KM_SLEEP) {
|
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_common.c | 455 * connection security label. If sleep is true, this function should 463 sctp_add_faddr(sctp_t *sctp, in6_addr_t *addr, int sleep, boolean_t first) argument 511 if ((faddr = kmem_cache_alloc(sctp_kmem_faddr_cache, sleep)) == NULL) 514 timer_mp = sctp_timer_alloc((sctp), sctp_rexmit_timer, sleep); 914 sctp_build_hdrs(sctp_t *sctp, int sleep) argument 946 hdrs = kmem_alloc(hdrs_len, sleep); 986 hdrs = kmem_alloc(hdrs_len, sleep); 1509 int sleep, sctp_stack_t *sctps, ip_recv_attr_t *ira) 1555 sleep); 1566 sleep); 1508 sctp_secure_restart_check(mblk_t *pkt, sctp_chunk_hdr_t *ich, uint32_t ports, int sleep, sctp_stack_t *sctps, ip_recv_attr_t *ira) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi.c | 375 getrbuf(int sleep) argument 379 bp = kmem_alloc(sizeof (struct buf), sleep); 668 * Used by open and close procedures to "sleep" waiting for messages to 756 * put or service procedures. We can not sleep on sq_wait since an 783 * Used by open and close procedures to "sleep" waiting for messages to 868 * put or service procedures. We can not sleep on sq_wait since an 954 * put or service procedures. We can not sleep on sq_wait since an 1004 * qtimeout() can't fail and can't sleep, so panic if memory is not
|
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/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 61 uint_t sleep, uint_t *dereg_level); 65 ddi_dma_handle_t dmahdl, uint_t sleep); 191 uint_t sleep, mr_is_umem; local 198 * Check the sleep flag. Ensure that it is consistent with the 200 * context, then we shouldn't be attempting to sleep). 202 sleep = (mr_attr->mr_flags & IBT_MR_NOSLEEP) ? TAVOR_NOSLEEP : 204 if ((sleep == TAVOR_SLEEP) && 205 (sleep != TAVOR_SLEEPFLAG_FOR_CONTEXT())) { 222 status = tavor_rsrc_alloc(state, TAVOR_MPT, 1, sleep, &mpt); 235 status = tavor_rsrc_alloc(state, TAVOR_MRHDL, 1, sleep, 476 tavor_mr_deregister(tavor_state_t *state, tavor_mrhdl_t *mrhdl, uint_t level, uint_t sleep) argument 911 uint_t sleep; local 1037 tavor_mw_free(tavor_state_t *state, tavor_mwhdl_t *mwhdl, uint_t sleep) argument 1156 uint_t sleep, mtt_pgsize_bits, bind_type, mr_is_umem; local 1497 uint_t sleep; local 1670 uint_t sleep; local 1799 uint_t sleep, dereg_level; local 2111 tavor_mr_rereg_xlat_helper(tavor_state_t *state, tavor_mrhdl_t mr, tavor_bind_info_t *bind, tavor_mr_options_t *op, uint64_t *mtt_addr, uint_t sleep, uint_t *dereg_level) argument 2525 tavor_mr_mem_bind(tavor_state_t *state, tavor_bind_info_t *bind, ddi_dma_handle_t dmahdl, uint_t sleep) argument [all...] |
/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/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/uts/common/inet/ip/ |
H A D | ipclassifier.c | 214 * conn_t *ipcl_conn_create(type, sleep, netstack_t *) 576 ipcl_conn_create(uint32_t type, int sleep, netstack_t *ns) argument 583 if ((connp = kmem_cache_alloc(sctp_conn_cache, sleep)) == NULL) 618 if ((connp = kmem_cache_alloc(conn_cache, sleep)) == NULL)
|