Lines Matching refs:tmp_list
10558 struct bnx2x_prev_path_list *tmp_list;
10560 list_for_each_entry(tmp_list, &bnx2x_prev_list, list)
10561 if (PCI_SLOT(bp->pdev->devfn) == tmp_list->slot &&
10562 bp->pdev->bus->number == tmp_list->bus &&
10563 BP_PATH(bp) == tmp_list->path)
10564 return tmp_list;
10571 struct bnx2x_prev_path_list *tmp_list;
10580 tmp_list = bnx2x_prev_path_get_entry(bp);
10581 if (tmp_list) {
10582 tmp_list->aer = 1;
10596 struct bnx2x_prev_path_list *tmp_list;
10602 tmp_list = bnx2x_prev_path_get_entry(bp);
10603 if (tmp_list) {
10604 if (tmp_list->aer) {
10636 struct bnx2x_prev_path_list *tmp_list;
10646 tmp_list = bnx2x_prev_path_get_entry(bp);
10647 if (tmp_list) {
10648 if (!tmp_list->aer) {
10653 tmp_list->aer = 0;
10661 tmp_list = kmalloc(sizeof(struct bnx2x_prev_path_list), GFP_KERNEL);
10662 if (!tmp_list) {
10667 tmp_list->bus = bp->pdev->bus->number;
10668 tmp_list->slot = PCI_SLOT(bp->pdev->devfn);
10669 tmp_list->path = BP_PATH(bp);
10670 tmp_list->aer = 0;
10671 tmp_list->undi = after_undi ? (1 << BP_PORT(bp)) : 0;
10676 kfree(tmp_list);
10680 list_add(&tmp_list->list, &bnx2x_prev_list);