Searched refs:mfd (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc/src/ |
D | prof.c | 1345 int mfd; in prof_open_maps() local 1352 mfd = open(filename, O_RDONLY); in prof_open_maps() 1354 return (mfd); in prof_open_maps() 1361 int mfd; in prof_dump_maps() local 1365 mfd = prof_open_maps("/proc/curproc/map"); in prof_dump_maps() 1370 mfd = prof_open_maps("/proc/%d/task/%d/maps", pid, pid); in prof_dump_maps() 1371 if (mfd == -1) in prof_dump_maps() 1372 mfd = prof_open_maps("/proc/%d/maps", pid); in prof_dump_maps() 1375 if (mfd != -1) { in prof_dump_maps() 1394 nread = read(mfd, &prof_dump_buf[prof_dump_buf_end], in prof_dump_maps() [all …]
|
/external/ppp/pppd/ |
D | sys-linux.c | 1997 int mfd = -1; in ppp_registered() local 2008 if (!get_pty(&mfd, &local_fd, slave, 0)) { in ppp_registered() 2022 close(mfd); in ppp_registered() 2618 int i, mfd, sfd = -1; local 2626 mfd = open("/dev/ptmx", O_RDWR); 2627 if (mfd >= 0) { 2629 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { 2634 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) 2648 mfd = open(pty_name, O_RDWR, 0); 2649 if (mfd >= 0) { [all …]
|
D | sys-solaris.c | 2748 int mfd, sfd; local 2751 mfd = open("/dev/ptmx", O_RDWR); 2752 if (mfd < 0) { 2757 pty_name = ptsname(mfd); 2760 close(mfd); 2767 if (unlockpt(mfd) < 0) 2773 close(mfd); 2781 *master_fdp = mfd;
|