Home
last modified time | relevance | path

Searched refs:rq_state (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/block/drbd/
Ddrbd_req.c33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
75 const unsigned s = req->rq_state; in drbd_req_destroy()
194 const unsigned s = req->rq_state; in drbd_req_complete()
267 req->rq_state |= RQ_POSTPONED; in drbd_req_complete()
269 if (!(req->rq_state & RQ_POSTPONED)) { in drbd_req_complete()
294 D_ASSERT(device, m || (req->rq_state & RQ_POSTPONED)); in drbd_req_put_completion_ref()
306 if (req->rq_state & RQ_LOCAL_ABORTED) in drbd_req_put_completion_ref()
309 if (req->rq_state & RQ_POSTPONED) { in drbd_req_put_completion_ref()
339 const unsigned int s = iter->rq_state; in advance_conn_req_next()
369 const unsigned int s = iter->rq_state; in advance_conn_req_ack_pending()
[all …]
Ddrbd_debugfs.c56 unsigned int s = req->rq_state; in seq_print_request_state()
99 unsigned int s = req->rq_state; in seq_print_one_request()
173 if (req && !(req->rq_state & RQ_IN_ACT_LOG)) in seq_print_waiting_for_AL()
330 s = req->rq_state; in seq_print_resource_transfer_log_summary()
Ddrbd_main.c183 const unsigned s = r->rq_state; in tl_release()
296 if (!(req->rq_state & RQ_LOCAL_PENDING)) in tl_abort_disk_io()
1679 if (req->rq_state & RQ_EXP_RECEIVE_ACK) in drbd_send_dblock()
1683 if (req->rq_state & RQ_EXP_WRITE_ACK in drbd_send_dblock()
1716 if (!(req->rq_state & (RQ_EXP_RECEIVE_ACK | RQ_EXP_WRITE_ACK)) || digest_size) in drbd_send_dblock()
2254 expect(req->rq_state & RQ_POSTPONED) && in do_retry()
2255 expect((req->rq_state & RQ_LOCAL_PENDING) == 0 || in do_retry()
2256 (req->rq_state & RQ_LOCAL_ABORTED) != 0); in do_retry()
2261 req->rq_state); in do_retry()
Ddrbd_worker.c242 if (unlikely(req->rq_state & RQ_LOCAL_ABORTED)) { in drbd_request_endio()
1456 bool do_send_unplug = req->rq_state & RQ_UNPLUG; in w_send_dblock()
1489 bool do_send_unplug = req->rq_state & RQ_UNPLUG; in w_send_read_req()
1518 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
Ddrbd_receiver.c2171 if (req->rq_state & RQ_LOCAL_PENDING || in restart_conflicting_writes()
2172 !(req->rq_state & RQ_POSTPONED)) in restart_conflicting_writes()
2411 if (!(req->rq_state & RQ_POSTPONED)) in fail_postponed_requests()
2413 req->rq_state &= ~RQ_POSTPONED; in fail_postponed_requests()
2495 if (req->rq_state & RQ_LOCAL_PENDING || in handle_write_conflicts()
2496 !(req->rq_state & RQ_POSTPONED)) { in handle_write_conflicts()
Ddrbd_int.h360 unsigned rq_state; /* see comments above _req_mod() */ member
/linux-6.1.9/block/
Dblk-mq-debugfs.c298 static const char *blk_mq_rq_state_name(enum mq_rq_state rq_state) in blk_mq_rq_state_name() argument
300 if (WARN_ON_ONCE((unsigned int)rq_state >= in blk_mq_rq_state_name()
303 return blk_mq_rq_state_name_array[rq_state]; in blk_mq_rq_state_name()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c3706 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in modify_raw_packet_qp_rq()
3819 int rq_state; in modify_raw_packet_qp() local
3825 rq_state = MLX5_RQC_STATE_RDY; in modify_raw_packet_qp()
3829 rq_state = MLX5_RQC_STATE_ERR; in modify_raw_packet_qp()
3833 rq_state = MLX5_RQC_STATE_RST; in modify_raw_packet_qp()
3856 err = modify_raw_packet_qp_rq(dev, rq, rq_state, raw_qp_param, in modify_raw_packet_qp()
4721 u8 *rq_state) in query_raw_packet_qp_rq_state() argument
4738 *rq_state = MLX5_GET(rqc, rqc, state); in query_raw_packet_qp_rq_state()
4739 rq->state = *rq_state; in query_raw_packet_qp_rq_state()
4746 static int sqrq_state_to_qp_state(u8 sq_state, u8 rq_state, in sqrq_state_to_qp_state() argument
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c365 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5_hairpin_modify_rq()
Den_main.c981 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5e_modify_rq_state()
1033 MLX5_SET(modify_rq_in, in, rq_state, MLX5_RQC_STATE_RDY); in mlx5e_modify_rq_scatter_fcs()
1061 MLX5_SET(modify_rq_in, in, rq_state, MLX5_RQC_STATE_RDY); in mlx5e_modify_rq_vsd()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h7066 u8 rq_state[0x4]; member