Home
last modified time | relevance | path

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

/linux/drivers/block/aoe/
H 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()
H A Daoecmd.c50 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()
1651 if (kts[i].active) in aoe_flush_iocq()
1706 kts = kzalloc_objs(struct ktstate, ncpus); in aoecmd_init()
1707 if (!kts) { in aoecmd_init()
1722 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); in aoecmd_init()
[all …]
/linux/tools/include/nolibc/
H A Dtime.h22 __nolibc_timespec_user_to_kernel(const struct timespec * ts,struct __kernel_timespec * kts) __nolibc_timespec_user_to_kernel() argument
29 __nolibc_timespec_kernel_to_user(const struct __kernel_timespec * kts,struct timespec * ts) __nolibc_timespec_kernel_to_user() argument
/linux/kernel/time/
H A Dtime.c870 struct __kernel_timespec kts; in get_timespec64() local
873 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64()
877 ts->tv_sec = kts.tv_sec; in get_timespec64()
881 kts.tv_nsec &= 0xFFFFFFFFUL; in get_timespec64()
884 ts->tv_nsec = kts.tv_nsec; in get_timespec64()
901 struct __kernel_timespec kts = { in put_timespec64() local
906 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64()
/linux/net/netfilter/
H A Dnfnetlink_log.c602 struct timespec64 kts = ktime_to_timespec64(skb_tstamp_cond(skb, true)); in __build_packet_message() local
604 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message()
605 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message()
H A Dnfnetlink_queue.c882 struct timespec64 kts = ktime_to_timespec64(tstamp); in nfqnl_build_packet_message() local
884 ts.sec = cpu_to_be64(kts.tv_sec); in nfqnl_build_packet_message()
885 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in nfqnl_build_packet_message()
/linux/net/ipv4/
H A Dtcp.c2386 struct __kernel_timespec kts = { in tcp_recv_timestamp() local
2391 sizeof(kts), &kts); in tcp_recv_timestamp()