Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 2563) sorted by relevance

12345678910>>...103

/openbmc/linux/drivers/s390/char/
H A Dtape_std.c38 struct tape_request * request = from_timer(request, t, timer); in tape_std_assign_timeout() local
39 struct tape_device * device = request->device; in tape_std_assign_timeout()
46 rc = tape_cancel_io(device, request); in tape_std_assign_timeout()
56 struct tape_request *request; in tape_std_assign() local
58 request = tape_alloc_request(2, 11); in tape_std_assign()
59 if (IS_ERR(request)) in tape_std_assign()
60 return PTR_ERR(request); in tape_std_assign()
62 request->op = TO_ASSIGN; in tape_std_assign()
63 tape_ccw_cc(request->cpaddr, ASSIGN, 11, request->cpdata); in tape_std_assign()
64 tape_ccw_end(request->cpaddr + 1, NOP, 0, NULL); in tape_std_assign()
[all …]
H A Dtape_34xx.c56 static void __tape_34xx_medium_sense(struct tape_request *request) in __tape_34xx_medium_sense() argument
58 struct tape_device *device = request->device; in __tape_34xx_medium_sense()
61 if (request->rc == 0) { in __tape_34xx_medium_sense()
62 sense = request->cpdata; in __tape_34xx_medium_sense()
81 request->rc); in __tape_34xx_medium_sense()
82 tape_free_request(request); in __tape_34xx_medium_sense()
87 struct tape_request *request; in tape_34xx_medium_sense() local
90 request = tape_alloc_request(1, 32); in tape_34xx_medium_sense()
91 if (IS_ERR(request)) { in tape_34xx_medium_sense()
93 return PTR_ERR(request); in tape_34xx_medium_sense()
[all …]
H A Dtape_3590.c204 struct tape_request *request; in tape_3592_kekl_query() local
213 request = tape_alloc_request(2, sizeof(*order)); in tape_3592_kekl_query()
214 if (IS_ERR(request)) { in tape_3592_kekl_query()
215 rc = PTR_ERR(request); in tape_3592_kekl_query()
218 order = request->cpdata; in tape_3592_kekl_query()
222 request->op = TO_KEKL_QUERY; in tape_3592_kekl_query()
223 tape_ccw_cc(request->cpaddr, PERF_SUBSYS_FUNC, sizeof(*order), order); in tape_3592_kekl_query()
224 tape_ccw_end(request->cpaddr + 1, READ_SS_DATA, sizeof(*int_kekls), in tape_3592_kekl_query()
226 rc = tape_do_io(device, request); in tape_3592_kekl_query()
233 tape_free_request(request); in tape_3592_kekl_query()
[all …]
H A Dtape_core.c292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io() argument
298 if (request->callback == NULL) in __tape_cancel_io()
303 rc = ccw_device_clear(device->cdev, (long) request); in __tape_cancel_io()
307 request->status = TAPE_REQUEST_DONE; in __tape_cancel_io()
310 request->status = TAPE_REQUEST_CANCEL; in __tape_cancel_io()
592 struct tape_request * request; in __tape_discard_requests() local
596 request = list_entry(l, struct tape_request, list); in __tape_discard_requests()
597 if (request->status == TAPE_REQUEST_IN_IO) in __tape_discard_requests()
598 request->status = TAPE_REQUEST_DONE; in __tape_discard_requests()
599 list_del(&request->list); in __tape_discard_requests()
[all …]
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c70 static int xen_block_send_response(XenBlockRequest *request);
72 static void reset_request(XenBlockRequest *request) in reset_request() argument
74 memset(&request->req, 0, sizeof(request->req)); in reset_request()
75 request->status = 0; in reset_request()
76 request->start = 0; in reset_request()
77 request->size = 0; in reset_request()
78 request->presync = 0; in reset_request()
80 request->aio_inflight = 0; in reset_request()
81 request->aio_errors = 0; in reset_request()
83 request->dataplane = NULL; in reset_request()
[all …]
/openbmc/linux/drivers/greybus/
H A Dsvc.c176 struct gb_svc_pwrmon_sample_get_request request; in gb_svc_pwrmon_sample_get() local
180 request.rail_id = rail_id; in gb_svc_pwrmon_sample_get()
181 request.measurement_type = measurement_type; in gb_svc_pwrmon_sample_get()
184 &request, sizeof(request), in gb_svc_pwrmon_sample_get()
213 struct gb_svc_pwrmon_intf_sample_get_request request; in gb_svc_pwrmon_intf_sample_get() local
217 request.intf_id = intf_id; in gb_svc_pwrmon_intf_sample_get()
218 request.measurement_type = measurement_type; in gb_svc_pwrmon_intf_sample_get()
222 &request, sizeof(request), in gb_svc_pwrmon_intf_sample_get()
260 struct gb_svc_intf_device_id_request request; in gb_svc_intf_device_id() local
262 request.intf_id = intf_id; in gb_svc_intf_device_id()
[all …]
/openbmc/linux/block/
H A Delevator.h33 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
35 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
36 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
37 void (*requests_merged)(struct request_queue *, struct request *, struct request *);
39 void (*prepare_request)(struct request *);
40 void (*finish_request)(struct request *);
43 struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
45 void (*completed_request)(struct request *, u64);
46 void (*requeue_request)(struct request *);
47 struct request *(*former_request)(struct request_queue *, struct request *);
[all …]
H A Dblk-crypto-internal.h31 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
36 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
43 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
50 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
51 struct request *next) in bio_crypt_ctx_merge_rq()
57 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
63 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
68 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
96 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
102 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
[all …]
/openbmc/linux/include/linux/
H A Dblk-mq.h23 typedef enum rq_end_io_ret (rq_end_io_fn)(struct request *, blk_status_t);
80 struct request { struct
102 struct request *rq_next; argument
193 static inline enum req_op req_op(const struct request *req) in req_op() argument
198 static inline bool blk_rq_is_passthrough(struct request *rq) in blk_rq_is_passthrough()
203 static inline unsigned short req_get_ioprio(struct request *req) in req_get_ioprio()
226 struct request *__req = NULL; \
236 struct request *__req = NULL; \
250 #define rq_list_empty(list) ((list) == (struct request *) NULL)
259 static inline void rq_list_move(struct request **src, struct request **dst, in rq_list_move()
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dhandler.hpp47 errorResponse(message::Request::ptr request, ipmi::Cc cc, Args&&... args) in errorResponse() argument
49 message::Response::ptr response = request->makeResponse(); in errorResponse()
55 errorResponse(message::Request::ptr request, ipmi::Cc cc) in errorResponse() argument
57 message::Response::ptr response = request->makeResponse(); in errorResponse()
126 message::Response::ptr call(message::Request::ptr request) in call() argument
128 return executeCallback(request); in call()
145 executeCallback(message::Request::ptr request) = 0;
185 executeCallback(message::Request::ptr request) override in executeCallback() argument
187 message::Response::ptr response = request->makeResponse(); in executeCallback()
197 request->payload.trailingOk = false; in executeCallback()
[all …]
/openbmc/linux/sound/soc/intel/catpt/
H A Dmessages.c17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local
20 request.header = msg.val; in catpt_ipc_get_fw_version()
24 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_get_fw_version()
58 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() local
91 request.header = msg.val; in catpt_ipc_alloc_stream()
92 request.size = size; in catpt_ipc_alloc_stream()
93 request.data = payload; in catpt_ipc_alloc_stream()
97 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_alloc_stream()
109 struct catpt_ipc_msg request; in catpt_ipc_free_stream() local
112 request.header = msg.val; in catpt_ipc_free_stream()
[all …]
/openbmc/phosphor-ipmi-blobs/test/
H A Dipmi_delete_unittest.cpp20 std::vector<uint8_t> request; in TEST() local
25 request.resize(sizeof(struct BmcBlobDeleteTx)); in TEST()
26 std::memcpy(request.data(), &req, sizeof(struct BmcBlobDeleteTx)); in TEST()
27 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
29 EXPECT_EQ(ipmi::responseReqDataLenInvalid(), deleteBlob(&mgr, request)); in TEST()
36 std::vector<uint8_t> request; in TEST() local
41 request.resize(sizeof(struct BmcBlobDeleteTx)); in TEST()
42 std::memcpy(request.data(), &req, sizeof(struct BmcBlobDeleteTx)); in TEST()
43 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
44 request.emplace_back('\0'); in TEST()
[all …]
H A Dipmi_stat_unittest.cpp29 std::vector<uint8_t> request; in TEST() local
34 request.resize(sizeof(struct BmcBlobStatTx)); in TEST()
35 std::memcpy(request.data(), &req, sizeof(struct BmcBlobStatTx)); in TEST()
37 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
39 EXPECT_EQ(ipmi::responseReqDataLenInvalid(), statBlob(&mgr, request)); in TEST()
47 std::vector<uint8_t> request; in TEST() local
52 request.resize(sizeof(struct BmcBlobStatTx)); in TEST()
53 std::memcpy(request.data(), &req, sizeof(struct BmcBlobStatTx)); in TEST()
54 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
55 request.emplace_back('\0'); in TEST()
[all …]
H A Dipmi_open_unittest.cpp24 std::vector<uint8_t> request; in TEST() local
32 request.resize(sizeof(struct BmcBlobOpenTx)); in TEST()
33 std::memcpy(request.data(), &req, sizeof(struct BmcBlobOpenTx)); in TEST()
34 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
36 EXPECT_EQ(ipmi::responseReqDataLenInvalid(), openBlob(&mgr, request)); in TEST()
43 std::vector<uint8_t> request; in TEST() local
49 request.resize(sizeof(struct BmcBlobOpenTx)); in TEST()
50 std::memcpy(request.data(), &req, sizeof(struct BmcBlobOpenTx)); in TEST()
51 request.insert(request.end(), blobId.begin(), blobId.end()); in TEST()
52 request.emplace_back('\0'); in TEST()
[all …]
H A Dprocess_unittest.cpp70 std::vector<uint8_t> request(MAX_IPMI_BUFFER - 1); in TEST_F() local
72 IpmiBlobHandler handler = validateBlobCommand(0xff, request); in TEST_F()
79 std::vector<uint8_t> request(MAX_IPMI_BUFFER - 1); in TEST_F() local
81 static_cast<std::uint8_t>(BlobOEMCommands::bmcBlobGetCount), request); in TEST_F()
91 std::vector<uint8_t> request(sizeof(uint16_t)); in TEST_F() local
95 static_cast<std::uint8_t>(BlobOEMCommands::bmcBlobGetCount), request); in TEST_F()
102 std::vector<uint8_t> request; in TEST_F() local
109 request.resize(sizeof(struct BmcBlobWriteTx)); in TEST_F()
110 std::memcpy(request.data(), &req, sizeof(struct BmcBlobWriteTx)); in TEST_F()
111 request.insert(request.end(), expectedBytes.begin(), expectedBytes.end()); in TEST_F()
[all …]
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget.c32 static inline void map_dma_buffer(struct musb_request *request, in map_dma_buffer() argument
38 request->map_state = UN_MAPPED; in map_dma_buffer()
49 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
50 request->request.length); in map_dma_buffer()
54 if (request->request.dma == DMA_ADDR_INVALID) { in map_dma_buffer()
60 request->request.buf, in map_dma_buffer()
61 request->request.length, in map_dma_buffer()
62 request->tx in map_dma_buffer()
69 request->request.dma = dma_addr; in map_dma_buffer()
70 request->map_state = MUSB_MAPPED; in map_dma_buffer()
[all …]
/openbmc/linux/tools/testing/kunit/
H A Dkunit.py78 request: KunitConfigRequest) -> KunitResult:
82 success = linux.build_reconfig(request.build_dir, request.make_options)
88 request: KunitBuildRequest) -> KunitResult:
92 success = linux.build_kernel(request.jobs,
93 request.build_dir,
94 request.make_options)
100 request: KunitBuildRequest) -> KunitResult:
101 config_result = config_tests(linux, request)
105 return build_tests(linux, request)
107 def _list_tests(linux: kunit_kernel.LinuxSourceTree, request: KunitExecRequest) -> List[str]:
[all …]
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c80 static inline void map_dma_buffer(struct musb_request *request, in map_dma_buffer() argument
86 request->map_state = UN_MAPPED; in map_dma_buffer()
97 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
98 request->request.length); in map_dma_buffer()
102 if (request->request.dma == DMA_ADDR_INVALID) { in map_dma_buffer()
103 request->request.dma = dma_map_single( in map_dma_buffer()
105 request->request.buf, in map_dma_buffer()
106 request->request.length, in map_dma_buffer()
107 request->tx in map_dma_buffer()
110 request->map_state = MUSB_MAPPED; in map_dma_buffer()
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dopen_session.cpp16 auto request = in openSession() local
18 if (inPayload.size() != sizeof(*request)) in openSession()
29 response->messageTag = request->messageTag; in openSession()
30 response->remoteConsoleSessionID = request->remoteConsoleSessionID; in openSession()
34 static_cast<cipher::rakp_auth::Algorithms>(request->authAlgo))) in openSession()
43 static_cast<cipher::integrity::Algorithms>(request->intAlgo))) in openSession()
57 if (!request->maxPrivLevel) in openSession()
63 priv = static_cast<session::Privilege>(request->maxPrivLevel); in openSession()
68 static_cast<cipher::crypt::Algorithms>(request->confAlgo))) in openSession()
80 endian::from_ipmi<>(request->remoteConsoleSessionID), priv, in openSession()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios.cpp80 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
81 return this->setDateTime(request, payloadLength); in Handler()
85 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
86 return this->getDateTime(request, payloadLength); in Handler()
90 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
91 return this->getBIOSTable(request, payloadLength); in Handler()
95 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
96 return this->setBIOSTable(request, payloadLength); in Handler()
100 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
101 return this->getBIOSAttributeCurrentValueByHandle(request, in Handler()
[all …]
/openbmc/google-ipmi-sys/test/
H A Dbios_setting_unittest.cpp53 std::vector<uint8_t> request = {}; in TEST_F() local
57 readBiosSetting(request, &hMock)); in TEST_F()
62 readBiosSetting(request, &hMock, filename)); in TEST_F()
68 std::vector<uint8_t> request = {}; in TEST_F() local
77 auto reply = readBiosSetting(request, &hMock, filename); in TEST_F()
90 std::vector<uint8_t> request = {}; in TEST_F() local
94 writeBiosSetting(request, &hMock)); in TEST_F()
97 request = {0x01}; in TEST_F()
99 writeBiosSetting(request, &hMock)); in TEST_F()
102 request = {0x01, 0x02, 0x03}; in TEST_F()
[all …]
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dkeyboard_leds.c56 struct wilco_keyboard_leds_msg *request, in send_kbbl_msg() argument
64 msg.request_data = request; in send_kbbl_msg()
65 msg.request_size = sizeof(*request); in send_kbbl_msg()
81 struct wilco_keyboard_leds_msg request; in set_kbbl() local
85 memset(&request, 0, sizeof(request)); in set_kbbl()
86 request.command = WILCO_EC_COMMAND_KBBL; in set_kbbl()
87 request.subcmd = WILCO_KBBL_SUBCMD_SET_STATE; in set_kbbl()
88 request.mode = WILCO_KBBL_MODE_FLAG_PWM; in set_kbbl()
89 request.percent = brightness; in set_kbbl()
91 ret = send_kbbl_msg(ec, &request, &response); in set_kbbl()
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dmessages.c18 struct avs_ipc_msg request = {{0}}; in avs_ipc_set_boot_config() local
24 request.header = msg.val; in avs_ipc_set_boot_config()
26 ret = avs_dsp_send_rom_msg(adev, &request); in avs_ipc_set_boot_config()
28 avs_ipc_err(adev, &request, "set boot config", ret); in avs_ipc_set_boot_config()
36 struct avs_ipc_msg request; in avs_ipc_load_modules() local
40 request.header = msg.val; in avs_ipc_load_modules()
41 request.data = mod_ids; in avs_ipc_load_modules()
42 request.size = sizeof(*mod_ids) * num_mod_ids; in avs_ipc_load_modules()
44 ret = avs_dsp_send_msg_timeout(adev, &request, NULL, AVS_CL_TIMEOUT_MS); in avs_ipc_load_modules()
46 avs_ipc_err(adev, &request, "load multiple modules", ret); in avs_ipc_load_modules()
[all …]
/openbmc/phosphor-ipmi-blobs/
H A Dipmi.cpp94 struct BmcBlobEnumerateTx request; in enumerateBlob() local
96 std::memcpy(&request, data.data(), sizeof(request)); in enumerateBlob()
98 std::string blobId = mgr->getBlobId(request.blobIdx); in enumerateBlob()
112 auto request = reinterpret_cast<const struct BmcBlobOpenTx*>(data.data()); in openBlob()
122 if (!mgr->open(request->flags, path, &session)) in openBlob()
138 struct BmcBlobCloseTx request; in closeBlob() local
139 if (data.size() < sizeof(request)) in closeBlob()
143 std::memcpy(&request, data.data(), sizeof(request)); in closeBlob()
146 if (!mgr->close(request.sessionId)) in closeBlob()
211 struct BmcBlobSessionStatTx request; in sessionStatBlob() local
[all …]
/openbmc/linux/net/ethtool/
H A Deeprom.c29 static int fallback_set_params(struct eeprom_req_info *request, in fallback_set_params() argument
33 u32 offset = request->offset; in fallback_set_params()
34 u32 length = request->length; in fallback_set_params()
36 if (request->page) in fallback_set_params()
37 offset = request->page * ETH_MODULE_EEPROM_PAGE_LEN + offset; in fallback_set_params()
40 request->i2c_address == 0x51) in fallback_set_params()
53 static int eeprom_fallback(struct eeprom_req_info *request, in eeprom_fallback() argument
67 err = fallback_set_params(request, &modinfo, &eeprom); in eeprom_fallback()
108 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_prepare_data() local
113 page_data.offset = request->offset; in eeprom_prepare_data()
[all …]

12345678910>>...103