/haiku-fatelf/src/kits/network/ |
H A D | interfaces.cpp | 54 if (ioctl(socket.FD(), SIOCGIFINDEX, &request, sizeof(struct ifreq)) < 0) 70 if (ioctl(socket.FD(), SIOCGIFNAME, &request, sizeof(struct ifreq)) < 0) 89 if (ioctl(socket.FD(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0) 101 if (ioctl(socket.FD(), SIOCGIFCONF, &config, sizeof(struct ifconf)) < 0)
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | ioctl.c | 24 ioctl(int fd, ulong cmd, ...) function
|
H A D | ttyname.c | 41 if (ioctl(fd, B_GET_PATH_FOR_DEVICE, buffer, bufferSize) < 0)
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.c | 53 #include <sys/ioctl.h> 537 if (dev->d_ops->ioctl(dev, BLKGETSIZE64, &size) >= 0) { 548 if (dev->d_ops->ioctl(dev, BLKGETSIZE, &size) >= 0) { 558 if (dev->d_ops->ioctl(dev, FDGETPRM, &this_floppy) >= 0) { 571 if (dev->d_ops->ioctl(dev, DIOCGMEDIASIZE, &size) >= 0) { 586 if (sector_size >= 0 && dev->d_ops->ioctl(dev, 603 if (dev->d_ops->ioctl(dev, B_GET_PARTITION_INFO, &partitionInfo) == 0) 605 else if (dev->d_ops->ioctl(dev, B_GET_GEOMETRY, &geometry) == 0) { 615 * We couldn't figure it out by using a specialized ioctl, 642 * EOPNOTSUPP System does not support HDIO_GETGEO ioctl [all...] |
/haiku-fatelf/src/system/kernel/fs/ |
H A D | vfs_net_boot.cpp | 160 if (ioctl(fSocket, SIOCGIFINDEX, &request, sizeof(request)) < 0) { 171 if (ioctl(fSocket, SIOCAIFADDR, &aliasRequest, 180 if (ioctl(fSocket, SIOCGIFFLAGS, &request, sizeof(request)) < 0) { 190 if (ioctl(fSocket, SIOCSIFFLAGS, &request, sizeof(request)) < 0) { 198 if (ioctl(fLinkSocket, SIOCGIFADDR, &request, sizeof(request)) < 0) { 238 if (ioctl(fSocket, SIOCSIFADDR, &request, sizeof(request)) < 0) { 246 if (ioctl(fSocket, SIOCSIFNETMASK, &request, sizeof(request)) < 0) { 254 if (ioctl(fSocket, SIOCSIFBRDADDR, &request, sizeof(request)) < 0) { 264 if (ioctl(fSocket, SIOCSIFFLAGS, &request, sizeof(request)) < 0) { 277 ioctl(fSocke [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDeviceEngine.cpp | 93 if (ioctl(fFD, SNDCTL_DSP_COOKEDMODE, &v, sizeof(int)) < 0) { 104 if (ioctl(fFD, SNDCTL_DSP_SETFRAGMENT, &v, sizeof(int)) < 0) { 162 if (ioctl(fFD, SNDCTL_ENGINEINFO, &fAudioInfo, sizeof(oss_audioinfo)) < 0) 196 if (ioctl(fFD, SNDCTL_DSP_CHANNELS, &chans, sizeof(int)) < 0) { 207 if (ioctl(fFD, SNDCTL_DSP_CHANNELS, &chans, sizeof(int)) < 0) { 221 if (ioctl(fFD, SNDCTL_DSP_GETFMTS, &fmt, sizeof(int)) < 0) { 232 if (ioctl(fFD, SNDCTL_DSP_SETFMT, &fmt, sizeof(int)) < 0) { 245 if (ioctl(fFD, SNDCTL_DSP_SPEED, &speed, sizeof(int)) < 0) { 256 if (ioctl(fFD, SNDCTL_DSP_SPEED, &speed, sizeof(int)) < 0) { 275 if (ioctl(fF [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/netfs_config/ |
H A D | netfs_config.cpp | 42 if (ioctl(fd, NET_FS_IOCTL_ADD_SERVER, ¶ms) < 0) 56 if (ioctl(fd, NET_FS_IOCTL_REMOVE_SERVER, ¶ms) < 0) 97 // do the ioctl
|
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | input_avail.c | 52 # include <sys/ioctl.h> 98 result = ioctl (fd, FIONREAD, &chars_avail);
|
H A D | shtty.c | 45 return ioctl(fd, TCGETA, ttp); 47 return ioctl(fd, TIOCGETP, ttp); 61 return ioctl(fd, TCSETAW, ttp); 63 return ioctl(fd, TIOCSETN, ttp);
|
/haiku-fatelf/src/libs/bsd/ |
H A D | pty.cpp | 34 && ioctl(master, TIOCSWINSZ, windowSize, sizeof(winsize)) != 0)) { 55 if (ioctl(fd, TIOCSCTTY, NULL) != 0)
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/netfs_config/ |
H A D | netfs_config.cpp | 40 if (ioctl(fd, NET_FS_IOCTL_ADD_SERVER, ¶ms) < 0) 54 if (ioctl(fd, NET_FS_IOCTL_REMOVE_SERVER, ¶ms) < 0) 95 // do the ioctl
|
/haiku-fatelf/src/apps/powerstatus/ |
H A D | ACPIDriverInterface.cpp | 83 status = ioctl(fDriverHandler, GET_BATTERY_INFO, &fCachedAcpiInfo, 115 status = ioctl(fDriverHandler, GET_EXTENDED_BATTERY_INFO, info, 126 fInitStatus = ioctl(fDriverHandler, IDENTIFY_DEVICE, &magicId, 131 fInitStatus = ioctl(fDriverHandler, GET_EXTENDED_BATTERY_INFO, 136 fInitStatus = ioctl(fDriverHandler, GET_BATTERY_INFO, &fCachedAcpiInfo,
|
/haiku-fatelf/src/bin/bash/lib/readline/ |
H A D | rltty.c | 41 # include <sys/ioctl.h> 83 if (ioctl (tty, TIOCGWINSZ, &w) == 0) 84 (void) ioctl (tty, TIOCSWINSZ, &w); 174 if (ioctl (tty, TIOCGETP, &(tiop->sgttyb)) < 0) 179 if (ioctl (tty, TIOCLGET, &(tiop->lflag)) == 0) 184 if (ioctl (tty, TIOCGETC, &(tiop->tchars)) == 0) 189 if (ioctl (tty, TIOCGLTC, &(tiop->ltchars)) == 0) 203 ioctl (tty, TIOCSETN, &(tiop->sgttyb)); 211 ioctl (tty, TIOCLSET, &(tiop->lflag)); 219 ioctl (tt [all...] |
/haiku-fatelf/src/bin/gdb/readline/ |
H A D | rltty.c | 41 # include <sys/ioctl.h> 150 if (ioctl (tty, TIOCGWINSZ, &w) == 0) 151 (void) ioctl (tty, TIOCSWINSZ, &w); 236 if (ioctl (tty, TIOCGETP, &(tiop->sgttyb)) < 0) 241 if (ioctl (tty, TIOCLGET, &(tiop->lflag)) == 0) 246 if (ioctl (tty, TIOCGETC, &(tiop->tchars)) == 0) 251 if (ioctl (tty, TIOCGLTC, &(tiop->ltchars)) == 0) 265 ioctl (tty, TIOCSETN, &(tiop->sgttyb)); 273 ioctl (tty, TIOCLSET, &(tiop->lflag)); 281 ioctl (tt [all...] |
/haiku-fatelf/src/bin/network/telnet/ |
H A D | sys_bsd.c | 85 # define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t) 90 # define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t) 94 # define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t) 97 # define tcsetattr(f, a, t) ioctl(f, a, (char *)t) 156 ioctl(0, TIOCLGET, (char *)&flush); 225 (void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0); 227 (void) ioctl(fileno(stdout), TCFLSH, (char *) 0); 235 ioctl(0, TIOCGETP, (char *)&ottyb); 236 ioctl(0, TIOCGETC, (char *)&otc); 237 ioctl( [all...] |
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | pcap-bpf.c | 35 #include <sys/ioctl.h> 129 if (ioctl(p->fd, BIOCGSTATS, (caddr_t)&s) < 0) { 348 if (ioctl(p->fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) { 624 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) { 645 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) || v < 32768) 653 (void) ioctl(fd, BIOCSBLEN, (caddr_t)&v); 656 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) >= 0) 673 if (ioctl(fd, BIOCGDLT, (caddr_t)&v) < 0) { 745 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) == 0) { 756 if (ioctl(f [all...] |
H A D | fad-gifc.c | 46 #include <sys/ioctl.h> 108 * There is no ioctl that returns the amount of space required for all 212 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) { 317 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 380 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) { 401 if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifrnetmask) < 0) { 431 if (ioctl(fd, SIOCGIFBRDADDR, 470 if (ioctl(fd, SIOCGIFDSTADDR,
|
H A D | fad-glifc.c | 46 #include <sys/ioctl.h> 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { 216 if (ioctl(fd, SIOCGLIFFLAGS, (char *)&ifrflags) < 0) { 237 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) { 264 if (ioctl(fd, SIOCGLIFBRDADDR, 299 if (ioctl(fd, SIOCGLIFDSTADDR,
|
H A D | pcap-snit.c | 41 #include <sys/ioctl.h> 244 if (ioctl(fd, I_STR, (char *)&si) < 0) { 256 if (ioctl(fd, I_STR, (char *)&si) < 0) { 268 struct strioctl si; /* struct for ioctl() */ 312 if (ioctl(fd, I_SRDOPT, (char *)RMSGD) < 0) { 317 if (ioctl(fd, I_PUSH, "nbuf") < 0) { 327 if (ioctl(fd, I_STR, (char *)&si) < 0) { 339 if (ioctl(fd, I_STR, (char *)&si) < 0) { 349 if (ioctl(fd, I_STR, (char *)&si) < 0) { 358 (void)ioctl(f [all...] |
/haiku-fatelf/src/kits/device/ |
H A D | SerialPort.cpp | 368 status_t status = ioctl(ffd, TCSETDTR, &asserted); 378 status_t status = ioctl(ffd, TCSETRTS, &asserted); 409 unsigned int bits = ioctl(ffd, TCGETBITS, 0); 424 unsigned int bits = ioctl(ffd, TCGETBITS, 0); 439 unsigned int bits = ioctl(ffd, TCGETBITS, 0); 454 unsigned int bits = ioctl(ffd, TCGETBITS, 0); 473 int err = ioctl(ffd, TCWAITEVENT, &size, sizeof size);
|
/haiku-fatelf/src/add-ons/accelerants/et6x00/ |
H A D | InitAccelerant.c | 14 #include <sys/ioctl.h> 30 result = ioctl(fd, ET6000_GET_PRIVATE_DATA, &gpd, sizeof(gpd)); 155 result = ioctl(fd, ET6000_DEVICE_NAME, &dn, sizeof(dn));
|
/haiku-fatelf/src/libs/util/ |
H A D | pty.c | 44 #include <sys/ioctl.h> 93 ioctl(slave, TIOCSWINSZ, (char *)winp); 136 (void) ioctl(slave, TIOCSWINSZ,
|
/haiku-fatelf/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBCard.cpp | 30 #include <sys/ioctl.h> 149 if (ioctl(fDev, DVB_SET_TUNING_PARAMETERS, (void *)(¶m)) < 0) { 269 if (ioctl(fDev, DVB_CAPTURE, &cap) < 0) 286 res = ioctl(fDev, op, arg); 290 if (i != 0) printf("ioctl %lx repeated %d times\n", op, i);
|
/haiku-fatelf/src/bin/ |
H A D | idestatus.c | 68 if (ioctl(fd, IDE_GET_STATUS, &st, sizeof(ide_status_t *)) < 0) {
|
/haiku-fatelf/src/bin/network/traceroute/ |
H A D | findsaddr-generic.c | 40 #include <sys/ioctl.h>
|