Lines Matching refs:victim
825 struct urb *victim; in usb_kill_anchored_urbs() local
831 victim = list_entry(anchor->urb_list.prev, in usb_kill_anchored_urbs()
834 usb_get_urb(victim); in usb_kill_anchored_urbs()
837 usb_kill_urb(victim); in usb_kill_anchored_urbs()
838 usb_put_urb(victim); in usb_kill_anchored_urbs()
863 struct urb *victim; in usb_poison_anchored_urbs() local
870 victim = list_entry(anchor->urb_list.prev, in usb_poison_anchored_urbs()
873 usb_get_urb(victim); in usb_poison_anchored_urbs()
876 usb_poison_urb(victim); in usb_poison_anchored_urbs()
877 usb_put_urb(victim); in usb_poison_anchored_urbs()
922 struct urb *victim; in usb_unlink_anchored_urbs() local
924 while ((victim = usb_get_from_anchor(anchor)) != NULL) { in usb_unlink_anchored_urbs()
925 usb_unlink_urb(victim); in usb_unlink_anchored_urbs()
926 usb_put_urb(victim); in usb_unlink_anchored_urbs()
995 struct urb *victim; in usb_get_from_anchor() local
1000 victim = list_entry(anchor->urb_list.next, struct urb, in usb_get_from_anchor()
1002 usb_get_urb(victim); in usb_get_from_anchor()
1003 __usb_unanchor_urb(victim, anchor); in usb_get_from_anchor()
1005 victim = NULL; in usb_get_from_anchor()
1009 return victim; in usb_get_from_anchor()
1022 struct urb *victim; in usb_scuttle_anchored_urbs() local
1029 victim = list_entry(anchor->urb_list.prev, in usb_scuttle_anchored_urbs()
1031 __usb_unanchor_urb(victim, anchor); in usb_scuttle_anchored_urbs()