/Linux-v5.4/drivers/s390/char/ |
D | tape_std.c | 38 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() 57 struct tape_request *request; in tape_std_assign() local 59 request = tape_alloc_request(2, 11); in tape_std_assign() 60 if (IS_ERR(request)) in tape_std_assign() 61 return PTR_ERR(request); in tape_std_assign() 63 request->op = TO_ASSIGN; in tape_std_assign() 64 tape_ccw_cc(request->cpaddr, ASSIGN, 11, request->cpdata); in tape_std_assign() 65 tape_ccw_end(request->cpaddr + 1, NOP, 0, NULL); in tape_std_assign() [all …]
|
D | tape_34xx.c | 56 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 …]
|
D | tape_core.c | 292 __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() 434 * request. We refuse to suspend if the device is loaded or in use for the 483 * request. We may prevent this by returning an error. 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() [all …]
|
D | tape_3590.c | 204 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 …]
|
/Linux-v5.4/include/media/ |
D | media-request.h | 3 * 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 belongs to [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_active.h | 32 * retirement order) request relevant for the desired mode of access. 34 * track the most recent fence request, typically this is done as part of 39 * itself as idle (i915_active_request.request == NULL). The owner 45 struct i915_request *request); 50 * @rq - initial request to track, can be NULL 55 * an activity tracker, that is for tracking the last known active request 56 * associated with it. When the last request becomes idle, when it is retired 65 RCU_INIT_POINTER(active->request, rq); in i915_active_request_init() 77 * i915_active_request_set - updates the tracker to watch the current request 79 * @request - the request to watch [all …]
|
D | i915_request.h | 54 * I915_FENCE_FLAG_ACTIVE - this request is currently submitted to HW. 57 * by __i915_request_unsubmit() if we preempt this request. 59 * Finally cleared for consistency on retiring the request, when 60 * we know the HW is no longer running this request. 67 * I915_FENCE_FLAG_SIGNAL - this request is currently on signal_list 70 * a request is on the various signal_list. 76 * Request queue structure. 78 * The request queue allows us to note sequence numbers that have been emitted 83 * emission time to be associated with the request for tracking how far ahead 99 /** On Which ring this request was generated */ [all …]
|
D | i915_request.c | 65 * may be freed when the request is no longer in use by the GPU. in i915_fence_get_timeline_name() 102 * The request is put onto a RCU freelist (i.e. the address in i915_fence_release() 168 remove_from_client(struct i915_request *request) in remove_from_client() argument 172 file_priv = READ_ONCE(request->file_priv); in remove_from_client() 177 if (request->file_priv) { in remove_from_client() 178 list_del(&request->client_link); in remove_from_client() 179 request->file_priv = NULL; in remove_from_client() 184 static void free_capture_list(struct i915_request *request) in free_capture_list() argument 188 capture = request->capture_list; in free_capture_list() 235 * We know the GPU must have read the request to have in i915_request_retire() [all …]
|
/Linux-v5.4/drivers/greybus/ |
D | svc.c | 175 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 …]
|
/Linux-v5.4/fs/nfsd/ |
D | xdr4.h | 89 u32 ac_req_access; /* request */ 95 u32 cl_seqid; /* request */ 96 stateid_t cl_stateid; /* request+response */ 100 u64 co_offset; /* request */ 101 u32 co_count; /* request */ 106 u32 cr_namelen; /* request */ 107 char * cr_name; /* request */ 108 u32 cr_type; /* request */ 109 union { /* request */ 120 u32 cr_bmval[3]; /* request */ [all …]
|
/Linux-v5.4/Documentation/media/uapi/mediactl/ |
D | request-api.rst | 27 .. _media-request-api: 29 Request API 32 The Request API has been designed to allow V4L2 to deal with requirements of 42 Supporting these features without the Request API is not always possible and if 49 The Request API allows a specific configuration of the pipeline (media 54 of request completion are also available for reading. 59 The Request API extends the Media Controller API and cooperates with 60 subsystem-specific APIs to support request usage. At the Media Controller 62 node. Their life cycle is then managed through the request file descriptors in 65 request support, such as V4L2 APIs that take an explicit ``request_fd`` [all …]
|
D | media-request-ioc-queue.rst | 36 MEDIA_REQUEST_IOC_QUEUE - Queue a request 56 If the media device supports :ref:`requests <media-request-api>`, then 57 this request ioctl can be used to queue a previously allocated request. 59 If the request was successfully queued, then the file descriptor can be 60 :ref:`polled <request-func-poll>` to wait for the request to complete. 62 If the request was already queued before, then ``EBUSY`` is returned. 63 Other errors can be returned if the contents of the request contained 65 common error codes. On error both the request and driver state are unchanged. 67 Once a request is queued, then the driver is required to gracefully handle 68 errors that occur when the request is applied to the hardware. The [all …]
|
/Linux-v5.4/include/linux/ |
D | elevator.h | 36 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 *, struct bio *bio); 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 …]
|
D | blk-mq.h | 106 unsigned int cmd_size; /* per-request extra data */ 119 struct request *rq; 128 typedef enum blk_eh_timer_return (timeout_fn)(struct request *, bool); 131 typedef int (init_request_fn)(struct blk_mq_tag_set *set, struct request *, 133 typedef void (exit_request_fn)(struct blk_mq_tag_set *set, struct request *, 136 typedef bool (busy_iter_fn)(struct blk_mq_hw_ctx *, struct request *, void *, 138 typedef bool (busy_tag_iter_fn)(struct request *, void *, bool); 142 typedef void (complete_fn)(struct request *); 143 typedef void (cleanup_rq_fn)(struct request *); 148 * Queue request [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | i915_request.c | 43 struct i915_request *request; in igt_add_request() local 46 /* Basic preliminary test to create a request and let it loose! */ in igt_add_request() 49 request = mock_request(i915->engine[RCS0]->kernel_context, HZ / 10); in igt_add_request() 50 if (!request) in igt_add_request() 53 i915_request_add(request); in igt_add_request() 65 struct i915_request *request; in igt_wait_request() local 68 /* Submit a request, then wait upon it */ in igt_wait_request() 71 request = mock_request(i915->engine[RCS0]->kernel_context, T); in igt_wait_request() 72 if (!request) { in igt_wait_request() 76 i915_request_get(request); in igt_wait_request() [all …]
|
/Linux-v5.4/drivers/usb/musb/ |
D | musb_gadget.c | 32 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() 43 /* Check if DMA engine can handle this request. in map_dma_buffer() 44 * DMA code must reject the USB request explicitly. in map_dma_buffer() 45 * Default behaviour is to map the request. 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() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/gt/ |
D | mock_engine.c | 73 static void advance(struct i915_request *request) in advance() argument 75 list_del_init(&request->mock.link); in advance() 76 i915_request_mark_complete(request); in advance() 77 GEM_BUG_ON(!i915_request_completed(request)); in advance() 79 intel_engine_queue_breadcrumbs(request->engine); in advance() 85 struct i915_request *request; in hw_delay_complete() local 90 /* Timer fired, first request is complete */ in hw_delay_complete() 91 request = first_request(engine); in hw_delay_complete() 92 if (request) in hw_delay_complete() 93 advance(request); in hw_delay_complete() [all …]
|
/Linux-v5.4/tools/perf/pmu-events/arch/x86/westmereep-dp/ |
D | memory.json | 18 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_DRAM AND REMOTE_FWD", 29 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_LLC_MISS", 40 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = OTHER_LOCAL_DRAM", 51 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = REMOTE_DRAM", 62 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_DRAM AND REMOTE_FWD", 73 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_LLC_MISS", 84 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = OTHER_LOCAL_DRAM", 95 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = REMOTE_DRAM", 106 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_DRAM AND REMOTE_FWD", 117 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_LLC_MISS", [all …]
|
/Linux-v5.4/drivers/media/usb/as102/ |
D | as10x_cmd.h | 26 /* 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-v5.4/drivers/staging/greybus/ |
D | gpio.c | 62 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 …]
|
D | pwm.c | 44 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 …]
|
D | fw-management.c | 142 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() 167 dev_err(fw_mgmt->parent, "failed to allocate request id (%d)\n", 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() 184 "load and validate firmware request failed (%d)\n", in fw_mgmt_load_and_validate_operation() 196 struct gb_fw_mgmt_loaded_fw_request *request; in fw_mgmt_interface_fw_loaded_operation() local [all …]
|
/Linux-v5.4/drivers/scsi/fnic/ |
D | fcpio.h | 41 * Initiator request types 50 * Target request types 64 * Misc request types 84 FCPIO_SUCCESS = 0, /* request was successful */ 87 * If a request to the firmware is rejected, the original request 91 FCPIO_OUT_OF_RESOURCE, /* out of resources to complete request */ 92 FCPIO_INVALID_PARAM, /* some parameter in request is invalid */ 93 FCPIO_REQ_NOT_SUPPORTED, /* request type is not supported */ 97 * Once a request is processed, the firmware will usually return 101 FCPIO_ABORTED = 0x41, /* request was aborted */ [all …]
|
/Linux-v5.4/block/ |
D | blk-exec.c | 16 * blk_end_sync_rq - executes a completion event on a request 17 * @rq: request to complete 18 * @error: end I/O status of the request 20 static void blk_end_sync_rq(struct request *rq, blk_status_t error) in blk_end_sync_rq() 27 * complete last, if this is a stack request the process (and thus in blk_end_sync_rq() 34 * blk_execute_rq_nowait - insert a request into queue for execution 35 * @q: queue to insert the request in 37 * @rq: request to insert 38 * @at_head: insert request at head or tail of queue 42 * Insert a fully prepared request at the back of the I/O scheduler queue [all …]
|
/Linux-v5.4/drivers/s390/net/ |
D | ism_drv.c | 62 cmd.request.hdr.cmd = cmd_code; in ism_cmd_simple() 63 cmd.request.hdr.len = sizeof(cmd.request); in ism_cmd_simple() 73 cmd.request.hdr.cmd = ISM_QUERY_INFO; in query_info() 74 cmd.request.hdr.len = sizeof(cmd.request); in query_info() 97 cmd.request.hdr.cmd = ISM_REG_SBA; in register_sba() 98 cmd.request.hdr.len = sizeof(cmd.request); in register_sba() 99 cmd.request.sba = dma_handle; in register_sba() 124 cmd.request.hdr.cmd = ISM_REG_IEQ; in register_ieq() 125 cmd.request.hdr.len = sizeof(cmd.request); in register_ieq() 126 cmd.request.ieq = dma_handle; in register_ieq() [all …]
|