Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/block/aoe/
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()
Daoecmd.c51 static struct ktstate *kts; variable
1275 if (!kts[actual_id].active) { in ktio()
1278 if (!kts[actual_id].active in ktio()
1279 && aoe_ktstart(&kts[actual_id]) == 0) in ktio()
1280 kts[actual_id].active = 1; in ktio()
1348 if (!kts[id].active) { in ktcomplete()
1709 if (kts[i].active) in aoe_flush_iocq()
1764 kts = kcalloc(ncpus, sizeof(struct ktstate), GFP_KERNEL); in aoecmd_init()
1765 if (!kts) { in aoecmd_init()
1782 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); in aoecmd_init()
[all …]
/linux-4.4.14/arch/alpha/kernel/
Dosf_sys.c1016 struct timespec kts; in SYSCALL_DEFINE2() local
1020 if (get_tv32((struct timeval *)&kts, tv)) in SYSCALL_DEFINE2()
1022 kts.tv_nsec *= 1000; in SYSCALL_DEFINE2()
1029 return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL); in SYSCALL_DEFINE2()
/linux-4.4.14/net/netfilter/
Dnfnetlink_log.c544 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message() local
545 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message()
546 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message()
Dnfnetlink_queue.c504 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in nfqnl_build_packet_message() local
506 ts.sec = cpu_to_be64(kts.tv_sec); in nfqnl_build_packet_message()
507 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in nfqnl_build_packet_message()
/linux-4.4.14/kernel/
Dcompat.c193 int compat_convert_timespec(struct timespec __user **kts, in compat_convert_timespec() argument
200 *kts = (struct timespec __user *)cts; in compat_convert_timespec()
212 *kts = uts; in compat_convert_timespec()
/linux-4.4.14/net/
Dsocket.c2570 struct timespec kts; in do_siocgstampns() local
2574 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts); in do_siocgstampns()
2577 err = compat_put_timespec(&kts, up); in do_siocgstampns()