/kernel/linux/linux-5.10/lib/ |
H A D | test_lockup.c | 328 static void test_wait(unsigned int secs, unsigned int nsecs) in test_wait() argument 333 if (nsecs) in test_wait() 334 ndelay(nsecs); in test_wait() 342 time = ns_to_ktime((u64)secs * NSEC_PER_SEC + nsecs); in test_wait() 345 schedule_timeout(secs * HZ + nsecs_to_jiffies(nsecs)); in test_wait()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_lockup.c | 328 static void test_wait(unsigned int secs, unsigned int nsecs) in test_wait() argument 333 if (nsecs) in test_wait() 334 ndelay(nsecs); in test_wait() 342 time = ns_to_ktime((u64)secs * NSEC_PER_SEC + nsecs); in test_wait() 345 schedule_timeout(secs * HZ + nsecs_to_jiffies(nsecs)); in test_wait()
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | delay.c | 227 void __ndelay(unsigned long nsecs) in __ndelay() argument 229 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ktime.h | 34 * @nsecs: nanoseconds to set 38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() argument 43 return secs * NSEC_PER_SEC + (s64)nsecs; in ktime_set()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ktime.h | 34 * @nsecs: nanoseconds to set 38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() argument 43 return secs * NSEC_PER_SEC + (s64)nsecs; in ktime_set()
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | delay.c | 227 void __ndelay(unsigned long nsecs) in __ndelay() argument 229 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | delay.h | 8 extern void ndelay(unsigned long nsecs);
|
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | delay.h | 8 extern void ndelay(unsigned long nsecs);
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | delay.h | 16 extern void ndelay(unsigned long nsecs);
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | delay.h | 16 extern void ndelay(unsigned long nsecs);
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | delay.h | 16 void __ndelay(unsigned long nsecs);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.h | 199 #define FLASH_MAX_SIZE(nsecs) ((nsecs) * SF_SEC_SIZE)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.h | 199 #define FLASH_MAX_SIZE(nsecs) ((nsecs) * SF_SEC_SIZE)
|
/kernel/linux/linux-5.10/arch/um/include/shared/ |
H A D | os.h | 260 extern void os_idle_sleep(unsigned long long nsecs); 262 extern int os_timer_set_interval(unsigned long long nsecs); 263 extern int os_timer_one_shot(unsigned long long nsecs);
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | delay.h | 16 void __ndelay(unsigned long long nsecs);
|
/kernel/linux/linux-5.10/fs/omfs/ |
H A D | inode.c | 208 unsigned long nsecs; in omfs_iget() local 231 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget() 236 inode->i_atime.tv_nsec = nsecs; in omfs_iget() 237 inode->i_mtime.tv_nsec = nsecs; in omfs_iget() 238 inode->i_ctime.tv_nsec = nsecs; in omfs_iget()
|
/kernel/linux/linux-6.6/fs/omfs/ |
H A D | inode.c | 208 unsigned long nsecs; in omfs_iget() local 231 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget() 235 inode_set_ctime(inode, ctime, nsecs); in omfs_iget() 236 inode->i_atime.tv_nsec = nsecs; in omfs_iget() 237 inode->i_mtime.tv_nsec = nsecs; in omfs_iget()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | epoll-wait.c | 92 static unsigned int nsecs = 8; variable 129 OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"), 473 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs); in bench_epoll_wait() 502 sleep(nsecs); in bench_epoll_wait()
|
H A D | epoll-ctl.c | 37 static unsigned int nsecs = 8; variable 76 OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"), 353 getpid(), nthreads, nfds, nsecs); in bench_epoll_ctl() 374 sleep(nsecs); in bench_epoll_ctl()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | epoll-wait.c | 92 static unsigned int nsecs = 8; variable 129 OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"), 486 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs); in bench_epoll_wait() 515 sleep(nsecs); in bench_epoll_wait()
|
H A D | epoll-ctl.c | 37 static unsigned int nsecs = 8; variable 76 OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"), 366 getpid(), nthreads, nfds, nsecs); in bench_epoll_ctl() 387 sleep(nsecs); in bench_epoll_ctl()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | delay_32.h | 25 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | delay_32.h | 25 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | delay.h | 10 extern void __ndelay(unsigned long nsecs);
|
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | delay.h | 10 extern void __ndelay(unsigned long nsecs);
|