Searched defs:ioctl (Results 1 - 21 of 21) 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
69 ioctl(fd, cmd, 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.py35 import zfs.ioctl namespace
53 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
/illumos-gate/usr/src/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...]
/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/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/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/uts/common/io/lvm/notify/
H A Dmd_notify.c303 md_event_ioctl_t *ioctl = (md_event_ioctl_t *)data; local
306 ioctl->mdn_event = EQ_EMPTY;
307 ioctl->mdn_tag = TAG_EMPTY;
308 ioctl->mdn_set = MD_ALLSETS;
309 ioctl->mdn_dev = MD_ALLDEVS;
310 uniqtime32(&ioctl->mdn_time);
311 ioctl->mdn_user = (u_longlong_t)0;
324 * catastrophic since it breaks down ioctl single threading.
333 md_event_ioctl_t *ioctl, size_t sz,
351 ((void *)ioctl, ioctl_i
332 md_wait_for_event(md_event_queue_t *event_queue, void *ioctl_in, md_event_ioctl_t *ioctl, size_t sz, int mode, IOLOCK *lockp) argument
382 md_event_ioctl_t *ioctl; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c62 int (*ioctl)(dev_t, int, intptr_t, int, cred_t *, int *); member in struct:raw_maj
205 maj->ioctl = ops->devo_cb_ops->cb_ioctl;
613 rc = (*cdi->major->ioctl)(dev, DKIOCINFO,
626 rc = (*cdi->major->ioctl)(dev, DKIOCGVTOC,
639 rc = (*cdi->major->ioctl)(dev, DKIOCPARTITION,
787 errno = (*cdi->major->ioctl)(bsize->raw_fd,
795 errno = (*cdi->major->ioctl)(bsize->raw_fd,
804 errno = (*cdi->major->ioctl)(bsize->raw_fd,
/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/uts/common/io/drm/
H A Ddrm_sunmod.c325 * ioctl, and release it via DRM_IOCTL_UNLOCK after finishing
429 drm_ioctl_desc_t *ioctl; local
469 ioctl = &drm_ioctls[nr];
472 /* It's not a core DRM ioctl, try driver-specific. */
473 if (ioctl->func == NULL && nr >= DRM_COMMAND_BASE) {
474 /* The array entries begin at DRM_COMMAND_BASE ioctl nr */
477 DRM_ERROR("Bad driver ioctl number, 0x%x (of 0x%x)",
481 ioctl = &dp->driver->driver_ioctls[nr];
484 func = ioctl->func;
497 if (((ioctl
[all...]
H A Ddrm.h83 #include <asm/ioctl.h> /* For _IO* macros */
93 #undef ioctl macro
95 #define ioctl(a,b,c) xf86ioctl(a,b,c) macro
284 * DRM_IOCTL_VERSION ioctl argument type.
301 * DRM_IOCTL_GET_UNIQUE ioctl argument type.
322 * DRM_IOCTL_CONTROL ioctl argument type.
387 * DRM_IOCTL_GET_CLIENT ioctl argument type.
419 * DRM_IOCTL_GET_STATS ioctl argument type.
445 * DRM_IOCTL_LOCK, DRM_IOCTL_UNLOCK and DRM_IOCTL_FINISH ioctl argument type.
484 * DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argumen
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h191 SMB_COM_DECL(ioctl); variable
/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
3541 issue_mfi_pthru(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
3666 issue_mfi_dcmd(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
3778 issue_mfi_smp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
4005 issue_mfi_stp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument
4195 handle_drv_ioctl(struct megasas_instance *instance, struct megasas_ioctl *ioctl, int mode) argument
4310 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 */
890 * for issuing ioctl to the driver.
895 dev_err(dip, CE_WARN, "failed to create ioctl node.");
900 instance->unroll.ioctl
1404 struct mrsas_ioctl *ioctl; local
5380 issue_mfi_pthru(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5551 issue_mfi_dcmd(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5688 issue_mfi_smp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
5953 issue_mfi_stp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument
6179 handle_drv_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument
6291 handle_mfi_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument
[all...]
H A Dmr_sas.h564 uint8_t ioctl; /* Device nodes for ioctl's created. */ member in struct:mrsas_instance::_unroll
708 * ### Data structures for ioctl inteface and internal commands ###
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c121 #define VD_EFI_DEV_SET(dev, vdsk, ioctl) \
122 VDSK_EFI_DEV_SET(dev, vdsk, ioctl, \
540 int cmd; /* corresponding ioctl cmd */
541 const char *cmd_name; /* ioctl cmd name */
542 void *arg; /* ioctl cmd argument */
1394 * Build and execute the uscsi ioctl. We build a group0, group1
3039 * ENOTSUP - Unknown disk label type or unsupported DKIO ioctl
3407 * Call the appropriate function to execute the ioctl depending
3458 PR0("ioctl %x set rval = %d, which is not being returned"
3468 * This is the function that processes the ioctl request
3480 vd_do_ioctl(vd_t *vd, vd_dring_payload_t *request, void* buf, vd_ioctl_t *ioctl) argument
3613 vd_ioctl_t ioctl[] = { local
[all...]

Completed in 102 milliseconds