Searched refs:ioctl_or_warn (Results 1 – 8 of 8) sorted by relevance
/dports/sysutils/busybox/busybox-1.26.2/miscutils/ |
H A D | hdparm.c | 1690 ioctl_or_warn(fd, HDIO_SCAN_HWIF, args); 1723 ioctl_or_warn(fd, BLKROSET, &readonly); 1754 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1761 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1766 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1772 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1780 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1786 ioctl_or_warn(fd, HDIO_DRIVE_CMD, &args); 1924 if (!ioctl_or_warn(fd, BLKROGET, &parm)) 1928 if (!ioctl_or_warn(fd, BLKRAGET, &parm)) [all …]
|
H A D | watchdog.c | 102 ioctl_or_warn(3, WDIOC_SETOPTIONS, (void*) &enable); in watchdog_main() 105 ioctl_or_warn(3, WDIOC_SETTIMEOUT, &htimer_duration); in watchdog_main() 109 ioctl_or_warn(3, WDIOC_GETTIMEOUT, &htimer_duration); in watchdog_main()
|
/dports/sysutils/busybox/busybox-1.26.2/networking/ |
H A D | slattach.c | 98 if (ioctl_or_warn(handle, TIOCSETD, &saved_disc) < 0) { in restore_state_and_exit() 131 if (ioctl_or_warn(handle, TIOCSETD, &disc) < 0) { in set_state() 136 if (ioctl_or_warn(handle, SIOCSIFENCAP, &encap) < 0) { in set_state()
|
H A D | interface.c | 520 if (ioctl_or_warn(skfd, SIOCGIFCONF, &ifc) < 0) { in if_readconf()
|
/dports/sysutils/busybox/busybox-1.26.2/networking/udhcp/ |
H A D | socket.c | 55 if (ioctl_or_warn(fd, SIOCGIFINDEX, ifr) != 0) { in udhcp_read_interface() 64 if (ioctl_or_warn(fd, SIOCGIFHWADDR, ifr) != 0) { in udhcp_read_interface()
|
/dports/sysutils/busybox/busybox-1.26.2/networking/libiproute/ |
H A D | iptunnel.c | 91 err = ioctl_or_warn(fd, SIOCGIFHWADDR, &ifr); in do_ioctl_get_iftype() 104 err = ioctl_or_warn(fd, SIOCGIFNAME, &ifr); in do_ioctl_get_ifname() 118 err = ioctl_or_warn(fd, SIOCGETTUNNEL, &ifr); in do_get_ioctl()
|
H A D | ipaddress.c | 89 if (ioctl_or_warn(s, SIOCGIFTXQLEN, &ifr) < 0) { in print_queuelen()
|
/dports/sysutils/busybox/busybox-1.26.2/include/ |
H A D | libbb.h | 1448 #define ioctl_or_warn(fd,request,argp) bb_ioctl_or_warn(fd,request,argp,#request) macro 1453 #define ioctl_or_warn(fd,request,argp) bb_ioctl_or_warn(fd,request,argp) macro
|