Searched refs:req (Results 1 - 15 of 15) sorted by relevance

/system/core/logd/
H A Dlibaudit.c87 struct audit_message req; local
90 memset(&req, 0, sizeof(req));
97 req.nlh.nlmsg_type = type;
98 req.nlh.nlmsg_len = NLMSG_SPACE(size);
99 req.nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
117 memcpy(NLMSG_DATA(&req.nlh), data, size);
132 req.nlh.nlmsg_seq = ++sequence;
136 rc = TEMP_FAILURE_RETRY(sendto(fd, &req, req
[all...]
/system/core/sdcard/
H A Dsdcard.c64 * - don't forget that FORGET can forget multiple references (req->nlookup)
848 const struct fuse_in_header *hdr, const struct fuse_forget_in *req)
854 TRACE("[%d] FORGET #%"PRIu64" @ %"PRIx64" (%s)\n", handler->token, req->nlookup,
857 __u64 n = req->nlookup;
867 const struct fuse_in_header *hdr, const struct fuse_getattr_in *req)
875 req->getattr_flags, req->fh, hdr->nodeid, node ? node->name : "?");
889 const struct fuse_in_header *hdr, const struct fuse_setattr_in *req)
900 req->fh, req
847 handle_forget(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_forget_in *req) argument
866 handle_getattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_getattr_in *req) argument
888 handle_setattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_setattr_in *req) argument
951 handle_mknod(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mknod_in* req, const char* name) argument
982 handle_mkdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mkdir_in* req, const char* name) argument
1090 handle_rename(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_rename_in* req, const char* old_name, const char* new_name) argument
1183 handle_open(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument
1223 handle_read(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument
1250 handle_write(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_write_in* req, const void* buffer) argument
1306 handle_release(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument
1317 handle_fsync(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_fsync_in* req) argument
1349 handle_opendir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument
1386 handle_readdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument
1415 handle_releasedir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument
1426 handle_init(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_init_in* req) argument
1454 const struct fuse_forget_in *req = data; local
1459 const struct fuse_getattr_in *req = data; local
1464 const struct fuse_setattr_in *req = data; local
1471 const struct fuse_mknod_in *req = data; local
1477 const struct fuse_mkdir_in *req = data; local
1493 const struct fuse_rename_in *req = data; local
1501 const struct fuse_open_in *req = data; local
1506 const struct fuse_read_in *req = data; local
1511 const struct fuse_write_in *req = data; local
1521 const struct fuse_release_in *req = data; local
1527 const struct fuse_fsync_in *req = data; local
1540 const struct fuse_open_in *req = data; local
1545 const struct fuse_read_in *req = data; local
1550 const struct fuse_release_in *req = data; local
1555 const struct fuse_init_in *req = data; local
[all...]
/system/core/fastboot/
H A Dgenkey.sh14 openssl req -new -x509 -key $1.pem -passin pass:"$2" \
H A Dusb_osx.c336 IOUSBDevRequest req; local
339 req.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice);
340 req.bRequest = kUSBRqGetDescriptor;
341 req.wValue = (kUSBStringDesc << 8) | serialIndex;
343 req.wIndex = 0x0409;
344 req.pData = buffer;
345 req.wLength = sizeof(buffer);
346 kr = (*dev)->DeviceRequest(dev, &req);
348 if (kr == kIOReturnSuccess && req.wLenDone > 0) {
352 count = (req
[all...]
/system/extras/tests/storage/
H A Dwipe_blkdev.c54 int req; local
59 req = BLKSECDISCARD;
61 req = BLKDISCARD;
64 ret = ioctl(fd, req, &range);
/system/core/adb/
H A Dusb_osx.c206 IOUSBDevRequest req; local
212 req.bmRequestType =
214 req.bRequest = kUSBRqGetDescriptor;
215 req.wValue = (kUSBStringDesc << 8) | 0;
216 req.wIndex = 0;
217 req.pData = languages;
218 req.wLength = sizeof(languages);
219 kr = (*dev)->DeviceRequest(dev, &req);
221 if (kr == kIOReturnSuccess && req.wLenDone > 0) {
223 int langCount = (req
[all...]
H A Dfile_sync_client.c86 msg.req.id = ID_QUIT;
87 msg.req.namelen = 0;
89 writex(fd, &msg.req, sizeof(msg.req));
103 msg.req.id = ID_LIST;
104 msg.req.namelen = htoll(len);
106 if(writex(fd, &msg.req, sizeof(msg.req)) ||
149 msg.req.id = ID_STAT;
150 msg.req
[all...]
H A Dfile_sync_service.h54 } req; member in union:__anon6
H A Dfile_sync_service.c438 if(readx(fd, &msg.req, sizeof(msg.req))) {
442 namelen = ltohl(msg.req.namelen);
453 msg.req.namelen = 0;
454 D("sync: '%s' '%s'\n", (char*) &msg.req, name);
456 switch(msg.req.id) {
/system/core/libusbhost/
H A Dusbhost.c629 struct usb_request *req = calloc(1, sizeof(struct usb_request)); local
630 if (!req) {
635 req->dev = dev;
636 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize);
637 req->private_data = urb;
638 req->endpoint = urb->endpoint;
639 urb->usercontext = req;
641 return req;
644 void usb_request_free(struct usb_request *req) argument
646 free(req
650 usb_request_queue(struct usb_request *req) argument
673 struct usb_request *req = NULL; local
695 usb_request_cancel(struct usb_request *req) argument
[all...]
/system/core/include/usbhost/
H A Dusbhost.h223 void usb_request_free(struct usb_request *req);
226 int usb_request_queue(struct usb_request *req);
234 int usb_request_cancel(struct usb_request *req);
/system/core/libnetutils/
H A Difc_utils.c265 } req; local
299 memset(&req, 0, sizeof(req));
302 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.r));
303 req.n.nlmsg_type = action;
304 req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
305 req.n.nlmsg_pid = getpid();
308 req.r.ifa_family = ss.ss_family;
309 req
[all...]
/system/core/libion/
H A Dion.c49 static int ion_ioctl(int fd, int req, void *arg) argument
51 int ret = ioctl(fd, req, arg);
53 ALOGE("ioctl %x failed with code %d: %s\n", req,
/system/keymaster/
H A Dgoogle_keymaster_messages_test.cpp116 GenerateKeyRequest req; local
117 req.key_description.Reinitialize(params, array_length(params));
118 UniquePtr<GenerateKeyRequest> deserialized(round_trip(req, 78));
119 EXPECT_EQ(deserialized->key_description, req.key_description);
150 GetKeyCharacteristicsRequest req; local
151 req.additional_params.Reinitialize(params, array_length(params));
152 req.SetKeyMaterial("foo", 3);
154 UniquePtr<GetKeyCharacteristicsRequest> deserialized(round_trip(req, 85));
H A Dgoogle_keymaster_test.cpp198 GenerateKeyRequest req; local
199 req.key_description.Reinitialize(params, array_length(params));
202 device.GenerateKey(req, &rsp);
249 GenerateKeyRequest req; local
250 req.key_description.Reinitialize(params, array_length(params));
253 device.GenerateKey(req, &rsp);
308 GenerateKeyRequest req; local
309 req.key_description.Reinitialize(params, array_length(params));
312 device.GenerateKey(req, &rsp);
366 GetKeyCharacteristicsRequest req; local
[all...]

Completed in 209 milliseconds