Home
last modified time | relevance | path

Searched refs:kc (Results 1 – 8 of 8) sorted by relevance

/drivers/md/
Ddm-kcopyd.c206 static void wake(struct dm_kcopyd_client *kc) in wake() argument
208 queue_work(kc->kcopyd_wq, &kc->kcopyd_work); in wake()
241 static void kcopyd_put_pages(struct dm_kcopyd_client *kc, struct page_list *pl) in kcopyd_put_pages() argument
248 if (kc->nr_free_pages >= kc->nr_reserved_pages) in kcopyd_put_pages()
251 pl->next = kc->pages; in kcopyd_put_pages()
252 kc->pages = pl; in kcopyd_put_pages()
253 kc->nr_free_pages++; in kcopyd_put_pages()
260 static int kcopyd_get_pages(struct dm_kcopyd_client *kc, in kcopyd_get_pages() argument
271 pl = kc->pages; in kcopyd_get_pages()
274 kc->pages = pl->next; in kcopyd_get_pages()
[all …]
Ddm-zoned-reclaim.c20 struct dm_kcopyd_client *kc; member
175 dm_kcopyd_copy(zrc->kc, &src, 1, &dst, flags, in dmz_reclaim_copy()
568 zrc->kc = dm_kcopyd_client_create(&zrc->kc_throttle); in dmz_ctr_reclaim()
569 if (IS_ERR(zrc->kc)) { in dmz_ctr_reclaim()
570 ret = PTR_ERR(zrc->kc); in dmz_ctr_reclaim()
571 zrc->kc = NULL; in dmz_ctr_reclaim()
589 if (zrc->kc) in dmz_ctr_reclaim()
590 dm_kcopyd_client_destroy(zrc->kc); in dmz_ctr_reclaim()
603 dm_kcopyd_client_destroy(zrc->kc); in dmz_dtr_reclaim()
Draid5-ppl.c207 struct kmem_cache *kc = pool_data; in ppl_io_pool_alloc() local
210 io = kmem_cache_alloc(kc, gfp_mask); in ppl_io_pool_alloc()
216 kmem_cache_free(kc, io); in ppl_io_pool_alloc()
225 struct kmem_cache *kc = pool_data; in ppl_io_pool_free() local
229 kmem_cache_free(kc, io); in ppl_io_pool_free()
/drivers/media/rc/
Dimon.c132 u32 kc; /* current input keycode */ member
1350 } else if (ictx->kc == KEY_CHANNELUP && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1352 } else if (ictx->kc == KEY_CHANNELDOWN && (buf[2] & 0x40) != 0x40) { in imon_mouse_event()
1374 ictx->last_keycode = ictx->kc; in imon_mouse_event()
1424 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1489 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys()
1521 ictx->kc = imon_remote_key_lookup(ictx, scancode); in imon_pad_to_keys()
1540 if (ictx->kc == KEY_RESERVED && buf[0] == 0x02 && buf[3] == 0x00) in imon_parse_press_type()
1541 ictx->kc = ictx->last_keycode; in imon_parse_press_type()
1544 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x68 && buf[1] == 0x82 && in imon_parse_press_type()
[all …]
/drivers/pps/
DMakefile7 pps_core-$(CONFIG_NTP_PPS) += kc.o
/drivers/tty/vt/
Dkeyboard.c1893 int kc = 0; in vt_do_kbkeycode_ioctl() local
1899 kc = getkeycode(tmp.scancode); in vt_do_kbkeycode_ioctl()
1900 if (kc >= 0) in vt_do_kbkeycode_ioctl()
1901 kc = put_user(kc, &user_kbkc->keycode); in vt_do_kbkeycode_ioctl()
1906 kc = setkeycode(tmp.scancode, tmp.keycode); in vt_do_kbkeycode_ioctl()
1909 return kc; in vt_do_kbkeycode_ioctl()
/drivers/s390/cio/
Dchsc.h97 u32 kc:4; member
Dchsc.c205 scssc->kc = PAGE_DEFAULT_KEY >> 4; in chsc_sadc()