/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng2-x.c | 128 # define usleep(x) sleep(((x)+499999)/1000000) 596 * backs as decoded data become available. We optionally call sleep() for in main() 624 sleep(1); in main() 671 sleep(1); in main() 687 * calls to sleep(1) interleaved with checks for quit in main() 695 sleep(1); in main()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | he.c | 2340 int retry = 0, sleep = 1, tx_inuse; in he_close() local 2399 msleep(sleep); in he_close() 2400 if (sleep < 250) in he_close() 2401 sleep = sleep * 2; in he_close()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | md-bitmap.c | 72 * In general it is not permitted to sleep in that context as it 494 pr_debug(" daemon sleep: %us\n", le32_to_cpu(sb->daemon_sleep)); in md_bitmap_print_sb() 647 reason = "daemon sleep period out of range"; in md_bitmap_read_sb() 1713 long sleep; in md_bitmap_flush() local 1721 sleep = mddev->bitmap_info.daemon_sleep * 2; in md_bitmap_flush() 1722 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1724 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1726 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_softmac.c | 1694 short sleep; in ieee80211_sta_ps() local 1711 sleep = ieee80211_sta_ps_sleep(ieee, &th, &tl); in ieee80211_sta_ps() 1712 /* 2 wake, 1 sleep, 0 do nothing */ in ieee80211_sta_ps() 1713 if (sleep == 0) in ieee80211_sta_ps() 1716 if (sleep == 1) { in ieee80211_sta_ps() 1735 } else if (sleep == 2) { in ieee80211_sta_ps()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 2337 int retry = 0, sleep = 1, tx_inuse; in he_close() local 2396 msleep(sleep); in he_close() 2397 if (sleep < 250) in he_close() 2398 sleep = sleep * 2; in he_close()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 1807 short sleep; in rtllib_sta_ps() local 1822 sleep = rtllib_sta_ps_sleep(ieee, &time); in rtllib_sta_ps() 1823 /* 2 wake, 1 sleep, 0 do nothing */ in rtllib_sta_ps() 1824 if (sleep == 0) in rtllib_sta_ps() 1826 if (sleep == 1) { in rtllib_sta_ps() 1843 } else if (sleep == 2) { in rtllib_sta_ps()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_softmac.c | 1699 short sleep; in ieee80211_sta_ps() local 1717 sleep = ieee80211_sta_ps_sleep(ieee, &th, &tl); in ieee80211_sta_ps() 1718 /* 2 wake, 1 sleep, 0 do nothing */ in ieee80211_sta_ps() 1719 if (sleep == 0) in ieee80211_sta_ps() 1722 if (sleep == 1) { in ieee80211_sta_ps() 1741 } else if (sleep == 2) { in ieee80211_sta_ps()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-bitmap.c | 72 * In general it is not permitted to sleep in that context as it 537 pr_debug(" daemon sleep: %us\n", le32_to_cpu(sb->daemon_sleep)); in md_bitmap_print_sb() 688 reason = "daemon sleep period out of range"; in md_bitmap_read_sb() 1785 long sleep; in md_bitmap_flush() local 1793 sleep = mddev->bitmap_info.daemon_sleep * 2; in md_bitmap_flush() 1794 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1796 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1798 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 723 /* Put device to sleep, turn off KSO */ in brcmf_sdio_kso_control() 733 * the sdiod sleep write access is synced to PMU 32khz clk in brcmf_sdio_kso_control() 953 brcmf_sdio_bus_sleep(struct brcmf_sdio *bus, bool sleep, bool pendok) in brcmf_sdio_bus_sleep() argument 959 (sleep ? "SLEEP" : "WAKE"), in brcmf_sdio_bus_sleep() 965 if (sleep == bus->sleeping) in brcmf_sdio_bus_sleep() 968 /* Going to sleep */ in brcmf_sdio_bus_sleep() 969 if (sleep) { in brcmf_sdio_bus_sleep() 984 brcmf_err("error while changing bus sleep state %d\n", in brcmf_sdio_bus_sleep() 992 if (sleep) { in brcmf_sdio_bus_sleep() 999 bus->sleeping = sleep; in brcmf_sdio_bus_sleep() 4605 brcmf_sdio_sleep(struct brcmf_sdio *bus, bool sleep) brcmf_sdio_sleep() argument [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target.c | 2491 * We need to sleep in these cases (by returning 1) until the Logout in iscsit_handle_logout_cmd() 4445 int sleep = 1; in iscsit_logout_post_handler_closesession() local 4449 * sleep if iscsit_close_connection() has not already occured. in iscsit_logout_post_handler_closesession() 4452 * always sleep waiting for RX/TX thread shutdown to complete in iscsit_logout_post_handler_closesession() 4456 sleep = cmpxchg(&conn->tx_thread_active, true, false); in iscsit_logout_post_handler_closesession() 4457 if (!sleep) in iscsit_logout_post_handler_closesession() 4466 iscsit_stop_session(sess, sleep, sleep); in iscsit_logout_post_handler_closesession() 4473 int sleep = 1; in iscsit_logout_post_handler_samecid() local 4476 sleep in iscsit_logout_post_handler_samecid() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | disk-io.c | 1731 /* Make the cleaner go to sleep early. */ in cleaner_kthread() 1733 goto sleep; in cleaner_kthread() 1740 goto sleep; in cleaner_kthread() 1743 goto sleep; in cleaner_kthread() 1751 goto sleep; in cleaner_kthread() 1774 sleep: in cleaner_kthread() 1808 goto sleep; in transaction_kthread() 1817 goto sleep; in transaction_kthread() 1827 goto sleep; in transaction_kthread() 1834 sleep in transaction_kthread() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | disk-io.c | 1469 /* Make the cleaner go to sleep early. */ in cleaner_kthread() 1471 goto sleep; in cleaner_kthread() 1478 goto sleep; in cleaner_kthread() 1481 goto sleep; in cleaner_kthread() 1489 goto sleep; in cleaner_kthread() 1522 sleep: in cleaner_kthread() 1556 goto sleep; in transaction_kthread() 1567 goto sleep; in transaction_kthread() 1577 goto sleep; in transaction_kthread() 1584 sleep in transaction_kthread() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target.c | 2532 * We need to sleep in these cases (by returning 1) until the Logout in iscsit_handle_logout_cmd() 4596 int sleep = 1; in iscsit_logout_post_handler_closesession() local 4600 * sleep if iscsit_close_connection() has not already occured. in iscsit_logout_post_handler_closesession() 4603 * always sleep waiting for RX/TX thread shutdown to complete in iscsit_logout_post_handler_closesession() 4607 sleep = cmpxchg(&conn->tx_thread_active, true, false); in iscsit_logout_post_handler_closesession() 4608 if (!sleep) in iscsit_logout_post_handler_closesession() 4617 iscsit_stop_session(sess, sleep, sleep); in iscsit_logout_post_handler_closesession() 4624 int sleep = 1; in iscsit_logout_post_handler_samecid() local 4627 sleep in iscsit_logout_post_handler_samecid() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 734 /* Put device to sleep, turn off KSO */ in brcmf_sdio_kso_control() 744 * the sdiod sleep write access is synced to PMU 32khz clk in brcmf_sdio_kso_control() 964 brcmf_sdio_bus_sleep(struct brcmf_sdio *bus, bool sleep, bool pendok) in brcmf_sdio_bus_sleep() argument 970 (sleep ? "SLEEP" : "WAKE"), in brcmf_sdio_bus_sleep() 976 if (sleep == bus->sleeping) in brcmf_sdio_bus_sleep() 979 /* Going to sleep */ in brcmf_sdio_bus_sleep() 980 if (sleep) { in brcmf_sdio_bus_sleep() 995 brcmf_err("error while changing bus sleep state %d\n", in brcmf_sdio_bus_sleep() 1003 if (sleep) { in brcmf_sdio_bus_sleep() 1010 bus->sleeping = sleep; in brcmf_sdio_bus_sleep() 4632 brcmf_sdio_sleep(struct brcmf_sdio *bus, bool sleep) brcmf_sdio_sleep() argument [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_native.c | 1497 wake_up(&runtime->sleep); in snd_pcm_post_stop() 1616 wake_up(&runtime->sleep); in snd_pcm_post_pause() 1688 wake_up(&runtime->sleep); in snd_pcm_post_suspend() 2136 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 2154 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 3560 poll_wait(file, &runtime->sleep, wait); in snd_pcm_poll()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm_native.c | 1522 wake_up(&runtime->sleep); in snd_pcm_post_stop() 1637 wake_up(&runtime->sleep); in snd_pcm_post_pause() 1710 wake_up(&runtime->sleep); in snd_pcm_post_suspend() 2153 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 2171 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 3612 poll_wait(file, &runtime->sleep, wait); in snd_pcm_poll()
|
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/ |
H A D | os.S | 65 | The result is that Unix processes are allowed to sleep as a consequence
|
/kernel/linux/build/test/unittest/accesstokenid/ |
H A D | accesstokenid_test.cpp | 80 sleep(1); in GenRand64()
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/shmobile/ |
H A D | sleep.S | 3 * arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S 188 /* set mode to "sleep mode" */ 197 sleep 278 /* restore sleep mode register */
|
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/ |
H A D | os.S | 65 | The result is that Unix processes are allowed to sleep as a consequence
|
/kernel/linux/linux-5.10/tools/thermal/tmon/ |
H A D | tui.c | 192 sleep(1); in resize_handler()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ntb/ |
H A D | ntb_test.sh | 432 sleep 7
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 142 sleep 5 # wait enough time to ensure the UDP datagram arrived to the last segment
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 175 * A simple process running in a sleep loop until being 826 sleep(1); in vfork_fn()
|
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/shmobile/ |
H A D | sleep.S | 3 * arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S 188 /* set mode to "sleep mode" */ 197 sleep 278 /* restore sleep mode register */
|