Searched refs:sq_idx (Results 1 – 11 of 11) sorted by relevance
92 unsigned int sq_idx; in __io_uring_show_fdinfo() local94 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()
2209 unsigned sq_idx = ctx->cached_sq_head++ & mask; in io_get_sqe() local2219 head = READ_ONCE(ctx->sq_array[sq_idx]); in io_get_sqe()
973 u16 sq_idx = 0; in qedi_send_iscsi_login() local1041 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() local1115 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() local1489 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 …]
139 u16 sq_idx; member255 u16 sq_idx; member
924 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()
330 u64 sq_idx:3; member338 u64 sq_idx:3;
618 u8 sq_idx = sq->sq_num; in nic_tx_channel_cfg() local652 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()
371 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx);
1825 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats() argument1831 (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()
667 sq = &nic->qs->sq[cqe_tx->sq_idx]; in nicvf_snd_pkt_handler()
169 static inline unsigned int sq_idx(unsigned int qid, u32 stride) in sq_idx() function296 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()