Searched refs:p_lock (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 804 spin_lock_init(&rq->kwq->p_lock); in rvt_alloc_rq() 1806 spin_lock_irqsave(&qp->r_rq.kwq->p_lock, flags); in rvt_post_recv() 1811 spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); in rvt_post_recv() 1839 spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); in rvt_post_recv() 2221 spin_lock_irqsave(&srq->rq.kwq->p_lock, flags); in rvt_post_srq_recv() 2227 spin_unlock_irqrestore(&srq->rq.kwq->p_lock, flags); in rvt_post_srq_recv() 2242 spin_unlock_irqrestore(&srq->rq.kwq->p_lock, flags); in rvt_post_srq_recv()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.c | 3910 void qed_mcp_resc_lock_default_init(struct qed_resc_lock_params *p_lock, in qed_mcp_resc_lock_default_init() argument 3915 if (p_lock) { in qed_mcp_resc_lock_default_init() 3916 memset(p_lock, 0, sizeof(*p_lock)); in qed_mcp_resc_lock_default_init() 3923 p_lock->timeout = QED_MCP_RESC_LOCK_TO_NONE; in qed_mcp_resc_lock_default_init() 3925 p_lock->retry_num = QED_MCP_RESC_LOCK_RETRY_CNT_DFLT; in qed_mcp_resc_lock_default_init() 3926 p_lock->retry_interval = in qed_mcp_resc_lock_default_init() 3928 p_lock->sleep_b4_retry = true; in qed_mcp_resc_lock_default_init() 3931 p_lock->resource = resource; in qed_mcp_resc_lock_default_init()
|
H A D | qed_mcp.h | 1255 void qed_mcp_resc_lock_default_init(struct qed_resc_lock_params *p_lock,
|
/openbmc/linux/include/rdma/ |
H A D | rdmavt_qp.h | 196 spinlock_t p_lock; /* protect producer */ member
|