Lines Matching refs:p
1854 struct bnx2i_percpu_s *p = arg; in bnx2i_percpu_io_thread() local
1861 spin_lock_bh(&p->p_work_lock); in bnx2i_percpu_io_thread()
1862 while (!list_empty(&p->work_list)) { in bnx2i_percpu_io_thread()
1863 list_splice_init(&p->work_list, &work_list); in bnx2i_percpu_io_thread()
1864 spin_unlock_bh(&p->p_work_lock); in bnx2i_percpu_io_thread()
1875 spin_lock_bh(&p->p_work_lock); in bnx2i_percpu_io_thread()
1878 spin_unlock_bh(&p->p_work_lock); in bnx2i_percpu_io_thread()
1905 struct bnx2i_percpu_s *p = NULL; in bnx2i_queue_scsi_cmd_resp() local
1921 p = &per_cpu(bnx2i_percpu, blk_mq_rq_cpu(scsi_cmd_to_rq(sc))); in bnx2i_queue_scsi_cmd_resp()
1922 spin_lock(&p->p_work_lock); in bnx2i_queue_scsi_cmd_resp()
1923 if (unlikely(!p->iothread)) { in bnx2i_queue_scsi_cmd_resp()
1934 list_add_tail(&bnx2i_work->list, &p->work_list); in bnx2i_queue_scsi_cmd_resp()
1936 wake_up_process(p->iothread); in bnx2i_queue_scsi_cmd_resp()
1937 spin_unlock(&p->p_work_lock); in bnx2i_queue_scsi_cmd_resp()
1942 spin_unlock(&p->p_work_lock); in bnx2i_queue_scsi_cmd_resp()