Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 30) sorted by relevance

12

/bionic/libc/include/bits/
Dtermios_inlines.h91 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
95 return ioctl(fd, TCXONC, __BIONIC_CAST(static_cast, unsigned long, action)); in tcflow()
99 return ioctl(fd, TCFLSH, __BIONIC_CAST(static_cast, unsigned long, queue)); in tcflush()
103 return ioctl(fd, TCGETS, s); in tcgetattr()
108 return (ioctl(fd, TIOCGSID, &sid) == -1) ? -1 : sid; in tcgetsid()
112 return ioctl(fd, TCSBRKP, __BIONIC_CAST(static_cast, unsigned long, duration)); in tcsendbreak()
123 return ioctl(fd, cmd, s); in tcsetattr()
Dioctl.h43 int ioctl(int __fd, int __request, ...);
60 int ioctl(int __fd, unsigned __request, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
/bionic/tests/
Dsys_ioctl_diag_test.cpp30 ioctl(i, i); in check_no_signedness_warnings()
31 ioctl(i, x); in check_no_signedness_warnings()
33 ioctl(i, i, nullptr); in check_no_signedness_warnings()
34 ioctl(i, x, nullptr); in check_no_signedness_warnings()
Difaddrs_test.cpp125 ASSERT_EQ(0, ioctl(fd, SIOCGIFFLAGS, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
129 ASSERT_EQ(0, ioctl(fd, request, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
Dpty_test.cpp44 ASSERT_EQ(0, ioctl(slave, TIOCGWINSZ, &w_actual)); in TEST()
/bionic/libc/bionic/
Dpty.cpp68 if (ioctl(fd, TIOCGPTN, &pty_num) != 0) { in ptsname_r()
112 return ioctl(fd, TIOCSPTLCK, &unlock); in unlockpt()
145 ioctl(*slave, TIOCSWINSZ, ws); in openpty()
184 if (ioctl(fd, TIOCSCTTY, nullptr) == -1) { in login_tty()
Dtermios.cpp40 return (ioctl(fd, TIOCGPGRP, &pid) == -1) ? -1 : pid; in tcgetpgrp()
45 return ioctl(fd, TIOCSPGRP, &pid); in tcsetpgrp()
Dnet_if.cpp52 return (ioctl(s.get(), SIOCGIFNAME, &ifr) == -1) ? nullptr in if_indextoname()
63 return (ioctl(s.get(), SIOCGIFINDEX, &ifr) == -1) ? 0 : ifr.ifr_ifindex; in if_nametoindex()
Dioctl.cpp34 int ioctl(int fd, int request, ...) { in ioctl() function
Difaddrs.cpp293 if (ioctl(s.get(), SIOCGIFFLAGS, &ifr) != -1) { in get_interface_flags_via_ioctl()
/bionic/libc/
DSECCOMP_PRIORITY.TXT10 ioctl
DSYSCALLS.TXT122 int __ioctl:ioctl(int, int, void*) all
Dlibc.map.txt524 ioctl;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_121.S59 CALL(ioctl)
Dliblinker_reloc_bench_023.S233 CALL(ioctl)
Dliblinker_reloc_bench_027.S310 CALL(ioctl)
Dliblinker_reloc_bench_024.S324 CALL(ioctl)
Dliblinker_reloc_bench_144.S220 CALL(ioctl)
Dliblinker_reloc_bench_033.S607 CALL(ioctl)
Dliblinker_reloc_bench_006.S705 CALL(ioctl)
Dliblinker_reloc_bench_070.S2354 DATA_WORD(ioctl)
Dliblinker_reloc_bench_012.S1870 CALL(ioctl)
Dliblinker_reloc_bench_123.S2731 CALL(ioctl)
/bionic/libc/tools/
Dposix-2013.txt416 ioctl
/bionic/tools/versioner/platforms/
Dlibc.map.txt524 ioctl;

12