/linux/drivers/staging/greybus/ |
H A D | audio_apbridgea.c | 16 struct audio_apbridgea_set_config_request req; in gb_audio_apbridgea_set_config() local 18 req.hdr.type = AUDIO_APBRIDGEA_TYPE_SET_CONFIG; in gb_audio_apbridgea_set_config() 19 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_set_config() 20 req.format = cpu_to_le32(format); in gb_audio_apbridgea_set_config() 21 req.rate = cpu_to_le32(rate); in gb_audio_apbridgea_set_config() 22 req.mclk_freq = cpu_to_le32(mclk_freq); in gb_audio_apbridgea_set_config() 24 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_config() 33 struct audio_apbridgea_register_cport_request req; in gb_audio_apbridgea_register_cport() local 36 req.hdr.type = AUDIO_APBRIDGEA_TYPE_REGISTER_CPORT; in gb_audio_apbridgea_register_cport() 37 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_register_cport() [all …]
|
H A D | audio_gb.c | 50 struct gb_audio_get_control_request req; in gb_audio_gb_get_control() local 54 req.control_id = control_id; in gb_audio_gb_get_control() 55 req.index = index; in gb_audio_gb_get_control() 58 &req, sizeof(req), &resp, sizeof(resp)); in gb_audio_gb_get_control() 72 struct gb_audio_set_control_request req; in gb_audio_gb_set_control() local 74 req.control_id = control_id; in gb_audio_gb_set_control() 75 req.index = index; in gb_audio_gb_set_control() 76 memcpy(&req.value, value, sizeof(req.value)); in gb_audio_gb_set_control() 79 &req, sizeof(req), NULL, 0); in gb_audio_gb_set_control() 86 struct gb_audio_enable_widget_request req; in gb_audio_gb_enable_widget() local [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 80 static void zfcp_fsf_class_not_supp(struct zfcp_fsf_req *req) in zfcp_fsf_class_not_supp() argument 82 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 84 zfcp_erp_adapter_shutdown(req->adapter, 0, "fscns_1"); in zfcp_fsf_class_not_supp() 85 req->status |= ZFCP_STATUS_FSFREQ_ERROR; in zfcp_fsf_class_not_supp() 90 * @req: pointer to struct zfcp_fsf_req 92 void zfcp_fsf_req_free(struct zfcp_fsf_req *req) in zfcp_fsf_req_free() argument 94 if (likely(req->pool)) { in zfcp_fsf_req_free() 95 if (likely(!zfcp_fsf_req_is_status_read_buffer(req))) in zfcp_fsf_req_free() 96 mempool_free(req->qtcb, req->adapter->pool.qtcb_pool); in zfcp_fsf_req_free() 97 mempool_free(req, req->pool); in zfcp_fsf_req_free() [all …]
|
/linux/drivers/media/mc/ |
H A D | mc-request.c | 39 static void media_request_clean(struct media_request *req) in media_request_clean() argument 44 WARN_ON(req->state != MEDIA_REQUEST_STATE_CLEANING); in media_request_clean() 45 WARN_ON(req->updating_count); in media_request_clean() 46 WARN_ON(req->access_count); in media_request_clean() 48 list_for_each_entry_safe(obj, obj_safe, &req->objects, list) { in media_request_clean() 53 req->updating_count = 0; in media_request_clean() 54 req->access_count = 0; in media_request_clean() 55 WARN_ON(req->num_incomplete_objects); in media_request_clean() 56 req->num_incomplete_objects = 0; in media_request_clean() 57 wake_up_interruptible_all(&req->poll_wait); in media_request_clean() [all …]
|
/linux/drivers/nvme/target/ |
H A D | io-cmd-file.c | 76 static ssize_t nvmet_file_submit_bvec(struct nvmet_req *req, loff_t pos, in nvmet_file_submit_bvec() argument 79 struct kiocb *iocb = &req->f.iocb; in nvmet_file_submit_bvec() 84 if (req->cmd->rw.opcode == nvme_cmd_write) { in nvmet_file_submit_bvec() 85 if (req->cmd->rw.control & cpu_to_le16(NVME_RW_FUA)) in nvmet_file_submit_bvec() 87 call_iter = req->ns->file->f_op->write_iter; in nvmet_file_submit_bvec() 90 call_iter = req->ns->file->f_op->read_iter; in nvmet_file_submit_bvec() 94 iov_iter_bvec(&iter, rw, req->f.bvec, nr_segs, count); in nvmet_file_submit_bvec() 97 iocb->ki_filp = req->ns->file; in nvmet_file_submit_bvec() 105 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done() local 108 if (req->f.bvec != req->inline_bvec) { in nvmet_file_io_done() [all …]
|
H A D | admin-cmd.c | 28 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len() argument 32 return sizeof(req->sq->ctrl->hostid); in nvmet_feat_data_len() 43 static void nvmet_execute_get_log_page_noop(struct nvmet_req *req) in nvmet_execute_get_log_page_noop() argument 45 nvmet_req_complete(req, nvmet_zero_sgl(req, 0, req->transfer_len)); in nvmet_execute_get_log_page_noop() 48 static void nvmet_execute_get_log_page_error(struct nvmet_req *req) in nvmet_execute_get_log_page_error() argument 50 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error() 60 if (nvmet_copy_to_sgl(req, offset, &ctrl->slots[slot], in nvmet_execute_get_log_page_error() 71 nvmet_req_complete(req, 0); in nvmet_execute_get_log_page_error() 74 static u16 nvmet_get_smart_log_nsid(struct nvmet_req *req, in nvmet_get_smart_log_nsid() argument 80 status = nvmet_req_find_ns(req); in nvmet_get_smart_log_nsid() [all …]
|
H A D | fabrics-cmd-auth.c | 34 static u8 nvmet_auth_negotiate(struct nvmet_req *req, void *d) in nvmet_auth_negotiate() argument 36 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_negotiate() 41 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 45 req->sq->dhchap_tid = le16_to_cpu(data->t_id); in nvmet_auth_negotiate() 70 __func__, ctrl->cntlid, req->sq->qid); in nvmet_auth_negotiate() 74 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 98 __func__, ctrl->cntlid, req->sq->qid); in nvmet_auth_negotiate() 102 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 107 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 112 static u8 nvmet_auth_reply(struct nvmet_req *req, void *d) in nvmet_auth_reply() argument [all …]
|
H A D | zns.c | 69 void nvmet_execute_identify_ctrl_zns(struct nvmet_req *req) in nvmet_execute_identify_ctrl_zns() argument 71 u8 zasl = req->sq->ctrl->subsys->zasl; in nvmet_execute_identify_ctrl_zns() 72 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_identify_ctrl_zns() 87 status = nvmet_copy_to_sgl(req, 0, id, sizeof(*id)); in nvmet_execute_identify_ctrl_zns() 91 nvmet_req_complete(req, status); in nvmet_execute_identify_ctrl_zns() 94 void nvmet_execute_identify_ns_zns(struct nvmet_req *req) in nvmet_execute_identify_ns_zns() argument 101 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns_zns() 102 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns_zns() 113 status = nvmet_req_find_ns(req); in nvmet_execute_identify_ns_zns() 117 if (nvmet_ns_revalidate(req->ns)) { in nvmet_execute_identify_ns_zns() [all …]
|
H A D | io-cmd-bdev.c | 126 u16 blk_to_nvme_status(struct nvmet_req *req, blk_status_t blk_sts) in blk_to_nvme_status() argument 141 req->error_loc = offsetof(struct nvme_rw_command, length); in blk_to_nvme_status() 145 req->error_loc = offsetof(struct nvme_rw_command, slba); in blk_to_nvme_status() 148 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status() 149 switch (req->cmd->common.opcode) { in blk_to_nvme_status() 160 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status() 165 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status() 168 switch (req->cmd->common.opcode) { in blk_to_nvme_status() 171 req->error_slba = le64_to_cpu(req->cmd->rw.slba); in blk_to_nvme_status() 174 req->error_slba = in blk_to_nvme_status() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_rvu_if.c | 21 struct _req_type *req; \ 23 req = (struct _req_type *)otx2_mbox_alloc_msg_rsp( \ 26 if (!req) \ 28 req->hdr.sig = OTX2_MBOX_REQ_SIG; \ 29 req->hdr.id = _id; \ 30 return req; \ 73 struct mcs_set_lmac_mode *req, in rvu_mbox_handler_mcs_set_lmac_mode() argument 78 if (req->mcs_id >= rvu->mcs_blk_cnt) in rvu_mbox_handler_mcs_set_lmac_mode() 81 mcs = mcs_get_pdata(req->mcs_id); in rvu_mbox_handler_mcs_set_lmac_mode() 83 if (BIT_ULL(req->lmac_id) & mcs->hw->lmac_bmap) in rvu_mbox_handler_mcs_set_lmac_mode() [all …]
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | netlink.c | 73 test_print("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack() 142 } req; in __add_veth() local 146 memset(&req, 0, sizeof(req)); in __add_veth() 147 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.info)); in __add_veth() 148 req.nh.nlmsg_type = RTM_NEWLINK; in __add_veth() 149 req.nh.nlmsg_flags = flags; in __add_veth() 150 req.nh.nlmsg_seq = seq; in __add_veth() 151 req.info.ifi_family = AF_UNSPEC; in __add_veth() 152 req.info.ifi_change = 0xFFFFFFFF; in __add_veth() 154 if (rtattr_pack(&req.nh, sizeof(req), IFLA_IFNAME, name, strlen(name))) in __add_veth() [all …]
|
/linux/drivers/peci/ |
H A D | request.c | 88 static u8 peci_request_data_cc(struct peci_request *req) in peci_request_data_cc() argument 90 return req->rx.buf[0]; in peci_request_data_cc() 95 * @req: the PECI request that contains response data with completion code 102 int peci_request_status(struct peci_request *req) in peci_request_status() argument 104 u8 cc = peci_request_data_cc(req); in peci_request_status() 107 dev_dbg(&req->device->dev, "ret: %#02x\n", cc); in peci_request_status() 133 static int peci_request_xfer(struct peci_request *req) in peci_request_xfer() argument 135 struct peci_device *device = req->device; in peci_request_xfer() 140 ret = controller->ops->xfer(controller, device->addr, req); in peci_request_xfer() 146 static int peci_request_xfer_retry(struct peci_request *req) in peci_request_xfer_retry() argument [all …]
|
/linux/io_uring/ |
H A D | rw.c | 34 static bool io_file_supports_nowait(struct io_kiocb *req, __poll_t mask) in io_file_supports_nowait() argument 37 if (req->flags & REQ_F_SUPPORT_NOWAIT) in io_file_supports_nowait() 40 if (io_file_can_poll(req)) { in io_file_supports_nowait() 43 return vfs_poll(req->file, &pt) & mask; in io_file_supports_nowait() 68 static int io_iov_buffer_select_prep(struct io_kiocb *req) in io_iov_buffer_select_prep() argument 72 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_iov_buffer_select_prep() 78 if (req->ctx->compat) in io_iov_buffer_select_prep() 89 static int __io_import_iovec(int ddir, struct io_kiocb *req, in __io_import_iovec() argument 93 const struct io_issue_def *def = &io_issue_defs[req->opcode]; in __io_import_iovec() 94 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in __io_import_iovec() [all …]
|
H A D | poll.c | 36 struct io_kiocb *req; member 73 static bool io_poll_get_ownership_slowpath(struct io_kiocb *req) in io_poll_get_ownership_slowpath() argument 82 v = atomic_fetch_or(IO_POLL_RETRY_FLAG, &req->poll_refs); in io_poll_get_ownership_slowpath() 85 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership_slowpath() 94 static inline bool io_poll_get_ownership(struct io_kiocb *req) in io_poll_get_ownership() argument 96 if (unlikely(atomic_read(&req->poll_refs) >= IO_POLL_REF_BIAS)) in io_poll_get_ownership() 97 return io_poll_get_ownership_slowpath(req); in io_poll_get_ownership() 98 return !(atomic_fetch_inc(&req->poll_refs) & IO_POLL_REF_MASK); in io_poll_get_ownership() 101 static void io_poll_mark_cancelled(struct io_kiocb *req) in io_poll_mark_cancelled() argument 103 atomic_or(IO_POLL_CANCEL_FLAG, &req->poll_refs); in io_poll_mark_cancelled() [all …]
|
H A D | timeout.c | 38 static inline bool io_is_timeout_noseq(struct io_kiocb *req) in io_is_timeout_noseq() argument 40 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_is_timeout_noseq() 41 struct io_timeout_data *data = req->async_data; in io_is_timeout_noseq() 46 static inline void io_put_req(struct io_kiocb *req) in io_put_req() argument 48 if (req_ref_put_and_test(req)) { in io_put_req() 49 io_queue_next(req); in io_put_req() 50 io_free_req(req); in io_put_req() 68 static void io_timeout_complete(struct io_kiocb *req, struct io_tw_state *ts) in io_timeout_complete() argument 70 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_timeout_complete() 71 struct io_timeout_data *data = req->async_data; in io_timeout_complete() [all …]
|
H A D | futex.c | 31 struct io_kiocb *req; member 47 static void __io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) in __io_futex_complete() argument 49 req->async_data = NULL; in __io_futex_complete() 50 hlist_del_init(&req->hash_node); in __io_futex_complete() 51 io_req_task_complete(req, ts); in __io_futex_complete() 54 static void io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) in io_futex_complete() argument 56 struct io_futex_data *ifd = req->async_data; in io_futex_complete() 57 struct io_ring_ctx *ctx = req->ctx; in io_futex_complete() 62 __io_futex_complete(req, ts); in io_futex_complete() 65 static void io_futexv_complete(struct io_kiocb *req, struct io_tw_state *ts) in io_futexv_complete() argument [all …]
|
H A D | uring_cmd.c | 19 static struct uring_cache *io_uring_async_get(struct io_kiocb *req) in io_uring_async_get() argument 21 struct io_ring_ctx *ctx = req->ctx; in io_uring_async_get() 26 req->flags |= REQ_F_ASYNC_DATA; in io_uring_async_get() 27 req->async_data = cache; in io_uring_async_get() 30 if (!io_alloc_async_data(req)) in io_uring_async_get() 31 return req->async_data; in io_uring_async_get() 35 static void io_req_uring_cleanup(struct io_kiocb *req, unsigned int issue_flags) in io_req_uring_cleanup() argument 37 struct io_uring_cmd *ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd); in io_req_uring_cleanup() 38 struct uring_cache *cache = req->async_data; in io_req_uring_cleanup() 42 if (io_alloc_cache_put(&req->ctx->uring_cache, cache)) { in io_req_uring_cleanup() [all …]
|
/linux/crypto/ |
H A D | chacha20poly1305.c | 42 struct ahash_request req; /* must be last member */ member 48 struct skcipher_request req; /* must be last member */ member 70 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue() argument 74 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in async_done_continue() 77 err = cont(req); in async_done_continue() 81 aead_request_complete(req, err); in async_done_continue() 84 static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) in chacha_iv() argument 86 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv() 91 memcpy(iv + sizeof(leicb) + ctx->saltlen, req->iv, in chacha_iv() 95 static int poly_verify_tag(struct aead_request *req) in poly_verify_tag() argument [all …]
|
H A D | gcm.c | 60 int (*complete)(struct aead_request *req, u32 flags); 82 static int crypto_rfc4543_copy_src_to_dst(struct aead_request *req, bool enc); 85 struct aead_request *req) in crypto_gcm_reqctx() argument 87 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx() 89 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_gcm_reqctx() 105 struct skcipher_request req; in crypto_gcm_setkey() member 123 skcipher_request_set_tfm(&data->req, ctr); in crypto_gcm_setkey() 124 skcipher_request_set_callback(&data->req, CRYPTO_TFM_REQ_MAY_SLEEP | in crypto_gcm_setkey() 128 skcipher_request_set_crypt(&data->req, data->sg, data->sg, in crypto_gcm_setkey() 131 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), in crypto_gcm_setkey() [all …]
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_jsm_msg.c | 95 struct vpu_jsm_msg req = { .type = VPU_JSM_MSG_REGISTER_DB }; in ivpu_jsm_register_db() local 99 req.payload.register_db.db_idx = db_id; in ivpu_jsm_register_db() 100 req.payload.register_db.jobq_base = jobq_base; in ivpu_jsm_register_db() 101 req.payload.register_db.jobq_size = jobq_size; in ivpu_jsm_register_db() 102 req.payload.register_db.host_ssid = ctx_id; in ivpu_jsm_register_db() 104 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_REGISTER_DB_DONE, &resp, in ivpu_jsm_register_db() 114 struct vpu_jsm_msg req = { .type = VPU_JSM_MSG_UNREGISTER_DB }; in ivpu_jsm_unregister_db() local 118 req.payload.unregister_db.db_idx = db_id; in ivpu_jsm_unregister_db() 120 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_UNREGISTER_DB_DONE, &resp, in ivpu_jsm_unregister_db() 130 struct vpu_jsm_msg req = { .type = VPU_JSM_MSG_QUERY_ENGINE_HB }; in ivpu_jsm_get_heartbeat() local [all …]
|
/linux/net/handshake/ |
H A D | request.c | 67 static bool handshake_req_hash_add(struct handshake_req *req) in handshake_req_hash_add() argument 72 &req->hr_rhash, in handshake_req_hash_add() 77 static void handshake_req_destroy(struct handshake_req *req) in handshake_req_destroy() argument 79 if (req->hr_proto->hp_destroy) in handshake_req_destroy() 80 req->hr_proto->hp_destroy(req); in handshake_req_destroy() 81 rhashtable_remove_fast(&handshake_rhashtbl, &req->hr_rhash, in handshake_req_destroy() 83 kfree(req); in handshake_req_destroy() 89 struct handshake_req *req; in handshake_sk_destruct() local 91 req = handshake_req_hash_lookup(sk); in handshake_sk_destruct() 92 if (!req) in handshake_sk_destruct() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | user_sdma.c | 38 static int user_sdma_send_pkts(struct user_sdma_request *req, u16 maxpkts); 41 static void user_sdma_free_request(struct user_sdma_request *req); 42 static int check_header_template(struct user_sdma_request *req, 45 static int set_txreq_header(struct user_sdma_request *req, 47 static int set_txreq_header_ahg(struct user_sdma_request *req, 290 struct user_sdma_request *req; in hfi1_user_sdma_process_request() local 297 if (iovec[idx].iov_len < sizeof(info) + sizeof(req->hdr)) { in hfi1_user_sdma_process_request() 302 iovec[idx].iov_len, sizeof(info) + sizeof(req->hdr)); in hfi1_user_sdma_process_request() 352 req = pq->reqs + info.comp_idx; in hfi1_user_sdma_process_request() 353 req->data_iovs = req_iovcnt(info.ctrl) - 1; /* subtract header vector */ in hfi1_user_sdma_process_request() [all …]
|
/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 70 static inline u64 safexcel_queued_len(struct safexcel_ahash_req *req) in safexcel_queued_len() argument 72 return req->len - req->processed; in safexcel_queued_len() 109 struct safexcel_ahash_req *req, in safexcel_context_control() argument 123 if (unlikely(req->digest == CONTEXT_CONTROL_DIGEST_XCM)) { in safexcel_context_control() 124 if (req->xcbcmac) in safexcel_context_control() 127 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control() 129 if (!req->finish && req->xcbcmac) in safexcel_context_control() 134 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control() 140 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control() 143 } else if (!req->processed) { in safexcel_context_control() [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 26 struct drbd_request *req; in drbd_req_new() local 28 req = mempool_alloc(&drbd_request_mempool, GFP_NOIO); in drbd_req_new() 29 if (!req) in drbd_req_new() 31 memset(req, 0, sizeof(*req)); in drbd_req_new() 33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new() 36 req->device = device; in drbd_req_new() 37 req->master_bio = bio_src; in drbd_req_new() 38 req->epoch = 0; in drbd_req_new() 40 drbd_clear_interval(&req->i); in drbd_req_new() 41 req->i.sector = bio_src->bi_iter.bi_sector; in drbd_req_new() [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_tlv.h | 48 static inline u8 __get_cmdq_base_opcode(struct cmdq_base *req, u32 size) in __get_cmdq_base_opcode() argument 50 if (HAS_TLV_HEADER(req) && size > TLV_BYTES) in __get_cmdq_base_opcode() 51 return ((struct cmdq_base *)GET_TLV_DATA(req))->opcode; in __get_cmdq_base_opcode() 53 return req->opcode; in __get_cmdq_base_opcode() 56 static inline void __set_cmdq_base_opcode(struct cmdq_base *req, in __set_cmdq_base_opcode() argument 59 if (HAS_TLV_HEADER(req) && size > TLV_BYTES) in __set_cmdq_base_opcode() 60 ((struct cmdq_base *)GET_TLV_DATA(req))->opcode = val; in __set_cmdq_base_opcode() 62 req->opcode = val; in __set_cmdq_base_opcode() 65 static inline __le16 __get_cmdq_base_cookie(struct cmdq_base *req, u32 size) in __get_cmdq_base_cookie() argument 67 if (HAS_TLV_HEADER(req) && size > TLV_BYTES) in __get_cmdq_base_cookie() [all …]
|