Home
last modified time | relevance | path

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

12345678910>>...67

/kernel/linux/linux-5.10/drivers/s390/char/
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 …]
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 …]
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 …]
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()
641 struct tape_request * request; in __tape_discard_requests() local
645 request = list_entry(l, struct tape_request, list); in __tape_discard_requests()
646 if (request->status == TAPE_REQUEST_IN_IO) in __tape_discard_requests()
647 request->status = TAPE_REQUEST_DONE; in __tape_discard_requests()
648 list_del(&request->list); in __tape_discard_requests()
[all …]
Dsclp_vt220.c100 static int __sclp_vt220_emit(struct sclp_vt220_request *request);
121 sclp_vt220_process_queue(struct sclp_vt220_request *request) in sclp_vt220_process_queue() argument
128 page = request->sclp_req.sccb; in sclp_vt220_process_queue()
131 list_del(&request->list); in sclp_vt220_process_queue()
134 request = NULL; in sclp_vt220_process_queue()
136 request = list_entry(sclp_vt220_outqueue.next, in sclp_vt220_process_queue()
138 if (!request || sclp_vt220_suspended) { in sclp_vt220_process_queue()
144 } while (__sclp_vt220_emit(request)); in sclp_vt220_process_queue()
145 if (request == NULL && sclp_vt220_flush_later) in sclp_vt220_process_queue()
157 sclp_vt220_callback(struct sclp_req *request, void *data) in sclp_vt220_callback() argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Delevator.h36 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
38 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
39 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
40 void (*requests_merged)(struct request_queue *, struct request *, struct request *);
42 void (*prepare_request)(struct request *);
43 void (*finish_request)(struct request *);
45 struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
47 void (*completed_request)(struct request *, u64);
48 void (*requeue_request)(struct request *);
49 struct request *(*former_request)(struct request_queue *, struct request *);
[all …]
Dblk-mq.h279 struct request *rq;
283 typedef bool (busy_iter_fn)(struct blk_mq_hw_ctx *, struct request *, void *,
285 typedef bool (busy_tag_iter_fn)(struct request *, void *, bool);
323 enum blk_eh_timer_return (*timeout)(struct request *, bool);
333 void (*complete)(struct request *);
353 int (*init_request)(struct blk_mq_tag_set *set, struct request *,
358 void (*exit_request)(struct blk_mq_tag_set *set, struct request *,
364 void (*initialize_rq_fn)(struct request *rq);
370 void (*cleanup_rq)(struct request *);
388 void (*show_rq)(struct seq_file *m, struct request *rq);
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Dsvc.c175 struct gb_svc_pwrmon_sample_get_request request; in gb_svc_pwrmon_sample_get() local
179 request.rail_id = rail_id; in gb_svc_pwrmon_sample_get()
180 request.measurement_type = measurement_type; in gb_svc_pwrmon_sample_get()
183 &request, sizeof(request), in gb_svc_pwrmon_sample_get()
212 struct gb_svc_pwrmon_intf_sample_get_request request; in gb_svc_pwrmon_intf_sample_get() local
216 request.intf_id = intf_id; in gb_svc_pwrmon_intf_sample_get()
217 request.measurement_type = measurement_type; in gb_svc_pwrmon_intf_sample_get()
221 &request, sizeof(request), in gb_svc_pwrmon_intf_sample_get()
259 struct gb_svc_intf_device_id_request request; in gb_svc_intf_device_id() local
261 request.intf_id = intf_id; in gb_svc_intf_device_id()
[all …]
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 …]
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
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 …]
/kernel/linux/linux-5.10/drivers/usb/musb/
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 …]
/kernel/linux/linux-5.10/block/
Dblk-crypto-internal.h26 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
31 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
38 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
45 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
46 struct request *next) in bio_crypt_ctx_merge_rq()
52 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
58 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
65 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
71 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
77 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
[all …]
/kernel/linux/linux-5.10/tools/testing/kunit/
Dkunit.py54 request: KunitConfigRequest) -> KunitResult:
58 success = linux.build_reconfig(request.build_dir, request.make_options)
69 request: KunitBuildRequest) -> KunitResult:
73 success = linux.build_um_kernel(request.alltests,
74 request.jobs,
75 request.build_dir,
76 request.make_options)
91 request: KunitExecRequest) -> KunitResult:
95 timeout=None if request.alltests else request.timeout,
96 build_dir=request.build_dir)
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/
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 …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dgpio.c62 struct gb_gpio_activate_request request; in gb_gpio_activate_operation() local
70 request.which = which; in gb_gpio_activate_operation()
72 &request, sizeof(request), NULL, 0); in gb_gpio_activate_operation()
88 struct gb_gpio_deactivate_request request; in gb_gpio_deactivate_operation() local
91 request.which = which; in gb_gpio_deactivate_operation()
93 &request, sizeof(request), NULL, 0); in gb_gpio_deactivate_operation()
109 struct gb_gpio_get_direction_request request; in gb_gpio_get_direction_operation() local
114 request.which = which; in gb_gpio_get_direction_operation()
116 &request, sizeof(request), in gb_gpio_get_direction_operation()
133 struct gb_gpio_direction_in_request request; in gb_gpio_direction_in_operation() local
[all …]
Dpwm.c44 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
76 request.which = which; in gb_pwm_deactivate_operation()
84 &request, sizeof(request), NULL, 0); in gb_pwm_deactivate_operation()
94 struct gb_pwm_config_request request; in gb_pwm_config_operation() local
101 request.which = which; in gb_pwm_config_operation()
102 request.duty = cpu_to_le32(duty); in gb_pwm_config_operation()
103 request.period = cpu_to_le32(period); in gb_pwm_config_operation()
[all …]
Dfw-management.c142 struct gb_fw_mgmt_load_and_validate_fw_request request; in fw_mgmt_load_and_validate_operation() local
152 request.load_method = load_method; in fw_mgmt_load_and_validate_operation()
153 strncpy(request.firmware_tag, tag, GB_FIRMWARE_TAG_MAX_SIZE); in fw_mgmt_load_and_validate_operation()
159 if (request.firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE - 1] != '\0') { in fw_mgmt_load_and_validate_operation()
174 request.request_id = ret; in fw_mgmt_load_and_validate_operation()
177 GB_FW_MGMT_TYPE_LOAD_AND_VALIDATE_FW, &request, in fw_mgmt_load_and_validate_operation()
178 sizeof(request), NULL, 0); in fw_mgmt_load_and_validate_operation()
196 struct gb_fw_mgmt_loaded_fw_request *request; in fw_mgmt_interface_fw_loaded_operation() local
205 if (op->request->payload_size != sizeof(*request)) { in fw_mgmt_interface_fw_loaded_operation()
207 op->request->payload_size, sizeof(*request)); in fw_mgmt_interface_fw_loaded_operation()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dmock_engine.c91 static void advance(struct i915_request *request) in advance() argument
93 list_del_init(&request->mock.link); in advance()
94 i915_request_mark_complete(request); in advance()
95 GEM_BUG_ON(!i915_request_completed(request)); in advance()
97 intel_engine_signal_breadcrumbs(request->engine); in advance()
103 struct i915_request *request; in hw_delay_complete() local
109 request = first_request(engine); in hw_delay_complete()
110 if (request) in hw_delay_complete()
111 advance(request); in hw_delay_complete()
117 while ((request = first_request(engine))) { in hw_delay_complete()
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dupd78f0730.c216 struct upd78f0730_set_dtr_rts request; in upd78f0730_tiocmset() local
238 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_tiocmset()
239 request.params = private->line_signals; in upd78f0730_tiocmset()
241 res = upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_tiocmset()
252 struct upd78f0730_set_dtr_rts request; in upd78f0730_break_ctl() local
264 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_break_ctl()
265 request.params = private->line_signals; in upd78f0730_break_ctl()
267 upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_break_ctl()
309 struct upd78f0730_line_control request; in upd78f0730_set_termios() local
321 request.opcode = UPD78F0730_CMD_LINE_CONTROL; in upd78f0730_set_termios()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
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()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_hwdep.c132 struct mixart_msg request; in mixart_enum_connectors() local
149 request.message_id = MSG_SYSTEM_ENUM_PLAY_CONNECTOR; in mixart_enum_connectors()
150 request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ in mixart_enum_connectors()
151 request.data = NULL; in mixart_enum_connectors()
152 request.size = 0; in mixart_enum_connectors()
154 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); in mixart_enum_connectors()
179 request.message_id = MSG_CONNECTOR_GET_AUDIO_INFO; in mixart_enum_connectors()
180 request.uid = connector->uid[k]; in mixart_enum_connectors()
181 request.data = audio_info_req; in mixart_enum_connectors()
182 request.size = sizeof(*audio_info_req); in mixart_enum_connectors()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
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 …]
/kernel/linux/linux-5.10/drivers/s390/net/
Dism_drv.c64 cmd.request.hdr.cmd = cmd_code; in ism_cmd_simple()
65 cmd.request.hdr.len = sizeof(cmd.request); in ism_cmd_simple()
75 cmd.request.hdr.cmd = ISM_QUERY_INFO; in query_info()
76 cmd.request.hdr.len = sizeof(cmd.request); in query_info()
99 cmd.request.hdr.cmd = ISM_REG_SBA; in register_sba()
100 cmd.request.hdr.len = sizeof(cmd.request); in register_sba()
101 cmd.request.sba = dma_handle; in register_sba()
126 cmd.request.hdr.cmd = ISM_REG_IEQ; in register_ieq()
127 cmd.request.hdr.len = sizeof(cmd.request); in register_ieq()
128 cmd.request.ieq = dma_handle; in register_ieq()
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dfile.c48 if (aad(sa)->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
50 map_mask_to_chr_mask(aad(sa)->request)); in file_audit_cb()
58 if (aad(sa)->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
91 const char *op, u32 request, const char *name, in aa_audit_file() argument
99 aad(&sa)->request = request; in aa_audit_file()
115 aad(&sa)->request &= mask; in aa_audit_file()
117 if (likely(!aad(&sa)->request)) in aa_audit_file()
122 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
123 AA_BUG(!aad(&sa)->request); in aa_audit_file()
125 if (aad(&sa)->request & perms->kill) in aa_audit_file()
[all …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dicm.c258 const struct icm_pkg_header *req_hdr = req->request; in icm_match()
281 static int icm_request(struct tb *tb, const void *request, size_t request_size, in icm_request() argument
298 req->request = request; in icm_request()
385 struct icm_fr_pkg_get_topology request = { in icm_fr_get_route() local
396 ret = icm_request(tb, &request, sizeof(request), switches, in icm_fr_get_route()
443 struct icm_pkg_driver_ready request = { in icm_fr_driver_ready() local
449 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready()
462 struct icm_fr_pkg_approve_device request; in icm_fr_approve_switch() local
466 memset(&request, 0, sizeof(request)); in icm_fr_approve_switch()
467 memcpy(&request.ep_uuid, sw->uuid, sizeof(request.ep_uuid)); in icm_fr_approve_switch()
[all …]

12345678910>>...67