Home
last modified time | relevance | path

Searched refs:fdstat (Results 1 – 3 of 3) sorted by relevance

/external/syslinux/com32/rosh/
Drosh.c557 struct stat fdstat; in rosh_ls_de_size() local
568 fstat(fd2, &fdstat); in rosh_ls_de_size()
570 de_size = (int)fdstat.st_size; in rosh_ls_de_size()
583 struct stat fdstat; in rosh_ls_de_size_mode() local
588 memset(&fdstat, 0, sizeof fdstat); in rosh_ls_de_size_mode()
603 status = stat(filestr2, &fdstat); in rosh_ls_de_size_mode()
610 de_size = (int)fdstat.st_size; in rosh_ls_de_size_mode()
611 *st_mode = fdstat.st_mode; in rosh_ls_de_size_mode()
618 long rosh_ls_d_ino(struct stat *fdstat) in rosh_ls_d_ino() argument
622 if (fdstat) in rosh_ls_d_ino()
[all …]
/external/libusb/libusb/os/
Dsunos_usb.c478 int fd, fdstat, mode; in sunos_check_device_and_status_open() local
533 if ((fdstat = open(statfilename, O_RDWR)) == -1) { in sunos_check_device_and_status_open()
537 count = write(fdstat, &control, sizeof (control)); in sunos_check_device_and_status_open()
542 (void) close(fdstat); in sunos_check_device_and_status_open()
547 close (fdstat); in sunos_check_device_and_status_open()
573 if ((fdstat = open(statfilename, O_RDONLY)) == -1) { in sunos_check_device_and_status_open()
582 hpriv->eps[ep_index].statfd = fdstat; in sunos_check_device_and_status_open()
583 usbi_dbg("ep=0x%02x datafd=%d, statfd=%d", ep_addr, fd, fdstat); in sunos_check_device_and_status_open()
/external/valgrind/coregrind/
Dvgdb.c153 struct stat fdstat; in map_vgdbshared() local
161 if (fstat(shared_mem_fd, &fdstat) != 0) in map_vgdbshared()
164 if (fdstat.st_size == sizeof(VgdbShared64)) in map_vgdbshared()
166 else if (fdstat.st_size == sizeof(VgdbShared32)) in map_vgdbshared()
175 (long int)fdstat.st_size); in map_vgdbshared()
182 fdstat.st_size); in map_vgdbshared()
193 *s = (void*) mmap (NULL, fdstat.st_size, in map_vgdbshared()