Home
last modified time | relevance | path

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

/linux-6.1.9/io_uring/
Dfdinfo.c92 unsigned int sq_idx; in __io_uring_show_fdinfo() local
94 sq_idx = READ_ONCE(ctx->sq_array[entry & sq_mask]); in __io_uring_show_fdinfo()
95 if (sq_idx > sq_mask) in __io_uring_show_fdinfo()
97 sqe = &ctx->sq_sqes[sq_idx << sq_shift]; in __io_uring_show_fdinfo()
101 sq_idx, io_uring_get_opcode(sqe->opcode), sqe->fd, in __io_uring_show_fdinfo()
Dio_uring.c2209 unsigned sq_idx = ctx->cached_sq_head++ & mask; in io_get_sqe() local
2219 head = READ_ONCE(ctx->sq_array[sq_idx]); in io_get_sqe()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_fw.c973 u16 sq_idx = 0; in qedi_send_iscsi_login() local
1041 sq_idx = qedi_get_wqe_idx(qedi_conn); in qedi_send_iscsi_login()
1042 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_login()
1075 u16 sq_idx = 0; in qedi_send_iscsi_logout() local
1115 sq_idx = qedi_get_wqe_idx(qedi_conn); in qedi_send_iscsi_logout()
1116 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_logout()
1435 u16 sq_idx = 0; in send_iscsi_tmf() local
1489 sq_idx = qedi_get_wqe_idx(qedi_conn); in send_iscsi_tmf()
1490 task_params.sqe = &ep->sq[sq_idx]; in send_iscsi_tmf()
1550 u16 sq_idx = 0; in qedi_send_iscsi_text() local
[all …]
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h139 u16 sq_idx; member
255 u16 sq_idx; member
Dena_com.c924 destroy_cmd.sq.sq_idx = io_sq->idx; in ena_com_destroy_io_sq()
1278 io_sq->idx = cmd_completion.sq_idx; in ena_com_create_io_sq()
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dq_struct.h330 u64 sq_idx:3; member
338 u64 sq_idx:3;
Dnic_main.c618 u8 sq_idx = sq->sq_num; in nic_tx_channel_cfg() local
652 tl4 += sq_idx; in nic_tx_channel_cfg()
657 ((u32)sq_idx << NIC_Q_NUM_SHIFT), tl4); in nic_tx_channel_cfg()
659 ((u64)vnic << 27) | ((u32)sq_idx << 24) | rr_quantum); in nic_tx_channel_cfg()
Dnicvf_queues.h371 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx);
Dnicvf_queues.c1825 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats() argument
1831 (sq_idx << NIC_Q_NUM_SHIFT) | (reg << 3)) in nicvf_update_sq_stats()
1833 sq = &nic->qs->sq[sq_idx]; in nicvf_update_sq_stats()
Dnicvf_main.c667 sq = &nic->qs->sq[cqe_tx->sq_idx]; in nicvf_snd_pkt_handler()
/linux-6.1.9/drivers/nvme/host/
Dpci.c169 static inline unsigned int sq_idx(unsigned int qid, u32 stride) in sq_idx() function
296 nvmeq->dbbuf_sq_db = &dev->dbbuf_dbs[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
298 nvmeq->dbbuf_sq_ei = &dev->dbbuf_eis[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()