/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | uaccess-asm.h | 19 .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req variable 31 .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req variable
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | uaccess-asm.h | 19 .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req variable 31 .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req variable
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | gadget.h | 76 * dwc3_gadget_move_started_request - move @req to the started_list 77 * @req: the request to be moved 79 * Caller should take care of locking. This function will move @req from its 82 static inline void dwc3_gadget_move_started_request(struct dwc3_request *req) in dwc3_gadget_move_started_request() argument 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() 86 req->status = DWC3_REQUEST_STATUS_STARTED; in dwc3_gadget_move_started_request() 87 list_move_tail(&req->list, &dep->started_list); in dwc3_gadget_move_started_request() 91 * dwc3_gadget_move_cancelled_request - move @req to the cancelled_list 92 * @req: the request to be moved 94 * Caller should take care of locking. This function will move @req fro 97 dwc3_gadget_move_cancelled_request(struct dwc3_request *req) dwc3_gadget_move_cancelled_request() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/dwc3/ |
H A D | gadget.h | 76 * dwc3_gadget_move_started_request - move @req to the started_list 77 * @req: the request to be moved 79 * Caller should take care of locking. This function will move @req from its 82 static inline void dwc3_gadget_move_started_request(struct dwc3_request *req) in dwc3_gadget_move_started_request() argument 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() 86 req->status = DWC3_REQUEST_STATUS_STARTED; in dwc3_gadget_move_started_request() 87 list_move_tail(&req->list, &dep->started_list); in dwc3_gadget_move_started_request() 91 * dwc3_gadget_move_cancelled_request - move @req to the cancelled_list 92 * @req: the request to be moved 95 * Caller should take care of locking. This function will move @req fro 98 dwc3_gadget_move_cancelled_request(struct dwc3_request *req, unsigned int reason) dwc3_gadget_move_cancelled_request() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/vmx/ |
H A D | aes_cbc.c | 71 static int p8_aes_cbc_crypt(struct skcipher_request *req, int enc) in p8_aes_cbc_crypt() argument 73 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in p8_aes_cbc_crypt() 80 struct skcipher_request *subreq = skcipher_request_ctx(req); in p8_aes_cbc_crypt() 82 *subreq = *req; in p8_aes_cbc_crypt() 88 ret = skcipher_walk_virt(&walk, req, false); in p8_aes_cbc_crypt() 107 static int p8_aes_cbc_encrypt(struct skcipher_request *req) in p8_aes_cbc_encrypt() argument 109 return p8_aes_cbc_crypt(req, 1); in p8_aes_cbc_encrypt() 112 static int p8_aes_cbc_decrypt(struct skcipher_request *req) in p8_aes_cbc_decrypt() argument 114 return p8_aes_cbc_crypt(req, 0); in p8_aes_cbc_decrypt()
|
/third_party/libuv/test/ |
H A D | test-tcp-read-stop-start.c | 35 static void on_write_close_immediately(uv_write_t* req, int status) { in on_write_close_immediately() argument 38 uv_close((uv_handle_t*)req->handle, NULL); /* Close immediately */ in on_write_close_immediately() 39 free(req); in on_write_close_immediately() 42 static void on_write(uv_write_t* req, int status) { in on_write() argument 45 free(req); in on_write() 49 uv_write_t* req = malloc(sizeof(*req)); in do_write() local 53 ASSERT_OK(uv_write(req, stream, &buf, 1, cb)); in do_write() 98 static void on_connect(uv_connect_t* req, int status) { in on_connect() argument
|
H A D | test-threadpool.c | 31 static void work_cb(uv_work_t* req) { in work_cb() argument 32 ASSERT_PTR_EQ(req, &work_req); in work_cb() 33 ASSERT_PTR_EQ(req->data, &data); in work_cb() 38 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb() argument 40 ASSERT_PTR_EQ(req, &work_req); in after_work_cb() 41 ASSERT_PTR_EQ(req->data, &data); in after_work_cb()
|
H A D | benchmark-queue-work.c | 35 static void work_cb(uv_work_t* req) { in work_cb() argument 36 req->data = &result; in work_cb() 37 *(unsigned*)req->data = fastrand(); in work_cb() 40 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb() argument 43 ASSERT_OK(uv_queue_work(req->loop, req, work_cb, after_work_cb)); in after_work_cb()
|
/third_party/libuv/docs/code/multi-echo-server/ |
H A D | worker.c | 12 uv_write_t req; member 16 void free_write_req(uv_write_t *req) { in free_write_req() argument 17 write_req_t *wr = (write_req_t*) req; in free_write_req() 27 void echo_write(uv_write_t *req, int status) { in echo_write() argument 31 free_write_req(req); in echo_write() 36 write_req_t *req = (write_req_t*) malloc(sizeof(write_req_t)); in echo_read() local 37 req->buf = uv_buf_init(buf->base, nread); in echo_read() 38 uv_write((uv_write_t*) req, client, &req->buf, 1, echo_write); in echo_read()
|
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | endpoint.c | 148 IpcIo req;
in SAMGR_AddSysCap() local 150 IpcIoInit(&req, data, MAX_DATA_LEN, 0);
in SAMGR_AddSysCap() 151 IpcIoPushUint32(&req, RES_SYSCAP);
in SAMGR_AddSysCap() 152 IpcIoPushUint32(&req, OP_PUT);
in SAMGR_AddSysCap() 153 IpcIoPushString(&req, sysCap);
in SAMGR_AddSysCap() 154 IpcIoPushBool(&req, isReg);
in SAMGR_AddSysCap() 159 int ret = Transact(endpoint->context, samgr, INVALID_INDEX, &req, &reply,
in SAMGR_AddSysCap() 180 IpcIo req;
in SAMGR_GetSysCap() local 182 IpcIoInit(&req, data, MAX_DATA_LEN, 0);
in SAMGR_GetSysCap() 183 IpcIoPushUint32(&req, RES_SYSCA in SAMGR_GetSysCap() 209 IpcIo req; SendGetAllSysCapsRequest() local 461 IpcIo req; HandleIpc() local 494 IpcIo req; RegisterIdentity() local 550 IpcIo req; RegisterRemoteEndpoint() local [all...] |
H A D | endpoint_rpc.c | 107 IpcIo req;
in SAMGR_AddSysCap() local 109 IpcIoInit(&req, data, MAX_DATA_LEN, 0);
in SAMGR_AddSysCap() 110 WriteInt32(&req, 0);
in SAMGR_AddSysCap() 111 WriteUint32(&req, RES_SYSCAP);
in SAMGR_AddSysCap() 112 WriteUint32(&req, OP_PUT);
in SAMGR_AddSysCap() 113 WriteBool(&req, sysCap);
in SAMGR_AddSysCap() 114 WriteBool(&req, isReg);
in SAMGR_AddSysCap() 121 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply,
in SAMGR_AddSysCap() 143 IpcIo req;
in SAMGR_GetSysCap() local 145 IpcIoInit(&req, dat in SAMGR_GetSysCap() 176 IpcIo req; SendGetAllSysCapsRequest() local [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
H A D | samgr_server_rpc.c | 46 typedef int(*ProcFunc)(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply); 58 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply); 60 static int ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply); 61 static int32 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity); 62 static int32 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity); 63 static int ProcFeature(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply); 69 static int ProcSysCap(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply); 242 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 246 ReadUint32(req, &resource); in Invoke() 248 ReadInt32(req, in Invoke() 261 ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply) ProcEndpoint() argument 300 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcPutFeature() argument 404 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcGetFeature() argument 446 ProcFeature(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply) ProcFeature() argument 482 ProcAddSysCap(SamgrServer *server, IpcIo *req) ProcAddSysCap() argument 507 ProcGetSysCap(SamgrServer *server, IpcIo *req) ProcGetSysCap() argument 549 ProcGetAllSysCap(SamgrServer *server, IpcIo *req, IpcIo *reply) ProcGetAllSysCap() argument 587 ProcSysCap(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply) ProcSysCap() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_debugfs.c | 53 /* pretty print enum drbd_req_state_bits req->rq_state */ 54 static void seq_print_request_state(struct seq_file *m, struct drbd_request *req) in seq_print_request_state() argument 56 unsigned int s = req->rq_state; in seq_print_request_state() 59 seq_printf(m, "\tmaster: %s", req->master_bio ? "pending" : "completed"); in seq_print_request_state() 96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument 99 unsigned int s = req->rq_state; in seq_print_one_request() 103 req->epoch, in seq_print_one_request() 104 (unsigned long long)req->i.sector, req->i.size >> 9, in seq_print_one_request() 108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req in seq_print_one_request() 122 seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) seq_print_minor_vnr_req() argument 165 struct drbd_request *req; seq_print_waiting_for_AL() local 305 struct drbd_request *req; seq_print_resource_transfer_log_summary() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_uac1_legacy.c | 321 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_out_ep_complete() argument 323 struct f_audio *audio = req->context; in f_audio_out_ep_complete() 338 if (audio_buf_size - copy_buf->actual < req->actual) { in f_audio_out_ep_complete() 348 memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual); in f_audio_out_ep_complete() 349 copy_buf->actual += req->actual; in f_audio_out_ep_complete() 352 err = usb_ep_queue(ep, req, GFP_ATOMIC); in f_audio_out_ep_complete() 354 ERROR(cdev, "%s queue req: %d\n", ep->name, err); in f_audio_out_ep_complete() 360 static void f_audio_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_complete() argument 362 struct f_audio *audio = req in f_audio_complete() 389 struct usb_request *req = cdev->req; audio_set_intf_req() local 425 struct usb_request *req = cdev->req; audio_get_intf_req() local 526 struct usb_request *req = cdev->req; f_audio_setup() local 579 struct usb_request *req; f_audio_set_alt() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_uac1_legacy.c | 321 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_out_ep_complete() argument 323 struct f_audio *audio = req->context; in f_audio_out_ep_complete() 338 if (audio_buf_size - copy_buf->actual < req->actual) { in f_audio_out_ep_complete() 348 memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual); in f_audio_out_ep_complete() 349 copy_buf->actual += req->actual; in f_audio_out_ep_complete() 352 err = usb_ep_queue(ep, req, GFP_ATOMIC); in f_audio_out_ep_complete() 354 ERROR(cdev, "%s queue req: %d\n", ep->name, err); in f_audio_out_ep_complete() 360 static void f_audio_complete(struct usb_ep *ep, struct usb_request *req) in f_audio_complete() argument 362 struct f_audio *audio = req in f_audio_complete() 389 struct usb_request *req = cdev->req; audio_set_intf_req() local 425 struct usb_request *req = cdev->req; audio_get_intf_req() local 526 struct usb_request *req = cdev->req; f_audio_setup() local 579 struct usb_request *req; f_audio_set_alt() local [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_debugfs.c | 53 /* pretty print enum drbd_req_state_bits req->rq_state */ 54 static void seq_print_request_state(struct seq_file *m, struct drbd_request *req) in seq_print_request_state() argument 56 unsigned int s = req->rq_state; in seq_print_request_state() 59 seq_printf(m, "\tmaster: %s", req->master_bio ? "pending" : "completed"); in seq_print_request_state() 96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument 99 unsigned int s = req->rq_state; in seq_print_one_request() 103 req->epoch, in seq_print_one_request() 104 (unsigned long long)req->i.sector, req->i.size >> 9, in seq_print_one_request() 108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req in seq_print_one_request() 122 seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) seq_print_minor_vnr_req() argument 165 struct drbd_request *req; seq_print_waiting_for_AL() local 305 struct drbd_request *req; seq_print_resource_transfer_log_summary() local [all...] |
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | power.h | 28 TP_PROTO(struct freq_constraints *qos, struct freq_qos_request *req, 30 TP_ARGS(qos, req, type, value, ret)); 33 TP_PROTO(struct freq_qos_request *req, int value), 34 TP_ARGS(req, value)); 37 TP_PROTO(struct freq_qos_request *req), 38 TP_ARGS(req));
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | wifi_p2p_dns_sd_service_request.cpp | 34 WifiP2pDnsSdServiceRequest req; in Create() local 35 return req; in Create() 40 WifiP2pDnsSdServiceRequest req( in Create() 42 return req; in Create() 48 WifiP2pDnsSdServiceRequest req(instanceName + "." + serviceType + ".local.", in Create() 51 return req; in Create()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcamera/ |
H A D | dcamera_sink_callback_proxy.cpp | 34 MessageParcel req; in OnNotifyResourceInfo() local 37 if (!req.WriteInterfaceToken(DCameraSinkCallbackProxy::GetDescriptor())) { in OnNotifyResourceInfo() 43 if (!req.WriteInt32(resType) || !req.WriteString(subtype) || !req.WriteString(networkId)) { in OnNotifyResourceInfo() 47 remote->SendRequest(NOTIFY_RESOURCEINFO, req, reply, option); in OnNotifyResourceInfo()
|
/third_party/libuv/docs/code/progress/ |
H A D | main.c | 12 void fake_download(uv_work_t *req) { in fake_download() argument 13 int size = *((int*) req->data); in fake_download() 26 void after(uv_work_t *req, int status) { in after() argument 39 uv_work_t req; in main() local 41 req.data = (void*) &size; in main() 44 uv_queue_work(loop, &req, fake_download, after); in main()
|
/third_party/node/test/parallel/ |
H A D | test-http-client-timeout-connect-listener.js | 14 const server = http.createServer((req, res) => { 23 const req = doRequest(options, common.mustCall(() => { 28 req.on('socket', common.mustCall((socket) => { 35 const req = http.get(options, (res) => { 40 req.setTimeout(timeout); 41 return req;
|
H A D | test-http-server-connection-list-when-close.js | 16 const server = http.createServer((req, res) => { 19 req.socket.parser.free = common.mustCall(); 20 req.socket.on('close', common.mustCall(() => { 30 const server = http.createServer((req, res) => { 32 const { parser } = req.socket; 38 req.socket.on('close', common.mustCall(() => {
|
H A D | test-http2-server-shutdown-before-respond.js | 29 const req = client.request(); 30 req.on('error', common.expectsError({ 33 req.resume(); 34 req.on('data', common.mustNotCall()); 35 req.on('end', common.mustNotCall()); 36 req.on('close', common.mustCall(() => server.close()));
|
H A D | test-http2-socket-proxy-handler-for-has.js | 16 (req, res) => { 17 const request = req; 29 const req = client.request({}); 30 req.on('response', common.mustCall((headers, flags) => { 34 req.on('end', common.mustCall(() => { 37 req.end();
|
/kernel/linux/linux-5.10/block/ |
H A D | bsg-lib.c | 204 static int bsg_map_buffer(struct bsg_buffer *buf, struct request *req) in bsg_map_buffer() argument 206 size_t sz = (sizeof(struct scatterlist) * req->nr_phys_segments); in bsg_map_buffer() 208 BUG_ON(!req->nr_phys_segments); in bsg_map_buffer() 213 sg_init_table(buf->sg_list, req->nr_phys_segments); in bsg_map_buffer() 214 buf->sg_cnt = blk_rq_map_sg(req->q, req, buf->sg_list); in bsg_map_buffer() 215 buf->payload_len = blk_rq_bytes(req); in bsg_map_buffer() 222 * @req: BSG request that needs a job structure 224 static bool bsg_prepare_job(struct device *dev, struct request *req) in bsg_prepare_job() argument 226 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_prepare_job() 269 struct request *req = bd->rq; bsg_queue_rq() local 293 bsg_init_rq(struct blk_mq_tag_set *set, struct request *req, unsigned int hctx_idx, unsigned int numa_node) bsg_init_rq() argument 305 bsg_initialize_rq(struct request *req) bsg_initialize_rq() argument 316 bsg_exit_rq(struct blk_mq_tag_set *set, struct request *req, unsigned int hctx_idx) bsg_exit_rq() argument [all...] |