Home
last modified time | relevance | path

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

12345678910>>...61

/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 Dsclp_vt220.c96 static int __sclp_vt220_emit(struct sclp_vt220_request *request);
116 sclp_vt220_process_queue(struct sclp_vt220_request *request) in sclp_vt220_process_queue() argument
123 page = request->sclp_req.sccb; in sclp_vt220_process_queue()
126 list_del(&request->list); in sclp_vt220_process_queue()
129 request = NULL; in sclp_vt220_process_queue()
131 request = list_entry(sclp_vt220_outqueue.next, in sclp_vt220_process_queue()
133 if (!request) { in sclp_vt220_process_queue()
139 } while (__sclp_vt220_emit(request)); in sclp_vt220_process_queue()
140 if (request == NULL && sclp_vt220_flush_later) in sclp_vt220_process_queue()
152 sclp_vt220_callback(struct sclp_req *request, void *data) in sclp_vt220_callback() argument
[all …]
/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 …]
H A Dcontrol.c21 struct gb_control_version_request request; in gb_control_get_version() local
25 request.major = GB_CONTROL_VERSION_MAJOR; in gb_control_get_version()
26 request.minor = GB_CONTROL_VERSION_MINOR; in gb_control_get_version()
30 &request, sizeof(request), &response, in gb_control_get_version()
39 if (response.major > request.major) { in gb_control_get_version()
42 response.major, request.major); in gb_control_get_version()
59 struct gb_control_bundle_version_request request; in gb_control_get_bundle_version() local
63 request.bundle_id = bundle->id; in gb_control_get_bundle_version()
67 &request, sizeof(request), in gb_control_get_bundle_version()
133 struct gb_control_connected_request request; in gb_control_connected_operation() local
[all …]
/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 …]
H A Dblk.h29 struct request *flush_rq;
32 bool is_flush_rq(struct request *req);
145 static inline bool rq_mergeable(struct request *rq) in rq_mergeable()
175 static inline bool blk_discard_mergable(struct request *req) in blk_discard_mergable()
183 static inline unsigned int blk_rq_get_max_segments(struct request *rq) in blk_rq_get_max_segments()
190 static inline unsigned int blk_queue_get_max_sectors(struct request *rq) in blk_queue_get_max_sectors()
228 bool blk_integrity_merge_rq(struct request_queue *, struct request *,
229 struct request *);
230 bool blk_integrity_merge_bio(struct request_queue *, struct request *,
233 static inline bool integrity_req_gap_back_merge(struct request *req, in integrity_req_gap_back_merge()
[all …]
/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 …]
/linux/include/linux/
H A Dblk-mq.h24 typedef enum rq_end_io_ret (rq_end_io_fn)(struct request *, blk_status_t);
102 struct request { struct
124 struct request *rq_next; argument
210 static inline enum req_op req_op(const struct request *req) in req_op() argument
215 static inline bool blk_rq_is_passthrough(struct request *rq) in blk_rq_is_passthrough()
220 static inline unsigned short req_get_ioprio(struct request *req) in req_get_ioprio()
243 static inline void rq_list_add_tail(struct rq_list *rl, struct request *rq) in rq_list_add_tail()
253 static inline void rq_list_add_head(struct rq_list *rl, struct request *rq) in rq_list_add_head()
261 static inline struct request *rq_list_pop(struct rq_list *rl) in rq_list_pop()
263 struct request *rq = rl->head; in rq_list_pop()
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Dindex.c89 struct uds_request *request; in launch_zone_message() local
91 result = vdo_allocate(1, struct uds_request, __func__, &request); in launch_zone_message()
95 request->index = index; in launch_zone_message()
96 request->unbatched = true; in launch_zone_message()
97 request->zone_number = zone; in launch_zone_message()
98 request->zone_message = message; in launch_zone_message()
100 uds_enqueue_request(request, STAGE_MESSAGE); in launch_zone_message()
124 static u64 triage_index_request(struct uds_index *index, struct uds_request *request) in triage_index_request() argument
130 &request->record_name); in triage_index_request()
134 zone = index->zones[request->zone_number]; in triage_index_request()
[all …]
/linux/tools/testing/kunit/
H A Dkunit.py80 request: KunitConfigRequest) -> KunitResult:
84 success = linux.build_reconfig(request.build_dir, request.make_options)
90 request: KunitBuildRequest) -> KunitResult:
94 success = linux.build_kernel(request.jobs,
95 request.build_dir,
96 request.make_options)
102 request: KunitBuildRequest) -> KunitResult:
103 config_result = config_tests(linux, request)
107 return build_tests(linux, request)
109 def _list_tests(linux: kunit_kernel.LinuxSourceTree, request: KunitExecRequest) -> List[str]:
[all …]
/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 …]
/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()
114 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_prepare_data() local
119 page_data.offset = request->offset; in eeprom_prepare_data()
[all …]
/linux/sound/soc/intel/avs/
H A Dmessages.c18 struct avs_ipc_msg request = {{0}}; in avs_ipc_set_boot_config() local
23 request.header = msg.val; in avs_ipc_set_boot_config()
25 return avs_dsp_send_rom_msg(adev, &request, "set boot config"); in avs_ipc_set_boot_config()
31 struct avs_ipc_msg request; in avs_ipc_load_modules() local
34 request.header = msg.val; in avs_ipc_load_modules()
35 request.data = mod_ids; in avs_ipc_load_modules()
36 request.size = sizeof(*mod_ids) * num_mod_ids; in avs_ipc_load_modules()
38 return avs_dsp_send_msg_timeout(adev, &request, NULL, AVS_CL_TIMEOUT_MS, in avs_ipc_load_modules()
45 struct avs_ipc_msg request; in avs_ipc_unload_modules() local
48 request.header = msg.val; in avs_ipc_unload_modules()
[all …]
/linux/drivers/staging/greybus/
H A Dpwm.c47 struct gb_pwm_activate_request request; in gb_pwm_activate_operation() local
51 request.which = which; in gb_pwm_activate_operation()
59 &request, sizeof(request), NULL, 0); in gb_pwm_activate_operation()
69 struct gb_pwm_deactivate_request request; in gb_pwm_deactivate_operation() local
73 request.which = which; in gb_pwm_deactivate_operation()
81 &request, sizeof(request), NULL, 0); in gb_pwm_deactivate_operation()
92 struct gb_pwm_config_request request; in gb_pwm_config_operation() local
96 request.which = which; in gb_pwm_config_operation()
97 request.duty = cpu_to_le32(duty); in gb_pwm_config_operation()
98 request.period = cpu_to_le32(period); in gb_pwm_config_operation()
[all …]
/linux/drivers/usb/serial/
H A Dupd78f0730.c209 struct upd78f0730_set_dtr_rts request; in upd78f0730_tiocmset() local
232 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_tiocmset()
233 request.params = private->line_signals; in upd78f0730_tiocmset()
235 res = upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_tiocmset()
245 struct upd78f0730_set_dtr_rts request; in upd78f0730_break_ctl() local
259 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_break_ctl()
260 request.params = private->line_signals; in upd78f0730_break_ctl()
262 res = upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_break_ctl()
306 struct upd78f0730_line_control request; in upd78f0730_set_termios() local
318 request.opcode = UPD78F0730_CMD_LINE_CONTROL; in upd78f0730_set_termios()
[all …]
/linux/sound/pci/mixart/
H A Dmixart_hwdep.c133 struct mixart_msg request; in mixart_enum_connectors() local
150 request.message_id = MSG_SYSTEM_ENUM_PLAY_CONNECTOR; in mixart_enum_connectors()
151 request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ in mixart_enum_connectors()
152 request.data = NULL; in mixart_enum_connectors()
153 request.size = 0; in mixart_enum_connectors()
155 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); in mixart_enum_connectors()
180 request.message_id = MSG_CONNECTOR_GET_AUDIO_INFO; in mixart_enum_connectors()
181 request.uid = connector->uid[k]; in mixart_enum_connectors()
182 request.data = audio_info_req; in mixart_enum_connectors()
183 request.size = sizeof(*audio_info_req); in mixart_enum_connectors()
[all …]
/linux/security/apparmor/
H A Dfile.c51 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
53 map_mask_to_chr_mask(ad->request)); in file_audit_cb()
61 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
96 const char *op, u32 request, const char *name, in aa_audit_file() argument
104 ad.request = request; in aa_audit_file()
120 ad.request &= mask; in aa_audit_file()
122 if (likely(!ad.request)) in aa_audit_file()
127 ad.request = ad.request & ~perms->allow; in aa_audit_file()
128 AA_BUG(!ad.request); in aa_audit_file()
130 if (ad.request & perms->kill) in aa_audit_file()
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-request-ioc-queue.rst13 MEDIA_REQUEST_IOC_QUEUE - Queue a request
31 If the media device supports :ref:`requests <media-request-api>`, then
32 this request ioctl can be used to queue a previously allocated request.
34 If the request was successfully queued, then the file descriptor can be
35 :ref:`polled <request-func-poll>` to wait for the request to complete.
37 If the request was already queued before, then ``EBUSY`` is returned.
38 Other errors can be returned if the contents of the request contained
40 common error codes. On error both the request and driver state are unchanged.
42 Once a request is queued, then the driver is required to gracefully handle
43 errors that occur when the request is applied to the hardware. The
[all …]
/linux/drivers/firewire/
H A Dcore-transaction.c636 void fw_request_get(struct fw_request *request) in fw_request_get() argument
638 kref_get(&request->kref); in fw_request_get()
643 struct fw_request *request = container_of(kref, struct fw_request, kref); in release_request() local
645 kfree(request); in release_request()
648 void fw_request_put(struct fw_request *request) in fw_request_put() argument
650 kref_put(&request->kref, release_request); in fw_request_put()
656 struct fw_request *request = container_of(packet, struct fw_request, response); in free_response_callback() local
658 trace_async_response_outbound_complete((uintptr_t)request, card->index, packet->generation, in free_response_callback()
662 fw_request_put(request); in free_response_callback()
665 fw_request_put(request); in free_response_callback()
[all …]
/linux/drivers/pmdomain/tegra/
H A Dpowergate-bpmp.c34 struct mrq_pg_request request; in tegra_bpmp_powergate_set_state() local
38 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_set_state()
39 request.cmd = CMD_PG_SET_STATE; in tegra_bpmp_powergate_set_state()
40 request.id = id; in tegra_bpmp_powergate_set_state()
41 request.set_state.state = state; in tegra_bpmp_powergate_set_state()
45 msg.tx.data = &request; in tegra_bpmp_powergate_set_state()
46 msg.tx.size = sizeof(request); in tegra_bpmp_powergate_set_state()
61 struct mrq_pg_request request; in tegra_bpmp_powergate_get_state() local
65 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_state()
66 request.cmd = CMD_PG_GET_STATE; in tegra_bpmp_powergate_get_state()
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A Dmock_request.c33 struct i915_request *request; in mock_request() local
36 request = intel_context_create_request(ce); in mock_request()
37 if (IS_ERR(request)) in mock_request()
40 request->mock.delay = delay; in mock_request()
41 return request; in mock_request()
44 bool mock_cancel_request(struct i915_request *request) in mock_cancel_request() argument
47 container_of(request->engine, typeof(*engine), base); in mock_cancel_request()
51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request()
52 list_del_init(&request->mock.link); in mock_cancel_request()
56 i915_request_unsubmit(request); in mock_cancel_request()
/linux/arch/s390/pci/
H A Dpci_clp.c136 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fngrp()
137 rrb->request.hdr.cmd = CLP_QUERY_PCI_FNGRP; in clp_query_pci_fngrp()
139 rrb->request.pfgid = pfgid; in clp_query_pci_fngrp()
207 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fn()
208 rrb->request.hdr.cmd = CLP_QUERY_PCI_FN; in clp_query_pci_fn()
210 rrb->request.fh = zdev->fh; in clp_query_pci_fn()
254 rrb->request.hdr.len = sizeof(rrb->request); in clp_set_pci_fn()
255 rrb->request.hdr.cmd = CLP_SET_PCI_FN; in clp_set_pci_fn()
257 rrb->request.fh = zdev->fh; in clp_set_pci_fn()
258 rrb->request.oc = command; in clp_set_pci_fn()
[all …]

12345678910>>...61