Home
last modified time | relevance | path

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

/linux-6.12.1/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()
195 const unsigned s = req->rq_state; in drbd_req_complete()
268 req->rq_state |= RQ_POSTPONED; in drbd_req_complete()
270 if (!(req->rq_state & RQ_POSTPONED)) { in drbd_req_complete()
295 D_ASSERT(device, m || (req->rq_state & RQ_POSTPONED)); in drbd_req_put_completion_ref()
307 if (req->rq_state & RQ_LOCAL_ABORTED) in drbd_req_put_completion_ref()
310 if (req->rq_state & RQ_POSTPONED) { in drbd_req_put_completion_ref()
340 const unsigned int s = iter->rq_state; in advance_conn_req_next()
370 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.c182 const unsigned s = r->rq_state; in tl_release()
300 if (!(req->rq_state & RQ_LOCAL_PENDING)) in tl_abort_disk_io()
1676 if (req->rq_state & RQ_EXP_RECEIVE_ACK) in drbd_send_dblock()
1680 if (req->rq_state & RQ_EXP_WRITE_ACK in drbd_send_dblock()
1713 if (!(req->rq_state & (RQ_EXP_RECEIVE_ACK | RQ_EXP_WRITE_ACK)) || digest_size) in drbd_send_dblock()
2252 expect(device, req->rq_state & RQ_POSTPONED) && in do_retry()
2253 expect(device, (req->rq_state & RQ_LOCAL_PENDING) == 0 || in do_retry()
2254 (req->rq_state & RQ_LOCAL_ABORTED) != 0); in do_retry()
2259 req->rq_state); in do_retry()
Ddrbd_worker.c242 if (unlikely(req->rq_state & RQ_LOCAL_ABORTED)) { in drbd_request_endio()
1461 bool do_send_unplug = req->rq_state & RQ_UNPLUG; in w_send_dblock()
1494 bool do_send_unplug = req->rq_state & RQ_UNPLUG; in w_send_read_req()
1523 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
Ddrbd_receiver.c2193 if (req->rq_state & RQ_LOCAL_PENDING || in restart_conflicting_writes()
2194 !(req->rq_state & RQ_POSTPONED)) in restart_conflicting_writes()
2433 if (!(req->rq_state & RQ_POSTPONED)) in fail_postponed_requests()
2435 req->rq_state &= ~RQ_POSTPONED; in fail_postponed_requests()
2517 if (req->rq_state & RQ_LOCAL_PENDING || in handle_write_conflicts()
2518 !(req->rq_state & RQ_POSTPONED)) { in handle_write_conflicts()
Ddrbd_int.h288 unsigned rq_state; /* see comments above _req_mod() */ member
/linux-6.12.1/block/
Dblk-mq-debugfs.c270 static const char *blk_mq_rq_state_name(enum mq_rq_state rq_state) in blk_mq_rq_state_name() argument
272 if (WARN_ON_ONCE((unsigned int)rq_state >= in blk_mq_rq_state_name()
275 return blk_mq_rq_state_name_array[rq_state]; in blk_mq_rq_state_name()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c3785 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in modify_raw_packet_qp_rq()
3898 int rq_state; in modify_raw_packet_qp() local
3904 rq_state = MLX5_RQC_STATE_RDY; in modify_raw_packet_qp()
3908 rq_state = MLX5_RQC_STATE_ERR; in modify_raw_packet_qp()
3912 rq_state = MLX5_RQC_STATE_RST; in modify_raw_packet_qp()
3935 err = modify_raw_packet_qp_rq(dev, rq, rq_state, raw_qp_param, in modify_raw_packet_qp()
4050 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in __mlx5_ib_qp_set_raw_qp_counter()
4828 u8 *rq_state) in query_raw_packet_qp_rq_state() argument
4845 *rq_state = MLX5_GET(rqc, rqc, state); in query_raw_packet_qp_rq_state()
4846 rq->state = *rq_state; in query_raw_packet_qp_rq_state()
[all …]
/linux-6.12.1/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.c1113 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5e_modify_rq_state()
1177 MLX5_SET(modify_rq_in, in, rq_state, MLX5_RQC_STATE_RDY); in mlx5e_modify_rq_vsd()
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h7704 u8 rq_state[0x4]; member