| /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 req->manual_completion = false; in media_request_clean() [all …]
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_fsf.c | 79 static void zfcp_fsf_class_not_supp(struct zfcp_fsf_req *req) in zfcp_fsf_class_not_supp() argument 81 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 83 zfcp_erp_adapter_shutdown(req->adapter, 0, "fscns_1"); in zfcp_fsf_class_not_supp() 84 req->status |= ZFCP_STATUS_FSFREQ_ERROR; in zfcp_fsf_class_not_supp() 89 * @req: pointer to struct zfcp_fsf_req 91 void zfcp_fsf_req_free(struct zfcp_fsf_req *req) in zfcp_fsf_req_free() argument 93 if (likely(req->pool)) { in zfcp_fsf_req_free() 94 if (likely(!zfcp_fsf_req_is_status_read_buffer(req))) in zfcp_fsf_req_free() 95 mempool_free(req->qtcb, req in zfcp_fsf_req_free() 105 zfcp_fsf_status_read_port_closed(struct zfcp_fsf_req * req) zfcp_fsf_status_read_port_closed() argument 143 zfcp_fsf_link_down_info_eval(struct zfcp_fsf_req * req,struct fsf_link_down_info * link_down) zfcp_fsf_link_down_info_eval() argument 228 zfcp_fsf_status_read_link_down(struct zfcp_fsf_req * req) zfcp_fsf_status_read_link_down() argument 257 zfcp_fsf_status_read_handler(struct zfcp_fsf_req * req) zfcp_fsf_status_read_handler() argument 330 zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req * req) zfcp_fsf_fsfstatus_qual_eval() argument 352 zfcp_fsf_fsfstatus_eval(struct zfcp_fsf_req * req) zfcp_fsf_fsfstatus_eval() argument 371 zfcp_fsf_protstatus_eval(struct zfcp_fsf_req * req) zfcp_fsf_protstatus_eval() argument 451 zfcp_fsf_req_complete(struct zfcp_fsf_req * req) zfcp_fsf_req_complete() argument 486 struct zfcp_fsf_req *req, *tmp; zfcp_fsf_req_dismiss_all() local 536 zfcp_fsf_exchange_config_evaluate(struct zfcp_fsf_req * req) zfcp_fsf_exchange_config_evaluate() argument 580 zfcp_fsf_exchange_config_data_handler(struct zfcp_fsf_req * req) zfcp_fsf_exchange_config_data_handler() argument 737 zfcp_fsf_dbf_adapter_fc_security(struct zfcp_adapter * adapter,struct zfcp_fsf_req * req) zfcp_fsf_dbf_adapter_fc_security() argument 752 zfcp_fsf_exchange_port_evaluate(struct zfcp_fsf_req * req) zfcp_fsf_exchange_port_evaluate() argument 768 zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req * req) zfcp_fsf_exchange_port_data_handler() argument 804 struct zfcp_fsf_req *req; zfcp_fsf_alloc() local 840 struct zfcp_fsf_req *req = zfcp_fsf_alloc(pool); zfcp_fsf_req_create() local 881 zfcp_fsf_req_send(struct zfcp_fsf_req * req) zfcp_fsf_req_send() argument 931 struct zfcp_fsf_req *req; zfcp_fsf_status_read() local 978 zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req * req) zfcp_fsf_abort_fcp_command_handler() argument 1043 struct zfcp_fsf_req *req = NULL; zfcp_fsf_abort_fcp_cmnd() local 1086 zfcp_fsf_send_ct_handler(struct zfcp_fsf_req * req) zfcp_fsf_send_ct_handler() argument 1143 zfcp_fsf_setup_ct_els_sbals(struct zfcp_fsf_req * req,struct scatterlist * sg_req,struct scatterlist * sg_resp) zfcp_fsf_setup_ct_els_sbals() argument 1196 zfcp_fsf_setup_ct_els(struct zfcp_fsf_req * req,struct scatterlist * sg_req,struct scatterlist * sg_resp,unsigned int timeout) zfcp_fsf_setup_ct_els() argument 1229 struct zfcp_fsf_req *req; zfcp_fsf_send_ct() local 1270 zfcp_fsf_send_els_handler(struct zfcp_fsf_req * req) zfcp_fsf_send_els_handler() argument 1324 struct zfcp_fsf_req *req; zfcp_fsf_send_els() local 1373 struct zfcp_fsf_req *req; zfcp_fsf_exchange_config_data() local 1430 struct zfcp_fsf_req *req = NULL; zfcp_fsf_exchange_config_data_sync() local 1488 struct zfcp_fsf_req *req; zfcp_fsf_exchange_port_data() local 1542 struct zfcp_fsf_req *req = NULL; zfcp_fsf_exchange_port_data_sync() local 1590 zfcp_fsf_log_port_fc_security(struct zfcp_port * port,struct zfcp_fsf_req * req) zfcp_fsf_log_port_fc_security() argument 1694 zfcp_fsf_open_port_handler(struct zfcp_fsf_req * req) zfcp_fsf_open_port_handler() argument 1782 struct zfcp_fsf_req *req; zfcp_fsf_open_port() local 1821 zfcp_fsf_close_port_handler(struct zfcp_fsf_req * req) zfcp_fsf_close_port_handler() argument 1849 struct zfcp_fsf_req *req; zfcp_fsf_close_port() local 1886 zfcp_fsf_open_wka_port_handler(struct zfcp_fsf_req * req) zfcp_fsf_open_wka_port_handler() argument 1923 struct zfcp_fsf_req *req; zfcp_fsf_open_wka_port() local 1961 zfcp_fsf_close_wka_port_handler(struct zfcp_fsf_req * req) zfcp_fsf_close_wka_port_handler() argument 1982 struct zfcp_fsf_req *req; zfcp_fsf_close_wka_port() local 2020 zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req * req) zfcp_fsf_close_physical_port_handler() argument 2076 struct zfcp_fsf_req *req; zfcp_fsf_close_physical_port() local 2113 zfcp_fsf_open_lun_handler(struct zfcp_fsf_req * req) zfcp_fsf_open_lun_handler() argument 2196 struct zfcp_fsf_req *req; zfcp_fsf_open_lun() local 2237 zfcp_fsf_close_lun_handler(struct zfcp_fsf_req * req) zfcp_fsf_close_lun_handler() argument 2288 struct zfcp_fsf_req *req; zfcp_fsf_close_lun() local 2333 zfcp_fsf_req_trace(struct zfcp_fsf_req * req,struct scsi_cmnd * scsi) zfcp_fsf_req_trace() argument 2390 zfcp_fsf_fcp_handler_common(struct zfcp_fsf_req * req,struct scsi_device * sdev) zfcp_fsf_fcp_handler_common() argument 2461 zfcp_fsf_fcp_cmnd_handler(struct zfcp_fsf_req * req) zfcp_fsf_fcp_cmnd_handler() argument 2560 struct zfcp_fsf_req *req; zfcp_fsf_fcp_cmnd() local 2652 zfcp_fsf_fcp_task_mgmt_handler(struct zfcp_fsf_req * req) zfcp_fsf_fcp_task_mgmt_handler() argument 2678 struct zfcp_fsf_req *req = NULL; zfcp_fsf_fcp_task_mgmt() local [all...] |
| /linux/drivers/nvme/target/ |
| H A D | admin-cmd.c | 15 static void nvmet_execute_delete_sq(struct nvmet_req *req) in nvmet_execute_delete_sq() argument 17 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_sq() 18 u16 sqid = le16_to_cpu(req->cmd->delete_queue.qid); in nvmet_execute_delete_sq() 22 status = nvmet_report_invalid_opcode(req); in nvmet_execute_delete_sq() 38 nvmet_req_complete(req, status); in nvmet_execute_delete_sq() 41 static void nvmet_execute_create_sq(struct nvmet_req *req) in nvmet_execute_create_sq() argument 43 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_sq() 44 struct nvme_command *cmd = req->cmd; in nvmet_execute_create_sq() 53 status = nvmet_report_invalid_opcode(req); in nvmet_execute_create_sq() 80 nvmet_req_complete(req, statu in nvmet_execute_create_sq() 83 nvmet_execute_delete_cq(struct nvmet_req * req) nvmet_execute_delete_cq() argument 110 nvmet_execute_create_cq(struct nvmet_req * req) nvmet_execute_create_cq() argument 155 nvmet_feat_data_len(struct nvmet_req * req,u32 cdw10) nvmet_feat_data_len() argument 170 nvmet_execute_get_log_page_noop(struct nvmet_req * req) nvmet_execute_get_log_page_noop() argument 175 nvmet_execute_get_log_page_error(struct nvmet_req * req) nvmet_execute_get_log_page_error() argument 201 nvmet_execute_get_supported_log_pages(struct nvmet_req * req) nvmet_execute_get_supported_log_pages() argument 230 nvmet_get_smart_log_nsid(struct nvmet_req * req,struct nvme_smart_log * slog) nvmet_get_smart_log_nsid() argument 259 nvmet_get_smart_log_all(struct nvmet_req * req,struct nvme_smart_log * slog) nvmet_get_smart_log_all() argument 289 nvmet_execute_get_log_page_rmi(struct nvmet_req * req) nvmet_execute_get_log_page_rmi() argument 330 nvmet_execute_get_log_page_smart(struct nvmet_req * req) nvmet_execute_get_log_page_smart() argument 408 nvmet_execute_get_log_cmd_effects_ns(struct nvmet_req * req) nvmet_execute_get_log_cmd_effects_ns() argument 446 nvmet_execute_get_log_changed_ns(struct nvmet_req * req) nvmet_execute_get_log_changed_ns() argument 470 nvmet_format_ana_group(struct nvmet_req * req,u32 grpid,struct nvme_ana_group_desc * desc) nvmet_format_ana_group() argument 493 nvmet_execute_get_log_page_endgrp(struct nvmet_req * req) nvmet_execute_get_log_page_endgrp() argument 536 nvmet_execute_get_log_page_ana(struct nvmet_req * req) nvmet_execute_get_log_page_ana() argument 580 nvmet_execute_get_log_page_features(struct nvmet_req * req) nvmet_execute_get_log_page_features() argument 610 nvmet_execute_get_log_page(struct nvmet_req * req) nvmet_execute_get_log_page() argument 650 nvmet_execute_identify_ctrl(struct nvmet_req * req) nvmet_execute_identify_ctrl() argument 798 nvmet_execute_identify_ns(struct nvmet_req * req) nvmet_execute_identify_ns() argument 900 nvmet_execute_identify_endgrp_list(struct nvmet_req * req) nvmet_execute_identify_endgrp_list() argument 933 nvmet_execute_identify_nslist(struct nvmet_req * req,bool match_css) nvmet_execute_identify_nslist() argument 977 nvmet_copy_ns_identifier(struct nvmet_req * req,u8 type,u8 len,void * id,off_t * off) nvmet_copy_ns_identifier() argument 999 nvmet_execute_identify_desclist(struct nvmet_req * req) nvmet_execute_identify_desclist() argument 1037 nvmet_execute_identify_ctrl_nvm(struct nvmet_req * req) nvmet_execute_identify_ctrl_nvm() argument 1044 nvme_execute_identify_ns_nvm(struct nvmet_req * req) nvme_execute_identify_ns_nvm() argument 1066 nvmet_execute_id_cs_indep(struct nvmet_req * req) nvmet_execute_id_cs_indep() argument 1102 nvmet_execute_identify(struct nvmet_req * req) nvmet_execute_identify() argument 1170 nvmet_execute_abort(struct nvmet_req * req) nvmet_execute_abort() argument 1178 nvmet_write_protect_flush_sync(struct nvmet_req * req) nvmet_write_protect_flush_sync() argument 1192 nvmet_set_feat_write_protect(struct nvmet_req * req) nvmet_set_feat_write_protect() argument 1224 nvmet_set_feat_kato(struct nvmet_req * req) nvmet_set_feat_kato() argument 1237 nvmet_set_feat_async_event(struct nvmet_req * req,u32 mask) nvmet_set_feat_async_event() argument 1252 nvmet_set_feat_host_id(struct nvmet_req * req) nvmet_set_feat_host_id() argument 1277 nvmet_set_feat_irq_coalesce(struct nvmet_req * req) nvmet_set_feat_irq_coalesce() argument 1298 nvmet_set_feat_irq_config(struct nvmet_req * req) nvmet_set_feat_irq_config() argument 1319 nvmet_set_feat_arbitration(struct nvmet_req * req) nvmet_set_feat_arbitration() argument 1338 nvmet_execute_set_features(struct nvmet_req * req) nvmet_execute_set_features() argument 1394 nvmet_get_feat_write_protect(struct nvmet_req * req) nvmet_get_feat_write_protect() argument 1414 nvmet_get_feat_irq_coalesce(struct nvmet_req * req) nvmet_get_feat_irq_coalesce() argument 1438 nvmet_get_feat_irq_config(struct nvmet_req * req) nvmet_get_feat_irq_config() argument 1463 nvmet_get_feat_arbitration(struct nvmet_req * req) nvmet_get_feat_arbitration() argument 1487 nvmet_get_feat_kato(struct nvmet_req * req) nvmet_get_feat_kato() argument 1492 nvmet_get_feat_async_event(struct nvmet_req * req) nvmet_get_feat_async_event() argument 1497 nvmet_execute_get_features(struct nvmet_req * req) nvmet_execute_get_features() argument 1572 nvmet_execute_async_event(struct nvmet_req * req) nvmet_execute_async_event() argument 1591 nvmet_execute_keep_alive(struct nvmet_req * req) nvmet_execute_keep_alive() argument 1611 nvmet_admin_cmd_data_len(struct nvmet_req * req) nvmet_admin_cmd_data_len() argument 1632 nvmet_parse_admin_cmd(struct nvmet_req * req) nvmet_parse_admin_cmd() argument [all...] |
| 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 in nvmet_file_io_done() 120 nvmet_file_execute_io(struct nvmet_req * req,int ki_flags) nvmet_file_execute_io() argument 207 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); nvmet_file_buffered_io_work() local 212 nvmet_file_submit_buffered_io(struct nvmet_req * req) nvmet_file_submit_buffered_io() argument 218 nvmet_file_execute_rw(struct nvmet_req * req) nvmet_file_execute_rw() argument 252 nvmet_file_flush(struct nvmet_req * req) nvmet_file_flush() argument 259 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); nvmet_file_flush_work() local 264 nvmet_file_execute_flush(struct nvmet_req * req) nvmet_file_execute_flush() argument 272 nvmet_file_execute_discard(struct nvmet_req * req) nvmet_file_execute_discard() argument 309 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); nvmet_file_dsm_work() local 324 nvmet_file_execute_dsm(struct nvmet_req * req) nvmet_file_execute_dsm() argument 334 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); nvmet_file_write_zeroes_work() local 354 nvmet_file_execute_write_zeroes(struct nvmet_req * req) nvmet_file_execute_write_zeroes() argument 362 nvmet_file_parse_io_cmd(struct nvmet_req * req) nvmet_file_parse_io_cmd() argument [all...] |
| H A D | fabrics-cmd-auth.c | 46 static u8 nvmet_auth_negotiate(struct nvmet_req *req, void *d, u32 tl) in nvmet_auth_negotiate() 48 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_negotiate() 57 __func__, ctrl->cntlid, req->sq->qid, in nvmet_auth_negotiate() 61 req->sq->dhchap_tid = le16_to_cpu(data->t_id); in nvmet_auth_negotiate() 62 req->sq->sc_c = data->sc_c; in nvmet_auth_negotiate() 67 if (req->sq->qid) in nvmet_auth_negotiate() 71 if (nvmet_queue_tls_keyid(req->sq)) in nvmet_auth_negotiate() 75 if (!nvmet_queue_tls_keyid(req->sq)) in nvmet_auth_negotiate() 108 __func__, ctrl->cntlid, req->sq->qid); in nvmet_auth_negotiate() 112 __func__, ctrl->cntlid, req in nvmet_auth_negotiate() 34 nvmet_auth_negotiate(struct nvmet_req * req,void * d,u32 tl) nvmet_auth_negotiate() argument 144 nvmet_auth_reply(struct nvmet_req * req,void * d,u32 tl) nvmet_auth_reply() argument 245 nvmet_auth_send_data_len(struct nvmet_req * req) nvmet_auth_send_data_len() argument 250 nvmet_execute_auth_send(struct nvmet_req * req) nvmet_execute_auth_send() argument 424 nvmet_auth_challenge(struct nvmet_req * req,void * d,int al) nvmet_auth_challenge() argument 464 nvmet_auth_success1(struct nvmet_req * req,void * d,int al) nvmet_auth_success1() argument 491 nvmet_auth_failure1(struct nvmet_req * req,void * d,int al) nvmet_auth_failure1() argument 503 nvmet_auth_receive_data_len(struct nvmet_req * req) nvmet_auth_receive_data_len() argument 532 nvmet_execute_auth_receive(struct nvmet_req * req) nvmet_execute_auth_receive() 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() 81 id->zasl = min_not_zero(nvmet_ctrl_mdts(req), zasl); in nvmet_execute_identify_ctrl_zns() 83 status = nvmet_copy_to_sgl(req, 0, id, sizeof(*id)); in nvmet_execute_identify_ctrl_zns() 87 nvmet_req_complete(req, status); in nvmet_execute_identify_ctrl_zns() 90 void nvmet_execute_identify_ns_zns(struct nvmet_req *req) in nvmet_execute_identify_ns_zns() argument 97 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns_zns() 98 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns_zns() 109 status = nvmet_req_find_ns(req); in nvmet_execute_identify_ns_zns() 113 if (nvmet_ns_revalidate(req in nvmet_execute_identify_ns_zns() 150 nvmet_bdev_validate_zone_mgmt_recv(struct nvmet_req * req) nvmet_bdev_validate_zone_mgmt_recv() argument 199 struct nvmet_req *req; global() member 247 nvmet_req_nr_zones_from_slba(struct nvmet_req * req) nvmet_req_nr_zones_from_slba() argument 254 get_nr_zones_from_buf(struct nvmet_req * req,u32 bufsize) get_nr_zones_from_buf() argument 265 struct nvmet_req *req = container_of(w, struct nvmet_req, z.zmgmt_work); nvmet_bdev_zone_zmgmt_recv_work() local 318 nvmet_bdev_execute_zone_mgmt_recv(struct nvmet_req * req) nvmet_bdev_execute_zone_mgmt_recv() argument 355 struct nvmet_req *req; global() member 399 nvmet_bdev_zone_mgmt_emulate_all(struct nvmet_req * req) nvmet_bdev_zone_mgmt_emulate_all() argument 451 nvmet_bdev_execute_zmgmt_send_all(struct nvmet_req * req) nvmet_bdev_execute_zmgmt_send_all() argument 477 struct nvmet_req *req = container_of(w, struct nvmet_req, z.zmgmt_work); nvmet_bdev_zmgmt_send_work() local 517 nvmet_bdev_execute_zone_mgmt_send(struct nvmet_req * req) nvmet_bdev_execute_zone_mgmt_send() argument 525 struct nvmet_req *req = bio->bi_private; nvmet_bdev_zone_append_bio_done() local 536 nvmet_bdev_execute_zone_append(struct nvmet_req * req) nvmet_bdev_execute_zone_append() argument 613 nvmet_bdev_zns_parse_io_cmd(struct nvmet_req * req) nvmet_bdev_zns_parse_io_cmd() argument [all...] |
| H A D | fabrics-cmd.c | 10 static void nvmet_execute_prop_set(struct nvmet_req *req) in nvmet_execute_prop_set() argument 12 u64 val = le64_to_cpu(req->cmd->prop_set.value); in nvmet_execute_prop_set() 15 if (!nvmet_check_transfer_len(req, 0)) in nvmet_execute_prop_set() 17 if (!nvmet_check_auth_status(req)) { in nvmet_execute_prop_set() 22 if (req->cmd->prop_set.attrib & 1) { in nvmet_execute_prop_set() 23 req->error_loc = in nvmet_execute_prop_set() 29 switch (le32_to_cpu(req->cmd->prop_set.offset)) { in nvmet_execute_prop_set() 31 nvmet_update_cc(req->sq->ctrl, val); in nvmet_execute_prop_set() 34 req->error_loc = in nvmet_execute_prop_set() 39 nvmet_req_complete(req, statu in nvmet_execute_prop_get() 38 nvmet_execute_prop_get(struct nvmet_req * req) nvmet_execute_prop_get() argument 88 nvmet_fabrics_admin_cmd_data_len(struct nvmet_req * req) nvmet_fabrics_admin_cmd_data_len() argument 104 nvmet_parse_fabrics_admin_cmd(struct nvmet_req * req) nvmet_parse_fabrics_admin_cmd() argument 133 nvmet_fabrics_io_cmd_data_len(struct nvmet_req * req) nvmet_fabrics_io_cmd_data_len() argument 149 nvmet_parse_fabrics_io_cmd(struct nvmet_req * req) nvmet_parse_fabrics_io_cmd() argument 172 nvmet_install_queue(struct nvmet_ctrl * ctrl,struct nvmet_req * req) nvmet_install_queue() argument 267 nvmet_execute_admin_connect(struct nvmet_req * req) nvmet_execute_admin_connect() argument 336 nvmet_execute_io_connect(struct nvmet_req * req) nvmet_execute_io_connect() argument 397 nvmet_connect_cmd_data_len(struct nvmet_req * req) nvmet_connect_cmd_data_len() argument 408 nvmet_parse_connect_cmd(struct nvmet_req * req) nvmet_parse_connect_cmd() argument [all...] |
| /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 …]
|
| /linux/io_uring/ |
| H A D | rw.c | 39 static bool io_file_supports_nowait(struct io_kiocb *req, __poll_t mask) in io_file_supports_nowait() 42 if (req->flags & REQ_F_SUPPORT_NOWAIT) in io_file_supports_nowait() 45 if (io_file_can_poll(req)) { in io_file_supports_nowait() 48 return vfs_poll(req->file, &pt) & mask; in io_file_supports_nowait() 54 static int io_iov_buffer_select_prep(struct io_kiocb *req) in io_iov_buffer_select_prep() 58 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_iov_buffer_select_prep() 64 iov = iovec_from_user(uiov, 1, 1, &fast_iov, io_is_compat(req->ctx)); in io_iov_buffer_select_prep() 71 static int io_import_vec(int ddir, struct io_kiocb *req, in io_import_vec() 88 io_is_compat(req->ctx)); in io_import_vec() 92 req in io_import_vec() 37 io_file_supports_nowait(struct io_kiocb * req,__poll_t mask) io_file_supports_nowait() argument 52 io_iov_buffer_select_prep(struct io_kiocb * req) io_iov_buffer_select_prep() argument 69 io_import_vec(int ddir,struct io_kiocb * req,struct io_async_rw * io,const struct iovec __user * uvec,size_t uvec_segs) io_import_vec() argument 96 __io_import_rw_buffer(int ddir,struct io_kiocb * req,struct io_async_rw * io,struct io_br_sel * sel,unsigned int issue_flags) __io_import_rw_buffer() argument 118 io_import_rw_buffer(int rw,struct io_kiocb * req,struct io_async_rw * io,struct io_br_sel * sel,unsigned int issue_flags) io_import_rw_buffer() argument 133 io_rw_recycle(struct io_kiocb * req,unsigned int issue_flags) io_rw_recycle() argument 151 io_req_rw_cleanup(struct io_kiocb * req,unsigned int issue_flags) io_req_rw_cleanup() argument 190 io_rw_alloc_async(struct io_kiocb * req) io_rw_alloc_async() argument 218 io_prep_rw_pi(struct io_kiocb * req,struct io_rw * rw,int ddir,u64 attr_ptr) io_prep_rw_pi() argument 245 __io_prep_rw(struct io_kiocb * req,const struct io_uring_sqe * sqe,int ddir) __io_prep_rw() argument 299 io_rw_do_import(struct io_kiocb * req,int ddir) io_rw_do_import() argument 309 io_prep_rw(struct io_kiocb * req,const struct io_uring_sqe * sqe,int ddir) io_prep_rw() argument 321 io_prep_read(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_read() argument 326 io_prep_write(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_write() argument 331 io_prep_rwv(struct io_kiocb * req,const struct io_uring_sqe * sqe,int ddir) io_prep_rwv() argument 349 io_prep_readv(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_readv() argument 354 io_prep_writev(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_writev() argument 359 io_init_rw_fixed(struct io_kiocb * req,unsigned int issue_flags,int ddir) io_init_rw_fixed() argument 375 io_prep_read_fixed(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_read_fixed() argument 380 io_prep_write_fixed(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_write_fixed() argument 385 io_rw_import_reg_vec(struct io_kiocb * req,struct io_async_rw * io,int ddir,unsigned int issue_flags) io_rw_import_reg_vec() argument 402 io_rw_prep_reg_vec(struct io_kiocb * req) io_rw_prep_reg_vec() argument 412 io_prep_readv_fixed(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_readv_fixed() argument 422 io_prep_writev_fixed(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_prep_writev_fixed() argument 436 io_read_mshot_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_read_mshot_prep() argument 456 io_readv_writev_cleanup(struct io_kiocb * req) io_readv_writev_cleanup() argument 465 io_kiocb_update_pos(struct io_kiocb * req) io_kiocb_update_pos() argument 482 io_rw_should_reissue(struct io_kiocb * req) io_rw_should_reissue() argument 511 io_req_end_write(struct io_kiocb * req) io_req_end_write() argument 521 io_req_io_notify(struct io_kiocb * req) io_req_io_notify() argument 532 io_req_io_end(struct io_kiocb * req) io_req_io_end() argument 541 __io_complete_rw_common(struct io_kiocb * req,long res) __io_complete_rw_common() argument 553 io_fixup_rw_res(struct io_kiocb * req,long res) io_fixup_rw_res() argument 569 struct io_kiocb *req = tw_req.req; io_req_rw_complete() local 583 struct io_kiocb *req = cmd_to_io_kiocb(rw); io_complete_rw() local 598 struct io_kiocb *req = cmd_to_io_kiocb(rw); io_complete_rw_iopoll() local 631 io_rw_done(struct io_kiocb * req,ssize_t ret) io_rw_done() argument 649 kiocb_done(struct io_kiocb * req,ssize_t ret,struct io_br_sel * sel,unsigned int issue_flags) kiocb_done() argument 689 struct io_kiocb *req = cmd_to_io_kiocb(rw); loop_rw_iter() local 767 struct io_kiocb *req = wait->private; io_async_buf_func() local 794 io_rw_should_retry(struct io_kiocb * req) io_rw_should_retry() argument 842 need_complete_io(struct io_kiocb * req) need_complete_io() argument 848 io_rw_init_file(struct io_kiocb * req,fmode_t mode,int rw_type) io_rw_init_file() argument 913 __io_read(struct io_kiocb * req,struct io_br_sel * sel,unsigned int issue_flags) __io_read() argument 1027 io_read(struct io_kiocb * req,unsigned int issue_flags) io_read() argument 1042 io_read_mshot(struct io_kiocb * req,unsigned int issue_flags) io_read_mshot() argument 1111 io_kiocb_start_write(struct io_kiocb * req,struct kiocb * kiocb) io_kiocb_start_write() argument 1130 io_write(struct io_kiocb * req,unsigned int issue_flags) io_write() argument 1226 io_read_fixed(struct io_kiocb * req,unsigned int issue_flags) io_read_fixed() argument 1237 io_write_fixed(struct io_kiocb * req,unsigned int issue_flags) io_write_fixed() argument 1248 io_rw_fail(struct io_kiocb * req) io_rw_fail() argument 1256 io_uring_classic_poll(struct io_kiocb * req,struct io_comp_batch * iob,unsigned int poll_flags) io_uring_classic_poll() argument 1273 io_hybrid_iopoll_delay(struct io_ring_ctx * ctx,struct io_kiocb * req) io_hybrid_iopoll_delay() argument 1307 io_uring_hybrid_poll(struct io_kiocb * req,struct io_comp_batch * iob,unsigned int poll_flags) io_uring_hybrid_poll() argument 1333 struct io_kiocb *req, *tmp; io_do_iopoll() local [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((unsigned int)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 in io_poll_mark_cancelled() 106 io_poll_get_double(struct io_kiocb * req) io_poll_get_double() argument 114 io_poll_get_single(struct io_kiocb * req) io_poll_get_single() argument 121 io_poll_req_insert(struct io_kiocb * req) io_poll_req_insert() argument 171 io_poll_remove_entries(struct io_kiocb * req) io_poll_remove_entries() argument 211 __io_poll_execute(struct io_kiocb * req,int mask,unsigned tw_flags) __io_poll_execute() argument 225 io_poll_execute(struct io_kiocb * req,int res,unsigned tw_flags) io_poll_execute() argument 242 io_poll_check_events(struct io_kiocb * req,io_tw_token_t tw) io_poll_check_events() argument 341 struct io_kiocb *req = tw_req.req; io_poll_task_func() local 383 io_poll_cancel_req(struct io_kiocb * req) io_poll_cancel_req() argument 392 io_pollfree_wake(struct io_kiocb * req,struct io_poll * poll) io_pollfree_wake() argument 404 struct io_kiocb *req = wqe_to_req(wait); io_poll_wake() local 440 io_poll_double_prepare(struct io_kiocb * req) io_poll_double_prepare() argument 469 struct io_kiocb *req = pt->req; __io_queue_proc() local 532 io_poll_can_finish_inline(struct io_kiocb * req,struct io_poll_table * pt) io_poll_can_finish_inline() argument 538 io_poll_add_hash(struct io_kiocb * req,unsigned int issue_flags) io_poll_add_hash() argument 553 __io_arm_poll_handler(struct io_kiocb * req,struct io_poll * poll,struct io_poll_table * ipt,__poll_t mask,unsigned issue_flags) __io_arm_poll_handler() argument 655 io_req_alloc_apoll(struct io_kiocb * req,unsigned issue_flags) io_req_alloc_apoll() argument 680 io_arm_apoll(struct io_kiocb * req,unsigned issue_flags,__poll_t mask) io_arm_apoll() argument 706 io_arm_poll_handler(struct io_kiocb * req,unsigned issue_flags) io_arm_poll_handler() argument 739 struct io_kiocb *req; io_poll_remove_all() local 762 struct io_kiocb *req; io_poll_find() local 784 struct io_kiocb *req; io_poll_file_find() local 798 io_poll_disarm(struct io_kiocb * req) io_poll_disarm() argument 811 struct io_kiocb *req; __io_poll_cancel() local 854 io_poll_remove_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_poll_remove_prep() argument 884 io_poll_add_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_poll_add_prep() argument 901 io_poll_add(struct io_kiocb * req,unsigned int issue_flags) io_poll_add() argument 917 io_poll_remove(struct io_kiocb * req,unsigned int issue_flags) io_poll_remove() argument [all...] |
| H A D | uring_cmd.c | 26 static void io_req_uring_cleanup(struct io_kiocb *req, unsigned int issue_flags) in io_req_uring_cleanup() argument 28 struct io_uring_cmd *ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd); in io_req_uring_cleanup() 29 struct io_async_cmd *ac = req->async_data; in io_req_uring_cleanup() 38 if (io_alloc_cache_put(&req->ctx->cmd_cache, ac)) { in io_req_uring_cleanup() 40 io_req_async_data_clear(req, REQ_F_NEED_CLEANUP); in io_req_uring_cleanup() 46 void io_uring_cmd_cleanup(struct io_kiocb *req) in io_uring_cmd_cleanup() argument 48 io_req_uring_cleanup(req, 0); in io_uring_cmd_cleanup() 55 struct io_kiocb *req; in io_uring_try_cancel_uring_cmd() local 60 hlist_for_each_entry_safe(req, tmp, &ctx->cancelable_uring_cmd, in io_uring_try_cancel_uring_cmd() 62 struct io_uring_cmd *cmd = io_kiocb_to_cmd(req, in io_uring_try_cancel_uring_cmd() 82 struct io_kiocb *req = cmd_to_io_kiocb(cmd); io_uring_cmd_del_cancelable() local 106 struct io_kiocb *req = cmd_to_io_kiocb(cmd); io_uring_cmd_mark_cancelable() local 131 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); __io_uring_cmd_do_in_task() local 141 io_req_set_cqe32_extra(struct io_kiocb * req,u64 extra1,u64 extra2) io_req_set_cqe32_extra() argument 155 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); __io_uring_cmd_done() local 186 io_uring_cmd_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_uring_cmd_prep() argument 223 uring_sqe_size(struct io_kiocb * req) uring_sqe_size() argument 231 io_uring_cmd_sqe_copy(struct io_kiocb * req) io_uring_cmd_sqe_copy() argument 243 io_uring_cmd(struct io_kiocb * req,unsigned int issue_flags) io_uring_cmd() argument 294 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); io_uring_cmd_import_fixed() local 309 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); io_uring_cmd_import_fixed_vec() local 327 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); io_uring_cmd_issue_blocking() local 335 struct io_kiocb *req = cmd_to_io_kiocb(cmd); io_cmd_poll_multishot() local 352 struct io_kiocb *req = cmd_to_io_kiocb(cmd); io_uring_cmd_post_mshot_cqe32() local 367 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); io_uring_cmd_buffer_select() local 390 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); io_uring_mshot_cmd_post_cqe() local [all...] |
| H A D | timeout.c | 77 static struct io_kiocb *__io_disarm_linked_timeout(struct io_kiocb *req, 80 static inline bool io_is_timeout_noseq(struct io_kiocb *req) in io_is_timeout_noseq() argument 82 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_is_timeout_noseq() 83 struct io_timeout_data *data = req->async_data; in io_is_timeout_noseq() 88 static inline void io_put_req(struct io_kiocb *req) in io_put_req() argument 90 if (req_ref_put_and_test(req)) { in io_put_req() 91 io_queue_next(req); in io_put_req() 92 io_free_req(req); in io_put_req() 112 struct io_kiocb *req = tw_req.req; in io_timeout_complete() local 138 struct io_kiocb *req; io_flush_killed_timeouts() local 151 io_kill_timeout(struct io_kiocb * req,struct list_head * list) io_kill_timeout() argument 175 struct io_kiocb *req = cmd_to_io_kiocb(timeout); io_flush_timeouts() local 218 io_fail_links(struct io_kiocb * req) io_fail_links() argument 242 io_remove_next_linked(struct io_kiocb * req) io_remove_next_linked() argument 250 io_disarm_next(struct io_kiocb * req) io_disarm_next() argument 278 __io_disarm_linked_timeout(struct io_kiocb * req,struct io_kiocb * link) __io_disarm_linked_timeout() argument 304 struct io_kiocb *req = data->req; io_timeout_fn() local 330 struct io_kiocb *req = NULL; io_timeout_extract() local 354 struct io_kiocb *req; io_timeout_cancel() local 368 struct io_kiocb *req = tw_req.req; io_req_task_link_timeout() local 405 struct io_kiocb *prev, *req = data->req; io_link_timeout_fn() local 445 struct io_kiocb *req = NULL; io_linked_timeout_update() local 471 struct io_kiocb *req = io_timeout_extract(ctx, &cd); io_timeout_update() local 488 io_timeout_remove_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_timeout_remove_prep() argument 532 io_timeout_remove(struct io_kiocb * req,unsigned int issue_flags) io_timeout_remove() argument 561 __io_timeout_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe,bool is_timeout_link) __io_timeout_prep() argument 633 io_timeout_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_timeout_prep() argument 638 io_link_timeout_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_link_timeout_prep() argument 643 io_timeout(struct io_kiocb * req,unsigned int issue_flags) io_timeout() argument 693 io_queue_linked_timeout(struct io_kiocb * req) io_queue_linked_timeout() argument 718 struct io_kiocb *req; io_match_task() local 746 struct io_kiocb *req = cmd_to_io_kiocb(timeout); io_kill_timeouts() local [all...] |
| H A D | futex.c | 27 struct io_kiocb *req; member 50 hlist_del_init(&tw_req.req->hash_node); in __io_futex_complete() 56 struct io_kiocb *req = tw_req.req; in io_futex_complete() local 57 struct io_ring_ctx *ctx = req->ctx; in io_futex_complete() 60 io_cache_free(&ctx->futex_cache, req->async_data); in io_futex_complete() 61 io_req_async_data_clear(req, 0); in io_futex_complete() 67 struct io_kiocb *req = tw_req.req; in io_futexv_complete() local 68 struct io_futex *iof = io_kiocb_to_cmd(req, struc in io_futexv_complete() 92 __io_futex_cancel(struct io_kiocb * req) __io_futex_cancel() argument 127 io_futex_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_futex_prep() argument 155 io_futex_wait_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_futex_wait_prep() argument 172 struct io_kiocb *req = q->wake_data; io_futex_wakev_fn() local 187 io_futexv_prep(struct io_kiocb * req,const struct io_uring_sqe * sqe) io_futexv_prep() argument 233 struct io_kiocb *req = ifd->req; io_futex_wake_fn() local 243 io_futexv_wait(struct io_kiocb * req,unsigned int issue_flags) io_futexv_wait() argument 296 io_futex_wait(struct io_kiocb * req,unsigned int issue_flags) io_futex_wait() argument 341 io_futex_wake(struct io_kiocb * req,unsigned int issue_flags) io_futex_wake() argument [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/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 in handshake_sk_destruct() 112 struct handshake_req *req; handshake_req_alloc() local 138 handshake_req_private(struct handshake_req * req) handshake_req_private() argument 145 __add_pending_locked(struct handshake_net * hn,struct handshake_req * req) __add_pending_locked() argument 155 __remove_pending_locked(struct handshake_net * hn,struct handshake_req * req) __remove_pending_locked() argument 169 remove_pending(struct handshake_net * hn,struct handshake_req * req) remove_pending() argument 197 struct handshake_req *req, *pos; handshake_req_next() local 251 handshake_req_submit(struct socket * sock,struct handshake_req * req,gfp_t flags) handshake_req_submit() argument 324 handshake_complete(struct handshake_req * req,int status,struct genl_info * info) handshake_complete() argument 354 struct handshake_req *req; handshake_req_cancel() local [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 in rvu_mbox_handler_mcs_set_lmac_mode() 123 struct mcs_intr_info *req; mcs_notify_pfvf() local 180 rvu_mbox_handler_mcs_intr_cfg(struct rvu * rvu,struct mcs_intr_cfg * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_intr_cfg() argument 205 rvu_mbox_handler_mcs_get_hw_info(struct rvu * rvu,struct msg_req * req,struct mcs_hw_info * rsp) rvu_mbox_handler_mcs_get_hw_info() argument 223 rvu_mbox_handler_mcs_port_reset(struct rvu * rvu,struct mcs_port_reset_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_port_reset() argument 239 rvu_mbox_handler_mcs_clear_stats(struct rvu * rvu,struct mcs_clear_stats * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_clear_stats() argument 261 rvu_mbox_handler_mcs_get_flowid_stats(struct rvu * rvu,struct mcs_stats_req * req,struct mcs_flowid_stats * rsp) rvu_mbox_handler_mcs_get_flowid_stats() argument 292 rvu_mbox_handler_mcs_get_secy_stats(struct rvu * rvu,struct mcs_stats_req * req,struct mcs_secy_stats * rsp) rvu_mbox_handler_mcs_get_secy_stats() argument 320 rvu_mbox_handler_mcs_get_sc_stats(struct rvu * rvu,struct mcs_stats_req * req,struct mcs_sc_stats * rsp) rvu_mbox_handler_mcs_get_sc_stats() argument 344 rvu_mbox_handler_mcs_get_sa_stats(struct rvu * rvu,struct mcs_stats_req * req,struct mcs_sa_stats * rsp) rvu_mbox_handler_mcs_get_sa_stats() argument 368 rvu_mbox_handler_mcs_get_port_stats(struct rvu * rvu,struct mcs_stats_req * req,struct mcs_port_stats * rsp) rvu_mbox_handler_mcs_get_port_stats() argument 392 rvu_mbox_handler_mcs_set_active_lmac(struct rvu * rvu,struct mcs_set_active_lmac * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_set_active_lmac() argument 409 rvu_mbox_handler_mcs_port_cfg_set(struct rvu * rvu,struct mcs_port_cfg_set_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_port_cfg_set() argument 427 rvu_mbox_handler_mcs_port_cfg_get(struct rvu * rvu,struct mcs_port_cfg_get_req * req,struct mcs_port_cfg_get_rsp * rsp) rvu_mbox_handler_mcs_port_cfg_get() argument 445 rvu_mbox_handler_mcs_custom_tag_cfg_get(struct rvu * rvu,struct mcs_custom_tag_cfg_get_req * req,struct mcs_custom_tag_cfg_get_rsp * rsp) rvu_mbox_handler_mcs_custom_tag_cfg_get() argument 482 rvu_mbox_handler_mcs_flowid_ena_entry(struct rvu * rvu,struct mcs_flowid_ena_dis_entry * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_flowid_ena_entry() argument 496 rvu_mbox_handler_mcs_pn_table_write(struct rvu * rvu,struct mcs_pn_table_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_pn_table_write() argument 510 rvu_mbox_handler_mcs_set_pn_threshold(struct rvu * rvu,struct mcs_set_pn_threshold * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_set_pn_threshold() argument 526 rvu_mbox_handler_mcs_rx_sc_sa_map_write(struct rvu * rvu,struct mcs_rx_sc_sa_map * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_rx_sc_sa_map_write() argument 540 rvu_mbox_handler_mcs_tx_sc_sa_map_write(struct rvu * rvu,struct mcs_tx_sc_sa_map * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_tx_sc_sa_map_write() argument 556 rvu_mbox_handler_mcs_sa_plcy_write(struct rvu * rvu,struct mcs_sa_plcy_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_sa_plcy_write() argument 574 rvu_mbox_handler_mcs_rx_sc_cam_write(struct rvu * rvu,struct mcs_rx_sc_cam_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_rx_sc_cam_write() argument 588 rvu_mbox_handler_mcs_secy_plcy_write(struct rvu * rvu,struct mcs_secy_plcy_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_secy_plcy_write() argument 603 rvu_mbox_handler_mcs_flowid_entry_write(struct rvu * rvu,struct mcs_flowid_entry_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_flowid_entry_write() argument 630 rvu_mbox_handler_mcs_free_resources(struct rvu * rvu,struct mcs_free_rsrc_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_free_resources() argument 680 rvu_mbox_handler_mcs_alloc_resources(struct rvu * rvu,struct mcs_alloc_rsrc_req * req,struct mcs_alloc_rsrc_rsp * rsp) rvu_mbox_handler_mcs_alloc_resources() argument 762 rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule(struct rvu * rvu,struct mcs_alloc_ctrl_pkt_rule_req * req,struct mcs_alloc_ctrl_pkt_rule_rsp * rsp) rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule() argument 819 rvu_mbox_handler_mcs_free_ctrl_pkt_rule(struct rvu * rvu,struct mcs_free_ctrl_pkt_rule_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_free_ctrl_pkt_rule() argument 840 rvu_mbox_handler_mcs_ctrl_pkt_rule_write(struct rvu * rvu,struct mcs_ctrl_pkt_rule_write_req * req,struct msg_rsp * rsp) rvu_mbox_handler_mcs_ctrl_pkt_rule_write() argument [all...] |
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | netlink.c | 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() 157 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, &ns_a, sizeof(ns_a))) in __add_veth() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_hwrm_lib.c | 31 struct hwrm_ver_get_input *req; in bnge_hwrm_ver_get() local 34 rc = bnge_hwrm_req_init(bd, req, HWRM_VER_GET); in bnge_hwrm_ver_get() 38 bnge_hwrm_req_flags(bd, req, BNGE_HWRM_FULL_WAIT); in bnge_hwrm_ver_get() 40 req->hwrm_intf_maj = HWRM_VERSION_MAJOR; in bnge_hwrm_ver_get() 41 req->hwrm_intf_min = HWRM_VERSION_MINOR; in bnge_hwrm_ver_get() 42 req->hwrm_intf_upd = HWRM_VERSION_UPDATE; in bnge_hwrm_ver_get() 44 resp = bnge_hwrm_req_hold(bd, req); in bnge_hwrm_ver_get() 45 rc = bnge_hwrm_req_send(bd, req); in bnge_hwrm_ver_get() 116 bnge_hwrm_req_drop(bd, req); in bnge_hwrm_ver_get() 125 struct hwrm_nvm_get_dev_info_input *req; in bnge_hwrm_nvm_dev_info() local [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() 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 149 struct peci_device *device = req->device; in peci_request_xfer_retry() [all …]
|
| /linux/net/sunrpc/ |
| H A D | backchannel_rqst.c | 34 struct rpc_rqst *req; in xprt_svc_destroy_nullify_bc() local 37 while ((req = lwq_dequeue(&bc_serv->sv_cb_list, struct rpc_rqst, in xprt_svc_destroy_nullify_bc() 39 atomic_dec(&req->rq_xprt->bc_slot_count); in xprt_svc_destroy_nullify_bc() 40 xprt_free_bc_request(req); in xprt_svc_destroy_nullify_bc() 75 static void xprt_free_allocation(struct rpc_rqst *req) in xprt_free_allocation() argument 79 dprintk("RPC: free allocations for req= %p\n", req); in xprt_free_allocation() 80 WARN_ON_ONCE(test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); in xprt_free_allocation() 81 xbufp = &req->rq_rcv_buf; in xprt_free_allocation() 83 xbufp = &req->rq_snd_buf; in xprt_free_allocation() 85 kfree(req); in xprt_free_allocation() [all …]
|
| /linux/drivers/clk/sunxi/ |
| H A D | clk-sunxi.c | 33 static void sun4i_get_pll1_factors(struct factors_request *req) in sun4i_get_pll1_factors() argument 38 div = req->rate / 6000000; in sun4i_get_pll1_factors() 39 req->rate = 6000000 * div; in sun4i_get_pll1_factors() 42 req->m = 0; in sun4i_get_pll1_factors() 45 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors() 46 req->rate == 54000000) in sun4i_get_pll1_factors() 47 req->k = 1; in sun4i_get_pll1_factors() 49 req->k = 0; in sun4i_get_pll1_factors() 53 req->p = 3; in sun4i_get_pll1_factors() 57 req->p = 2; in sun4i_get_pll1_factors() [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 …]
|
| /linux/drivers/tee/optee/ |
| H A D | supp.c | 48 struct optee_supp_req *req; in optee_supp_release() local 53 idr_for_each_entry(&supp->idr, req, id) { in optee_supp_release() 56 if (IS_ERR(req)) in optee_supp_release() 60 if (req->in_queue) { in optee_supp_release() 61 list_del(&req->link); in optee_supp_release() 62 req->in_queue = false; in optee_supp_release() 65 req->processed = true; in optee_supp_release() 66 req->ret = TEEC_ERROR_COMMUNICATION; in optee_supp_release() 67 complete(&req->c); in optee_supp_release() 91 struct optee_supp_req *req; in optee_supp_thrd_req() local [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 in safexcel_context_control() 311 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_send_req() local 570 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_handle_result() local 609 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_send() local 664 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_cache() local 690 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_enqueue() local 742 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_update() local 767 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_final() local 871 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_finup() local 881 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_export() local 897 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_ahash_import() local 936 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha1_init() local 1013 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha1_init() local 1090 struct safexcel_ahash_req *req; safexcel_hmac_init_iv() local 1239 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha256_init() local 1296 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha224_init() local 1360 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha224_init() local 1432 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha256_init() local 1497 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha512_init() local 1554 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha384_init() local 1618 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha512_init() local 1690 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha384_init() local 1755 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_md5_init() local 1812 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_md5_init() local 1885 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_cbcmac_init() local 2145 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sm3_init() local 2209 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sm3_init() local 2275 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha3_224_init() local 2289 safexcel_sha3_fbcheck(struct ahash_request * req) safexcel_sha3_fbcheck() argument 2326 safexcel_sha3_update(struct ahash_request * req) safexcel_sha3_update() argument 2336 safexcel_sha3_final(struct ahash_request * req) safexcel_sha3_final() argument 2346 safexcel_sha3_finup(struct ahash_request * req) safexcel_sha3_finup() argument 2361 safexcel_sha3_digest_fallback(struct ahash_request * req) safexcel_sha3_digest_fallback() argument 2372 safexcel_sha3_224_digest(struct ahash_request * req) safexcel_sha3_224_digest() argument 2381 safexcel_sha3_export(struct ahash_request * req,void * out) safexcel_sha3_export() argument 2391 safexcel_sha3_import(struct ahash_request * req,const void * in) safexcel_sha3_import() argument 2469 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha3_256_init() local 2483 safexcel_sha3_256_digest(struct ahash_request * req) safexcel_sha3_256_digest() argument 2527 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha3_384_init() local 2541 safexcel_sha3_384_digest(struct ahash_request * req) safexcel_sha3_384_digest() argument 2585 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_sha3_512_init() local 2599 safexcel_sha3_512_digest(struct ahash_request * req) safexcel_sha3_512_digest() argument 2735 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha3_224_init() local 2755 safexcel_hmac_sha3_224_digest(struct ahash_request * req) safexcel_hmac_sha3_224_digest() argument 2806 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha3_256_init() local 2826 safexcel_hmac_sha3_256_digest(struct ahash_request * req) safexcel_hmac_sha3_256_digest() argument 2877 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha3_384_init() local 2897 safexcel_hmac_sha3_384_digest(struct ahash_request * req) safexcel_hmac_sha3_384_digest() argument 2948 struct safexcel_ahash_req *req = ahash_request_ctx_dma(areq); safexcel_hmac_sha3_512_init() local 2968 safexcel_hmac_sha3_512_digest(struct ahash_request * req) safexcel_hmac_sha3_512_digest() argument [all...] |
| /linux/block/ |
| H A D | blk-merge.c | 88 static inline bool req_gap_back_merge(struct request *req, struct bio *bio) in req_gap_back_merge() 90 return bio_will_gap(req->q, req, req->biotail, bio); in req_gap_back_merge() 93 static inline bool req_gap_front_merge(struct request *req, struct bio *bio) in req_gap_front_merge() 95 return bio_will_gap(req->q, NULL, bio, req->bio); in req_gap_front_merge() 594 static inline int ll_new_hw_segment(struct request *req, struct bio *bio, in ll_front_merge_fn() 597 if (!blk_cgroup_mergeable(req, bio)) in ll_front_merge_fn() 600 if (unlikely(!blk_integrity_merge_bio(req in ll_front_merge_fn() 87 req_gap_back_merge(struct request * req,struct bio * bio) req_gap_back_merge() argument 92 req_gap_front_merge(struct request * req,struct bio * bio) req_gap_front_merge() argument 542 ll_new_hw_segment(struct request * req,struct bio * bio,unsigned int nr_phys_segs) ll_new_hw_segment() argument 573 ll_back_merge_fn(struct request * req,struct bio * bio,unsigned int nr_segs) ll_back_merge_fn() argument 591 ll_front_merge_fn(struct request * req,struct bio * bio,unsigned int nr_segs) ll_front_merge_fn() argument 610 req_attempt_discard_merge(struct request_queue * q,struct request * req,struct request * next) req_attempt_discard_merge() argument 628 ll_merge_requests_fn(struct request_queue * q,struct request * req,struct request * next) ll_merge_requests_fn() argument 705 blk_update_mixed_merge(struct request * req,struct bio * bio,bool front_merge) blk_update_mixed_merge() argument 719 blk_account_io_merge_request(struct request * req) blk_account_io_merge_request() argument 729 blk_try_req_merge(struct request * req,struct request * next) blk_try_req_merge() argument 775 attempt_merge(struct request_queue * q,struct request * req,struct request * next) attempt_merge() argument 932 blk_account_io_merge_bio(struct request * req) blk_account_io_merge_bio() argument 941 bio_attempt_back_merge(struct request * req,struct bio * bio,unsigned int nr_segs) bio_attempt_back_merge() argument 972 bio_attempt_front_merge(struct request * req,struct bio * bio,unsigned int nr_segs) bio_attempt_front_merge() argument 1011 bio_attempt_discard_merge(struct request_queue * q,struct request * req,struct bio * bio) bio_attempt_discard_merge() argument [all...] |