Searched defs:ioctl (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-head/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_compat.h38 #define ioctl(fd, ioc, zc) zcmd_ioctl((fd), (ioc), (zc)) macro
/freebsd-head/stand/libsa/
H A Dioctl.c1 /* $NetBSD: ioctl.c,v 1.4 1994/10/30 21:48:24 cgd Exp $ */
34 * @(#)ioctl.c 8.1 (Berkeley) 6/11/93
69 ioctl(fd, cmd, arg) function
/freebsd-head/contrib/gdb/gdb/
H A Dproc-utils.h80 #define ioctl(X,Y,Z) ioctl_with_trace (X, Y, Z, __FILE__, __LINE__) macro
H A Dstandalone.c24 #include <sys/ioctl.h>
45 ioctl (int desc, int code, int arg)
44 ioctl (int desc, int code, int arg) function
/freebsd-head/cddl/contrib/opensolaris/cmd/pyzfs/
H A Dpyzfs.py36 import zfs.ioctl namespace
50 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
/freebsd-head/contrib/ntp/libntp/
H A Dsocket.c17 * Windows C runtime ioctl() can't deal properly with sockets,
21 #define ioctl(fd, opt, val) ioctlsocket(fd, opt, (u_long *)(val)) macro
167 if (ioctl(fd, FIONBIO, &on) < 0) {
169 "ioctl(FIONBIO) fails on fd #%d: %m",
175 if (ioctl(fd, FIOSNBIO, &on) < 0) {
177 "ioctl(FIOSNBIO) fails on fd #%d: %m", fd);
/freebsd-head/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ttyio.c63 ATF_TC(ioctl); variable
64 ATF_TC_HEAD(ioctl, tc)
67 "Checks that ioctl calls are restarted "
78 ATF_TC_BODY(ioctl, tc)
161 ATF_TP_ADD_TC(tp, ioctl);
/freebsd-head/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.cpp19 int ioctl(int d, int request, ...) { function
/freebsd-head/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Duserspace.py35 import zfs.ioctl namespace
H A Ddataset.py29 import zfs.ioctl namespace
48 from zfs.ioctl.get_proptable, which should match the
72 for name, t in zfs.ioctl.get_proptable().iteritems():
91 zfs.ioctl which actually interface with the kernel to manipulate
107 props is the property settings dict from zfs.ioctl.next_dataset.
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
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.h109 #ifdef ioctl
110 #undef ioctl macro
112 #define ioctl(s,req,ptr) swrap_ioctl(s,req,ptr) macro
/freebsd-head/sys/dev/drm2/
H A Ddrm_drv.c107 /* The DRM_IOCTL_DMA ioctl should be defined by the driver. */
346 * Called whenever a process performs an ioctl on /dev/drm.
354 * Looks up the ioctl function in the ::ioctls table, checking for root
362 struct drm_ioctl_desc *ioctl; local
404 DRM_DEBUG("Bad ioctl group 0x%x\n", (int)IOCGROUP(cmd));
416 ioctl = &dev->driver->compat_ioctls[nr - DRM_COMMAND_BASE];
421 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE];
427 * kernel performs an ioctl on /dev/drm.
436 ioctl = &drm_compat_ioctls[nr];
439 ioctl
[all...]
/freebsd-head/sys/cam/ctl/
H A Dctl_frontend.h104 * the ioctl front end), and therefore its module
106 * CTL ioctl front end should continue to use the
254 fe_ioctl_t ioctl; /* passed to CTL */ member in struct:ctl_frontend
H A Dctl_backend.h193 be_ioctl_t ioctl; /* passed to CTL */ member in struct:ctl_backend_driver
/freebsd-head/tests/sys/opencrypto/
H A Dcryptodev.py37 from fcntl import ioctl namespace
138 ioctl(fd, CRIOGET, buf, 1)
157 ioctl(_cryptodev, CIOCFINDDEV, s, 1)
208 ioctl(_cryptodev, CIOCGSESSION2, s, 1)
218 ioctl(_cryptodev, CIOCFSESSION, _pack('I', self._ses))
238 ioctl(_cryptodev, CIOCCRYPT, bytes(cop))
278 ioctl(_cryptodev, CIOCCRYPTAEAD, bytes(caead))
289 # prep ioctl
315 ioctl(_cryptodev, CIOCCRYPT, cop)
/freebsd-head/sys/dev/bhnd/bcma/
H A Dbcma.c227 bcma_read_ioctl(device_t dev, device_t child, uint16_t *ioctl) argument
236 *ioctl = (value & BCMA_DMP_IOCTRL_MASK);
245 uint32_t ioctl; local
255 ioctl = bhnd_bus_read_4(r, BCMA_DMP_IOCTRL);
256 ioctl &= ~(BCMA_DMP_IOCTRL_MASK & mask);
257 ioctl |= (value & mask);
259 bhnd_bus_write_4(r, BCMA_DMP_IOCTRL, ioctl);
272 uint16_t ioctl; local
287 error = bhnd_read_ioctl(child, &ioctl);
289 device_printf(child, "error reading HW ioctl registe
301 bcma_reset_hw(device_t dev, device_t child, uint16_t ioctl, uint16_t reset_ioctl) argument
350 bcma_suspend_hw(device_t dev, device_t child, uint16_t ioctl) argument
[all...]
/freebsd-head/sys/dev/bhnd/siba/
H A Dsiba.c660 siba_read_ioctl(device_t dev, device_t child, uint16_t *ioctl) argument
668 *ioctl = (SIBA_REG_GET(ts_low, TML_SICF));
700 uint16_t ioctl; local
720 ioctl = SIBA_REG_GET(ts_low, TML_SICF);
721 if (!(ioctl & BHND_IOCTL_CLK_EN))
728 siba_reset_hw(device_t dev, device_t child, uint16_t ioctl, argument
748 if (ioctl & clkflags)
759 (ioctl << SIBA_TML_SICF_SHIFT) |
793 siba_suspend_hw(device_t dev, device_t child, uint16_t ioctl) argument
814 if (ioctl
[all...]
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h72 int (*ioctl)(struct usb_interface *intf, unsigned int code, void *buf); member in struct:usb_driver
/freebsd-head/sys/dev/fb/
H A Dfbreg.h178 vi_ioctl_t *ioctl; member in struct:video_switch
237 (*vidsw[(adp)->va_index]->ioctl)((adp), (cmd), (data))
/freebsd-head/sys/dev/mmc/
H A Dmmcsd.c118 int ioctl; member in struct:mmcsd_part
681 while (part->ioctl > 0)
684 part->ioctl = -1;
747 while (part->ioctl > 0)
750 part->ioctl = -1;
782 part->ioctl = 0;
909 while (part->ioctl != 0) {
910 if (part->ioctl < 0) {
916 part->ioctl = 1;
1070 part->ioctl
[all...]
/freebsd-head/sys/dev/mly/
H A Dmly.c82 static int mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data,
780 /* build the getcontrollerinfo ioctl and send it */
793 /* build the getcontrollerparameter ioctl and send it */
865 * Build the ioctl.
867 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
916 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
1007 /* build the gethealthstatus ioctl and send it */
1043 /* build the ioctl and send it */
1087 /* build the ioctl */
1100 * Perform an ioctl comman
1112 mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data, size_t datasize, u_int8_t *status, void *sense_buffer, size_t *sense_length) argument
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_fs/
H A Dfs-loader.h166 svn_error_t *(*ioctl)(svn_fs_ioctl_code_t ctlcode,
280 svn_error_t *(*ioctl)(svn_fs_t *fs, svn_fs_ioctl_code_t ctlcode,
163 svn_error_t *(*ioctl)(svn_fs_ioctl_code_t ctlcode, member in struct:fs_library_vtable_t
276 svn_error_t *(*ioctl)(svn_fs_t *fs, svn_fs_ioctl_code_t ctlcode, member in struct:fs_vtable_t
/freebsd-head/sys/geom/
H A Dgeom.h113 g_ioctl_t *ioctl; member in struct:g_class
146 g_ioctl_t *ioctl; member in struct:g_geom
/freebsd-head/sys/dev/firewire/
H A Dfirewirereg.h149 int (*ioctl) (struct cdev *, u_long, caddr_t, int, fw_proc *); member in struct:firewire_comm
/freebsd-head/sys/dev/bhnd/
H A Dbhnd.h119 BHND_IOCTL_CFLAGS = 0x3FFC, /**< Reserved for core-specific ioctl flags. */
772 * @param[out] ioctl On success, the I/O control register value.
781 bhnd_read_ioctl(device_t dev, uint16_t *ioctl) argument
783 return (BHND_BUS_READ_IOCTL(device_get_parent(dev), dev, ioctl));
844 * RESET with the @p ioctl I/O control flags set.
850 * @param ioctl Device-specific I/O control flags to be set when bringing
859 bhnd_reset_hw(device_t dev, uint16_t ioctl, uint16_t reset_ioctl) argument
861 return (BHND_BUS_RESET_HW(device_get_parent(dev), dev, ioctl,
879 bhnd_suspend_hw(device_t dev, uint16_t ioctl) argument
881 return (BHND_BUS_SUSPEND_HW(device_get_parent(dev), dev, ioctl));
[all...]

Completed in 141 milliseconds

12