Searched refs:kts (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoenet.c | 37 static struct ktstate kts; variable in typeref:struct:ktstate 205 kts.lock = &txlock; aoenet_init() 206 kts.fn = tx; aoenet_init() 207 kts.waitq = &txwq; aoenet_init() 208 kts.id = 0; aoenet_init() 209 snprintf(kts.name, sizeof(kts.name), "aoe_tx%d", kts.id); aoenet_init() 210 if (aoe_ktstart(&kts)) aoenet_init() 219 aoe_ktstop(&kts); aoenet_exit()
|
H A D | aoecmd.c | 51 static struct ktstate *kts; variable in typeref:struct:ktstate 1275 if (!kts[actual_id].active) { ktio() 1278 if (!kts[actual_id].active ktio() 1279 && aoe_ktstart(&kts[actual_id]) == 0) ktio() 1280 kts[actual_id].active = 1; ktio() 1348 if (!kts[id].active) { ktcomplete() 1709 if (kts[i].active) aoe_flush_iocq() 1764 kts = kcalloc(ncpus, sizeof(struct ktstate), GFP_KERNEL); aoecmd_init() 1765 if (!kts) { aoecmd_init() 1782 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); aoecmd_init() 1783 kts[i].fn = ktio; aoecmd_init() 1784 kts[i].waitq = &ktiowq[i]; aoecmd_init() 1785 kts[i].lock = &iocq[i].lock; aoecmd_init() 1786 kts[i].id = i; aoecmd_init() 1787 kts[i].active = 0; aoecmd_init() 1789 kts[0].active = 1; aoecmd_init() 1790 if (aoe_ktstart(&kts[0])) { aoecmd_init() 1799 kfree(kts); aoecmd_init() 1812 if (kts[i].active) aoecmd_exit() 1813 aoe_ktstop(&kts[i]); aoecmd_exit() 1821 kfree(kts); aoecmd_exit()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | osf_sys.c | 1016 struct timespec kts; SYSCALL_DEFINE2() local 1020 if (get_tv32((struct timeval *)&kts, tv)) SYSCALL_DEFINE2() 1022 kts.tv_nsec *= 1000; SYSCALL_DEFINE2() 1029 return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL); SYSCALL_DEFINE2()
|
/linux-4.1.27/kernel/ |
H A D | compat.c | 193 int compat_convert_timespec(struct timespec __user **kts, compat_convert_timespec() argument 200 *kts = (struct timespec __user *)cts; compat_convert_timespec() 212 *kts = uts; compat_convert_timespec()
|
/linux-4.1.27/net/ |
H A D | socket.c | 2579 struct timespec kts; do_siocgstampns() local 2583 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts); do_siocgstampns() 2586 err = compat_put_timespec(&kts, up); do_siocgstampns()
|
Completed in 266 milliseconds