list_is_first
if (list_is_first(&ite->ite_list, &dev->itt_head)) {
if (!list_is_first(&wrapper->list, &wrappers->list))
list_is_first(&block->list, &rctx->blocks);
if (!list_is_first(&sg_req->node, &tdc->pending_sg_req))
if (!list_is_first(&adev->reset_list, device_list))
if (!list_is_first(&adev->reset_list, &device_list))
list_is_first(&bridge->chain_node, &bridge->encoder->bridge_chain)) {
if (!list_is_first(&rq->signal_link, &ce->signals) &&
if (list_is_first(&request->mock.link, &engine->hw_queue)) {
GEM_BUG_ON(!list_is_first(&rq->link,
if (list_is_first(&iommu->list, &amd_iommu_list)) {
WARN_ON(!list_is_first(&buf->list, &dma->submitted));
!list_is_first(&attr->list, &flow->attrs))
if (prio_parent && !list_is_first(&child->list, &prio_parent->children))
if (prio_parent && list_is_first(&child->list, &prio_parent->children))
if (!list_is_first(&matcher->list_node, &tbl->matchers_list)) {
if (list_is_first(&ipip_entry->ipip_list_node,
if (list_is_first(&ri->list, &admin->rules))
if (list_is_first(&link->parent_node, &genpd->parent_links))
list_is_first(&arg->tmf_elem, &ha->tmf_pending))
if (list_is_first(&xfer->transfer_list, &msg->transfers))
first = list_is_first(&req->queue, &ep->queue);
if (!list_is_first(&trans->transaction->list, &fs_info->trans_list)) {
if (!list_is_first(&cur_trans->list, &fs_info->trans_list)) {
if (list_is_first(&gh->gh_list, &gl->gl_holders) &&
if (list_is_first(&subreq->rreq_link, &stream->subrequests)) {
if (list_is_first(&subreq->rreq_link, &stream->subrequests)) {
if (list_is_first(&subreq->rreq_link, &stream->subrequests) ||
list_is_first(&subreq->rreq_link, &stream->subrequests)
if (list_is_first(&subreq->rreq_link, &stream->subrequests)) {
if (list_is_first(&seqid->list, &sequence->list) &&
if (list_is_first(&bridge->chain_node, &bridge->encoder->bridge_chain))
(list_is_first(&(pos)->member, head) ? \
(list_is_first(&ACCESS_PRIVATE(pos, member), head) ? \
KUNIT_EXPECT_TRUE(test, list_is_first(&a, &list));
KUNIT_EXPECT_FALSE(test, list_is_first(&b, &list));
if (!list_is_first(&freepage->buddy_list, freelist)) {
if (!list_is_first(&page->lru, list))
if (!list_entry_is_head(next, list, lru) && !list_is_first(&next->lru, list))
!list_is_first(&rule->list, &ctx->chain->rules) &&
} else if (list_is_first(&call->recvmsg_link, &rx->recvmsg_q)) {
if (!list_is_first(&tsp->asoc->asocs, &ep->asocs))
if (list_is_first(&req->rq_xmit, &xprt->xmit_queue) &&
if (list_is_first(&cptr->cpu_list, head))