Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/target/iscsi/
Discsi_target_util.c522 struct iscsi_queue_req *qr; in iscsit_add_cmd_to_immediate_queue() local
524 qr = kmem_cache_zalloc(lio_qr_cache, GFP_ATOMIC); in iscsit_add_cmd_to_immediate_queue()
525 if (!qr) { in iscsit_add_cmd_to_immediate_queue()
530 INIT_LIST_HEAD(&qr->qr_list); in iscsit_add_cmd_to_immediate_queue()
531 qr->cmd = cmd; in iscsit_add_cmd_to_immediate_queue()
532 qr->state = state; in iscsit_add_cmd_to_immediate_queue()
535 list_add_tail(&qr->qr_list, &conn->immed_queue_list); in iscsit_add_cmd_to_immediate_queue()
546 struct iscsi_queue_req *qr; in iscsit_get_cmd_from_immediate_queue() local
553 qr = list_first_entry(&conn->immed_queue_list, in iscsit_get_cmd_from_immediate_queue()
556 list_del(&qr->qr_list); in iscsit_get_cmd_from_immediate_queue()
[all …]
Discsi_target.c3659 struct iscsi_queue_req *qr; in iscsit_handle_immediate_queue() local
3664 while ((qr = iscsit_get_cmd_from_immediate_queue(conn))) { in iscsit_handle_immediate_queue()
3666 cmd = qr->cmd; in iscsit_handle_immediate_queue()
3667 state = qr->state; in iscsit_handle_immediate_queue()
3668 kmem_cache_free(lio_qr_cache, qr); in iscsit_handle_immediate_queue()
3788 struct iscsi_queue_req *qr; in iscsit_handle_response_queue() local
3793 while ((qr = iscsit_get_cmd_from_response_queue(conn))) { in iscsit_handle_response_queue()
3794 cmd = qr->cmd; in iscsit_handle_response_queue()
3795 state = qr->state; in iscsit_handle_response_queue()
3796 kmem_cache_free(lio_qr_cache, qr); in iscsit_handle_response_queue()
/Linux-v5.10/drivers/scsi/ufs/
Dufs_bsg.c10 struct utp_upiu_query *qr) in ufs_bsg_get_query_desc_size() argument
12 int desc_size = be16_to_cpu(qr->length); in ufs_bsg_get_query_desc_size()
13 int desc_id = qr->idn; in ufs_bsg_get_query_desc_size()
47 struct utp_upiu_query *qr; in ufs_bsg_alloc_desc_buffer() local
54 qr = &bsg_request->upiu_req.qr; in ufs_bsg_alloc_desc_buffer()
55 if (ufs_bsg_get_query_desc_size(hba, desc_len, qr)) { in ufs_bsg_alloc_desc_buffer()
105 desc_op = bsg_request->upiu_req.qr.opcode; in ufs_bsg_request()
Dufs.h473 struct utp_upiu_query qr; member
Dufshcd.c314 trace_ufshcd_upiu(dev_name(hba->dev), str, &rq->header, &rq->qr); in ufshcd_add_query_upiu_trace()
2005 memcpy(&query_res->upiu_res, &lrbp->ucd_rsp_ptr->qr, QUERY_OSF_SIZE); in ufshcd_copy_query_response()
2009 lrbp->ucd_rsp_ptr->qr.opcode == UPIU_QUERY_OPCODE_READ_DESC) { in ufshcd_copy_query_response()
2405 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
/Linux-v5.10/fs/ocfs2/dlm/
Ddlmdomain.c959 struct dlm_query_region *qr, in dlm_match_regions() argument
962 char *remote = qr->qr_regions; in dlm_match_regions()
968 if (qr->qr_numregions) { in dlm_match_regions()
971 qr->qr_domain, qr->qr_node, dlm->node_num); in dlm_match_regions()
977 if (o2hb_global_heartbeat_active() && !qr->qr_numregions) { in dlm_match_regions()
980 qr->qr_domain, dlm->node_num, qr->qr_node); in dlm_match_regions()
986 for (i = 0; i < qr->qr_numregions; ++i) { in dlm_match_regions()
999 for (j = 0; j <= qr->qr_numregions; ++j) { in dlm_match_regions()
1010 qr->qr_domain, O2HB_MAX_REGION_NAME_LEN, l, in dlm_match_regions()
1011 dlm->node_num, qr->qr_node); in dlm_match_regions()
[all …]
/Linux-v5.10/include/uapi/scsi/
Dscsi_bsg_ufs.h77 struct utp_upiu_query qr; member
/Linux-v5.10/sound/pci/asihpi/
Dhpifunc.c1472 u32 qr; in hpi_aesebu_receiver_query_format() local
1475 err = hpi_control_query(h_aes_rx, HPI_AESEBURX_FORMAT, index, 0, &qr); in hpi_aesebu_receiver_query_format()
1476 *pw_format = (u16)qr; in hpi_aesebu_receiver_query_format()
1581 u32 qr; in hpi_aesebu_transmitter_query_format() local
1584 err = hpi_control_query(h_aes_tx, HPI_AESEBUTX_FORMAT, index, 0, &qr); in hpi_aesebu_transmitter_query_format()
1585 *pw_format = (u16)qr; in hpi_aesebu_transmitter_query_format()
1640 u32 qr; in hpi_channel_mode_query_mode() local
1643 err = hpi_control_query(h_mode, HPI_CHANNEL_MODE_MODE, index, 0, &qr); in hpi_channel_mode_query_mode()
1644 *pw_mode = (u16)qr; in hpi_channel_mode_query_mode()
2267 u32 qr; in hpi_sample_clock_query_source() local
[all …]
/Linux-v5.10/drivers/crypto/
Dn2_core.c1596 struct spu_qreg *qr = arg; in spu_queue_register_workfn() local
1597 struct spu_queue *p = qr->queue; in spu_queue_register_workfn()
1598 unsigned long q_type = qr->type; in spu_queue_register_workfn()
1612 struct spu_qreg qr = { .queue = p, .type = q_type }; in spu_queue_register() local
1614 return work_on_cpu_safe(cpu, spu_queue_register_workfn, &qr); in spu_queue_register()