Searched refs:kts (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/block/aoe/ |
D | aoenet.c | 37 static struct ktstate kts; variable 205 kts.lock = &txlock; in aoenet_init() 206 kts.fn = tx; in aoenet_init() 207 kts.waitq = &txwq; in aoenet_init() 208 kts.id = 0; in aoenet_init() 209 snprintf(kts.name, sizeof(kts.name), "aoe_tx%d", kts.id); in aoenet_init() 210 if (aoe_ktstart(&kts)) in aoenet_init() 219 aoe_ktstop(&kts); in aoenet_exit()
|
D | aoecmd.c | 51 static struct ktstate *kts; variable 1216 if (!kts[actual_id].active) { in ktio() 1219 if (!kts[actual_id].active in ktio() 1220 && aoe_ktstart(&kts[actual_id]) == 0) in ktio() 1221 kts[actual_id].active = 1; in ktio() 1289 if (!kts[id].active) { in ktcomplete() 1648 if (kts[i].active) in aoe_flush_iocq() 1703 kts = kcalloc(ncpus, sizeof(struct ktstate), GFP_KERNEL); in aoecmd_init() 1704 if (!kts) { in aoecmd_init() 1721 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); in aoecmd_init() [all …]
|
/Linux-v4.19/kernel/time/ |
D | time.c | 856 struct __kernel_timespec kts; in get_timespec64() local 859 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64() 863 ts->tv_sec = kts.tv_sec; in get_timespec64() 867 kts.tv_nsec &= 0xFFFFFFFFUL; in get_timespec64() 869 ts->tv_nsec = kts.tv_nsec; in get_timespec64() 878 struct __kernel_timespec kts = { in put_timespec64() local 883 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | osf_sys.c | 1010 struct timespec64 kts; in SYSCALL_DEFINE2() local 1012 ktime_get_real_ts64(&kts); in SYSCALL_DEFINE2() 1013 if (put_tv32(tv, &kts)) in SYSCALL_DEFINE2() 1026 struct timespec64 kts; in SYSCALL_DEFINE2() local 1030 if (get_tv32(&kts, tv)) in SYSCALL_DEFINE2() 1038 return do_sys_settimeofday64(tv ? &kts : NULL, tz ? &ktz : NULL); in SYSCALL_DEFINE2()
|
/Linux-v4.19/net/netfilter/ |
D | nfnetlink_log.c | 545 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message() local 546 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message() 547 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message()
|
D | nfnetlink_queue.c | 587 struct timespec64 kts = ktime_to_timespec64(entskb->tstamp); in nfqnl_build_packet_message() local 589 ts.sec = cpu_to_be64(kts.tv_sec); in nfqnl_build_packet_message() 590 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in nfqnl_build_packet_message()
|
/Linux-v4.19/net/ |
D | socket.c | 2768 struct timespec kts; in do_siocgstampns() local 2772 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts, in do_siocgstampns() 2776 err = compat_put_timespec(&kts, up); in do_siocgstampns()
|