Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/core/
Durb.c794 struct urb *victim; in usb_kill_anchored_urbs() local
800 victim = list_entry(anchor->urb_list.prev, in usb_kill_anchored_urbs()
803 usb_get_urb(victim); in usb_kill_anchored_urbs()
806 usb_kill_urb(victim); in usb_kill_anchored_urbs()
807 usb_put_urb(victim); in usb_kill_anchored_urbs()
832 struct urb *victim; in usb_poison_anchored_urbs() local
839 victim = list_entry(anchor->urb_list.prev, in usb_poison_anchored_urbs()
842 usb_get_urb(victim); in usb_poison_anchored_urbs()
845 usb_poison_urb(victim); in usb_poison_anchored_urbs()
846 usb_put_urb(victim); in usb_poison_anchored_urbs()
[all …]
/drivers/mmc/core/
Dsdio_cis.c362 struct sdio_func_tuple *tuple, *victim; in sdio_free_common_cis() local
367 victim = tuple; in sdio_free_common_cis()
369 kfree(victim); in sdio_free_common_cis()
403 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local
408 victim = tuple; in sdio_free_func_cis()
410 kfree(victim); in sdio_free_func_cis()
/drivers/staging/lustre/lustre/osc/
Dosc_cache.c527 struct osc_extent *victim) in osc_extent_merge() argument
536 if (victim == NULL) in osc_extent_merge()
539 if (victim->oe_state != OES_CACHE || victim->oe_fsync_wait) in osc_extent_merge()
542 if (cur->oe_max_end != victim->oe_max_end) in osc_extent_merge()
545 LASSERT(cur->oe_osclock == victim->oe_osclock); in osc_extent_merge()
549 if (chunk_start != (victim->oe_end >> ppc_bits) + 1 && in osc_extent_merge()
550 chunk_end + 1 != victim->oe_start >> ppc_bits) in osc_extent_merge()
553 OSC_EXTENT_DUMP(D_CACHE, victim, "will be merged by %p.\n", cur); in osc_extent_merge()
555 cur->oe_start = min(cur->oe_start, victim->oe_start); in osc_extent_merge()
556 cur->oe_end = max(cur->oe_end, victim->oe_end); in osc_extent_merge()
[all …]
/drivers/mtd/ubi/
Dfastmap-wl.c38 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local
43 victim = e; in find_anchor_wl_entry()
48 return victim; in find_anchor_wl_entry()
Dfastmap.c276 struct ubi_ainf_peb *aeb, *victim; in update_vol() local
309 victim = kmem_cache_alloc(ai->aeb_slab_cache, in update_vol()
311 if (!victim) in update_vol()
314 victim->ec = aeb->ec; in update_vol()
315 victim->pnum = aeb->pnum; in update_vol()
316 list_add_tail(&victim->u.list, &ai->erase); in update_vol()
/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c607 struct cfs_trace_page *victim; in put_pages_on_tcd_daemon_list() local
610 victim = cfs_tage_from_list(tcd->tcd_daemon_pages.next); in put_pages_on_tcd_daemon_list()
612 __LASSERT_TAGE_INVARIANT(victim); in put_pages_on_tcd_daemon_list()
614 list_del(&victim->linkage); in put_pages_on_tcd_daemon_list()
615 cfs_tage_free(victim); in put_pages_on_tcd_daemon_list()