Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/target/iscsi/
Discsi_target_util.c505 struct iscsi_queue_req *qr; in iscsit_add_cmd_to_immediate_queue() local
507 qr = kmem_cache_zalloc(lio_qr_cache, GFP_ATOMIC); in iscsit_add_cmd_to_immediate_queue()
508 if (!qr) { in iscsit_add_cmd_to_immediate_queue()
513 INIT_LIST_HEAD(&qr->qr_list); in iscsit_add_cmd_to_immediate_queue()
514 qr->cmd = cmd; in iscsit_add_cmd_to_immediate_queue()
515 qr->state = state; in iscsit_add_cmd_to_immediate_queue()
518 list_add_tail(&qr->qr_list, &conn->immed_queue_list); in iscsit_add_cmd_to_immediate_queue()
529 struct iscsi_queue_req *qr; in iscsit_get_cmd_from_immediate_queue() local
536 qr = list_first_entry(&conn->immed_queue_list, in iscsit_get_cmd_from_immediate_queue()
539 list_del(&qr->qr_list); in iscsit_get_cmd_from_immediate_queue()
[all …]
Discsi_target.c3660 struct iscsi_queue_req *qr; in iscsit_handle_immediate_queue() local
3665 while ((qr = iscsit_get_cmd_from_immediate_queue(conn))) { in iscsit_handle_immediate_queue()
3667 cmd = qr->cmd; in iscsit_handle_immediate_queue()
3668 state = qr->state; in iscsit_handle_immediate_queue()
3669 kmem_cache_free(lio_qr_cache, qr); in iscsit_handle_immediate_queue()
3789 struct iscsi_queue_req *qr; in iscsit_handle_response_queue() local
3794 while ((qr = iscsit_get_cmd_from_response_queue(conn))) { in iscsit_handle_response_queue()
3795 cmd = qr->cmd; in iscsit_handle_response_queue()
3796 state = qr->state; in iscsit_handle_response_queue()
3797 kmem_cache_free(lio_qr_cache, qr); in iscsit_handle_response_queue()
/Linux-v5.15/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.h528 struct utp_upiu_query qr; member
Dufshcd.c315 &rq_rsp->qr, UFS_TSF_OSF); in ufshcd_add_query_upiu_trace()
2140 memcpy(&query_res->upiu_res, &lrbp->ucd_rsp_ptr->qr, QUERY_OSF_SIZE); in ufshcd_copy_query_response()
2144 lrbp->ucd_rsp_ptr->qr.opcode == UPIU_QUERY_OPCODE_READ_DESC) { in ufshcd_copy_query_response()
2542 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
/Linux-v5.15/fs/ocfs2/dlm/
Ddlmdomain.c957 struct dlm_query_region *qr, in dlm_match_regions() argument
960 char *remote = qr->qr_regions; in dlm_match_regions()
966 if (qr->qr_numregions) { in dlm_match_regions()
969 qr->qr_domain, qr->qr_node, dlm->node_num); in dlm_match_regions()
975 if (o2hb_global_heartbeat_active() && !qr->qr_numregions) { in dlm_match_regions()
978 qr->qr_domain, dlm->node_num, qr->qr_node); in dlm_match_regions()
984 for (i = 0; i < qr->qr_numregions; ++i) { in dlm_match_regions()
997 for (j = 0; j <= qr->qr_numregions; ++j) { in dlm_match_regions()
1008 qr->qr_domain, O2HB_MAX_REGION_NAME_LEN, l, in dlm_match_regions()
1009 dlm->node_num, qr->qr_node); in dlm_match_regions()
[all …]
/Linux-v5.15/tools/testing/selftests/sgx/
Dsigstruct.c25 BIGNUM *qr; member
35 BN_free(ctx->qr); in free_q1q2_ctx()
46 ctx->qr = BN_new(); in alloc_q1q2_ctx()
49 if (!ctx->bn_ctx || !ctx->s || !ctx->m || !ctx->q1 || !ctx->qr || in alloc_q1q2_ctx()
88 if (!BN_div(ctx.q1, ctx.qr, ctx.q1, ctx.m, ctx.bn_ctx)) in calc_q1q2()
97 if (!BN_mul(ctx.q2, ctx.s, ctx.qr, ctx.bn_ctx)) in calc_q1q2()
/Linux-v5.15/include/uapi/scsi/
Dscsi_bsg_ufs.h77 struct utp_upiu_query qr; member
/Linux-v5.15/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.15/drivers/crypto/
Dn2_core.c1597 struct spu_qreg *qr = arg; in spu_queue_register_workfn() local
1598 struct spu_queue *p = qr->queue; in spu_queue_register_workfn()
1599 unsigned long q_type = qr->type; in spu_queue_register_workfn()
1613 struct spu_qreg qr = { .queue = p, .type = q_type }; in spu_queue_register() local
1615 return work_on_cpu_safe(cpu, spu_queue_register_workfn, &qr); in spu_queue_register()