Home
last modified time | relevance | path

Searched full:request (Results 1 – 25 of 5271) sorted by relevance

12345678910>>...211

/linux/drivers/s390/char/
H A Dtape_std.c37 struct tape_request * request = timer_container_of(request, t, 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_3490.c40 static void __tape_3490_medium_sense(struct tape_request *request) in __tape_3490_medium_sense() argument
42 struct tape_device *device = request->device; in __tape_3490_medium_sense()
45 if (request->rc == 0) { in __tape_3490_medium_sense()
46 sense = request->cpdata; in __tape_3490_medium_sense()
65 request->rc); in __tape_3490_medium_sense()
66 tape_free_request(request); in __tape_3490_medium_sense()
71 struct tape_request *request; in tape_3490_medium_sense() local
74 request = tape_alloc_request(1, 32); in tape_3490_medium_sense()
75 if (IS_ERR(request)) { in tape_3490_medium_sense()
77 return PTR_ERR(request); in tape_3490_medium_sense()
[all …]
H A Dtape_core.c291 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io() argument
297 if (request->callback == NULL) in __tape_cancel_io()
302 rc = ccw_device_clear(device->cdev, (long) request); in __tape_cancel_io()
306 request->status = TAPE_REQUEST_DONE; in __tape_cancel_io()
309 request->status = TAPE_REQUEST_CANCEL; in __tape_cancel_io()
433 * request. We may prevent this by returning an error.
591 struct tape_request * request; in __tape_discard_requests() local
595 request = list_entry(l, struct tape_request, list); in __tape_discard_requests()
596 if (request->status == TAPE_REQUEST_IN_IO) in __tape_discard_requests()
597 request->status = TAPE_REQUEST_DONE; in __tape_discard_requests()
[all …]
/linux/drivers/greybus/
H A Dsvc.c177 struct gb_svc_pwrmon_sample_get_request request; in gb_svc_pwrmon_sample_get() local
181 request.rail_id = rail_id; in gb_svc_pwrmon_sample_get()
182 request.measurement_type = measurement_type; in gb_svc_pwrmon_sample_get()
185 &request, sizeof(request), in gb_svc_pwrmon_sample_get()
214 struct gb_svc_pwrmon_intf_sample_get_request request; in gb_svc_pwrmon_intf_sample_get() local
218 request.intf_id = intf_id; in gb_svc_pwrmon_intf_sample_get()
219 request.measurement_type = measurement_type; in gb_svc_pwrmon_intf_sample_get()
223 &request, sizeof(request), in gb_svc_pwrmon_intf_sample_get()
261 struct gb_svc_intf_device_id_request request; in gb_svc_intf_device_id() local
263 request.intf_id = intf_id; in gb_svc_intf_device_id()
[all …]
/linux/include/linux/surface_aggregator/
H A Dcontroller.h54 * Specifies that the request expects a response. If not set, the request
56 * transmitted. If set, the request transport system waits for a response
57 * of the request.
60 * Specifies that the request should be transmitted via an unsequenced
61 * packet. If set, the request must not have a response, meaning that this
70 * struct ssam_request - SAM request description.
71 * @target_category: Category of the request's target. See &enum ssam_ssh_tc.
72 * @target_id: ID of the request's target.
73 * @command_id: Command ID of the request.
74 * @instance_id: Instance ID of the request's target.
[all …]
/linux/include/media/
H A Dmedia-request.h3 * Media device request objects
23 * enum media_request_state - media request state
26 * @MEDIA_REQUEST_STATE_VALIDATING: Validating the request, no state changes
29 * @MEDIA_REQUEST_STATE_COMPLETE: Completed, the request is done
30 * @MEDIA_REQUEST_STATE_CLEANING: Cleaning, the request is being re-inited
31 * @MEDIA_REQUEST_STATE_UPDATING: The request is being updated, i.e.
32 * request objects are being added,
34 * @NR_OF_MEDIA_REQUEST_STATE: The number of media request states, used
50 * struct media_request - Media device request
51 * @mdev: Media device this request belong
[all...]
/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-api.rst4 .. _media-request-api:
6 Request API
9 The Request API has been designed to allow V4L2 to deal with requirements of
19 Supporting these features without the Request API is not always possible and if
26 The Request API allows a specific configuration of the pipeline (media
31 of request completion are also available for reading.
36 The Request API extends the Media Controller API and cooperates with
37 subsystem-specific APIs to support request usage. At the Media Controller
39 node. Their life cycle is then managed through the request file descriptors in
42 request support, such as V4L2 APIs that take an explicit ``request_fd``
[all …]
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/sound/soc/intel/catpt/
H A Dmessages.c17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local
19 request.header = msg.val; in catpt_ipc_get_fw_version()
23 return catpt_dsp_send_msg(cdev, request, &reply, "get fw version"); in catpt_ipc_get_fw_version()
53 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream()
86 request.header = msg.val; in catpt_ipc_alloc_stream()
87 request.size = size; in catpt_ipc_alloc_stream()
88 request.data = payload; in catpt_ipc_alloc_stream()
92 ret = catpt_dsp_send_msg(cdev, request, &reply, "alloc stream"); in catpt_ipc_alloc_stream()
100 struct catpt_ipc_msg request; in catpt_ipc_alloc_stream()
102 request in catpt_ipc_alloc_stream()
58 struct catpt_ipc_msg request, reply; catpt_ipc_alloc_stream() local
109 struct catpt_ipc_msg request; catpt_ipc_free_stream() local
128 struct catpt_ipc_msg request; catpt_ipc_set_device_format() local
146 struct catpt_ipc_msg request, reply; catpt_ipc_enter_dxstate() local
166 struct catpt_ipc_msg request = {{0}}, reply; catpt_ipc_get_mixer_stream_info() local
183 struct catpt_ipc_msg request = {{0}}; catpt_ipc_reset_stream() local
200 struct catpt_ipc_msg request = {{0}}; catpt_ipc_pause_stream() local
217 struct catpt_ipc_msg request = {{0}}; catpt_ipc_resume_stream() local
244 struct catpt_ipc_msg request; catpt_ipc_set_volume() local
276 struct catpt_ipc_msg request; catpt_ipc_set_write_pos() local
300 struct catpt_ipc_msg request; catpt_ipc_mute_loopback() local
[all...]
/linux/include/linux/
H A Dblk-mq.h26 typedef enum rq_end_io_ret (rq_end_io_fn)(struct request *, blk_status_t,
30 * request flags */
37 /* request for flush sequence */
45 /* use an I/O scheduler for this request */
53 /* runtime pm request */
62 /* request completion needs to be signaled to zone write plugging. */
105 struct request { struct
127 struct request *rq_next; argument
132 /* Time that the first bio started allocating this request. */ argument
135 /* Time that this request was allocated for this IO. */ argument
[all …]
/linux/fs/nfsd/
H A Dxdr4.h212 u32 ac_req_access; /* request */
218 u32 cl_seqid; /* request */
219 stateid_t cl_stateid; /* request+response */
223 u64 co_offset; /* request */
224 u32 co_count; /* request */
229 u32 cr_namelen; /* request */
230 char * cr_name; /* request */
231 u32 cr_type; /* request */
232 union { /* request */
243 u32 cr_bmval[3]; /* request */
[all …]
/linux/rust/kernel/block/mq/
H A Drequest.rs3 //! This module provides a wrapper for the C `struct request` type.
20 /// A wrapper around a blk-mq [`struct request`]. This represents an IO request.
24 /// There are four states for a request that the Rust bindings care about:
26 /// 1. Request is owned by block layer (refcount 0).
27 /// 2. Request is owned by driver but with zero [`ARef`]s in existence
29 /// 3. Request is owned by driver with exactly one [`ARef`] in existence
31 /// 4. Request is owned by driver with more than one [`ARef`] in existence
35 /// We need to track 1 and 2 to ensure we fail tag to request conversions for
38 /// We need to track 3 and 4 to ensure that it is safe to end the request and hand
46 /// [`struct request`].
[all …]
/linux/tools/perf/pmu-events/arch/riscv/
H A Driscv-sbi-firmware.json51 "PublicDescription": "Sent FENCE.I request to other HART event",
54 "BriefDescription": "Sent FENCE.I request to other HART event"
57 "PublicDescription": "Received FENCE.I request from other HART event",
60 "BriefDescription": "Received FENCE.I request from other HART event"
63 "PublicDescription": "Sent SFENCE.VMA request to other HART event",
66 "BriefDescription": "Sent SFENCE.VMA request to other HART event"
69 "PublicDescription": "Received SFENCE.VMA request from other HART event",
72 "BriefDescription": "Received SFENCE.VMA request from other HART event"
75 "PublicDescription": "Sent SFENCE.VMA with ASID request to other HART event",
78 "BriefDescription": "Sent SFENCE.VMA with ASID request to other HART event"
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_request.h74 * I915_FENCE_FLAG_ACTIVE - this request is currently submitted to HW.
77 * by __i915_request_unsubmit() if we preempt this request.
79 * Finally cleared for consistency on retiring the request, when
80 * we know the HW is no longer running this request.
87 * I915_FENCE_FLAG_PQUEUE - this request is ready for execution
89 * Using the scheduler, when a request is ready for execution it is put
99 * I915_FENCE_FLAG_HOLD - this request is currently on hold
101 * This request has been suspended, pending an ongoing investigation.
106 * I915_FENCE_FLAG_INITIAL_BREADCRUMB - this request has the initial
113 * I915_FENCE_FLAG_SIGNAL - this request is currently on signal_list
[all …]
/linux/block/
H A Delevator.h66 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
68 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
69 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
70 void (*requests_merged)(struct request_queue *, struct request *, struct request *);
72 void (*prepare_request)(struct request *);
73 void (*finish_request)(struct request *);
76 struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
78 void (*completed_request)(struct request *, u64);
79 void (*requeue_request)(struct request *);
80 struct request *(*former_request)(struct request_queue *, struct request *);
[all …]
H A Dblk-crypto-internal.h32 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
37 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
44 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
51 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
52 struct request *next) in bio_crypt_ctx_merge_rq()
58 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
64 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
69 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
106 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
112 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
[all …]
/linux/drivers/usb/musb/
H A Dmusb_gadget.c33 static inline void map_dma_buffer(struct musb_request *request, in map_dma_buffer() argument
39 request->map_state = UN_MAPPED; in map_dma_buffer()
44 /* Check if DMA engine can handle this request. in map_dma_buffer()
45 * DMA code must reject the USB request explicitly. in map_dma_buffer()
46 * Default behaviour is to map the request. in map_dma_buffer()
50 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
51 request->request.length); in map_dma_buffer()
55 if (request->request.dma == DMA_ADDR_INVALID) { in map_dma_buffer()
61 request->request.buf, in map_dma_buffer()
62 request->request.length, in map_dma_buffer()
[all …]
/linux/drivers/staging/greybus/
H A Dgpio.c64 struct gb_gpio_activate_request request; in gb_gpio_activate_operation() local
72 request.which = which; in gb_gpio_activate_operation()
74 &request, sizeof(request), NULL, 0); in gb_gpio_activate_operation()
90 struct gb_gpio_deactivate_request request; in gb_gpio_deactivate_operation() local
93 request.which = which; in gb_gpio_deactivate_operation()
95 &request, sizeof(request), NULL, 0); in gb_gpio_deactivate_operation()
111 struct gb_gpio_get_direction_request request; in gb_gpio_get_direction_operation() local
116 request.which = which; in gb_gpio_get_direction_operation()
118 &request, sizeof(request), in gb_gpio_get_direction_operation()
135 struct gb_gpio_direction_in_request request; in gb_gpio_direction_in_operation() local
[all …]
/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/
H A Dmemory.json11 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_DRAM AND REMOTE_FWD",
21 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_LLC_MISS",
31 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = OTHER_LOCAL_DRAM",
41 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = REMOTE_DRAM",
51 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_DRAM AND REMOTE_FWD",
61 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_LLC_MISS",
71 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = OTHER_LOCAL_DRAM",
81 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = REMOTE_DRAM",
91 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_DRAM AND REMOTE_FWD",
101 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_LLC_MISS",
[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/drivers/md/dm-vdo/indexer/
H A Dindex.c43 * request wants to add a chapter to the sparse cache, it sends a barrier message to each zone
89 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()
120 * Determine whether this request should trigger a sparse cache barrier message to change the
124 static u64 triage_index_request(struct uds_index *index, struct uds_request *request) in triage_index_request() argument
[all …]
/linux/drivers/media/usb/as102/
H A Das10x_cmd.h26 /* context request types */
83 /* request */
85 /* request identifier */
98 /* request */
100 /* request identifier */
113 /* request */
115 /* request identifier */
130 /* request */
132 /* request identifier */
147 /* request */
[all …]
/linux/drivers/scsi/fnic/
H A Dfcpio.h29 * Initiator request types
38 * Target request types
52 * Misc request types
72 FCPIO_SUCCESS = 0, /* request was successful */
75 * If a request to the firmware is rejected, the original request
79 FCPIO_OUT_OF_RESOURCE, /* out of resources to complete request */
80 FCPIO_INVALID_PARAM, /* some parameter in request is invalid */
81 FCPIO_REQ_NOT_SUPPORTED, /* request type is not supported */
85 * Once a request is processed, the firmware will usually return
89 FCPIO_ABORTED = 0x41, /* request was aborted */
[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/Documentation/driver-api/surface_aggregator/
H A Dinternal.rst70 Above this sits the *request transport layer (RTL)*. This layer is centered
73 It, specifically, distinguishes events from request responses, matches
74 responses to their corresponding requests, and implements request timeouts.
77 how request responses and, especially, events are dealt with. It provides an
79 workqueue for event and asynchronous request completion, and also manages
217 the request transport layer.
267 somewhat special. It is either set when the upper layer request is submitted
288 Request Transport Layer
291 The request transport layer is represented via |ssh_rtl| and builds on top
297 the corresponding callback. The request transport layer is structured around
[all …]

12345678910>>...211