Lines Matching refs:victim
810 struct urb *victim; in usb_kill_anchored_urbs() local
816 victim = list_entry(anchor->urb_list.prev, in usb_kill_anchored_urbs()
819 usb_get_urb(victim); in usb_kill_anchored_urbs()
822 usb_kill_urb(victim); in usb_kill_anchored_urbs()
823 usb_put_urb(victim); in usb_kill_anchored_urbs()
848 struct urb *victim; in usb_poison_anchored_urbs() local
855 victim = list_entry(anchor->urb_list.prev, in usb_poison_anchored_urbs()
858 usb_get_urb(victim); in usb_poison_anchored_urbs()
861 usb_poison_urb(victim); in usb_poison_anchored_urbs()
862 usb_put_urb(victim); in usb_poison_anchored_urbs()
907 struct urb *victim; in usb_unlink_anchored_urbs() local
909 while ((victim = usb_get_from_anchor(anchor)) != NULL) { in usb_unlink_anchored_urbs()
910 usb_unlink_urb(victim); in usb_unlink_anchored_urbs()
911 usb_put_urb(victim); in usb_unlink_anchored_urbs()
980 struct urb *victim; in usb_get_from_anchor() local
985 victim = list_entry(anchor->urb_list.next, struct urb, in usb_get_from_anchor()
987 usb_get_urb(victim); in usb_get_from_anchor()
988 __usb_unanchor_urb(victim, anchor); in usb_get_from_anchor()
990 victim = NULL; in usb_get_from_anchor()
994 return victim; in usb_get_from_anchor()
1007 struct urb *victim; in usb_scuttle_anchored_urbs() local
1014 victim = list_entry(anchor->urb_list.prev, in usb_scuttle_anchored_urbs()
1016 __usb_unanchor_urb(victim, anchor); in usb_scuttle_anchored_urbs()