Searched refs:LIST_FIRST (Results 1 – 3 of 3) sorted by relevance
485 if (LIST_FIRST((head)) != NULL && \486 LIST_FIRST((head))->field.le_prev != \487 &LIST_FIRST((head))) \520 QUEUE_TYPEOF(type) *curelm = LIST_FIRST(head1); \522 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \523 LIST_FIRST(head2)->field.le_prev = \524 &LIST_FIRST((head1)); \527 } else if (LIST_FIRST(head2) != NULL) { \530 LIST_NEXT(curelm, field) = LIST_FIRST(head2); \531 LIST_FIRST(head2)->field.le_prev = &LIST_NEXT(curelm, field); \[all …]
159 return LIST_FIRST(&pid_info); in get_pid_entry()
1596 LIST_FIRST(&udev->pd_list) = NULL; in usb_alloc_device()1933 KASSERT(LIST_FIRST(&udev->pd_list) == NULL, ("stale cdev entries")); in usb_cdev_create()1991 while ((pd = LIST_FIRST(&udev->pd_list)) != NULL) { in usb_cdev_free()2087 KASSERT(LIST_FIRST(&udev->pd_list) == NULL, ("leaked cdev entries")); in usb_free_device()