/external/quake/quake/src/QW/client/ |
D | snd_linux.c | 41 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in SNDDMA_Init() 50 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1) in SNDDMA_Init() 65 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1) in SNDDMA_Init() 84 ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &fmt); in SNDDMA_Init() 96 if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, &tryrates[i])) break; in SNDDMA_Init() 126 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); in SNDDMA_Init() 139 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); in SNDDMA_Init() 151 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 163 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 183 rc = ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &tmp); in SNDDMA_Init() [all …]
|
D | cd_linux.c | 57 if ( ioctl(cdfile, CDROMEJECT) == -1 ) in CDAudio_Eject() 67 if ( ioctl(cdfile, CDROMCLOSETRAY) == -1 ) in CDAudio_CloseDoor() 77 if ( ioctl(cdfile, CDROMREADTOCHDR, &tochdr) == -1 ) in CDAudio_GetAudioDiskInfo() 122 if ( ioctl(cdfile, CDROMREADTOCENTRY, &entry) == -1 ) in CDAudio_Play() 145 if ( ioctl(cdfile, CDROMPLAYTRKIND, &ti) == -1 ) in CDAudio_Play() 151 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Play() 171 if ( ioctl(cdfile, CDROMSTOP) == -1 ) in CDAudio_Stop() 186 if ( ioctl(cdfile, CDROMPAUSE) == -1 ) in CDAudio_Pause() 205 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Resume() 355 if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) { in CDAudio_Update()
|
/external/quake/quake/src/WinQuake/ |
D | snd_linux.cpp | 60 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in SNDDMA_Init() 69 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1) in SNDDMA_Init() 84 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1) in SNDDMA_Init() 103 ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &fmt); in SNDDMA_Init() 115 if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, &tryrates[i])) break; in SNDDMA_Init() 145 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); in SNDDMA_Init() 158 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); in SNDDMA_Init() 170 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 182 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 202 rc = ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &tmp); in SNDDMA_Init() [all …]
|
D | cd_linux.cpp | 57 if ( ioctl(cdfile, CDROMEJECT) == -1 ) in CDAudio_Eject() 67 if ( ioctl(cdfile, CDROMCLOSETRAY) == -1 ) in CDAudio_CloseDoor() 77 if ( ioctl(cdfile, CDROMREADTOCHDR, &tochdr) == -1 ) in CDAudio_GetAudioDiskInfo() 122 if ( ioctl(cdfile, CDROMREADTOCENTRY, &entry) == -1 ) in CDAudio_Play() 145 if ( ioctl(cdfile, CDROMPLAYTRKIND, &ti) == -1 ) in CDAudio_Play() 151 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Play() 171 if ( ioctl(cdfile, CDROMSTOP) == -1 ) in CDAudio_Stop() 186 if ( ioctl(cdfile, CDROMPAUSE) == -1 ) in CDAudio_Pause() 205 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Resume() 355 if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) { in CDAudio_Update()
|
D | snd_sun.cpp | 76 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_Init() 102 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) { in SNDDMA_Init() 107 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) { in SNDDMA_Init() 137 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_GetDMAPos() 153 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_GetSamples()
|
/external/ppp/pppd/ |
D | sys-linux.c | 291 if (ioctl(fd, PPPIOCGFLAGS, &flags) == -1) in modify_flags() 294 if (ioctl(fd, PPPIOCSFLAGS, &flags) == -1) in modify_flags() 383 if (ioctl(ppp_dev_fd, PPPIOCSDEBUG, &requested_level) < 0) { in set_kdebugflag() 403 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) { in tty_establish_ppp() 411 && ioctl(slave_fd, PPPIOCXFERUNIT, 0) < 0) { in tty_establish_ppp() 423 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) { in tty_establish_ppp() 440 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno)) in tty_establish_ppp() 459 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) { in generic_establish_ppp() 470 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) { in generic_establish_ppp() 494 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { in generic_establish_ppp() [all …]
|
D | sys-solaris.c | 278 return (int)ioctl(fd, IF_UNITSEL, (char *)&ppa); 310 if (ioctl(fd, SIOCGLIFNUM, &lifn) < 0) { in get_first_ethernet() 332 if (ioctl(fd, SIOCGLIFCONF, &lifc) < 0) { in get_first_ethernet() 352 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) < 0) { in get_first_ethernet() 401 if (ioctl(fd, SIOCGIFNUM, (char *)&num_ifs) < 0) { in get_first_ethernet() 418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { in get_first_ethernet() 438 if (ioctl(fd, SIOCGIFFLAGS, &ifr) < 0) { in get_first_ethernet() 507 ret = ioctl(fd, SIOCGLIFFLAGS, &lifr); 516 ret = ioctl(fd, SIOCSLIFNAME, &lifr); 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { in sys_init() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
D | SDL_dmaaudio.c | 83 if ( (ioctl(fd, SNDCTL_DSP_GETCAPS, &caps) == 0) && in Audio_Available() 85 (ioctl(fd, SNDCTL_DSP_GETOSPACE, &info) == 0) ) { in Audio_Available() 222 if ( ioctl(audio_fd, SNDCTL_DSP_GETOPTR, &info) < 0 ) { in DMA_GetAudioBuf() 275 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DMA_ReopenAudio() 282 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DMA_ReopenAudio() 290 if ( (ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo) < 0) || in DMA_ReopenAudio() 298 if ( ioctl(audio_fd, SNDCTL_DSP_SPEED, &value) < 0 ) { in DMA_ReopenAudio() 327 ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in DMA_OpenAudio() 330 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 ) { in DMA_OpenAudio() 389 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DMA_OpenAudio() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 34 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { in linux_set_iface_flags() 50 if (ioctl(sock, SIOCSIFFLAGS, &ifr) != 0) { in linux_set_iface_flags() 66 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { in linux_get_ifhwaddr() 92 if (ioctl(sock, SIOCSIFHWADDR, &ifr)) { in linux_set_ifhwaddr() 118 if (ioctl(sock, SIOCBRADDBR, brname) < 0) { in linux_br_add() 130 if (ioctl(sock, SIOCBRDELBR, brname) < 0) { in linux_br_del() 152 if (ioctl(sock, SIOCBRADDIF, &ifr) < 0) { in linux_br_add_if() 174 if (ioctl(sock, SIOCBRDELIF, &ifr) < 0) { in linux_br_del_if()
|
/external/libpcap/ |
D | pcap-bpf.c | 129 if (ioctl(p->fd, BIOCGSTATS, (caddr_t)&s) < 0) { in pcap_stats_bpf() 348 if (ioctl(p->fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) { in pcap_inject_bpf() 635 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) { in pcap_open_live() 656 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) || v < 32768) in pcap_open_live() 664 (void) ioctl(fd, BIOCSBLEN, (caddr_t)&v); in pcap_open_live() 667 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) >= 0) in pcap_open_live() 684 if (ioctl(fd, BIOCGDLT, (caddr_t)&v) < 0) { in pcap_open_live() 756 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) == 0) { in pcap_open_live() 767 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) < 0) { in pcap_open_live() 849 if (ioctl(fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) { in pcap_open_live() [all …]
|
D | pcap-enet.c | 132 if (ioctl(fd, EIOSTATS, &es) == -1) { in wrapup() 174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) { in initdevice() 190 if (ioctl(if_fd, EIOCSETP, &ctl) == -1) { in initdevice() 199 if (ioctl(if_fd, EIOCFLUSH) == -1) { in initdevice() 207 if (ioctl(if_fd, EIOCSETW, &maxwaiting) == -1) { in initdevice() 215 if (ioctl(if_fd, EIOCLRSTAT, 0) == -1) { in initdevice() 225 if (ioctl(if_fd, EIOCSETF, &filter) == -1) { in initdevice()
|
D | pcap-snit.c | 244 if (ioctl(fd, I_STR, (char *)&si) < 0) { in nit_setflags() 256 if (ioctl(fd, I_STR, (char *)&si) < 0) { in nit_setflags() 312 if (ioctl(fd, I_SRDOPT, (char *)RMSGD) < 0) { in pcap_open_live() 317 if (ioctl(fd, I_PUSH, "nbuf") < 0) { in pcap_open_live() 327 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 339 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 349 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 358 (void)ioctl(fd, I_FLUSH, (char *)FLUSHR); in pcap_open_live()
|
D | pcap-pf.c | 344 if (ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode) < 0) { in pcap_open_live() 352 (void)ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode);/* OK if this fails */ in pcap_open_live() 355 if (ioctl(p->fd, EIOCSETW, (caddr_t)&backlog) < 0) { in pcap_open_live() 361 if (ioctl(p->fd, EIOCDEVP, (caddr_t)&devparams) < 0) { in pcap_open_live() 458 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&snaplen) < 0) { in pcap_open_live() 468 if (ioctl(p->fd, EIOCSETF, (caddr_t)&Filter) < 0) { in pcap_open_live() 478 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) { in pcap_open_live() 539 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { in pcap_setfilter_pf() 550 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) { in pcap_setfilter_pf()
|
D | fad-glifc.c | 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs() 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcap_findalldevs() 216 if (ioctl(fd, SIOCGLIFFLAGS, (char *)&ifrflags) < 0) { in pcap_findalldevs() 237 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) { in pcap_findalldevs() 264 if (ioctl(fd, SIOCGLIFBRDADDR, in pcap_findalldevs() 299 if (ioctl(fd, SIOCGLIFDSTADDR, in pcap_findalldevs()
|
/external/iproute2/ip/ |
D | tunnel.c | 74 err = ioctl(fd, SIOCGIFINDEX, &ifr); in tnl_ioctl_get_ifindex() 91 err = ioctl(fd, SIOCGIFHWADDR, &ifr); in tnl_ioctl_get_iftype() 109 err = ioctl(fd, SIOCGIFNAME, &ifr); in tnl_ioctl_get_ifname() 127 err = ioctl(fd, SIOCGETTUNNEL, &ifr); in tnl_get_ioctl() 146 err = ioctl(fd, cmd, &ifr); in tnl_add_ioctl() 165 err = ioctl(fd, SIOCDELTUNNEL, &ifr); in tnl_del_ioctl() 181 err = ioctl(fd, cmd, &ifr); in tnl_gen_ioctl()
|
/external/e2fsprogs/lib/blkid/ |
D | getsize.c | 96 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in blkid_get_dev_size() 112 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size() 121 if (ioctl(fd, BLKGETSIZE, &size) >= 0) in blkid_get_dev_size() 127 if (ioctl(fd, DIOCGMEDIASIZE, &size64) >= 0) in blkid_get_dev_size() 132 if (ioctl(fd, FDGETPRM, &this_floppy) >= 0) in blkid_get_dev_size() 147 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in blkid_get_dev_size()
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
D | SDL_fbevents.c | 89 if ( ioctl(fd, KDGKBENT, &entry) == 0 ) { in FB_vgainitkeymaps() 166 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 0 ) { in FB_EnterGraphicsMode() 169 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in FB_EnterGraphicsMode() 170 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in FB_EnterGraphicsMode() 183 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) { in FB_EnterGraphicsMode() 202 if ( ioctl(keyboard_fd, KDSKBMODE, K_MEDIUMRAW) < 0 ) { in FB_EnterGraphicsMode() 207 if ( ioctl(keyboard_fd, KDSETMODE, KD_GRAPHICS) < 0 ) { in FB_EnterGraphicsMode() 213 ioctl(keyboard_fd, VT_LOCKSWITCH, 1); in FB_EnterGraphicsMode() 221 ioctl(keyboard_fd, KDSETMODE, KD_TEXT); in FB_LeaveGraphicsMode() 222 ioctl(keyboard_fd, KDSKBMODE, saved_kbd_mode); in FB_LeaveGraphicsMode() [all …]
|
/external/bluetooth/bluez/network/ |
D | common.c | 133 if (ioctl(ctl, BNEPCONNDEL, &req)) { in bnep_kill_connection() 152 if (ioctl(ctl, BNEPGETCONNLIST, &req)) { in bnep_kill_all_connections() 165 ioctl(ctl, BNEPCONNDEL, &del); in bnep_kill_all_connections() 179 if (ioctl(ctl, BNEPCONNADD, &req) < 0) { in bnep_connadd() 203 err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); in bnep_if_up() 228 err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); in bnep_if_down() 257 err = ioctl(sk, SIOCBRADDIF, &ifr); in bnep_add_to_bridge()
|
/external/openssl/crypto/evp/ |
D | openbsd_hw.c | 105 if (ioctl(cryptodev_fd,CRIOGET,&fd) == -1) 122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1) 145 if (ioctl(fd,CIOCGSESSION,CDATA(ctx)) == -1) 180 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 206 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 292 if (ioctl(fd,CIOCGSESSION,&md_data->sess) == -1) 302 if (ioctl(fd,CIOCFSESSION,&md_data->sess.ses) == -1) 340 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 351 if(ioctl(fd, CIOCCRYPT, &cryp) == -1)
|
/external/tinyalsa/ |
D | mixer.c | 104 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in mixer_open() 124 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in mixer_open() 130 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, ei) < 0) in mixer_open() 143 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, &tmp) < 0) in mixer_open() 295 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_value() 326 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_set_value() 347 return ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_WRITE, &ev); in mixer_ctl_set_value() 360 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_range_min() 377 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_range_max() 404 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_enum_string() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/ |
D | SDL_dspaudio.c | 200 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 ) { in DSP_OpenAudio() 268 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DSP_OpenAudio() 278 if ( ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &value) < 0 ) { in DSP_OpenAudio() 288 if ( ioctl(audio_fd, SNDCTL_DSP_SPEED, &value) < 0 ) { in DSP_OpenAudio() 313 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DSP_OpenAudio() 318 ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info); in DSP_OpenAudio()
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsize.c | 171 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in ext2fs_get_device_size2() 185 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2() 192 if (ioctl(fd, BLKGETSIZE, &size) >= 0) { in ext2fs_get_device_size2() 199 if (ioctl(fd, FDGETPRM, &this_floppy) >= 0) { in ext2fs_get_device_size2() 210 if (ioctl(fd, DIOCGMEDIASIZE, &ms) >= 0) { in ext2fs_get_device_size2() 227 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in ext2fs_get_device_size2()
|
/external/bluetooth/bluez/compat/ |
D | fakehid.c | 114 ioctl(fd, UI_SET_EVBIT, EV_REL); in uinput_create() 117 ioctl(fd, UI_SET_RELBIT, aux); in uinput_create() 121 ioctl(fd, UI_SET_EVBIT, EV_KEY); in uinput_create() 122 ioctl(fd, UI_SET_EVBIT, EV_LED); in uinput_create() 123 ioctl(fd, UI_SET_EVBIT, EV_REP); in uinput_create() 126 ioctl(fd, UI_SET_KEYBIT, aux); in uinput_create() 134 ioctl(fd, UI_SET_EVBIT, EV_KEY); in uinput_create() 137 ioctl(fd, UI_SET_KEYBIT, aux); in uinput_create() 140 ioctl(fd, UI_DEV_CREATE); in uinput_create() 347 ioctl(fd, UI_DEV_DESTROY); in epox_presenter() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/ |
D | SDL_syscdrom.c | 87 if ( ioctl(cdfd, SCSI_GET_INQUIRY_DATA, &msp) ) in CheckDrive() 251 if ( ioctl(cdrom->id, CDROM_TOC_HEADER, &hdr) ) { in SDL_SYS_CDGetTOC() 276 if (ioctl(cdrom->id, CDROM_TOC_ENTRYS, &toc)) { in SDL_SYS_CDGetTOC() 332 if ( ioctl(cdrom->id, CDROM_READ_SUBCHANNEL, &sc) ) { in SDL_SYS_CDStatus() 399 return(ioctl(cdrom->id, CDROM_PLAY_AUDIO_MSF, &msf)); in SDL_SYS_CDPlay() 405 return(ioctl(cdrom->id, CDROM_PAUSE_PLAY)); in SDL_SYS_CDPause() 411 return(ioctl(cdrom->id, CDROM_RESUME_PLAY)); in SDL_SYS_CDResume() 417 return(ioctl(cdrom->id, SCSI_STOP_UNIT)); in SDL_SYS_CDStop() 423 return(ioctl(cdrom->id, CDROM_EJECT_CADDY)); in SDL_SYS_CDEject()
|
/external/dhcpcd/ |
D | bpf.c | 80 if (ioctl(fd, BIOCVERSION, &pv) == -1) in open_socket() 90 if (ioctl(fd, BIOCSETIF, &ifr) == -1) in open_socket() 94 if (ioctl(fd, BIOCGBLEN, &buf_len) == -1) in open_socket() 105 if (ioctl(fd, BIOCIMMEDIATE, &flags) == -1) in open_socket() 119 if (ioctl(fd, BIOCSETF, &pf) == -1) in open_socket()
|