Home
last modified time | relevance | path

Searched defs:sq (Results 1 – 25 of 115) sorted by relevance

12345

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c21 static int mlx5e_wait_for_sq_flush(struct mlx5e_txqsq *sq) in mlx5e_wait_for_sq_flush()
42 static void mlx5e_reset_txqsq_cc_pc(struct mlx5e_txqsq *sq) in mlx5e_reset_txqsq_cc_pc()
52 static void mlx5e_health_sq_put_sw_state(struct devlink_fmsg *fmsg, struct mlx5e_txqsq *sq) in mlx5e_health_sq_put_sw_state()
71 struct mlx5e_txqsq *sq; in mlx5e_tx_reporter_err_cqe_recover() local
124 struct mlx5e_txqsq *sq; member
133 struct mlx5e_txqsq *sq; in mlx5e_tx_reporter_timeout_recover() local
221 struct mlx5e_txqsq *sq, int tc) in mlx5e_tx_reporter_build_diagnose_output_sq_common()
245 struct mlx5e_txqsq *sq, int tc) in mlx5e_tx_reporter_build_diagnose_output()
336 struct mlx5e_txqsq *sq = &c->sq[tc]; in mlx5e_tx_reporter_diagnose() local
361 struct mlx5e_txqsq *sq = ctx; in mlx5e_tx_reporter_dump_sq() local
[all …]
H A Dqos.c79 struct mlx5e_txqsq *sq; in mlx5e_open_qos_sq() local
160 struct mlx5e_txqsq *sq; in mlx5e_activate_qos_sq() local
189 struct mlx5e_txqsq *sq; in mlx5e_deactivate_qos_sq() local
216 struct mlx5e_txqsq *sq; in mlx5e_close_qos_sq() local
247 struct mlx5e_txqsq *sq; in mlx5e_qos_close_queues() local
342 struct mlx5e_txqsq *sq; in mlx5e_qos_deactivate_queues() local
H A Dtxrx.h140 #define MLX5E_TX_FETCH_WQE(sq, pi) \ argument
189 static inline u16 mlx5e_txqsq_get_next_pi(struct mlx5e_txqsq *sq, u16 size) in mlx5e_txqsq_get_next_pi()
217 static inline u16 mlx5e_txqsq_get_next_pi_anysize(struct mlx5e_txqsq *sq, in mlx5e_txqsq_get_next_pi_anysize()
264 static inline u16 mlx5e_icosq_get_next_pi(struct mlx5e_icosq *sq, u16 size) in mlx5e_icosq_get_next_pi()
319 mlx5e_dma_get(struct mlx5e_txqsq *sq, u32 i) in mlx5e_dma_get()
325 mlx5e_dma_push(struct mlx5e_txqsq *sq, dma_addr_t addr, u32 size, in mlx5e_dma_push()
565 static inline bool mlx5e_icosq_can_post_wqe(struct mlx5e_icosq *sq, u16 wqe_size) in mlx5e_icosq_can_post_wqe()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c59 #define SQ_DB_ADDR(sq, pi) ((u64 *)((sq)->db_base) + SQ_DB_PI_LOW(pi)) argument
61 #define SQ_MASKED_IDX(sq, idx) ((idx) & (sq)->wq->mask) argument
93 struct hinic_sq *sq, u16 global_qid) in hinic_sq_prepare_ctxt()
219 static int alloc_sq_skb_arr(struct hinic_sq *sq) in alloc_sq_skb_arr()
236 static void free_sq_skb_arr(struct hinic_sq *sq) in free_sq_skb_arr()
281 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, in hinic_init_sq()
305 void hinic_clean_sq(struct hinic_sq *sq) in hinic_clean_sq()
455 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq) in hinic_get_sq_free_wqebbs()
594 void hinic_sq_prepare_wqe(struct hinic_sq *sq, struct hinic_sq_wqe *sq_wqe, in hinic_sq_prepare_wqe()
615 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db()
[all …]
H A Dhinic_tx.c47 #define HW_CONS_IDX(sq) be16_to_cpu(*(u16 *)((sq)->hw_ci_addr)) argument
668 struct hinic_sq *sq = txq->sq; in free_all_tx_skbs() local
703 struct hinic_sq *sq = txq->sq; in free_tx_poll() local
804 struct hinic_sq *sq = txq->sq; in tx_request_irq() local
844 struct hinic_sq *sq = txq->sq; in tx_free_irq() local
858 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, in hinic_init_txq()
H A Dhinic_debugfs.c23 static u64 hinic_dbg_get_sq_info(struct hinic_dev *nic_dev, struct hinic_sq *sq, int idx) in hinic_dbg_get_sq_info()
214 struct hinic_sq *sq; in hinic_sq_debug_add() local
228 void hinic_sq_debug_rem(struct hinic_sq *sq) in hinic_sq_debug_rem()
/linux/block/
H A Dblk-throttle.c66 static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq) in sq_to_tg()
81 static struct throtl_data *sq_to_td(struct throtl_service_queue *sq) in sq_to_td()
120 #define throtl_log(sq, fmt, args...) do { \ argument
162 struct throtl_service_queue *sq) in throtl_qnode_add_bio()
225 static struct bio *throtl_pop_queued(struct throtl_service_queue *sq, in throtl_pop_queued()
260 static void throtl_service_queue_init(struct throtl_service_queue *sq) in throtl_service_queue_init()
311 struct throtl_service_queue *sq = &tg->service_queue; in throtl_pd_init() local
451 static void throtl_schedule_pending_timer(struct throtl_service_queue *sq, in throtl_schedule_pending_timer()
488 static bool throtl_schedule_next_dispatch(struct throtl_service_queue *sq, in throtl_schedule_next_dispatch()
573 static unsigned int sq_queued(struct throtl_service_queue *sq, int type) in sq_queued()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwc.c152 struct mlx5_wc_sq *sq) in create_wc_sq()
215 static int mlx5_wc_create_sq(struct mlx5_core_dev *mdev, struct mlx5_wc_sq *sq) in mlx5_wc_create_sq()
252 static void mlx5_wc_destroy_sq(struct mlx5_wc_sq *sq) in mlx5_wc_destroy_sq()
258 static void mlx5_wc_post_nop(struct mlx5_wc_sq *sq, bool signaled) in mlx5_wc_post_nop()
297 static int mlx5_wc_poll_cq(struct mlx5_wc_sq *sq) in mlx5_wc_poll_cq()
336 struct mlx5_wc_sq *sq; in mlx5_core_test_wc() local
H A Den_dim.c58 struct mlx5e_txqsq *sq = dim->priv; in mlx5e_tx_dim_work() local
124 int mlx5e_dim_tx_change(struct mlx5e_txqsq *sq, bool enable) in mlx5e_dim_tx_change()
H A Den_main.c312 struct mlx5e_icosq *sq, in mlx5e_build_umr_wqe()
1394 static void mlx5e_free_xdpsq_db(struct mlx5e_xdpsq *sq) in mlx5e_free_xdpsq_db()
1400 static int mlx5e_alloc_xdpsq_fifo(struct mlx5e_xdpsq *sq, int numa) in mlx5e_alloc_xdpsq_fifo()
1423 static int mlx5e_alloc_xdpsq_db(struct mlx5e_xdpsq *sq, int numa) in mlx5e_alloc_xdpsq_db()
1447 struct mlx5e_xdpsq *sq, in mlx5e_alloc_xdpsq()
1490 static void mlx5e_free_xdpsq(struct mlx5e_xdpsq *sq) in mlx5e_free_xdpsq()
1496 static void mlx5e_free_icosq_db(struct mlx5e_icosq *sq) in mlx5e_free_icosq_db()
1501 static int mlx5e_alloc_icosq_db(struct mlx5e_icosq *sq, int numa) in mlx5e_alloc_icosq_db()
1516 struct mlx5e_icosq *sq = container_of(recover_work, struct mlx5e_icosq, in mlx5e_icosq_err_cqe_work() local
1524 struct mlx5e_icosq *sq = container_of(recover_work, struct mlx5e_icosq, in mlx5e_async_icosq_err_cqe_work() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_utils.h62 #define MLX5E_TLS_FETCH_SET_STATIC_PARAMS_WQE(sq, pi) \ argument
66 #define MLX5E_TLS_FETCH_SET_PROGRESS_PARAMS_WQE(sq, pi) \ argument
70 #define MLX5E_TLS_FETCH_GET_PROGRESS_PARAMS_WQE(sq, pi) \ argument
74 #define MLX5E_TLS_FETCH_DUMP_WQE(sq, pi) \ argument
H A Dktls_rx.c129 static void icosq_fill_wi(struct mlx5e_icosq *sq, u16 pi, in icosq_fill_wi()
136 post_static_params(struct mlx5e_icosq *sq, in post_static_params()
166 post_progress_params(struct mlx5e_icosq *sq, in post_progress_params()
201 struct mlx5e_icosq *sq; in post_rx_param_wqes() local
252 resync_post_get_progress_params(struct mlx5e_icosq *sq, in resync_post_get_progress_params()
335 struct mlx5e_icosq *sq; in resync_handle_work() local
367 struct mlx5e_icosq *sq; in resync_handle_seq_match() local
424 struct mlx5e_icosq *sq) in mlx5e_ktls_handle_get_psv_completion()
724 struct mlx5e_icosq *sq; in mlx5e_ktls_rx_handle_resync_list() local
H A Dktls_tx.c525 static void tx_fill_wi(struct mlx5e_txqsq *sq, in tx_fill_wi()
549 post_static_params(struct mlx5e_txqsq *sq, in post_static_params()
568 post_progress_params(struct mlx5e_txqsq *sq, in post_progress_params()
584 static void tx_post_fence_nop(struct mlx5e_txqsq *sq) in tx_post_fence_nop()
595 mlx5e_ktls_tx_post_param_wqes(struct mlx5e_txqsq *sq, in mlx5e_ktls_tx_post_param_wqes()
677 tx_post_resync_params(struct mlx5e_txqsq *sq, in tx_post_resync_params()
715 tx_post_resync_dump(struct mlx5e_txqsq *sq, skb_frag_t *frag, u32 tisn) in tx_post_resync_dump()
755 void mlx5e_ktls_tx_handle_resync_dump_comp(struct mlx5e_txqsq *sq, in mlx5e_ktls_tx_handle_resync_dump_comp()
773 struct mlx5e_txqsq *sq, in mlx5e_ktls_tx_handle_ooo()
829 bool mlx5e_ktls_handle_tx_skb(struct net_device *netdev, struct mlx5e_txqsq *sq, in mlx5e_ktls_handle_tx_skb()
H A Dktls_txrx.h33 mlx5e_ktls_tx_try_handle_resync_dump_comp(struct mlx5e_txqsq *sq, in mlx5e_ktls_tx_try_handle_resync_dump_comp()
60 mlx5e_ktls_tx_try_handle_resync_dump_comp(struct mlx5e_txqsq *sq, in mlx5e_ktls_tx_try_handle_resync_dump_comp()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c159 void *sqc_data, struct mlx5_aso *sq) in mlx5_aso_alloc_sq()
179 void *sqc_data, struct mlx5_aso *sq) in create_aso_sq()
243 void *sqc_data, struct mlx5_aso *sq) in mlx5_aso_create_sq_rdy()
258 static void mlx5_aso_free_sq(struct mlx5_aso *sq) in mlx5_aso_free_sq()
263 static void mlx5_aso_destroy_sq(struct mlx5_aso *sq) in mlx5_aso_destroy_sq()
270 u32 pdn, struct mlx5_aso *sq) in mlx5_aso_create_sq()
/linux/drivers/net/ipa/
H A Dipa_qmi.c84 struct sockaddr_qrtr *sq = &ipa_qmi->modem_sq; in ipa_server_init_complete() local
176 struct sockaddr_qrtr *sq, in ipa_server_indication_register()
205 struct sockaddr_qrtr *sq, in ipa_server_driver_init_complete()
253 struct sockaddr_qrtr *sq, in ipa_client_init_driver()
/linux/drivers/infiniband/hw/mlx5/
H A Dwr.h33 static inline void *get_sq_edge(struct mlx5_ib_wq *sq, u32 idx) in get_sq_edge()
51 static inline void handle_post_send_edge(struct mlx5_ib_wq *sq, void **seg, in handle_post_send_edge()
74 static inline void mlx5r_memcpy_send_wqe(struct mlx5_ib_wq *sq, void **cur_edge, in mlx5r_memcpy_send_wqe()
/linux/net/qrtr/
H A Dns.c53 struct sockaddr_qrtr sq; member
195 static int announce_servers(struct sockaddr_qrtr *sq) in announce_servers()
323 static int ctrl_cmd_hello(struct sockaddr_qrtr *sq) in ctrl_cmd_hello()
339 struct sockaddr_qrtr sq; in ctrl_cmd_bye() local
391 struct sockaddr_qrtr sq; in ctrl_cmd_del_client() local
592 struct sockaddr_qrtr sq; in qrtr_ns_worker() local
689 struct sockaddr_qrtr sq; in qrtr_ns_init() local
/linux/sound/oss/dmasound/
H A Ddmasound_core.c411 static int sq_allocate_buffers(struct sound_queue *sq, int num, int size) in sq_allocate_buffers()
435 static void sq_release_buffers(struct sound_queue *sq) in sq_release_buffers()
448 static int sq_setup(struct sound_queue *sq) in sq_setup()
688 static inline void sq_init_waitqueue(struct sound_queue *sq) in sq_init_waitqueue()
707 static int sq_open2(struct sound_queue *sq, struct file *file, fmode_t mode, in sq_open2()
953 static int set_queue_frags(struct sound_queue *sq, int bufs, int size) in set_queue_frags()
/linux/tools/include/io_uring/
H A Dmini_liburing.h55 struct io_uring_sq sq; member
69 struct io_uring_sq *sq, struct io_uring_cq *cq) in io_uring_mmap()
154 struct io_uring_sq *sq = &ring->sq; in io_uring_get_sqe() local
187 struct io_uring_sq *sq = &ring->sq; in io_uring_submit() local
222 struct io_uring_sq *sq = &ring->sq; in io_uring_queue_exit() local
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c182 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_free_qp_hdr_buf() local
204 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_alloc_qp_hdr_buf() local
850 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_create_qp1() local
971 struct bnxt_qplib_q *sq; in bnxt_qplib_init_psn_ptr() local
993 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_create_qp() local
1648 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_get_qp1_sq_buf() local
1841 static void bnxt_qplib_pull_psn_buff(struct bnxt_qplib_qp *qp, struct bnxt_qplib_q *sq, in bnxt_qplib_pull_psn_buff()
1867 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_post_send_db() local
1877 struct bnxt_qplib_q *sq = &qp->sq; in bnxt_qplib_post_send() local
2381 static int __flush_sq(struct bnxt_qplib_q *sq, struct bnxt_qplib_qp *qp, in __flush_sq()
[all …]
/linux/drivers/nvme/target/
H A Dauth.c143 u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq) in nvmet_setup_auth()
239 void nvmet_auth_sq_free(struct nvmet_sq *sq) in nvmet_auth_sq_free()
556 void nvmet_auth_insert_psk(struct nvmet_sq *sq) in nvmet_auth_insert_psk()
H A Dcore.c802 struct nvmet_sq *sq = req->sq; in nvmet_req_complete() local
848 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
860 struct nvmet_sq *sq = container_of(ref, struct nvmet_sq, ref); in nvmet_confirm_sq() local
928 u16 nvmet_sq_create(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_create()
958 void nvmet_sq_destroy(struct nvmet_sq *sq) in nvmet_sq_destroy()
1001 struct nvmet_sq *sq = container_of(ref, struct nvmet_sq, ref); in nvmet_sq_free() local
1006 int nvmet_sq_init(struct nvmet_sq *sq, struct nvmet_cq *cq) in nvmet_sq_init()
1152 bool nvmet_req_init(struct nvmet_req *req, struct nvmet_sq *sq, in nvmet_req_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dtx.c46 static void mlx5e_xsk_tx_post_err(struct mlx5e_xdpsq *sq, in mlx5e_xsk_tx_post_err()
64 bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget) in mlx5e_xsk_tx()
/linux/drivers/net/
H A Dvirtio_net.c375 struct send_queue *sq; member
542 static int virtnet_add_outbuf(struct send_queue *sq, int num, void *data, in virtnet_add_outbuf()
561 static void __free_old_xmit(struct send_queue *sq, struct netdev_queue *txq, in __free_old_xmit()
605 static void virtnet_free_old_xmit(struct send_queue *sq, in virtnet_free_old_xmit()
1040 static void free_old_xmit(struct send_queue *sq, struct netdev_queue *txq, in free_old_xmit()
1071 struct send_queue *sq) in tx_may_stop()
1103 struct send_queue *sq) in check_sq_full_and_disable()
1434 static int virtnet_xsk_xmit_one(struct send_queue *sq, in virtnet_xsk_xmit_one()
1455 static int virtnet_xsk_xmit_batch(struct send_queue *sq, in virtnet_xsk_xmit_batch()
1487 static bool virtnet_xsk_xmit(struct send_queue *sq, struct xsk_buff_pool *pool, in virtnet_xsk_xmit()
[all …]

12345