Home
last modified time | relevance | path

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

/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
1212 if (!kts[actual_id].active) { in ktio()
1215 if (!kts[actual_id].active in ktio()
1216 && aoe_ktstart(&kts[actual_id]) == 0) in ktio()
1217 kts[actual_id].active = 1; in ktio()
1285 if (!kts[id].active) { in ktcomplete()
1644 if (kts[i].active) in aoe_flush_iocq()
1699 kts = kcalloc(ncpus, sizeof(struct ktstate), GFP_KERNEL); in aoecmd_init()
1700 if (!kts) { in aoecmd_init()
1717 snprintf(kts[i].name, sizeof(kts[i].name), "aoe_ktio%d", i); in aoecmd_init()
[all …]