Lines Matching refs:qp
4430 struct list_head *qp; in ncr_start_next_ccb() local
4437 qp = ncr_list_pop(&lp->wait_ccbq); in ncr_start_next_ccb()
4438 if (!qp) in ncr_start_next_ccb()
4441 cp = list_entry(qp, struct ccb, link_ccbq); in ncr_start_next_ccb()
4442 list_add_tail(qp, &lp->busy_ccbq); in ncr_start_next_ccb()
6546 struct list_head *qp; in ncr_sir_to_redo() local
6560 qp = lp->busy_ccbq.prev; in ncr_sir_to_redo()
6561 while (qp != &lp->busy_ccbq) { in ncr_sir_to_redo()
6562 cp2 = list_entry(qp, struct ccb, link_ccbq); in ncr_sir_to_redo()
6563 qp = qp->prev; in ncr_sir_to_redo()
7156 struct list_head *qp; in ncr_get_ccb() local
7172 qp = ncr_list_pop(&lp->free_ccbq); in ncr_get_ccb()
7173 if (qp) { in ncr_get_ccb()
7174 cp = list_entry(qp, struct ccb, link_ccbq); in ncr_get_ccb()
7180 list_add_tail(qp, &lp->wait_ccbq); in ncr_get_ccb()