Searched refs:sqhd (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | fc.c | 134 __le16 sqhd; member 1698 queue->sqhd = 0; /* best place to init value */ in nvmet_fc_ls_create_association() 1793 queue->sqhd = 0; /* best place to init value */ in nvmet_fc_ls_create_connection() 2107 queue_90percent_full(struct nvmet_fc_tgt_queue *q, u32 sqhd) in queue_90percent_full() argument 2114 used = (sqtail < sqhd) ? (sqtail + q->sqsize - sqhd) : (sqtail - sqhd); in queue_90percent_full() 2444 fod->queue->sqhd = cqe->sq_head; in __nvmet_fc_fcp_nvme_cmd_done() 2455 cqe->sq_head = fod->queue->sqhd; /* echo last cqe sqhd */ in __nvmet_fc_fcp_nvme_cmd_done() [all...] |
H A D | core.c | 694 old_sqhd = req->sq->sqhd; in nvmet_update_sq_head() 696 } while (cmpxchg(&req->sq->sqhd, old_sqhd, new_sqhd) != in nvmet_update_sq_head() 699 req->cqe->sq_head = cpu_to_le16(req->sq->sqhd & 0x0000FFFF); in nvmet_update_sq_head() 769 sq->sqhd = 0; in nvmet_sq_setup()
|
H A D | nvmet.h | 106 u32 sqhd; member
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | fc.c | 136 __le16 sqhd; member 1722 queue->sqhd = 0; /* best place to init value */ in nvmet_fc_ls_create_association() 1817 queue->sqhd = 0; /* best place to init value */ in nvmet_fc_ls_create_connection() 2130 queue_90percent_full(struct nvmet_fc_tgt_queue *q, u32 sqhd) in queue_90percent_full() argument 2137 used = (sqtail < sqhd) ? (sqtail + q->sqsize - sqhd) : (sqtail - sqhd); in queue_90percent_full() 2467 fod->queue->sqhd = cqe->sq_head; in __nvmet_fc_fcp_nvme_cmd_done() 2478 cqe->sq_head = fod->queue->sqhd; /* echo last cqe sqhd */ in __nvmet_fc_fcp_nvme_cmd_done() [all...] |
H A D | core.c | 701 old_sqhd = READ_ONCE(req->sq->sqhd); in nvmet_update_sq_head() 704 } while (!try_cmpxchg(&req->sq->sqhd, &old_sqhd, new_sqhd)); in nvmet_update_sq_head() 706 req->cqe->sq_head = cpu_to_le16(req->sq->sqhd & 0x0000FFFF); in nvmet_update_sq_head() 776 sq->sqhd = 0; in nvmet_sq_setup()
|
H A D | nvmet.h | 109 u32 sqhd; member
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 1089 uint16_t cid, sqhd, data; in lpfc_nvme_io_cmd_wqe_cmpl() local 1164 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl() 1175 ep->cqe.sq_head = sqhd; in lpfc_nvme_io_cmd_wqe_cmpl()
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 946 uint16_t cid, sqhd, data; in lpfc_nvme_io_cmd_cmpl() local 1024 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_cmpl() 1035 ep->cqe.sq_head = sqhd; in lpfc_nvme_io_cmd_cmpl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_dev.c | 182 if (info->sqhd == cpu_to_be16(0xffff)) { in fun_complete_admin_cmd()
|
H A D | fun_hci.h | 1034 __be16 sqhd; member
|
Completed in 23 milliseconds