Home
last modified time | relevance | path

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

12345678910>>...37

/freebsd-12-stable/sbin/sconfig/
Dsconfig.c173 if (ioctl (s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0) { in ppp_ok()
195 if (ioctl (p, TIOCSETD, &ppp_disc) < 0) { in ppp_ok()
244 if (ioctl (fd, TIOCMGET, &status) < 0) { in print_modems()
270 if (ioctl (fd, SERIAL_GETPROTO, &protocol) >= 0 && in print_ifconfig()
311 if (ioctl (fd, SERIAL_GETSTAT, &st) < 0) { in print_stats()
353 if (ioctl (fd, SERIAL_CLRSTAT, 0) < 0) { in clear_stats()
425 if (ioctl (fd, SERIAL_GETESTAT, &st) < 0) in print_e1_stats()
545 if (ioctl (fd, SERIAL_GETE3STAT, &st) < 0 || in print_e3_stats()
546 ioctl (fd, SERIAL_GETBAUD, &baud) < 0) in print_e3_stats()
597 protocol_valid = ioctl (fd, SERIAL_GETPROTO, &protocol) >= 0; in print_chan()
[all …]
/freebsd-12-stable/tests/sys/netpfil/pf/ioctl/
Dvalidation.c88 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) in ATF_TC_BODY()
93 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) in ATF_TC_BODY()
99 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) in ATF_TC_BODY()
108 ioctl(dev, DIOCRADDTABLES, &io); in ATF_TC_BODY()
139 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) in ATF_TC_BODY()
144 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) in ATF_TC_BODY()
150 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) in ATF_TC_BODY()
183 if (ioctl(dev, DIOCRGETTABLES, &io) != 0) in ATF_TC_BODY()
188 if (ioctl(dev, DIOCRGETTABLES, &io) != 0) in ATF_TC_BODY()
221 if (ioctl(dev, DIOCRGETTSTATS, &io) != 0) in ATF_TC_BODY()
[all …]
/freebsd-12-stable/tools/regression/audit/audit_pipe_ioctl/
Daudit_pipe_ioctl.c61 if (ioctl(fd, AUDITPIPE_GET_QLEN, &len) < 0) in main()
67 if (ioctl(fd, AUDITPIPE_GET_QLIMIT_MIN, &minlen) < 0) in main()
73 if (ioctl(fd, AUDITPIPE_GET_QLIMIT_MAX, &maxlen) < 0) in main()
79 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) in main()
95 if (ioctl(fd, AUDITPIPE_SET_QLIMIT, &len) < 0) in main()
98 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) in main()
105 if (ioctl(fd, AUDITPIPE_SET_QLIMIT, &len) < 0) in main()
108 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) in main()
119 if (ioctl(fd, AUDITPIPE_GET_INSERTS, &astat) < 0) in main()
125 if (ioctl(fd, AUDITPIPE_GET_READS, &astat) < 0) in main()
[all …]
/freebsd-12-stable/contrib/tcsh/
Dtc.disc.c75 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
84 if (ioctl(f, TCSETA, (ioctl_t) & termiob) != 0)
104 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
109 if (ioctl(f, TIOCGLTC, (ioctl_t) & ltcbuf) != 0)
118 if (ioctl(f, TIOCSLTC, (ioctl_t) & ltcbuf) != 0)
122 if (ioctl(f, TCSETAF, (ioctl_t) & termiob) != 0)
138 if (ioctl(f, TXGETLD, (ioctl_t) & tx) == 0) {
140 if (ioctl(f, TXADDCD, (ioctl_t) strPOSIX) == 0) {
152 if (ioctl(f, TIOCGETD, (ioctl_t) & oldisc) == 0) {
156 if (ioctl(f, TIOCSETD, (ioctl_t) & ldisc) != 0)
[all …]
Dsh.file.c98 (void) ioctl(SHIN, TCGETA, (ioctl_t) &tchars); in setup_tty()
129 (void) ioctl(SHIN, on, (ioctl_t) &tchars); in setup_tty()
136 (void) ioctl(SHIN, TIOCGETC, (ioctl_t) & tchars); in setup_tty()
138 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); in setup_tty()
143 (void) ioctl(SHIN, TIOCGETP, (ioctl_t) & sgtty); in setup_tty()
146 (void) ioctl(SHIN, TIOCSETP, (ioctl_t) & sgtty); in setup_tty()
151 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); in setup_tty()
179 (void) ioctl(SHOUT, TCGETA, (ioctl_t) &tty_normal); in back_to_col_1()
187 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty); in back_to_col_1()
193 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty_normal); in back_to_col_1()
[all …]
/freebsd-12-stable/lib/libvgl/
Dmain.c86 ioctl(0, _IO('V', VGLOldMode - M_VESA_BASE), 0); in VGLEnd()
92 ioctl(0, KDRASTER, size); in VGLEnd()
95 ioctl(0, _IO('S', VGLOldMode), 0); in VGLEnd()
97 ioctl(0, KDDISABIO, 0); in VGLEnd()
98 ioctl(0, KDSETMODE, KD_TEXT); in VGLEnd()
100 ioctl(0, VT_SETMODE, &smode); in VGLEnd()
151 if (ioctl(0, CONS_GET, &VGLOldMode) || ioctl(0, CONS_CURRENT, &adptype)) in VGLInit()
157 if (ioctl(0, CONS_MODEINFO, &VGLModeInfo)) /* FBIO_MODEINFO */ in VGLInit()
163 if (ioctl(0, CONS_GETINFO, &VGLOldVInfo)) in VGLInit()
171 if (ioctl(0, KDENABIO, 0)) { in VGLInit()
[all …]
/freebsd-12-stable/sbin/ipf/ipf/
Dipf.c52 static ioctlfunc_t iocfunctions[IPL_LOGSIZE] = { ioctl, ioctl, ioctl,
53 ioctl, ioctl, ioctl,
54 ioctl, ioctl };
141 ipf_dotuning(fd, optarg, ioctl); in main()
209 (ioctl(fd, SIOCGETFF, &i) == -1)) { in get_flags()
221 if (ioctl(fd, SIOCFRENB, &enable) == -1) { in set_state()
302 (ioctl(fd, SIOCSETFF, &flag) != 0)) in packetlogon()
317 if (ioctl(xfd, SIOCGETLG, &logopt)) in packetlogon()
321 if (ioctl(xfd, SIOCSETLG, &logopt)) in packetlogon()
334 if (ioctl(xfd, SIOCGETLG, &logopt)) in packetlogon()
[all …]
/freebsd-12-stable/sbin/ifconfig/
Difpfsync.c68 if (ioctl(s, SIOCGETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_syncdev()
73 if (ioctl(s, SIOCSETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_syncdev()
86 if (ioctl(s, SIOCGETPFSYNC, (caddr_t)&ifr) == -1) in unsetpfsync_syncdev()
91 if (ioctl(s, SIOCSETPFSYNC, (caddr_t)&ifr) == -1) in unsetpfsync_syncdev()
106 if (ioctl(s, SIOCGETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_syncpeer()
123 if (ioctl(s, SIOCSETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_syncpeer()
137 if (ioctl(s, SIOCGETPFSYNC, (caddr_t)&ifr) == -1) in unsetpfsync_syncpeer()
142 if (ioctl(s, SIOCSETPFSYNC, (caddr_t)&ifr) == -1) in unsetpfsync_syncpeer()
160 if (ioctl(s, SIOCGETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_maxupd()
165 if (ioctl(s, SIOCSETPFSYNC, (caddr_t)&ifr) == -1) in setpfsync_maxupd()
[all …]
/freebsd-12-stable/usr.sbin/bluetooth/bthidd/
Dbtuinput.c328 if (ioctl(fd, UI_SET_PHYS, phys) < 0 || in uinput_open_common()
329 ioctl(fd, UI_SET_BSDUNIQ, uniq) < 0 || in uinput_open_common()
330 ioctl(fd, UI_DEV_SETUP, &uisetup) < 0) in uinput_open_common()
352 if (ioctl(fd, UI_SET_EVBIT, EV_SYN) < 0 || in uinput_open_mouse()
353 ioctl(fd, UI_SET_EVBIT, EV_KEY) < 0 || in uinput_open_mouse()
354 ioctl(fd, UI_SET_EVBIT, EV_REL) < 0 || in uinput_open_mouse()
355 ioctl(fd, UI_SET_RELBIT, REL_X) < 0 || in uinput_open_mouse()
356 ioctl(fd, UI_SET_RELBIT, REL_Y) < 0 || in uinput_open_mouse()
357 (p->has_wheel && ioctl(fd, UI_SET_RELBIT, REL_WHEEL) < 0) || in uinput_open_mouse()
358 (p->has_hwheel && ioctl(fd, UI_SET_RELBIT, REL_HWHEEL) < 0) || in uinput_open_mouse()
[all …]
/freebsd-12-stable/contrib/ntp/libntp/
Daudio.c291 if (ioctl(fd, AIOGSIZE, &s_size) == -1) in audio_init()
301 if (ioctl(fd, AIOSSIZE, &s_size) == -1) in audio_init()
311 if (ioctl(fd, SNDCTL_DSP_SETFRAGMENT, &tmp) == -1) in audio_init()
318 if (ioctl(fd, AIOGFMT, &s_c_p) == -1) in audio_init()
327 if (ioctl(ctl_fd, SOUND_MIXER_READ_DEVMASK, &devmask) == -1) in audio_init()
329 if (ioctl(ctl_fd, SOUND_MIXER_READ_RECMASK, &recmask) == -1) in audio_init()
364 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info); in audio_init()
409 rval = ioctl(ctl_fd, agc, &l); in audio_gain()
411 rval = ioctl(ctl_fd in audio_gain()
429 rval = ioctl(ctl_fd, audiomonitor, &l ); in audio_gain()
[all …]
/freebsd-12-stable/usr.sbin/vidcontrol/
Dvidcontrol.c121 if (ioctl(0, VT_GETACTIVE, &cur_info.active_vty) == -1) in init()
125 if (ioctl(0, CONS_GETINFO, &cur_info.console_info) == -1) in init()
130 ioctl(0, GIO_SCRNMAP, &cur_info.screen_map) == -1) in init()
133 if (ioctl(0, CONS_GET, &cur_info.video_mode_number) == -1) in init()
138 if (ioctl(0, CONS_MODEINFO, &cur_info.video_mode_info) == -1) in init()
157 ioctl(0, VT_ACTIVATE, cur_info.active_vty); in revert()
159 ioctl(0, KDSBORDER, cur_info.console_info.mv_ovscan); in revert()
164 ioctl(0, PIO_SCRNMAP, &cur_info.screen_map); in revert()
168 ioctl(0, in revert()
172 ioctl(0, _IO('S', cur_info.video_mode_number), NULL); in revert()
[all …]
/freebsd-12-stable/share/examples/perfmon/
Dperfmon.c118 if (ioctl(fd, PMIOSETUP, &pmc) < 0) in main()
121 if (ioctl(fd, PMIOTSTAMP, &then) < 0) in main()
125 if (ioctl(fd, PMIOSTART, &num) < 0) in main()
130 if (ioctl(fd, PMIOSTOP, &num) < 0) in main()
132 if (ioctl(fd, PMIOREAD, &value) < 0) in main()
135 if (ioctl(fd, PMIORESET, &value.pmcd_num) < 0) in main()
137 if (ioctl(fd, PMIOSTART, &num) < 0) in main()
145 if (ioctl(fd, PMIOSTOP, &num) < 0) in main()
147 if (ioctl(fd, PMIOREAD, &value) < 0) in main()
150 if (ioctl(fd, PMIOTSTAMP, &now) < 0) in main()
/freebsd-12-stable/usr.sbin/smbmsg/
Dsmbmsg.c117 if (ioctl(fd, SMB_RECVB, &c) != -1) in probe_i2c()
119 if (ioctl(fd, SMB_QUICK_WRITE, &c) != -1) in probe_i2c()
150 return (ioctl(fd, SMB_QUICK_WRITE, &c)); in do_io()
153 return (ioctl(fd, SMB_QUICK_READ, &c)); in do_io()
156 if (ioctl(fd, SMB_RECVB, &c) == -1) in do_io()
164 return (ioctl(fd, SMB_SENDB, &c)); in do_io()
170 if (ioctl(fd, SMB_READB, &c) == -1) in do_io()
178 return (ioctl(fd, SMB_WRITEB, &c)); in do_io()
181 if (ioctl(fd, SMB_READW, &c) == -1) in do_io()
189 return (ioctl(fd, SMB_WRITEW, &c)); in do_io()
[all …]
/freebsd-12-stable/usr.sbin/i2c/
Di2c.c196 error = ioctl(fd, I2CRSTCARD, &cmd); in scan_bus()
208 error = ioctl(fd, I2CRDWR, &rdwrdata); in scan_bus()
212 error = ioctl(fd, I2CSTART, &cmd); in scan_bus()
218 ioctl(fd, I2CSTOP); in scan_bus()
239 error = ioctl(fd, I2CRSTCARD, &cmd); in scan_bus()
266 error = ioctl(fd, I2CRSTCARD, &cmd); in reset_bus()
311 error = ioctl(fd, I2CSTART, &cmd); in i2c_write()
337 error = ioctl(fd, I2CWRITE, &cmd); in i2c_write()
345 error = ioctl(fd, I2CSTOP); in i2c_write()
351 error = ioctl(fd, I2CSTART, &cmd); in i2c_write()
[all …]
/freebsd-12-stable/lib/libusb/
Dlibusb20_ugen20.c155 if (ioctl(f, IOUSB(USB_GET_PLUGTIME), &plugtime)) { in ugen20_enumerate()
162 if (ioctl(f, IOUSB(USB_GET_DEVICE_DESC), &ddesc)) { in ugen20_enumerate()
177 if (ioctl(f, IOUSB(USB_GET_DEVICEINFO), &devinfo)) { in ugen20_enumerate()
224 if (ioctl(f, IOUSB(USB_GET_DEV_PORT_PATH), &udpp) == 0 && in ugen20_enumerate()
258 if (ioctl(st->f, IOUSB(USB_READ_DIR), &st->urd)) { in ugen20_readdir()
330 if (ioctl(pdev->file, IOUSB(USB_FS_UNINIT), &fs_uninit)) { in ugen20_tr_release()
370 if (ioctl(pdev->file, IOUSB(USB_FS_INIT), &fs_init)) { in ugen20_tr_renew()
404 if (ioctl(f, IOUSB(USB_GET_PLUGTIME), &plugtime)) { in ugen20_open_device()
447 if (ioctl(pdev->file, IOUSB(USB_FS_UNINIT), &fs_uninit)) { in ugen20_close_device()
485 error = ioctl(pdev->file_ctrl, IOUSB(USB_GET_FULL_DESC), &gen_desc); in ugen20_get_config_desc_full()
[all …]
/freebsd-12-stable/lib/libvmmapi/
Dvmmapi.c235 error = ioctl(ctx->fd, VM_MMAP_MEMSEG, &memmap); in vm_mmap_memseg()
248 error = ioctl(ctx->fd, VM_MMAP_GETNEXT, &memmap); in vm_mmap_getnext()
314 error = ioctl(ctx->fd, VM_ALLOC_MEMSEG, &memseg); in vm_alloc_memseg()
327 error = ioctl(ctx->fd, VM_GET_MEMSEG, &memseg); in vm_get_memseg()
528 error = ioctl(ctx->fd, VM_SET_SEGMENT_DESCRIPTOR, &vmsegdesc); in vm_set_desc()
543 error = ioctl(ctx->fd, VM_GET_SEGMENT_DESCRIPTOR, &vmsegdesc); in vm_get_desc()
573 error = ioctl(ctx->fd, VM_SET_REGISTER, &vmreg); in vm_set_register()
587 error = ioctl(ctx->fd, VM_GET_REGISTER, &vmreg); in vm_get_register()
605 error = ioctl(ctx->fd, VM_SET_REGISTER_SET, &vmregset); in vm_set_register_set()
622 error = ioctl(ctx->fd, VM_GET_REGISTER_SET, &vmregset); in vm_get_register_set()
[all …]
/freebsd-12-stable/sys/opencrypto/
Dcryptodev.c69 SDT_PROBE_DEFINE1(opencrypto, dev, ioctl, error, "int"/*line number*/);
438 SDT_PROBE1(opencrypto, dev, ioctl, error, __LINE__); in cryptof_ioctl()
493 SDT_PROBE1(opencrypto, dev, ioctl, in cryptof_ioctl()
532 SDT_PROBE1(opencrypto, dev, ioctl, error, __LINE__); in cryptof_ioctl()
546 SDT_PROBE1(opencrypto, dev, ioctl, error, in cryptof_ioctl()
556 SDT_PROBE1(opencrypto, dev, ioctl, error, in cryptof_ioctl()
571 SDT_PROBE1(opencrypto, dev, ioctl, error, in cryptof_ioctl()
582 SDT_PROBE1(opencrypto, dev, ioctl, in cryptof_ioctl()
599 SDT_PROBE1(opencrypto, dev, ioctl, error, in cryptof_ioctl()
608 SDT_PROBE1(opencrypto, dev, ioctl, error, __LINE__); in cryptof_ioctl()
[all …]
/freebsd-12-stable/usr.sbin/bluetooth/hccontrol/
Dnode.c52 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_STATE, &r, sizeof(r)) < 0) in hci_read_node_state()
64 if (ioctl(s, SIOC_HCI_RAW_NODE_INIT) < 0) in hci_node_initialize()
77 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_DEBUG, &r, sizeof(r)) < 0) in hci_read_debug_level()
101 if (ioctl(s, SIOC_HCI_RAW_NODE_SET_DEBUG, &r, sizeof(r)) < 0) in hci_write_debug_level()
114 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_BUFFER, &r, sizeof(r)) < 0) in hci_read_node_buffer_size()
142 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_BDADDR, &r, sizeof(r)) < 0) in hci_read_node_bd_addr()
159 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_FEATURES, &r, sizeof(r)) < 0) in hci_read_node_features()
178 if (ioctl(s, SIOC_HCI_RAW_NODE_GET_STAT, &r, sizeof(r)) < 0) in hci_read_node_stat()
197 if (ioctl(s, SIOC_HCI_RAW_NODE_RESET_STAT) < 0) in hci_reset_node_stat()
207 if (ioctl(s, SIOC_HCI_RAW_NODE_FLUSH_NEIGHBOR_CACHE) < 0) in hci_flush_neighbor_cache()
[all …]
/freebsd-12-stable/lib/libsysdecode/
DMakefile8 SRCS= errno.c flags.c ioctl.c signal.c syscallnames.c utrace.c
110 CLEANFILES= ioctl.c ioctl.c.tmp tables.h
121 CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls
124 CFLAGS.clang.ioctl.c+= -Wno-\#warnings
126 CFLAGS.gcc.ioctl.c+= -Wno-cpp
139 ioctl.c.tmp: .PHONY
141 ioctl.c.tmp: mkioctls .META
145 ioctl.c: ioctl.c.tmp
150 beforedepend: ioctl.c tables.h
/freebsd-12-stable/tests/sys/auditpipe/
Dauditpipe_test.c52 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLEN, &qlen)); in ATF_TC_BODY()
69 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT, &qlimit)); in ATF_TC_BODY()
88 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT, &curr_qlimit)); in ATF_TC_BODY()
98 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_SET_QLIMIT, &test_qlimit)); in ATF_TC_BODY()
100 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT, &recv_qlimit)); in ATF_TC_BODY()
116 ATF_REQUIRE_EQ(0, ioctl(fd, AUDITPIPE_SET_QLIMIT, &curr_qlim)); in ATF_TC_CLEANUP()
135 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT_MIN, &qlim_min)); in ATF_TC_BODY()
152 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT_MAX, &qlim_max)); in ATF_TC_BODY()
169 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_MAXAUDITDATA, &audata)); in ATF_TC_BODY()
/freebsd-12-stable/usr.bin/setchannel/
Dsetchannel.c222 if (ioctl(tfd, TVTUNER_SETAFC, &afc) < 0) { in main()
228 if (ioctl(tfd, METEORSINPUT, &device) < 0) { in main()
234 if (ioctl(tfd, BT848_SAUDIO, &audio) < 0) { in main()
239 if (ioctl(tfd, BT848_GAUDIO, &audio) < 0) { in main()
248 if (ioctl(tfd, BT848_SCAPAREA, &cap) < 0) { in main()
255 if (ioctl(tfd, TVTUNER_SETTYPE, &channel_set) < 0) { in main()
261 if (ioctl(tfd, TVTUNER_SETCHNL, &channel) < 0) { in main()
270 if (ioctl(tfd, RADIO_SETFREQ, &freq) < 0) { in main()
278 if (ioctl(tfd, TVTUNER_SETFREQ, &freq) < 0) { in main()
/freebsd-12-stable/contrib/tcp_wrappers/
Dncr.c50 if ((num_mod = ioctl(fd, I_LIST, NULL)) < 0)
52 if (ioctl(fd, I_LIST, &str_list) < 0)
59 if (ioctl(fd, I_POP, 0) < 0)
65 if (ioctl(fd, I_PUSH, "timod") < 0)
72 if (ioctl(fd, I_POP, 0) < 0)
79 if (ioctl(fd, I_PUSH, mod_buffer[i].l_name) < 0)
Dptx.c70 #define SWAP_MODULE(f, old, new) (ioctl(f, I_POP, old), ioctl(f, I_PUSH, new))
96 if (ioctl(fd, I_FIND, "timod") != 0)
97 ioctl(fd, I_POP, "timod");
98 if (ioctl(fd, I_FIND, "sockmod") == 0)
99 ioctl(fd, I_PUSH, "sockmod");
/freebsd-12-stable/sbin/etherswitchcfg/
Detherswitchcfg.c130 if (ioctl(cfg->fd, IOETHERSWITCHGETREG, &er) != 0) in read_register()
142 if (ioctl(cfg->fd, IOETHERSWITCHSETREG, &er) != 0) in write_register()
153 if (ioctl(cfg->fd, IOETHERSWITCHGETPHYREG, &er) != 0) in read_phyregister()
166 if (ioctl(cfg->fd, IOETHERSWITCHSETPHYREG, &er) != 0) in write_phyregister()
185 if (ioctl(cfg->fd, IOETHERSWITCHGETPORT, &p) != 0) in set_port_vid()
188 if (ioctl(cfg->fd, IOETHERSWITCHSETPORT, &p) != 0) in set_port_vid()
227 if (ioctl(cfg->fd, IOETHERSWITCHGETPORT, &p) != 0) in set_port_flag()
233 if (ioctl(cfg->fd, IOETHERSWITCHSETPORT, &p) != 0) in set_port_flag()
252 if (ioctl(cfg->fd, IOETHERSWITCHGETPORT, &p) != 0) in set_port_media()
259 if (ioctl(cfg->fd, IOETHERSWITCHSETPORT, &p) != 0) in set_port_media()
[all …]
/freebsd-12-stable/cddl/contrib/opensolaris/lib/pyzfs/common/
Ddataset.py29 import zfs.ioctl
72 for name, t in zfs.ioctl.get_proptable().iteritems():
128 props = zfs.ioctl.dataset_props(name)
163 zfs.ioctl.next_dataset(self.name, False, cookie)
179 d = zfs.ioctl.userspace_many(self.name, prop)
186 return zfs.ioctl.userspace_upgrade(self.name)
197 return zfs.ioctl.set_fsacl(self.name, un, d)
204 return zfs.ioctl.get_fsacl(self.name)
211 return zfs.ioctl.get_holds(self.name)

12345678910>>...37