Home
last modified time | relevance | path

Searched refs:kts (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/block/aoe/
A Daoenet.c37 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()
A Daoecmd.c51 static struct ktstate *kts; variable
1637 if (kts[i].active) in aoe_flush_iocq()
1693 if (!kts) { in aoecmd_init()
1708 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); in aoecmd_init()
1709 kts[i].fn = ktio; in aoecmd_init()
1712 kts[i].id = i; in aoecmd_init()
1713 kts[i].active = 0; in aoecmd_init()
1715 kts[0].active = 1; in aoecmd_init()
1725 kfree(kts); in aoecmd_init()
1738 if (kts[i].active) in aoecmd_exit()
[all …]
/linux/kernel/time/
A Dtime.c784 struct __kernel_timespec kts; in get_timespec64() local
787 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64()
791 ts->tv_sec = kts.tv_sec; in get_timespec64()
795 kts.tv_nsec &= 0xFFFFFFFFUL; in get_timespec64()
798 ts->tv_nsec = kts.tv_nsec; in get_timespec64()
807 struct __kernel_timespec kts = { in put_timespec64() local
812 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64()
/linux/arch/alpha/kernel/
A Dosf_sys.c985 struct timespec64 kts; in SYSCALL_DEFINE2() local
987 ktime_get_real_ts64(&kts); in SYSCALL_DEFINE2()
988 if (put_tv32(tv, &kts)) in SYSCALL_DEFINE2()
1001 struct timespec64 kts; in SYSCALL_DEFINE2() local
1005 if (get_tv32(&kts, tv)) in SYSCALL_DEFINE2()
1013 return do_sys_settimeofday64(tv ? &kts : NULL, tz ? &ktz : NULL); in SYSCALL_DEFINE2()
/linux/net/netfilter/
A Dnfnetlink_log.c592 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message() local
593 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message()
594 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message()
A Dnfnetlink_queue.c582 struct timespec64 kts = ktime_to_timespec64(entskb->tstamp); in nfqnl_build_packet_message() local
584 ts.sec = cpu_to_be64(kts.tv_sec); in nfqnl_build_packet_message()
585 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in nfqnl_build_packet_message()
/linux/net/ipv4/
A Dtcp.c2193 struct __kernel_timespec kts = { in tcp_recv_timestamp() local
2198 sizeof(kts), &kts); in tcp_recv_timestamp()

Completed in 25 milliseconds