Searched defs:req (Results 1 - 8 of 8) sorted by relevance

/system/core/libion/
H A Dion.c46 static int ion_ioctl(int fd, int req, void *arg) argument
48 int ret = ioctl(fd, req, arg);
50 ALOGE("ioctl %x failed with code %d: %s\n", req,
/system/core/adb/
H A Dfile_sync_service.h54 } req; member in union:__anon274
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...]
/system/core/fastboot/
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/framebuffer/
H A Dmdp_test.c177 struct mdp_blit_req *req; local
192 req = req_list->req;
295 req->src.width = src_imgw;
296 req->src.height = src_imgh;
297 req->src.format = src_fmt;
298 req->src.offset = 0;
299 req->src.memory_id = src_fd;
300 req->src_rect.x = srcx;
301 req
[all...]
/system/core/libusbhost/
H A Dusbhost.c564 struct usb_request *req = calloc(1, sizeof(struct usb_request)); local
565 if (!req) {
570 req->dev = dev;
571 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize);
572 req->private_data = urb;
573 req->endpoint = urb->endpoint;
574 urb->usercontext = req;
576 return req;
579 void usb_request_free(struct usb_request *req) argument
581 free(req
585 usb_request_queue(struct usb_request *req) argument
608 struct usb_request *req = NULL; local
631 usb_request_cancel(struct usb_request *req) argument
[all...]
/system/core/libnetutils/
H A Difc_utils.c260 } req; local
294 memset(&req, 0, sizeof(req));
297 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.r));
298 req.n.nlmsg_type = action;
299 req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
300 req.n.nlmsg_pid = getpid();
303 req.r.ifa_family = ss.ss_family;
304 req
[all...]
/system/core/sdcard/
H A Dsdcard.c54 * - don't forget that FORGET can forget multiple references (req->nlookup)
535 const struct fuse_in_header *hdr, const struct fuse_forget_in *req)
541 TRACE("[%d] FORGET #%lld @ %llx (%s)\n", handler->token, req->nlookup,
544 __u64 n = req->nlookup;
554 const struct fuse_in_header *hdr, const struct fuse_getattr_in *req)
562 req->getattr_flags, req->fh, hdr->nodeid, node ? node->name : "?");
572 const struct fuse_in_header *hdr, const struct fuse_setattr_in *req)
581 req->fh, req
534 handle_forget(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_forget_in *req) argument
553 handle_getattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_getattr_in *req) argument
571 handle_setattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_setattr_in *req) argument
629 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
655 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
729 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
801 handle_open(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument
835 handle_read(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument
861 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
911 handle_release(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument
922 handle_fsync(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_fsync_in* req) argument
945 handle_opendir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument
977 handle_readdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument
1006 handle_releasedir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument
1017 handle_init(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_init_in* req) argument
1045 const struct fuse_forget_in *req = data; local
1050 const struct fuse_getattr_in *req = data; local
1055 const struct fuse_setattr_in *req = data; local
1062 const struct fuse_mknod_in *req = data; local
1068 const struct fuse_mkdir_in *req = data; local
1084 const struct fuse_rename_in *req = data; local
1092 const struct fuse_open_in *req = data; local
1097 const struct fuse_read_in *req = data; local
1102 const struct fuse_write_in *req = data; local
1112 const struct fuse_release_in *req = data; local
1117 const struct fuse_fsync_in *req = data; local
1130 const struct fuse_open_in *req = data; local
1135 const struct fuse_read_in *req = data; local
1140 const struct fuse_release_in *req = data; local
1146 const struct fuse_init_in *req = data; local
[all...]

Completed in 113 milliseconds