Home
last modified time | relevance | path

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

/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
/drivers/infiniband/hw/mlx5/
Dqp.c3709 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in modify_raw_packet_qp_rq()
3822 int rq_state; in modify_raw_packet_qp() local
3828 rq_state = MLX5_RQC_STATE_RDY; in modify_raw_packet_qp()
3832 rq_state = MLX5_RQC_STATE_ERR; in modify_raw_packet_qp()
3836 rq_state = MLX5_RQC_STATE_RST; in modify_raw_packet_qp()
3859 err = modify_raw_packet_qp_rq(dev, rq, rq_state, raw_qp_param, in modify_raw_packet_qp()
3974 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in __mlx5_ib_qp_set_raw_qp_counter()
4751 u8 *rq_state) in query_raw_packet_qp_rq_state() argument
4768 *rq_state = MLX5_GET(rqc, rqc, state); in query_raw_packet_qp_rq_state()
4769 rq->state = *rq_state; in query_raw_packet_qp_rq_state()
[all …]
/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.c982 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_vsd()