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

/illumos-gate/usr/src/boot/lib/libstand/
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
68 ioctl(int fd, ulong_t cmd, char *arg) function
/illumos-gate/usr/src/uts/common/syscall/
H A Dioctl.c61 ioctl(int fdes, int cmd, intptr_t arg) function
87 * other cases for this ioctl.
126 * ioctl() now passes in the model information in some high bits.
161 return (ioctl(fdes, TIOCSETP, arg));
167 return (ioctl(fdes, TIOCGETP, arg));
/illumos-gate/usr/src/lib/libast/common/features/
H A Dfcntl.c36 #define ioctl ______ioctl macro
58 #undef ioctl macro
/illumos-gate/usr/src/cmd/pyzfs/
H A Dpyzfs.py36 import zfs.ioctl namespace
54 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
/illumos-gate/usr/src/lib/pyzfs/common/
H A Duserspace.py36 import zfs.ioctl namespace
H A Ddataset.py30 import zfs.ioctl namespace
49 from zfs.ioctl.get_proptable, which should match the
73 for name, t in zfs.ioctl.get_proptable().items():
92 zfs.ioctl which actually interface with the kernel to manipulate
108 props is the property settings dict from zfs.ioctl.next_dataset.
129 props = zfs.ioctl.dataset_props(name)
164 zfs.ioctl.next_dataset(self.name, False, cookie)
180 d = zfs.ioctl.userspace_many(self.name, prop)
187 return zfs.ioctl.userspace_upgrade(self.name)
198 return zfs.ioctl
[all...]
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c46 #include <sys/ioctl.h>
51 #define ioctl(a, b, c) (cdevsw[11].d_ioctl(0, b, c, 0) ? -1 : 0) macro
158 res = ioctl(g_desfd, (int)DESIOCQUICK, (char *)desp);
162 res = ioctl(g_desfd, (int)DESIOCBLOCK, (char *)desp);
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dportable.h233 * put a cover on the tty-related ioctl calls we need to use
238 #define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
239 #define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
403 #define ioctl ioctlsocket macro
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c99 ioctl(int des, int request, int arg) function
134 perror("ioctl/I_PUSH");
159 * and reissuing the ioctl().
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h149 SMB_COM_DECL(ioctl); variable
/illumos-gate/usr/src/uts/common/des/
H A Ddes_crypt.c59 #include <sys/ioctl.h>
64 #define ioctl(a, b, c) (cdevsw[11].d_ioctl(0, b, c, 0) ? -1 : 0) macro
366 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp);
370 res = ioctl(g_desfd, DESIOCBLOCK, (char *)desp);
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c43 #include <sys/ioctl.h>
544 else if (ioctl(fd, SYSC_CFGA_CMD_GETSTATUS, sc_list) == -1) {
557 * The GETSTAT ioctl is not simulated. In this way a snapshot of the system
594 else if (ioctl(fd, SYSC_CFGA_CMD_GETSTATUS, sim_sc_list) == -1) {
638 return (ioctl(fd, OPROMGETOPT, a));
640 return (ioctl(fd, OPROMSETOPT, a));
657 #define ioctl(a, b, c) sim_ioctl((int)(a), (int)(b), (void *)(c)) macro
683 if (ioctl(prom_fd, OPROMGETOPT, opp) < 0)
707 if (ioctl(prom_fd, OPROMSETOPT, opp) < 0)
949 } else if (ioctl(f
[all...]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c115 megasas_ioctl, /* ioctl */
648 * for issuing ioctl to the driver.
654 "megaraid: failed to create ioctl node."));
926 "megaraid: Non-root ioctl access tried!"));
933 "megaraid: ioctl node must be a char node\n"));
976 * ioctl - performs a range of I/O commands for character drivers
984 * ioctl() routine must make sure that user data is copied into or out of the
987 * This is a wrapper routine to serialize access to the actual ioctl routine.
988 * ioctl() should return 0 on success, or the appropriate error number. The
998 struct megasas_ioctl ioctl; local
3534 issue_mfi_pthru(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
3659 issue_mfi_dcmd(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
3771 issue_mfi_smp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
3998 issue_mfi_stp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
4188 handle_drv_ioctl(struct megasas_instance *instance, struct megasas_ioctl *ioctl, int mode) argument
4303 handle_mfi_ioctl(struct megasas_instance *instance, struct megasas_ioctl *ioctl, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c2052 * wake wq thread for further data/ioctl processing
2603 * We were holding an ioctl response pending the
2605 * another ioctl came through, which means that ioctl
3332 usbser_ioctl2str(int ioctl) argument
3336 switch (ioctl) {
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c164 struct mrsas_ioctl *ioctl, int mode);
166 struct mrsas_ioctl *ioctl, int mode);
182 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode);
184 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode);
186 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode);
188 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode);
268 mrsas_ioctl, /* ioctl */
899 * for issuing ioctl to the driver.
904 dev_err(dip, CE_WARN, "failed to create ioctl node.");
909 instance->unroll.ioctl
1411 struct mrsas_ioctl *ioctl; local
5354 issue_mfi_pthru(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5525 issue_mfi_dcmd(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5662 issue_mfi_smp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5927 issue_mfi_stp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
6153 handle_drv_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument
6265 handle_mfi_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument
[all...]
H A Dmr_sas.h567 uint8_t ioctl; /* Device nodes for ioctl's created. */ member in struct:mrsas_instance::_unroll
710 * ### Data structures for ioctl inteface and internal commands ###
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c122 #define VD_EFI_DEV_SET(dev, vdsk, ioctl) \
123 VDSK_EFI_DEV_SET(dev, vdsk, ioctl, \
541 int cmd; /* corresponding ioctl cmd */
542 const char *cmd_name; /* ioctl cmd name */
543 void *arg; /* ioctl cmd argument */
1395 * Build and execute the uscsi ioctl. We build a group0, group1
3040 * ENOTSUP - Unknown disk label type or unsupported DKIO ioctl
3408 * Call the appropriate function to execute the ioctl depending
3459 PR0("ioctl %x set rval = %d, which is not being returned"
3469 * This is the function that processes the ioctl request
3481 vd_do_ioctl(vd_t *vd, vd_dring_payload_t *request, void* buf, vd_ioctl_t *ioctl) argument
3614 vd_ioctl_t ioctl[] = { local
[all...]

Completed in 271 milliseconds