Home
last modified time | relevance | path

Searched refs:xioctl (Results 1 – 25 of 44) sorted by relevance

12

/busybox-1.35.0/util-linux/
Dfdformat.c82 xioctl(fd, FDGETPRM, &param); in fdformat_main()
90 xioctl(fd, FDFMTBEG, NULL); in fdformat_main()
96 xioctl(fd, FDFMTTRK, &descr); in fdformat_main()
100 xioctl(fd, FDFMTTRK, &descr); in fdformat_main()
104 xioctl(fd, FDFMTEND, NULL); in fdformat_main()
Drtcwake.c102 xioctl(fd, RTC_ALM_SET, &wake.time); in setup_alarm()
103 xioctl(fd, RTC_AIE_ON, 0); in setup_alarm()
107 xioctl(fd, RTC_WKALM_SET, &wake); in setup_alarm()
227 xioctl(fd, RTC_AIE_OFF, 0); in rtcwake_main()
Dfatattr.c89 xioctl(fd, FAT_IOCTL_GET_ATTRIBUTES, &attr); in fatattr_main()
92 xioctl(fd, FAT_IOCTL_SET_ATTRIBUTES, &attr); in fatattr_main()
Dfsfreeze.c49 xioctl(fd, (opts & 1) ? FIFREEZE : FITHAW, NULL); in fsfreeze_main()
Dblkdiscard.c73 xioctl(fd, BLKGETSIZE64, &length); in blkdiscard_main()
Dfstrim.c88 xioctl(fd, FITRIM, &range); in fstrim_main()
/busybox-1.35.0/miscutils/
Dflash_lock_unlock.c72 xioctl(fd, MEMGETINFO, &info); in flash_lock_unlock_main()
97 xioctl(fd, MEMLOCK, &lock); in flash_lock_unlock_main()
99 xioctl(fd, MEMUNLOCK, &lock); in flash_lock_unlock_main()
Dubi_tools.c183 xioctl(fd, UBI_IOCATT, &attach_req); in ubi_tools_main()
196 xioctl(fd, UBI_IOCDET, &dev_num); in ubi_tools_main()
250 xioctl(fd, UBI_IOCMKVOL, &mkvol_req); in ubi_tools_main()
271 xioctl(fd, UBI_IOCRMVOL, &t); in ubi_tools_main()
273 xioctl(fd, UBI_IOCRMVOL, &vol_id); in ubi_tools_main()
292 xioctl(fd, UBI_IOCRSVOL, &rsvol_req); in ubi_tools_main()
308 xioctl(fd, UBI_IOCVOLUP, &bytes64); in ubi_tools_main()
336 xioctl(fd, UBI_IOCVOLUP, &bytes64); in ubi_tools_main()
Dflash_eraseall.c94 xioctl(fd, MEMGETINFO, &meminfo); in flash_eraseall_main()
113 xioctl(fd, MEMGETOOBSEL, &oobinfo); in flash_eraseall_main()
181 xioctl(fd, MEMERASE, &erase); in flash_eraseall_main()
194 xioctl(fd, MEMWRITEOOB, &oob); in flash_eraseall_main()
Draidautorun.c36 xioctl(xopen(single_argv(argv), O_RDONLY), RAID_AUTORUN, NULL); in raidautorun_main()
Dnandwrite.c106 if (xioctl(fd, MEMGETBADBLOCK, &offs) == 0) in next_good_eraseblock()
151 xioctl(fd, MEMGETINFO, &meminfo); in nandwrite_main()
154 xioctl(fd, MTDFILEMODE, (void *)MTD_FILE_MODE_RAW); in nandwrite_main()
261 xioctl(fd, MEMREADOOB, &oob); in nandwrite_main()
Dbeep.c116 xioctl(speaker, KIOCSOUND, (void*)(uintptr_t)tickrate_div_freq); in beep_main()
Dubirename.c94 xioctl(xopen(ubi_devname, O_RDONLY), UBI_IOCRNVOL, rnvol); in ubirename_main()
/busybox-1.35.0/console-tools/
Dkbd_mode.c64 xioctl(fd, KDGKBMODE, &m); in kbd_mode_main()
88 xioctl(fd, KDSKBMODE, (void*)(ptrdiff_t)opt); in kbd_mode_main()
Dshowkey.c97 xioctl(STDIN_FILENO, KDGKBMODE, &kbmode); in showkey_main()
106xioctl(STDIN_FILENO, KDSKBMODE, (void *)(ptrdiff_t)((option_mask32 & OPT_k) ? K_MEDIUMRAW : K_RAW)… in showkey_main()
151 xioctl(STDIN_FILENO, KDSKBMODE, (void *)(ptrdiff_t)kbmode); in showkey_main()
Ddeallocvt.c43 xioctl(get_console_fd_or_die(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); in deallocvt_main()
Dfgconsole.c40 xioctl(get_console_fd_or_die(), VT_GETSTATE, &vtstat); in fgconsole_main()
Dsetlogcons.c62 xioctl(xopen(devname, O_RDONLY), TIOCLINUX, &arg); in setlogcons_main()
Dsetconsole.c62 xioctl(xopen(device, O_WRONLY), TIOCCONS, NULL); in setconsole_main()
Dopenvt.c161 xioctl(STDIN_FILENO, VT_GETSTATE, &vtstat); in openvt_main()
194 xioctl(STDIN_FILENO, VT_DISALLOCATE, (void*)(ptrdiff_t)vtno); in openvt_main()
Dloadfont.c159 xioctl(fd, KDFONTOP, &cfo); in do_loadfont()
263 xioctl(fd, PIO_UNIMAPCLR, &advice); in do_loadtable()
266 xioctl(fd, PIO_UNIMAP, &ud); in do_loadtable()
525 xioctl(fd, mode, map); in setfont_main()
/busybox-1.35.0/libbb/
Dget_console.c76 xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)vt_num); in console_make_active()
77 xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)vt_num); in console_make_active()
Drtc.c84 xioctl(fd, RTC_RD_TIME, ptm); in rtc_read_tm()
/busybox-1.35.0/networking/libiproute/
Diplink.c80 xioctl(fd, SIOCGIFFLAGS, &ifr); in do_chflags()
84 xioctl(fd, SIOCSIFFLAGS, &ifr); in do_chflags()
98 xioctl(fd, SIOCSIFNAME, &ifr); in do_changename()
112 xioctl(s, SIOCSIFTXQLEN, &ifr); in set_qlen()
126 xioctl(s, SIOCSIFMTU, &ifr); in set_mtu()
190 xioctl(s, SIOCGIFINDEX, &ifr); in get_address()
231 xioctl(s, SIOCSIFHWBROADCAST, ifr); in set_address()
233 xioctl(s, SIOCSIFHWADDR, ifr); in set_address()
/busybox-1.35.0/networking/
Difconfig.c459 xioctl(sockfd6, SIOCGIFINDEX, &ifr); in ifconfig_main()
503 xioctl(sockfd, SIOCGIFMAP, &ifr); in ifconfig_main()
543 xioctl(sockfd, SIOCGIFFLAGS, &ifr); in ifconfig_main()
549 xioctl(sockfd, SIOCSIFFLAGS, &ifr); in ifconfig_main()

12