Home
last modified time | relevance | path

Searched refs:stat_fd (Results 1 – 5 of 5) sorted by relevance

/external/openssh/openbsd-compat/
Dport-solaris.c49 int stat_fd; in get_active_process_contract_id() local
53 if ((stat_fd = open64(CT_LATEST, O_RDONLY)) == -1) { in get_active_process_contract_id()
58 if (ct_status_read(stat_fd, CTD_COMMON, &stathdl) != 0) { in get_active_process_contract_id()
71 close(stat_fd); in get_active_process_contract_id()
144 int r, ctl_fd = -1, stat_fd = -1; in solaris_contract_post_fork_parent() local
192 if (stat_fd != -1) in solaris_contract_post_fork_parent()
193 close(stat_fd); in solaris_contract_post_fork_parent()
/external/vboot_reference/host/lib/
Dfile_keys.c23 struct stat stat_fd; in BufferFromFile() local
31 if (-1 == fstat(fd, &stat_fd)) { in BufferFromFile()
35 *len = stat_fd.st_size; in BufferFromFile()
/external/perfetto/src/base/
Dwatchdog_posix.cc148 base::ScopedFile stat_fd(base::OpenFile("/proc/self/stat", O_RDONLY)); in ThreadMain() local
149 if (!stat_fd) { in ThreadMain()
161 lseek(stat_fd.get(), 0, SEEK_SET); in ThreadMain()
164 if (!ReadProcStat(stat_fd.get(), &stat)) { in ThreadMain()
/external/perfetto/tools/cpu_utilization/
Dcpu_utilization.cc51 void ReadUtimeStime(const base::ScopedFile& stat_fd, in ReadUtimeStime() argument
55 lseek(stat_fd.get(), 0, SEEK_SET); in ReadUtimeStime()
56 PERFETTO_CHECK(read(stat_fd.get(), buf, sizeof(buf)) > 0); in ReadUtimeStime()
/external/libusb/libusb/os/
Dsunos_usb.c875 usb_do_io(int fd, int stat_fd, char *data, size_t size, int flag, int *status) in usb_do_io() argument
881 fd, stat_fd, size, flag? "WRITE":"READ"); in usb_do_io()
905 error = sunos_usb_get_status(stat_fd); in usb_do_io()