/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
H A D | Makefile | 2 omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o
|
H A D | omapfb-ioctl.c | 2 * linux/drivers/video/omap2/omapfb-ioctl.c 611 DBG("ioctl SYNC_GFX\n"); omapfb_ioctl() 622 DBG("ioctl UPDATE_WINDOW_OLD\n"); omapfb_ioctl() 640 DBG("ioctl UPDATE_WINDOW\n"); omapfb_ioctl() 657 DBG("ioctl SETUP_PLANE\n"); omapfb_ioctl() 666 DBG("ioctl QUERY_PLANE\n"); omapfb_ioctl() 676 DBG("ioctl SETUP_MEM\n"); omapfb_ioctl() 685 DBG("ioctl QUERY_MEM\n"); omapfb_ioctl() 695 DBG("ioctl GET_CAPS\n"); omapfb_ioctl() 712 DBG("ioctl GET_OVERLAY_COLORMODE\n"); omapfb_ioctl() 727 DBG("ioctl SET_UPDATE_MODE\n"); omapfb_ioctl() 735 DBG("ioctl GET_UPDATE_MODE\n"); omapfb_ioctl() 745 DBG("ioctl SET_COLOR_KEY\n"); omapfb_ioctl() 754 DBG("ioctl GET_COLOR_KEY\n"); omapfb_ioctl() 775 DBG("ioctl WAITFORVSYNC\n"); omapfb_ioctl() 792 DBG("ioctl WAITFORGO\n"); omapfb_ioctl() 804 DBG("ioctl LCD_TEST\n"); omapfb_ioctl() 819 DBG("ioctl CTRL_TEST\n"); omapfb_ioctl() 834 DBG("ioctl MEMORY_READ\n"); omapfb_ioctl() 847 DBG("ioctl GET_VRAM_INFO\n"); omapfb_ioctl() 864 DBG("ioctl SET_TEARSYNC\n"); omapfb_ioctl() 886 DBG("ioctl GET_DISPLAY_INFO\n"); omapfb_ioctl() 915 dev_err(fbdev->dev, "Unknown ioctl 0x%x\n", cmd); omapfb_ioctl() 920 DBG("ioctl failed: %d\n", r); omapfb_ioctl()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | ioctl.h | 4 #include <asm/ioctl.h>
|
H A D | loop.h | 31 int lo_number; /* ioctl r/o */ 32 __kernel_old_dev_t lo_device; /* ioctl r/o */ 33 unsigned long lo_inode; /* ioctl r/o */ 34 __kernel_old_dev_t lo_rdevice; /* ioctl r/o */ 37 int lo_encrypt_key_size; /* ioctl w/o */ 38 int lo_flags; /* ioctl r/o */ 40 unsigned char lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */ 46 __u64 lo_device; /* ioctl r/o */ 47 __u64 lo_inode; /* ioctl r/o */ 48 __u64 lo_rdevice; /* ioctl r/o */ 51 __u32 lo_number; /* ioctl r/o */ 53 __u32 lo_encrypt_key_size; /* ioctl w/o */ 54 __u32 lo_flags; /* ioctl r/o */ 57 __u8 lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */
|
H A D | radeonfb.h | 4 #include <asm/ioctl.h>
|
H A D | baycom.h | 31 * ioctl values change for baycom
|
H A D | nvram.h | 4 #include <linux/ioctl.h>
|
H A D | random.h | 11 #include <linux/ioctl.h> 14 /* ioctl()'s for the random number generator */
|
H A D | i2c-dev.h | 29 /* /dev/i2c-X ioctl commands. The ioctl's parameter is always an 55 /* This is the structure as used in the I2C_SMBUS ioctl call */ 63 /* This is the structure as used in the I2C_RDWR ioctl call */
|
H A D | if_slip.h | 19 * VSV = ioctl for keepalive & outfill in SLIP driver
|
H A D | reiserfs_fs.h | 17 /* ioctl's command */
|
H A D | atmioc.h | 1 /* atmioc.h - ranges for ATM-related ioctl numbers */ 8 * "magic" ioctl numbers. 15 #include <asm/ioctl.h>
|
H A D | auto_fs.h | 19 #include <sys/ioctl.h> 32 * back to the kernel via ioctl from userspace. On architectures where 32- and 59 /* v3 expire (via ioctl) */
|
H A D | capi.h | 16 #include <linux/ioctl.h> 91 * capi errcode is set, * if read, write, or ioctl returns EIO, 92 * ioctl returns errcode directly, and in arg, if != 0
|
H A D | suspend_ioctls.h | 8 * SNAPSHOT_SET_SWAP_AREA ioctl
|
H A D | firewire-cdev.h | 29 #include <linux/ioctl.h> 59 * The ioctl used to set @closure depends on the @type of event. 68 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_GET_INFO ioctl 82 * %FW_CDEV_IOC_GET_INFO ioctl after bus manager selection was finished. 100 * or %FW_CDEV_IOC_SEND_STREAM_PACKET ioctl 107 * sent by %FW_CDEV_IOC_SEND_REQUEST ioctl. The payload data for responses 144 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_ALLOCATE ioctl 157 * region registered using the %FW_CDEV_IOC_ALLOCATE ioctl. The request is 159 * responsible for sending the response by %FW_CDEV_IOC_SEND_RESPONSE ioctl, 177 * client must call an %FW_CDEV_IOC_SEND_RESPONSE ioctl even in case of a 183 * case the client must still call an %FW_CDEV_IOC_SEND_RESPONSE ioctl to 208 * set by %FW_CDEV_CREATE_ISO_CONTEXT ioctl 268 * set by %FW_CDEV_CREATE_ISO_CONTEXT ioctl 305 * set by %FW_CDEV_IOC_(DE)ALLOCATE_ISO_RESOURCE(_ONCE) ioctl 334 * or %FW_CDEV_IOC_RECEIVE_PHY_PACKETS ioctl 457 * struct fw_cdev_get_info - General purpose information ioctl 475 * The %FW_CDEV_IOC_GET_INFO ioctl is usually the very first one which a client 479 * is started by this ioctl. 499 * Send a request to the device. This ioctl implements all outgoing requests. 522 * the %FW_CDEV_IOC_ALLOCATE ioctl, userspace can listen for incoming requests. An 524 * send a reply using this ioctl. The event has a handle to the kernel-side 525 * pending transaction, which should be used with this ioctl. 555 * exclusive address region is already in use, the ioctl fails with errno set 599 * The ioctl returns immediately. A subsequent &fw_cdev_event_bus_reset 601 * considerably later than the ioctl because the kernel ensures a grace period 634 * This ioctl affects the Configuration ROMs of all local nodes. 635 * The ioctl only succeeds on device files which represent a local node. 712 * The ioctl fails with errno %EBUSY if there is already another receive context 745 * are copied into the kernel and will not be accessed after the ioctl has 811 * This ioctl takes a pointer to an array of &fw_cdev_iso_packet structs, 818 * values of the @packets, @data and @size fields, so the ioctl can be 875 * events generated by this ioctl are sent synchronously, i.e., are available 876 * for reading from the file descriptor when this ioctl returns. 890 * In version 1 and 2 of the ABI, this ioctl returned unreliable (non- 905 * The %FW_CDEV_IOC_GET_CYCLE_TIMER2 ioctl reads the isochronous cycle timer 932 * The %FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE ioctl initiates allocation of an 942 * The %FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE ioctl can be used to initiate 946 * The %FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE_ONCE ioctl is a variant of allocation 951 * The %FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE_ONCE ioctl works like 986 * The %FW_CDEV_IOC_SEND_STREAM_PACKET ioctl sends an asynchronous stream packet 1008 * The %FW_CDEV_IOC_SEND_PHY_PACKET ioctl sends a PHY packet to all nodes 1016 * The ioctl is only permitted on device files which represent a local node. 1028 * This ioctl activates issuing of %FW_CDEV_EVENT_PHY_PACKET_RECEIVED due to 1031 * The ioctl is only permitted on device files which represent a local node.
|
H A D | blkpg.h | 7 * A single ioctl with lots of subfunctions: 28 #include <linux/ioctl.h>
|
H A D | cm4000_cs.h | 5 #include <linux/ioctl.h> 11 /* those two structures are passed via ioctl() from/to userspace. They are
|
H A D | mmtimer.h | 13 * so the ioctl interface should support all necessary functionality. 24 * Breakdown of the ioctl's available. An 'optional' next to the command
|
H A D | uinput.h | 24 * - add UI_GET_SYSNAME ioctl 56 /* ioctl */ 91 * the integer pointed to by the ioctl argument. The protocol version 112 * 3. Issue a UI_BEGIN_FF_UPLOAD ioctl, giving it the 117 * 5. Issue a UI_END_FF_UPLOAD ioctl, also giving it the 126 * 3. Issue a UI_BEGIN_FF_ERASE ioctl, giving it the 131 * 5. Issue a UI_END_FF_ERASE ioctl, also giving it the
|
H A D | dm-ioctl.h | 20 * A traditional ioctl interface for the device mapper. 28 * Just get the version information for the ioctl interface. 97 * All ioctl arguments consist of a single chunk of memory, with 109 * All clients of the ioctl interface should fill in the 113 * All recognised ioctl commands (ie. those that don't 131 * The DM_DEV_WAIT ioctl takes an event number as input. 218 * to dm-ioctl.c:lookup_ioctl() 272 #define DM_VERSION_EXTRA "-ioctl (2015-3-12)" 280 * Flag passed into ioctl STATUS command to get table information
|
H A D | gigaset_dev.h | 17 #include <linux/ioctl.h>
|
H A D | hysdn_if.h | 4 * ioctl definitions shared by hynetmgr and driver.
|
H A D | isdn.h | 17 #include <linux/ioctl.h> 23 /* New ioctl-codes */ 46 #define IIOCNETLCR _IO('I',23) /* dwabc ioctl for LCR from isdnlog */ 47 #define IIOCNETDWRSET _IO('I',24) /* dwabc ioctl to reset abc-values to default on a net-interface */
|
H A D | matroxfb.h | 4 #include <asm/ioctl.h>
|
H A D | uvcvideo.h | 4 #include <linux/ioctl.h>
|
H A D | ncp_fs.h | 20 * ioctl commands 99 /* NLS charsets by ioctl */
|
H A D | fsl_hypervisor.h | 2 * Freescale hypervisor ioctl and kernel interface 37 * via the ioctl interface. 125 * The 'local' partition is the partition that calls this ioctl. The 132 * This ioctl does not support copying memory between two remote 184 /* The ioctl type, documented in ioctl-number.txt */
|
H A D | hiddev.h | 189 * ret = ioctl(fd, HIDIOCGREPORTINFO, &rinfo); 196 * ioctl(fd, HIDIOCGFIELDINFO, &finfo); 202 * ioctl(fd, HIDIOCGUCODE, &uref); 203 * ioctl(fd, HIDIOCGUSAGE, &uref); 207 * ret = ioctl(fd, HIDIOCGREPORTINFO, &rinfo);
|
H A D | ptp_clock.h | 24 #include <linux/ioctl.h> 94 * set by the kernel during the PTP_PIN_GETFUNC ioctl and is 95 * ignored for the PTP_PIN_SETFUNC ioctl.
|
H A D | rtc.h | 5 * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out 15 * The struct used to pass data via the following ioctl. Similar to the 66 * ioctl calls that are permitted to the /dev/rtc interface, if
|
/linux-4.1.27/arch/score/include/uapi/asm/ |
H A D | ioctl.h | 4 #include <asm-generic/ioctl.h>
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | ioctl.h | 11 #include <asm-generic/ioctl.h>
|
H A D | ps3fb.h | 23 #include <linux/ioctl.h> 25 /* ioctl */
|
/linux-4.1.27/fs/autofs4/ |
H A D | Makefile | 7 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
|
/linux-4.1.27/fs/nilfs2/ |
H A D | Makefile | 5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
H A D | ioctl.c | 2 * ioctl.c - NILFS ioctl operations. 130 * nilfs_ioctl_getflags - ioctl to support lsattr 140 * nilfs_ioctl_setflags - ioctl to support chattr 206 * @cmd: ioctl's request code 210 * given checkpoint between checkpoint and snapshot state. This ioctl 260 * @cmd: ioctl's request code 264 * checkpoint from NILFS2 file system. This ioctl is used in rmcp 316 * requested checkpoints. The NILFS_IOCTL_GET_CPINFO ioctl is used in 338 * @cmd: ioctl's request code 342 * The NILFS_IOCTL_GET_CPSTAT ioctl is used by lscp, rmcp utilities 383 * info about requested segments. The NILFS_IOCTL_GET_SUINFO ioctl is used 405 * @cmd: ioctl's request code 409 * The NILFS_IOCTL_GET_SUSTAT ioctl is used in lssu, nilfs_resize utilities 450 * on virtual block addresses. The NILFS_IOCTL_GET_VINFO ioctl is used 477 * about descriptors of disk block numbers. The NILFS_IOCTL_GET_BDESCS ioctl 512 * @cmd: ioctl's request code 516 * about descriptors of disk block numbers. The NILFS_IOCTL_GET_BDESCS ioctl 865 * @cmd: ioctl's request code 870 * from userspace. The NILFS_IOCTL_CLEAN_SEGMENTS ioctl is used by 911 * argv[4] points to segment numbers this ioctl cleans. We nilfs_ioctl_clean_segments() 990 * @cmd: ioctl's request code 1073 * nilfs_ioctl_trim_fs() - trim ioctl handle function 1077 * Decription: nilfs_ioctl_trim_fs is the FITRIM ioctl handle function. It 1161 * @cmd: ioctl's request code 1210 * @cmd: ioctl's request code
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | etraxi2c.h | 6 /* etraxi2c _IOC_TYPE, bits 8 to 15 in ioctl cmd */ 10 /* supported ioctl _IOC_NR's */ 30 ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg); 33 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
|
/linux-4.1.27/arch/cris/include/uapi/asm/ |
H A D | rs485.h | 3 /* Used with ioctl() TIOCSERSETRS485 for backward compatibility! 13 /* Used with ioctl() TIOCSERWRRS485 */
|
H A D | ethernet.h | 2 * ioctl defines for ethernet driver
|
H A D | etraxgpio.h | 42 /* etraxgpio _IOC_TYPE, bits 8 to 15 in ioctl cmd */ 91 /* supported ioctl _IOC_NR's */ 103 /* LED ioctl */ 107 /* GPIO direction ioctl's */ 114 /* LED ioctl extended */ 118 /* SHUTDOWN ioctl */ 131 /* The following 4 ioctl's take a pointer as argument and handles 142 /* The following ioctl's are applicable to the PWM channels only */ 221 /* Configuraton struct for the IO_PWMCLK_SET_CONFIG ioctl to configure
|
H A D | sync_serial.h | 2 * ioctl defines for synchronous serial port driver 13 #include <linux/ioctl.h> 122 /* Request struct to pass through the ioctl interface to read
|
H A D | termios.h | 42 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/drivers/isdn/sc/ |
H A D | Makefile | 10 ioctl.o interrupt.o message.o timer.o
|
H A D | ioctl.c | 36 pr_debug("%s: SCIOCRESET: ioctl received\n", sc_ioctl() 52 pr_debug("%s: SCIOLOAD: ioctl received\n", sc_ioctl() 91 pr_debug("%s: SCIOSTART: ioctl received\n", sc_ioctl() 106 pr_debug("%s: SCIOSETSWITCH: ioctl received\n", sc_ioctl() 138 pr_debug("%s: SCIOGETSWITCH: ioctl received\n", sc_ioctl() 174 pr_debug("%s: SCIOGETSPID: ioctl received\n", sc_ioctl() 215 pr_debug("%s: DCBIOSETSPID: ioctl received\n", sc_ioctl() 250 pr_debug("%s: SCIOGETDN: ioctl received\n", sc_ioctl() 290 pr_debug("%s: SCIOSETDN: ioctl received\n", sc_ioctl() 325 pr_debug("%s: SCIOTRACE: ioctl received\n", sc_ioctl() 337 pr_debug("%s: SCIOSTAT: ioctl received\n", sc_ioctl() 360 pr_debug("%s: SCIOGETSPEED: ioctl received\n", sc_ioctl() 394 pr_debug("%s: SCIOCSETSPEED: ioctl received\n", sc_ioctl() 399 pr_debug("%s: SCIOCLOOPTST: ioctl received\n", sc_ioctl()
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
H A D | msr.h | 9 #include <linux/ioctl.h>
|
/linux-4.1.27/fs/ocfs2/ |
H A D | ioctl.h | 2 * ioctl.h
|
H A D | Makefile | 25 ioctl.o \
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | matroxfb_maven.h | 4 #include <linux/ioctl.h>
|
H A D | matroxfb_crtc2.h | 4 #include <linux/ioctl.h>
|
/linux-4.1.27/fs/hfsplus/ |
H A D | Makefile | 7 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
|
/linux-4.1.27/fs/jfs/ |
H A D | Makefile | 12 resize.o xattr.o ioctl.o
|
H A D | ioctl.c | 2 * linux/fs/jfs/ioctl.c 5 * adapted from Remy Card's ext2/ioctl.c 172 /* While these ioctl numbers defined with 'long' and have different jfs_compat_ioctl()
|
/linux-4.1.27/fs/ceph/ |
H A D | Makefile | 7 ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
|
H A D | ioctl.h | 4 #include <linux/ioctl.h> 20 * directory or one of its ancestors. The GET_LAYOUT ioctl will let 85 * This ioctl sets a file flag that forces the synchronous IO that
|
/linux-4.1.27/fs/ext2/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o
|
/linux-4.1.27/fs/ext3/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o
|
/linux-4.1.27/include/asm-generic/ |
H A D | ioctl.h | 4 #include <uapi/asm-generic/ioctl.h>
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
H A D | tape390.h | 17 * The TAPE390_DISPLAY ioctl calls the Load Display command 67 * The TAPE390_CRYPT_SET ioctl is used to switch on/off encryption. 68 * The "encryption_capable" and "tape_status" fields are ignored for this ioctl! 73 * The TAPE390_CRYPT_QUERY ioctl is used to query the encryption state. 93 * The TAPE390_KEKL_SET ioctl is used to set Key Encrypting Key labels. 98 * The TAPE390_KEKL_QUERY ioctl is used to query Key Encrypting Key labels.
|
H A D | qeth.h | 2 * ioctl definitions for qeth driver 12 #include <linux/ioctl.h> 96 /* data sent to user space as result of query arp ioctl */
|
H A D | termios.h | 46 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
H A D | chsc.h | 2 * ioctl interface for /dev/chsc 12 #include <linux/ioctl.h>
|
/linux-4.1.27/tools/testing/selftests/efivarfs/ |
H A D | open-unlink.c | 6 #include <sys/ioctl.h> 23 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags); set_immutable() 36 rc = ioctl(fd, FS_IOC_SETFLAGS, &flags); set_immutable() 54 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags); get_immutable() 104 perror("ioctl(FS_IOC_GETFLAGS)"); main() 109 perror("ioctl(FS_IOC_SETFLAGS)"); main()
|
/linux-4.1.27/tools/testing/selftests/timers/ |
H A D | rtctest.c | 16 #include <sys/ioctl.h> 62 retval = ioctl(fd, RTC_UIE_ON, 0); main() 69 perror("RTC_UIE_ON ioctl"); main() 114 retval = ioctl(fd, RTC_UIE_OFF, 0); main() 116 perror("RTC_UIE_OFF ioctl"); main() 122 retval = ioctl(fd, RTC_RD_TIME, &rtc_tm); main() 124 perror("RTC_RD_TIME ioctl"); main() 145 retval = ioctl(fd, RTC_ALM_SET, &rtc_tm); main() 152 perror("RTC_ALM_SET ioctl"); main() 157 retval = ioctl(fd, RTC_ALM_READ, &rtc_tm); main() 159 perror("RTC_ALM_READ ioctl"); main() 167 retval = ioctl(fd, RTC_AIE_ON, 0); main() 169 perror("RTC_AIE_ON ioctl"); main() 185 retval = ioctl(fd, RTC_AIE_OFF, 0); main() 187 perror("RTC_AIE_OFF ioctl"); main() 193 retval = ioctl(fd, RTC_IRQP_READ, &tmp); main() 200 perror("RTC_IRQP_READ ioctl"); main() 211 retval = ioctl(fd, RTC_IRQP_SET, tmp); main() 219 perror("RTC_IRQP_SET ioctl"); main() 227 retval = ioctl(fd, RTC_PIE_ON, 0); main() 229 perror("RTC_PIE_ON ioctl"); main() 258 retval = ioctl(fd, RTC_PIE_OFF, 0); main() 260 perror("RTC_PIE_OFF ioctl"); main()
|
/linux-4.1.27/samples/hidraw/ |
H A D | hid-example.c | 28 #include <sys/ioctl.h> 68 res = ioctl(fd, HIDIOCGRDESCSIZE, &desc_size); main() 76 res = ioctl(fd, HIDIOCGRDESC, &rpt_desc); main() 87 res = ioctl(fd, HIDIOCGRAWNAME(256), buf); main() 94 res = ioctl(fd, HIDIOCGRAWPHYS(256), buf); main() 101 res = ioctl(fd, HIDIOCGRAWINFO, &info); main() 117 res = ioctl(fd, HIDIOCSFEATURE(4), buf); main() 121 printf("ioctl HIDIOCGFEATURE returned: %d\n", res); main() 125 res = ioctl(fd, HIDIOCGFEATURE(256), buf); main() 129 printf("ioctl HIDIOCGFEATURE returned: %d\n", res); main()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 28 #include <nvif/ioctl.h> 50 return client->driver->ioctl(client->base.priv, client->super, data, size, hack); nvif_object_ioctl() 57 struct nvif_ioctl_v0 ioctl; nvif_object_sclass() member in struct:__anon4196 65 args->ioctl.version = 0; nvif_object_sclass() 66 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; nvif_object_sclass() 82 struct nvif_ioctl_v0 ioctl; nvif_object_rd() member in struct:__anon4197 85 .ioctl.type = NVIF_IOCTL_V0_RD, nvif_object_rd() 101 struct nvif_ioctl_v0 ioctl; nvif_object_wr() member in struct:__anon4198 104 .ioctl.type = NVIF_IOCTL_V0_WR, nvif_object_wr() 119 struct nvif_ioctl_v0 ioctl; nvif_object_mthd() member in struct:__anon4199 131 args->ioctl.version = 0; nvif_object_mthd() 132 args->ioctl.type = NVIF_IOCTL_V0_MTHD; nvif_object_mthd() 150 struct nvif_ioctl_v0 ioctl; nvif_object_unmap() member in struct:__anon4200 153 .ioctl.type = NVIF_IOCTL_V0_UNMAP, nvif_object_unmap() 172 struct nvif_ioctl_v0 ioctl; nvif_object_map() member in struct:__anon4201 175 .ioctl.type = NVIF_IOCTL_V0_MAP, nvif_object_map() 190 struct nvif_ioctl_v0 ioctl; member in struct:ctor 200 struct nvif_ioctl_v0 ioctl; nvif_object_fini() member in struct:__anon4202 203 .ioctl.type = NVIF_IOCTL_V0_DEL, nvif_object_fini() 246 ctor->ioctl.version = 0; nvif_object_init() 247 ctor->ioctl.type = NVIF_IOCTL_V0_NEW; nvif_object_init()
|
H A D | notify.c | 29 #include <nvif/ioctl.h> 37 struct nvif_ioctl_v0 ioctl; nvif_notify_put_() member in struct:__anon4190 40 .ioctl.type = NVIF_IOCTL_V0_NTFY_PUT, nvif_notify_put_() 68 struct nvif_ioctl_v0 ioctl; nvif_notify_get_() member in struct:__anon4191 71 .ioctl.type = NVIF_IOCTL_V0_NTFY_GET, nvif_notify_get_() 149 struct nvif_ioctl_v0 ioctl; nvif_notify_fini() member in struct:__anon4193 152 .ioctl.type = NVIF_IOCTL_V0_NTFY_DEL, nvif_notify_fini() 172 struct nvif_ioctl_v0 ioctl; nvif_notify_init() member in struct:__anon4194 196 args->ioctl.version = 0; nvif_notify_init() 197 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; nvif_notify_init()
|
/linux-4.1.27/Documentation/spi/ |
H A D | spidev_fdx.c | 7 #include <sys/ioctl.h> 67 status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer); do_msg() 84 if (ioctl(fd, SPI_IOC_RD_MODE32, &mode) < 0) { dumpstat() 88 if (ioctl(fd, SPI_IOC_RD_LSB_FIRST, &lsb) < 0) { dumpstat() 92 if (ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits) < 0) { dumpstat() 96 if (ioctl(fd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) < 0) { dumpstat()
|
H A D | spidev_test.c | 21 #include <sys/ioctl.h> 131 ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); transfer() 269 ret = ioctl(fd, SPI_IOC_WR_MODE32, &mode); main() 273 ret = ioctl(fd, SPI_IOC_RD_MODE32, &mode); main() 280 ret = ioctl(fd, SPI_IOC_WR_BITS_PER_WORD, &bits); main() 284 ret = ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits); main() 291 ret = ioctl(fd, SPI_IOC_WR_MAX_SPEED_HZ, &speed); main() 295 ret = ioctl(fd, SPI_IOC_RD_MAX_SPEED_HZ, &speed); main()
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | assigned-dev.h | 13 long kvm_vm_ioctl_assigned_device(struct kvm *kvm, unsigned ioctl, 23 static inline long kvm_vm_ioctl_assigned_device(struct kvm *kvm, unsigned ioctl, kvm_vm_ioctl_assigned_device() argument
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
H A D | envctrl.h | 8 * VT - Add all ioctl commands and environment status definitions 14 #include <linux/ioctl.h> 18 * The driver supports 4 operations: open(), close(), ioctl(), read() 23 * if (ioctl(fd, ENVCTRL_READ_SHUTDOWN_TEMPERATURE, 0) < 0) 30 * pass in cpu number in ioctl() last parameter. For example, to 34 * if (ioctl(fd, ENVCTRL_READ_CPU_VOLTAGE, ioctlbuf) < 0) 75 * if (ioctl(fd, ENVCTRL_READ_FAN_STATUS, 0) < 0) { 76 * printf("ioctl fan failed\n");
|
H A D | jsflash.h | 16 * Hardcode it or get it from probe ioctl.
|
H A D | watchdog.h | 22 /* Status flags from WIOCGSTAT ioctl
|
H A D | openpromio.h | 5 #include <linux/ioctl.h> 9 * SunOS and Solaris /dev/openprom definitions. The ioctl values
|
H A D | ioctls.h | 4 #include <asm/ioctl.h> 71 /* 118 is the non-posix setpgrp tty ioctl */ 72 /* 119 is the non-posix getpgrp tty ioctl */
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | ioctl.h | 18 * And this turns out useful to catch old ioctl numbers in header 25 #include <asm-generic/ioctl.h>
|
H A D | sockios.h | 13 #include <asm/ioctl.h>
|
/linux-4.1.27/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 47 * Buffered ioctl handlers. A buffered ioctl is one which requires that we 51 * it for subsequent ioctl calls that require it. 69 void *ioctl; member in struct:esas2r_buffered_ioctl 108 /* Handle EXPRESS_IOCTL_RW_FIRMWARE ioctl with img_type = FW_IMG_FM_API. */ do_fm_api() 241 "for a buffered ioctl!", handle_buffered_ioctl() 244 esas2r_debug("buffered ioctl alloc failure"); handle_buffered_ioctl() 249 memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); handle_buffered_ioctl() 257 esas2r_debug("buffered ioctl - no requests"); handle_buffered_ioctl() 286 memcpy(bi->ioctl, esas2r_buffered_ioctl, bi->length); handle_buffered_ioctl() 292 /* SMP ioctl support */ smp_ioctl_callback() 300 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); smp_ioctl_callback() 319 bi.ioctl = si; handle_smp_ioctl() 329 /* CSMI ioctl support */ esas2r_csmi_ioctl_tunnel_comp_cb() 348 struct atto_vda_ioctl_req *ioctl = &rq->vrq->ioctl; csmi_ioctl_tunnel() local 353 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); csmi_ioctl_tunnel() 355 ioctl->csmi.ctrl_code = cpu_to_le32(ctrl_code); csmi_ioctl_tunnel() 356 ioctl->csmi.target_id = cpu_to_le16(target_id); csmi_ioctl_tunnel() 357 ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); csmi_ioctl_tunnel() 653 bi.ioctl = &ci->data; handle_csmi_ioctl() 664 /* ATTO HBA ioctl support */ 672 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); hba_ioctl_tunnel() 1241 bi.ioctl = ioctl_hba; handle_hba_ioctl() 1279 struct atto_express_ioctl *ioctl = NULL; esas2r_ioctl_handler() local 1285 esas2r_log(ESAS2R_LOG_DEBG, "ioctl (%p, %x, %p)", hostdata, cmd, arg); esas2r_ioctl_handler() 1301 ioctl = kzalloc(sizeof(struct atto_express_ioctl), GFP_KERNEL); esas2r_ioctl_handler() 1302 if (ioctl == NULL) { esas2r_ioctl_handler() 1309 err = __copy_from_user(ioctl, arg, sizeof(struct atto_express_ioctl)); esas2r_ioctl_handler() 1315 kfree(ioctl); esas2r_ioctl_handler() 1322 if (memcmp(ioctl->header.signature, esas2r_ioctl_handler() 1326 kfree(ioctl); esas2r_ioctl_handler() 1333 ioctl->header.return_code = IOCTL_SUCCESS; esas2r_ioctl_handler() 1344 ioctl->data.chanlist.num_channels = 0; esas2r_ioctl_handler() 1348 ioctl->data.chanlist.num_channels++; esas2r_ioctl_handler() 1349 ioctl->data.chanlist.channel[k] = i; esas2r_ioctl_handler() 1360 if (ioctl->header.channel == 0xFF) { esas2r_ioctl_handler() 1363 a = esas2r_adapters[ioctl->header.channel]; esas2r_ioctl_handler() 1364 if (ioctl->header.channel >= MAX_ADAPTERS || (a == NULL)) { esas2r_ioctl_handler() 1365 ioctl->header.return_code = IOCTL_BAD_CHANNEL; esas2r_ioctl_handler() 1367 kfree(ioctl); esas2r_ioctl_handler() 1376 if (ioctl->data.fwrw.img_type == FW_IMG_FM_API) { esas2r_ioctl_handler() 1378 (char *)ioctl->data.fwrw.image, esas2r_ioctl_handler() 1385 (char *)ioctl->data.fwrw. esas2r_ioctl_handler() 1391 } else if (ioctl->data.fwrw.img_type == FW_IMG_FS_API) { esas2r_ioctl_handler() 1393 (char *)ioctl->data.fwrw.image, esas2r_ioctl_handler() 1400 (char *)ioctl->data.fwrw. esas2r_ioctl_handler() 1407 ioctl->header.return_code = IOCTL_BAD_FLASH_IMGTYPE; esas2r_ioctl_handler() 1414 memcpy(ioctl->data.prw.data_buffer, a->nvram, esas2r_ioctl_handler() 1416 ioctl->data.prw.code = 1; esas2r_ioctl_handler() 1423 kfree(ioctl); esas2r_ioctl_handler() 1430 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); esas2r_ioctl_handler() 1431 ioctl->data.prw.code = code; esas2r_ioctl_handler() 1440 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); esas2r_ioctl_handler() 1441 ioctl->data.prw.code = 1; esas2r_ioctl_handler() 1446 ioctl->data.chaninfo.major_rev = ESAS2R_MAJOR_REV; esas2r_ioctl_handler() 1447 ioctl->data.chaninfo.minor_rev = ESAS2R_MINOR_REV; esas2r_ioctl_handler() 1448 ioctl->data.chaninfo.IRQ = a->pcid->irq; esas2r_ioctl_handler() 1449 ioctl->data.chaninfo.device_id = a->pcid->device; esas2r_ioctl_handler() 1450 ioctl->data.chaninfo.vendor_id = a->pcid->vendor; esas2r_ioctl_handler() 1451 ioctl->data.chaninfo.ven_dev_id = a->pcid->subsystem_device; esas2r_ioctl_handler() 1452 ioctl->data.chaninfo.revision_id = a->pcid->revision; esas2r_ioctl_handler() 1453 ioctl->data.chaninfo.pci_bus = a->pcid->bus->number; esas2r_ioctl_handler() 1454 ioctl->data.chaninfo.pci_dev_func = a->pcid->devfn; esas2r_ioctl_handler() 1455 ioctl->data.chaninfo.core_rev = 0; esas2r_ioctl_handler() 1456 ioctl->data.chaninfo.host_no = a->host->host_no; esas2r_ioctl_handler() 1457 ioctl->data.chaninfo.hbaapi_rev = 0; esas2r_ioctl_handler() 1461 ioctl->header.return_code = handle_smp_ioctl(a, esas2r_ioctl_handler() 1462 &ioctl->data. esas2r_ioctl_handler() 1467 ioctl->header.return_code = esas2r_ioctl_handler() 1468 handle_csmi_ioctl(a, &ioctl->data.csmi); esas2r_ioctl_handler() 1472 ioctl->header.return_code = handle_hba_ioctl(a, esas2r_ioctl_handler() 1473 &ioctl->data. esas2r_ioctl_handler() 1479 (char *)&ioctl->data.ioctl_vda, esas2r_ioctl_handler() 1482 ioctl->data.ioctl_vda.data_length); esas2r_ioctl_handler() 1486 (char *)&ioctl->data.ioctl_vda, esas2r_ioctl_handler() 1489 ioctl->data.ioctl_vda.data_length); esas2r_ioctl_handler() 1499 ioctl->data.modinfo.adapter = a; esas2r_ioctl_handler() 1500 ioctl->data.modinfo.pci_dev = a->pcid; esas2r_ioctl_handler() 1501 ioctl->data.modinfo.scsi_host = a->host; esas2r_ioctl_handler() 1502 ioctl->data.modinfo.host_no = a->host->host_no; esas2r_ioctl_handler() 1508 ioctl->header.return_code = IOCTL_ERR_INVCMD; esas2r_ioctl_handler() 1514 esas2r_log(ESAS2R_LOG_WARN, "err %d on ioctl cmd %d", err, esas2r_ioctl_handler() 1520 ioctl->header.return_code = IOCTL_OUT_OF_RESOURCES; esas2r_ioctl_handler() 1525 ioctl->header.return_code = IOCTL_INVALID_PARAM; esas2r_ioctl_handler() 1529 ioctl->header.return_code = IOCTL_GENERAL_ERROR; esas2r_ioctl_handler() 1536 err = __copy_to_user(arg, ioctl, sizeof(struct atto_express_ioctl)); esas2r_ioctl_handler() 1542 kfree(ioctl); esas2r_ioctl_handler() 1547 kfree(ioctl); esas2r_ioctl_handler()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | Makefile | 3 cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
|
H A D | cx23885-ioctl.h | 4 * Various common ioctl() support functions
|
H A D | cx23885-ioctl.c | 4 * Various common ioctl() support functions 21 #include "cx23885-ioctl.h"
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | Makefile | 13 wil6210-y += ioctl.o
|
/linux-4.1.27/drivers/firewire/ |
H A D | nosy-user.h | 4 #include <linux/ioctl.h>
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | Makefile | 7 viafb-y :=viafbdev.o hw.o via_i2c.o dvi.o lcd.o ioctl.o accel.o \
|
/linux-4.1.27/fs/ncpfs/ |
H A D | Makefile | 7 ncpfs-y := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
H A D | ioctl.h | 4 * portions from "linux/ioctl.h for Linux" by H.H. Bergman. 25 /* ioctl command encoding: 32 bits total, command in lower 16 bits, 28 * Encoding the size of the parameter structure in the ioctl request 42 #include <asm-generic/ioctl.h>
|
H A D | termios.h | 40 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | bfin_simple_timer.h | 10 #include <linux/ioctl.h>
|
/linux-4.1.27/Documentation/watchdog/src/ |
H A D | watchdog-test.c | 11 #include <sys/ioctl.h> 26 ioctl(fd, WDIOC_KEEPALIVE, &dummy); keep_alive() 56 ioctl(fd, WDIOC_SETOPTIONS, &flags); main() 62 ioctl(fd, WDIOC_SETOPTIONS, &flags); main()
|
/linux-4.1.27/fs/cifs/ |
H A D | Makefile | 9 readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o
|
/linux-4.1.27/fs/ext4/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
|
/linux-4.1.27/net/atm/ |
H A D | Makefile | 5 atm-y := addr.o pvc.o signaling.o svc.o ioctl.o common.o atm_misc.o raw.o resources.o atm_sysfs.o
|
H A D | ioctl.c | 1 /* ATM ioctl handling */ 34 void register_atm_ioctl(struct atm_ioctl *ioctl) register_atm_ioctl() argument 37 list_add_tail(&ioctl->list, &ioctl_list); register_atm_ioctl() 42 void deregister_atm_ioctl(struct atm_ioctl *ioctl) deregister_atm_ioctl() argument 45 list_del(&ioctl->list); deregister_atm_ioctl() 169 error = ic->ioctl(sock, cmd, arg); do_vcc_ioctl() 197 * moving the ioctl number translation into the actual handlers and
|
/linux-4.1.27/include/linux/ |
H A D | auto_fs.h | 18 #include <linux/ioctl.h>
|
H A D | synclink.h | 16 /* provide 32 bit ioctl compatibility on 64 bit systems */
|
H A D | timerfd.h | 15 #include <linux/ioctl.h>
|
H A D | auto_dev-ioctl.h | 31 * An ioctl interface for autofs mount point control. 133 * to autofs-dev-ioctl.c:lookup_ioctl() 141 /* Open mount ioctl fd */ 144 /* Close mount ioctl fd */
|
H A D | cciss_ioctl.h | 8 /* 32 bit compatible ioctl structs */
|
H A D | ppp_channel.h | 33 /* Handle an ioctl call that has come in via /dev/ppp. */ 34 int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long); member in struct:ppp_channel_ops 83 * in the start_xmit and ioctl routines for the channel by the time
|
H A D | vfio.h | 28 * @ioctl: Perform ioctl(2) on device file descriptor, supporting VFIO_DEVICE_* 41 long (*ioctl)(void *device_data, unsigned int cmd, member in struct:vfio_device_ops 68 long (*ioctl)(void *iommu_data, unsigned int cmd, member in struct:vfio_iommu_driver_ops
|
H A D | errno.h | 16 #define ENOIOCTLCMD 515 /* No ioctl command */
|
H A D | atmdev.h | 179 * ioctl, getsockopt, and setsockopt are optional and can be set to NULL. 186 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); member in struct:atmdev_ops 207 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); member in struct:atmphy_ops 290 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg); member in struct:atm_ioctl 295 * register_atm_ioctl - register handler for ioctl operations 297 * Special (non-device) handlers of ioctl's should 299 * set .ioctl in your atmdev_ops instead. 304 * deregister_atm_ioctl - remove the ioctl handler
|
H A D | posix-clock.h | 53 * @ioctl: Optional character device ioctl method 85 long (*ioctl) (struct posix_clock *pc, member in struct:posix_clock_operations
|
H A D | watchdog.h | 31 * @ioctl: The routines that handles extra ioctl calls. 50 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); member in struct:watchdog_ops
|
/linux-4.1.27/drivers/scsi/ |
H A D | gdth_proc.c | 121 gdtcmd.u.ioctl.p_param = paddr; gdth_set_asc_info() 122 gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); gdth_set_asc_info() 123 gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; gdth_set_asc_info() 124 gdtcmd.u.ioctl.channel = INVALID_CHANNEL; gdth_set_asc_info() 242 gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; gdth_show_info() 243 gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; gdth_show_info() 244 gdtcmd->u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; gdth_show_info() 245 gdtcmd->u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; gdth_show_info() 265 gdtcmd->u.ioctl.p_param = paddr; gdth_show_info() 266 gdtcmd->u.ioctl.param_size = sizeof(gdth_diskinfo_str); gdth_show_info() 267 gdtcmd->u.ioctl.subfunc = SCSI_DR_INFO | L_CTRL_PATTERN; gdth_show_info() 268 gdtcmd->u.ioctl.channel = gdth_show_info() 311 gdtcmd->u.ioctl.p_param = paddr; gdth_show_info() 312 gdtcmd->u.ioctl.param_size = sizeof(gdth_defcnt_str); gdth_show_info() 313 gdtcmd->u.ioctl.subfunc = SCSI_DEF_CNT | L_CTRL_PATTERN; gdth_show_info() 314 gdtcmd->u.ioctl.channel = gdth_show_info() 350 gdtcmd->u.ioctl.p_param = paddr; gdth_show_info() 351 gdtcmd->u.ioctl.param_size = sizeof(gdth_cdrinfo_str); gdth_show_info() 352 gdtcmd->u.ioctl.subfunc = CACHE_DRV_INFO; gdth_show_info() 353 gdtcmd->u.ioctl.channel = drv_no; gdth_show_info() 431 gdtcmd->u.ioctl.p_param = paddr; gdth_show_info() 432 gdtcmd->u.ioctl.param_size = sizeof(gdth_arrayinf_str); gdth_show_info() 433 gdtcmd->u.ioctl.subfunc = ARRAY_INFO | LA_CTRL_PATTERN; gdth_show_info() 434 gdtcmd->u.ioctl.channel = i; gdth_show_info() 492 gdtcmd->u.ioctl.p_param = paddr; gdth_show_info() 493 gdtcmd->u.ioctl.param_size = sizeof(gdth_hget_str); gdth_show_info() 494 gdtcmd->u.ioctl.subfunc = HOST_GET | LA_CTRL_PATTERN; gdth_show_info() 495 gdtcmd->u.ioctl.channel = i; gdth_show_info()
|
H A D | scsi_ioctl.c | 67 * The SCSI_IOCTL_SEND_COMMAND ioctl sends a command out to the SCSI host. 77 * the ioctl will fail with error EINVAL. 95 "Trying ioctl with scsi command %d\n", *cmd)); ioctl_internal_command() 182 /* compatibility with old ioctl which only returned scsi_ioctl_get_pci() 190 * scsi_ioctl - Dispatch ioctl to scsi device 191 * @sdev: scsi device receiving ioctl 192 * @cmd: which ioctl is it 193 * @arg: data associated with ioctl 213 "ioctl, please convert it to SG_IO\n", current->comm); scsi_ioctl() 266 if (sdev->host->hostt->ioctl) scsi_ioctl() 267 return sdev->host->hostt->ioctl(sdev, cmd, arg); scsi_ioctl()
|
/linux-4.1.27/Documentation/timers/ |
H A D | hpet_example.c | 25 #include <sys/ioctl.h> 114 if (ioctl(fd, HPET_INFO, &info) < 0) { hpet_info() 155 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { hpet_poll() 160 if (ioctl(fd, HPET_INFO, &info) < 0) { hpet_poll() 167 if (info.hi_flags && (ioctl(fd, HPET_EPI, 0) < 0)) { hpet_poll() 172 if (ioctl(fd, HPET_IE_ON, 0) < 0) { hpet_poll() 260 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { hpet_fasync() 265 if (ioctl(fd, HPET_INFO, &info) < 0) { hpet_fasync() 272 if (info.hi_flags && (ioctl(fd, HPET_EPI, 0) < 0)) { hpet_fasync() 277 if (ioctl(fd, HPET_IE_ON, 0) < 0) { hpet_fasync()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_ioctl.h | 36 * Low-level ioctl data structures. Kernel ioctl functions declared here, 156 CERROR("LIBCFS ioctl: ioc_len larger than 1<<30\n"); libcfs_ioctl_is_invalid() 160 CERROR("LIBCFS ioctl: ioc_inllen1 larger than 1<<30\n"); libcfs_ioctl_is_invalid() 164 CERROR("LIBCFS ioctl: ioc_inllen2 larger than 1<<30\n"); libcfs_ioctl_is_invalid() 168 CERROR("LIBCFS ioctl: inlbuf1 pointer but 0 length\n"); libcfs_ioctl_is_invalid() 172 CERROR("LIBCFS ioctl: inlbuf2 pointer but 0 length\n"); libcfs_ioctl_is_invalid() 176 CERROR("LIBCFS ioctl: pbuf1 pointer but 0 length\n"); libcfs_ioctl_is_invalid() 180 CERROR("LIBCFS ioctl: pbuf2 pointer but 0 length\n"); libcfs_ioctl_is_invalid() 184 CERROR("LIBCFS ioctl: plen1 nonzero but no pbuf1 pointer\n"); libcfs_ioctl_is_invalid() 188 CERROR("LIBCFS ioctl: plen2 nonzero but no pbuf2 pointer\n"); libcfs_ioctl_is_invalid() 192 CERROR("LIBCFS ioctl: packlen != ioc_len\n"); libcfs_ioctl_is_invalid() 197 CERROR("LIBCFS ioctl: inlbuf1 not 0 terminated\n"); libcfs_ioctl_is_invalid() 203 CERROR("LIBCFS ioctl: inlbuf2 not 0 terminated\n"); libcfs_ioctl_is_invalid()
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
H A D | p80211ioctl.h | 47 * While this file is called 'ioctl' is purpose goes a little beyond 51 * ioctl. The indicate interface on the other hand, is implemented 55 * via ioctl is that we're reserving the right to be able to send 66 /* p80211 ioctl "request" codes. See argument 2 of ioctl(2). */ 78 /* argument to the ioctl system call when issuing a request to */
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.c | 26 #include <nvif/ioctl.h> 369 struct nvif_ioctl_v0 ioctl; nouveau_abi16_ioctl_grobj_alloc() member in struct:__anon4140 372 .ioctl.owner = NVIF_IOCTL_V0_OWNER_ANY, nouveau_abi16_ioctl_grobj_alloc() 373 .ioctl.type = NVIF_IOCTL_V0_NEW, nouveau_abi16_ioctl_grobj_alloc() 374 .ioctl.path_nr = 3, nouveau_abi16_ioctl_grobj_alloc() 375 .ioctl.path[2] = NOUVEAU_ABI16_CLIENT, nouveau_abi16_ioctl_grobj_alloc() 376 .ioctl.path[1] = NOUVEAU_ABI16_DEVICE, nouveau_abi16_ioctl_grobj_alloc() 377 .ioctl.path[0] = NOUVEAU_ABI16_CHAN(init->channel), nouveau_abi16_ioctl_grobj_alloc() 410 struct nvif_ioctl_v0 ioctl; nouveau_abi16_ioctl_notifierobj_alloc() member in struct:__anon4141 414 .ioctl.owner = NVIF_IOCTL_V0_OWNER_ANY, nouveau_abi16_ioctl_notifierobj_alloc() 415 .ioctl.type = NVIF_IOCTL_V0_NEW, nouveau_abi16_ioctl_notifierobj_alloc() 416 .ioctl.path_nr = 3, nouveau_abi16_ioctl_notifierobj_alloc() 417 .ioctl.path[2] = NOUVEAU_ABI16_CLIENT, nouveau_abi16_ioctl_notifierobj_alloc() 418 .ioctl.path[1] = NOUVEAU_ABI16_DEVICE, nouveau_abi16_ioctl_notifierobj_alloc() 419 .ioctl.path[0] = NOUVEAU_ABI16_CHAN(info->channel), nouveau_abi16_ioctl_notifierobj_alloc() 495 struct nvif_ioctl_v0 ioctl; nouveau_abi16_ioctl_gpuobj_free() member in struct:__anon4142 498 .ioctl.owner = NVDRM_OBJECT_ABI16, nouveau_abi16_ioctl_gpuobj_free() 499 .ioctl.type = NVIF_IOCTL_V0_DEL, nouveau_abi16_ioctl_gpuobj_free() 500 .ioctl.path_nr = 4, nouveau_abi16_ioctl_gpuobj_free() 501 .ioctl.path[3] = NOUVEAU_ABI16_CLIENT, nouveau_abi16_ioctl_gpuobj_free() 502 .ioctl.path[2] = NOUVEAU_ABI16_DEVICE, nouveau_abi16_ioctl_gpuobj_free() 503 .ioctl.path[1] = NOUVEAU_ABI16_CHAN(fini->channel), nouveau_abi16_ioctl_gpuobj_free() 504 .ioctl.path[0] = fini->handle, nouveau_abi16_ioctl_gpuobj_free()
|
H A D | nouveau_nvif.c | 31 #include <core/ioctl.h> 37 #include <nvif/ioctl.h> 132 .ioctl = nvkm_client_ioctl,
|
H A D | nouveau_ioc32.c | 4 * 32-bit ioctl compatibility routines for the MGA DRM. 42 * performs an ioctl on /dev/dri/card<n>.
|
/linux-4.1.27/include/linux/usb/ |
H A D | iowarrior.h | 6 /* Define the ioctl commands for reading and writing data */ 12 with the ioctl IOW_GETINFO.
|
/linux-4.1.27/include/uapi/linux/usb/ |
H A D | tmc.h | 9 * It also has the ioctl definitions for the usbtmc kernel driver that 34 /* Request values for USBTMC driver's ioctl entry point */
|
H A D | gadgetfs.h | 9 * ep0 require ioctl() operations. 22 #include <linux/ioctl.h> 64 /* The 'g' code is also used by printer gadget ioctl requests.
|
/linux-4.1.27/tools/perf/tests/ |
H A D | bp_signal.c | 17 #include <sys/ioctl.h> 55 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); sig_handler() 56 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); sig_handler() 95 ioctl(fd, PERF_EVENT_IOC_RESET, 0); bp_event() 158 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); test__bp_signal() 159 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); test__bp_signal() 167 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); test__bp_signal() 168 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); test__bp_signal()
|
H A D | bp_signal_overflow.c | 16 #include <sys/ioctl.h> 106 ioctl(fd, PERF_EVENT_IOC_RESET, 0); test__bp_signal_overflow() 107 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); test__bp_signal_overflow() 112 ioctl(fd, PERF_EVENT_IOC_DISABLE, 0); test__bp_signal_overflow()
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | multi_counter_test.c | 8 #include <sys/ioctl.h> 51 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); multi_counter()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | Makefile | 2 cx18-queue.o cx18-streams.o cx18-fileops.o cx18-ioctl.o cx18-controls.o \
|
H A D | cx18-controls.c | 2 * cx18 ioctl control functions 28 #include "cx18-ioctl.h"
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | Makefile | 3 ivtv-gpio.o ivtv-i2c.o ivtv-ioctl.o ivtv-irq.o \
|
H A D | ivtv-controls.h | 2 ioctl control functions
|
/linux-4.1.27/drivers/staging/android/ |
H A D | ashmem.h | 16 #include <linux/ioctl.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | printk.h | 22 #define nv_ioctl(o,f,a...) nv_trace(nvkm_client(o), "ioctl: "f, ##a)
|
/linux-4.1.27/fs/jffs2/ |
H A D | Makefile | 8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | therm.h | 8 /* ioctl numbers for /dev/therm */
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 11 #include <sys/ioctl.h> 90 return ioctl(e->fd, PERF_EVENT_IOC_ENABLE); event_enable() 95 return ioctl(e->fd, PERF_EVENT_IOC_DISABLE); event_disable() 100 return ioctl(e->fd, PERF_EVENT_IOC_RESET); event_reset()
|
/linux-4.1.27/arch/tile/include/uapi/asm/ |
H A D | hardwall.h | 22 #include <linux/ioctl.h> 27 * The HARDWALL_CREATE() ioctl is a macro with a "size" argument. 28 * The resulting ioctl value is passed to the kernel in conjunction
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 235 * Hollowed-out getclient ioctl to keep some dead old drm tests/tools drm_getclient() 371 * Setversion ioctl. 424 /** No-op ioctl. */ drm_noop() 489 * drm_ioctl_permit - Check ioctl permissions against caller 491 * @flags: ioctl permission flags. 494 * Checks whether the caller is allowed to run an ioctl with the 496 * error code suitable for ioctl return. 527 #define DRM_IOCTL_DEF(ioctl, _func, _flags) \ 528 [DRM_IOCTL_NR(ioctl)] = { \ 529 .cmd = ioctl, \ 532 .name = #ioctl \ 649 * Called whenever a process performs an ioctl on /dev/drm. 657 * Looks up the ioctl function in the ::ioctls table, checking for root 665 const struct drm_ioctl_desc *ioctl = NULL; drm_ioctl() local 679 /* driver ioctl */ drm_ioctl() 682 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE]; drm_ioctl() 684 /* core ioctl */ drm_ioctl() 687 ioctl = &drm_ioctls[nr]; drm_ioctl() 690 drv_size = _IOC_SIZE(ioctl->cmd); drm_ioctl() 693 cmd = ioctl->cmd; drm_ioctl() 698 file_priv->authenticated, ioctl->name); drm_ioctl() 701 func = ioctl->func; drm_ioctl() 709 retcode = drm_ioctl_permit(ioctl->flags, file_priv); drm_ioctl() 737 if (ioctl->flags & DRM_UNLOCKED) drm_ioctl() 752 if (!ioctl) drm_ioctl() 753 DRM_DEBUG("invalid ioctl: pid=%d, dev=0x%lx, auth=%d, cmd=0x%02x, nr=0x%02x\n", drm_ioctl() 767 * drm_ioctl_flags - Check for core ioctl and return ioctl permission flags 770 * @flags: Where to return the ioctl permission flags
|
H A D | drm_crtc.c | 561 * user-created framebuffers this will happen in in the rmfb ioctl. For 1791 * @dev: drm device for the ioctl 1792 * @data: data pointer for the ioctl 1793 * @file_priv: drm file for the ioctl call 1798 * Called by the user via ioctl. 1980 * @dev: drm device for the ioctl 1981 * @data: data pointer for the ioctl 1982 * @file_priv: drm file for the ioctl call 1986 * Called by the user via ioctl. 2099 * @dev: drm device for the ioctl 2100 * @data: data pointer for the ioctl 2101 * @file_priv: drm file for the ioctl call 2105 * Called by the user via ioctl. 2172 * This ioctl is called twice, once to determine how much space is drm_mode_getconnector() 2254 * @dev: drm device for the ioctl 2255 * @data: data pointer for the ioctl 2256 * @file_priv: drm file for the ioctl call 2260 * Called by the user via ioctl. 2298 * @data: ioctl data 2303 * Called by the user via ioctl. 2329 * This ioctl is called twice, once to determine how much space is drm_mode_getplane_res() 2359 * @data: ioctl data 2364 * Called by the user via ioctl. 2400 * This ioctl is called twice, once to determine how much space is drm_mode_getplane() 2561 * @data: ioctl data* 2724 * @dev: drm device for the ioctl 2725 * @data: data pointer for the ioctl 2726 * @file_priv: drm file for the ioctl call 2730 * Called by the user via ioctl. 2906 * drm_mode_cursor_universal - translate legacy cursor ioctl call into a 2909 * @req: data pointer for the ioctl 2910 * @file_priv: drm file for the ioctl call 2912 * Legacy cursor ioctl's work directly with driver buffer handles. To 2913 * translate legacy ioctl calls into universal plane handler calls, we need to 3059 * @dev: drm device for the ioctl 3060 * @data: data pointer for the ioctl 3061 * @file_priv: drm file for the ioctl call 3065 * Called by the user via ioctl. 3084 * @dev: drm device for the ioctl 3085 * @data: data pointer for the ioctl 3086 * @file_priv: drm file for the ioctl call 3089 * version of the cursor ioctl, which allows userspace to additionally specify 3092 * Called by the user via ioctl. 3150 * @dev: drm device for the ioctl 3151 * @data: data pointer for the ioctl 3152 * @file_priv: drm file for the ioctl call 3155 * original addfb ioctl which only supported RGB formats. 3157 * Called by the user via ioctl. 3169 /* convert to new format and call new ioctl */ drm_mode_addfb() 3361 * @dev: drm device for the ioctl 3362 * @data: data pointer for the ioctl 3363 * @file_priv: drm file for the ioctl call 3366 * the 2nd version of the addfb ioctl, which supports multi-planar framebuffers 3369 * Called by the user via ioctl. 3400 * @dev: drm device for the ioctl 3401 * @data: data pointer for the ioctl 3402 * @file_priv: drm file for the ioctl call 3406 * Called by the user via ioctl. 3454 * @dev: drm device for the ioctl 3455 * @data: data pointer for the ioctl 3456 * @file_priv: drm file for the ioctl call 3460 * Called by the user via ioctl. 3490 /* GET_FB() is an unprivileged ioctl so we must not drm_mode_getfb() 3509 * @dev: drm device for the ioctl 3510 * @data: data pointer for the ioctl 3511 * @file_priv: drm file for the ioctl call 3515 * this ioctl to flush out the changes on manual-update display outputs, e.g. 3521 * Called by the user via ioctl. 3597 * @priv: drm file for the ioctl 3601 * Called by the user via ioctl. 4111 * @data: ioctl data 4119 * Called by the user via ioctl. 4196 * list, userspace always used the special-purpose get_blob ioctl to drm_mode_getproperty_ioctl() 4247 * @data: ioctl data 4253 * Called by the user via ioctl. 4493 * @data: ioctl data 4499 * Called by the user via ioctl. 4587 * @data: ioctl data 4591 * to the connector specific ioctl this one is extended to also work on crtc and 4594 * Called by the user via ioctl. 4634 * @data: ioctl data 4639 * Compared to the connector specific ioctl this one is extended to also work on 4642 * Called by the user via ioctl. 4767 * @data: ioctl data 4773 * Called by the user via ioctl. 4838 * @data: ioctl data 4845 * Called by the user via ioctl. 4901 * @data: ioctl data 4909 * ioctl. 4911 * Called by the user via ioctl. 5063 * @data: ioctl data 5074 * Called by the user via ioctl. 5120 * @data: ioctl data 5126 * Called by the user via ioctl. 5136 /* call driver ioctl to get mmap offset */ drm_mode_mmap_dumb_ioctl() 5146 * @data: ioctl data 5153 * Called by the user via ioctl.
|
/linux-4.1.27/include/uapi/mtd/ |
H A D | ubi-user.h | 30 * MTD devices may be attached using %UBI_IOCATT ioctl command of the UBI 33 * the request and return the newly created UBI device number as the ioctl 39 * An UBI device maybe deleted with %UBI_IOCDET ioctl command of the UBI 45 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 47 * pointer to it has to be passed to the ioctl. 52 * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character 54 * to the ioctl. 59 * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character 61 * filled and a pointer to it has to be passed to the ioctl. 68 * has to be properly filled and a pointer to it has to be passed to the ioctl. 73 * Volume update should be done via the %UBI_IOCVOLUP ioctl command of the 75 * size should be passed to the ioctl. After this, UBI expects user to write 81 * ioctl(fd, UBI_IOCVOLUP, &image_size); 88 * To erase a logical eraseblock, the %UBI_IOCEBER ioctl command of the 97 * ioctl command of the corresponding UBI volume character device. A pointer to 98 * a &struct ubi_leb_change_req object has to be passed to the ioctl. Then the 100 * should be done in case of the "volume update" ioctl). 106 * ioctl command should be used. A pointer to a &struct ubi_map_req object is 107 * expected to be passed. The ioctl maps the requested logical eraseblock to 110 * mapped to a physical eraseblock, the ioctl fails and returns error. 116 * ioctl command should be used. The ioctl unmaps the logical eraseblocks, 120 * after the unmap ioctl returns, you may find the LEB mapped again to the same 127 * %UBI_IOCEBISMAP ioctl command should be used. It returns %0 if the LEB is 133 * To set an UBI volume property the %UBI_IOCSETPROP ioctl command should be 160 /* ioctl commands of UBI character devices */ 173 /* ioctl commands of the UBI control character device */ 182 /* ioctl commands of UBI volume character devices */ 227 * UBI set volume property ioctl constants.
|
H A D | mtd-abi.h | 57 * These modes can be passed to ioctl(MEMWRITE) and are also used internally. 78 * This structure supports ioctl(MEMWRITE) operations, allowing data and/or OOB 151 * Note, the following ioctl existed in the past and was removed: 153 * Try to avoid adding a new ioctl with the same ioctl number. 202 * modes (see "struct mtd_write_req"). This ioctl is not supported for flashes 226 * OBSOLETE: ECC layout control structure. Exported to user-space via ioctl 228 * complete set of ECC information. The ioctl truncates the larger internal 230 * ioctl. Note that the "MTD_MAX_..._ENTRIES" macros represent the max size of 263 * These modes can be set via ioctl(MTDFILEMODE). The mode mode will be retained 269 * (e.g., when using ioctl(MEMWRITE)), but in some cases, the MTD_FILE_MODE is 270 * used out of necessity (e.g., `write()', ioctl(MEMWRITEOOB64)).
|
/linux-4.1.27/drivers/staging/android/uapi/ |
H A D | sync.h | 14 #include <linux/ioctl.h> 18 * struct sync_merge_data - data passed to merge ioctl 49 * struct sync_fence_info_data - data returned from fence info ioctl 50 * @len: ioctl caller writes the size of the buffer its passing in. 51 * ioctl returns length of sync_fence_data returned to userspace
|
H A D | ion.h | 20 #include <linux/ioctl.h> 84 * Provided by userspace as an argument to the ioctl 118 * struct ion_custom_data - metadata passed to/from userspace for a custom ioctl 119 * @cmd: the custom ioctl function to call 120 * @arg: additional data to pass to the custom ioctl, typically a user 123 * This works just like the regular cmd and arg fields of an ioctl. 189 * DOC: ION_IOC_CUSTOM - call architecture specific ion ioctl 191 * Takes the argument of the architecture specific ioctl to call and 192 * passes appropriate userdata for that ioctl
|
H A D | ashmem.h | 15 #include <linux/ioctl.h>
|
/linux-4.1.27/tools/virtio/ |
H A D | virtio_test.c | 9 #include <sys/ioctl.h> 72 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); vhost_vq_setup() 75 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); vhost_vq_setup() 78 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); vhost_vq_setup() 80 r = ioctl(dev->control, VHOST_SET_VRING_ADDR, &addr); vhost_vq_setup() 83 r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); vhost_vq_setup() 86 r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); vhost_vq_setup() 123 r = ioctl(dev->control, VHOST_SET_OWNER, NULL); vdev_info_init() 134 r = ioctl(dev->control, VHOST_SET_MEM_TABLE, dev->mem); vdev_info_init() 162 r = ioctl(dev->control, VHOST_TEST_RUN, &test); run_test() 203 r = ioctl(dev->control, VHOST_TEST_RUN, &test); run_test()
|
/linux-4.1.27/include/uapi/video/ |
H A D | sisfb.h | 25 #include <asm/ioctl.h> 76 /* Structure argument for SISFB_GET_INFO ioctl */ 147 /* Argument for SISFB_CMD ioctl */ 157 /* ioctl for identifying and giving some info (esp. memory heap start) */ 164 /* ioctl to enable/disable panning auto-maximize (like nomax parameter) */ 172 /* ioctl for internal sisfb commands (sisfbctrl) */ 175 /* ioctl for locking sisfb (no register access during lock) */ 186 /* ioctl for identifying and giving some info (esp. memory heap start) */ 190 /* ioctl to enable/disable panning auto-maximize (like nomax parameter) */ 194 /* End of deprecated ioctl numbers */
|
/linux-4.1.27/drivers/s390/char/ |
H A D | sclp_ctl.c | 14 #include <linux/ioctl.h> 89 * SCLP SCCB ioctl function 103 default: /* unknown ioctl number */ sclp_ctl_ioctl()
|
H A D | vmcp.h | 15 #include <linux/ioctl.h>
|
/linux-4.1.27/Documentation/networking/timestamping/ |
H A D | hwtstamp_config.c | 12 #include <sys/ioctl.h> 116 if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { main() 117 perror("ioctl"); main()
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | ioctl.h | 5 * The original linux ioctl numbering scheme was just a general 10 * ioctl numbering, and also trying to be compatible with OSF/1 in 32 * And this turns out useful to catch old ioctl numbers in header
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
H A D | sockios.h | 17 #include <asm/ioctl.h>
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_gem.h | 44 /* Transiently in the process of submit ioctl, objects associated 46 * the duration of the ioctl, so one bo can never be on multiple 91 /* Created per submit-ioctl, to track bo's and cmdstream bufs, etc, 94 * lasts for the duration of the submit-ioctl.
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | driver.h | 11 int (*ioctl)(void *priv, bool super, void *data, u32 size, void **hack); member in struct:nvif_driver
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | intel_scu_ipcutil.c | 12 * This driver provides ioctl interfaces to call intel scu ipc driver api 29 /* ioctl commnds */ 44 * @data: kernel copy of ioctl data 73 * @cmd: ioctl coce
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | ioctl.h | 4 /* ioctl command encoding: 32 bits total, command in lower 16 bits, 7 * Encoding the size of the parameter structure in the ioctl request 16 * platforms. The generic ioctl numbering scheme doesn't really enforce 84 /* used to decode ioctl numbers.. */
|
H A D | ioctls.h | 4 #include <linux/ioctl.h> 7 * These are the most common definitions for tty ioctl numbers. 99 * conflict with a Hayes modem-specific ioctl value.
|
H A D | termios.h | 47 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/include/uapi/linux/hsi/ |
H A D | cs-protocol.h | 28 #include <linux/ioctl.h> 54 /* ioctl interface */ 56 /* parameters to CS_CONFIG_BUFS ioctl */ 60 /* parameters to CS_GET_STATE ioctl */
|
/linux-4.1.27/arch/sh/include/mach-landisk/mach/ |
H A D | gio.h | 4 #include <linux/ioctl.h>
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | config-osm.c | 45 * Registers Configuration OSM in the I2O core and if old ioctl's are 72 * If old ioctl's are compiled in exit remove them and unregisters
|
/linux-4.1.27/drivers/block/ |
H A D | loop.h | 46 int (*ioctl)(struct loop_device *, int cmd, member in struct:loop_device 85 int (*ioctl)(struct loop_device *, int cmd, unsigned long arg); member in struct:loop_func_table
|
H A D | ida_ioctl.h | 42 * Normally, the ioctl determines the logical unit for this command by 43 * the major,minor number of the fd passed to ioctl. If you need to send
|
/linux-4.1.27/drivers/platform/chrome/ |
H A D | cros_ec_dev.h | 23 #include <linux/ioctl.h> 35 * ioctl returns the number of bytes read, negative on error
|
/linux-4.1.27/include/uapi/linux/mmc/ |
H A D | ioctl.h | 51 * Since this ioctl is only meant to enhance (and not replace) normal access 53 * is enforced per ioctl call. For larger data transfers, use the normal
|
/linux-4.1.27/include/uapi/misc/ |
H A D | cxl.h | 14 #include <linux/ioctl.h> 35 /* ioctl numbers */
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | rtc.h | 42 * The struct used to pass data via the following ioctl. Similar to the 58 /* ioctl() calls that are permitted to the /dev/rtc interface. */
|
/linux-4.1.27/fs/ubifs/ |
H A D | ioctl.c | 25 /* This file implements EXT2-compatible extended attribute ioctl() calls */ 53 * ioctl2ubifs - convert ioctl inode flags to UBIFS inode flags. 56 * This function convert ioctl flags (@FS_COMPR_FL, etc) to UBIFS inode flags 78 * ubifs2ioctl - convert UBIFS inode flags to ioctl inode flags. 81 * This function convert UBIFS (@UBIFS_COMPR_FL, etc) to ioctl flags
|
/linux-4.1.27/include/uapi/drm/ |
H A D | drm.h | 42 #include <asm/ioctl.h> 124 * DRM_IOCTL_VERSION ioctl argument type. 141 * DRM_IOCTL_GET_UNIQUE ioctl argument type. 160 * DRM_IOCTL_CONTROL ioctl argument type. 223 * DRM_IOCTL_GET_CLIENT ioctl argument type. 255 * DRM_IOCTL_GET_STATS ioctl argument type. 281 * DRM_IOCTL_LOCK, DRM_IOCTL_UNLOCK and DRM_IOCTL_FINISH ioctl argument type. 320 * DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type. 343 * DRM_IOCTL_INFO_BUFS ioctl argument type. 351 * DRM_IOCTL_FREE_BUFS ioctl argument type. 371 * DRM_IOCTL_MAP_BUFS ioctl argument type. 380 * DRM_IOCTL_DMA ioctl argument type. 405 * DRM_IOCTL_ADD_CTX ioctl argument type. 415 * DRM_IOCTL_RES_CTX ioctl argument type. 423 * DRM_IOCTL_ADD_DRAW and DRM_IOCTL_RM_DRAW ioctl argument type. 430 * DRM_IOCTL_UPDATE_DRAW ioctl argument type. 444 * DRM_IOCTL_GET_MAGIC and DRM_IOCTL_AUTH_MAGIC ioctl argument type. 451 * DRM_IOCTL_IRQ_BUSID ioctl argument type. 493 * DRM_IOCTL_WAIT_VBLANK ioctl argument type. 506 * DRM_IOCTL_MODESET_CTL ioctl argument type 516 * DRM_IOCTL_AGP_ENABLE ioctl argument type. 547 * DRM_IOCTL_AGP_INFO ioctl argument type. 568 * DRM_IOCTL_SG_ALLOC ioctl argument type. 576 * DRM_IOCTL_SET_VERSION ioctl argument type. 585 /** DRM_IOCTL_GEM_CLOSE ioctl argument type */ 592 /** DRM_IOCTL_GEM_FLINK ioctl argument type */ 601 /** DRM_IOCTL_GEM_OPEN ioctl argument type */ 635 /** DRM_IOCTL_GET_CAP ioctl argument type */ 665 /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ 792 * The device specific ioctl range is from 0x40 to 0x9f. 805 * typically a 64 bit value passed with the ioctl that triggered the
|
H A D | vmwgfx_drm.h | 77 * Does the driver support the overlay ioctl. 202 * struct drm_vmw_size ioctl. 238 * returned by the DRM_VMW_CREATE_SURFACE ioctl. 244 * in the DRM_VMW_CREATE_SURFACE ioctl. 291 * @version: Allows expanding the execbuf ioctl parameters without breaking 437 * buffer. But instead only read back for each call to this ioctl, and 445 * Defines a rectangle. Used in the overlay ioctl to define 586 * The flags argument to the DRM_VMW_FENCE_WAIT ioctl indicates what to wait 593 * in the buffer given to the EXECBUF ioctl returning the fence object handle 597 * fenc wait ioctl returns 0, the fence object has been unreferenced after 609 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl. 616 * @wait_options: Options that control the behaviour of the wait ioctl. 618 * Input argument to the DRM_VMW_FENCE_WAIT ioctl. 642 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl. 643 * @flags: Fence object flags input to DRM_VMW_FENCE_SIGNALED ioctl 673 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl. 675 * Input/Output argument to the DRM_VMW_FENCE_UNREF ioctl.. 750 * Input argument to the DRM_VMW_PRESENT ioctl. 780 * If this member is NULL, then the ioctl should not return a fence. 867 * Input argument to the DRM_VMW_UNREF_SHADER ioctl. 937 * Part of output argument for the DRM_VMW_GB_SURFACE_REF ioctl. 938 * Output argument for the DRM_VMW_GB_SURFACE_CREATE ioctl. 954 * Argument to the DRM_VMW_GB_SURFACE_CREATE ioctl. 966 * returned by the DRM_VMW_GB_SURFACE_CREATE ioctl. 972 * to and returned from the DRM_VMW_GB_SURFACE_CREATE ioctl. 983 * Output Argument to the DRM_VMW_GB_SURFACE_REF ioctl.
|
H A D | msm_drm.h | 30 * the end of an ioctl if some care is taken: drm_ioctl() will 31 * zero out the new fields at the tail of the ioctl, so a zero 136 * switch since the last SUBMIT ioctl 188 * submission from same or other contexts, PAGE_FLIP ioctl, etc, all 189 * handle the required synchronization under the hood). This ioctl
|
/linux-4.1.27/Documentation/ptp/ |
H A D | testptp.c | 29 #include <sys/ioctl.h> 270 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { main() 353 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { main() 371 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { main() 378 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { main() 385 if (ioctl(fd, PTP_PIN_GETFUNC, &desc)) { main() 448 if (ioctl(fd, PTP_PEROUT_REQUEST, &perout_request)) { main() 460 if (ioctl(fd, PTP_PIN_SETFUNC, &desc)) { main() 469 if (ioctl(fd, PTP_ENABLE_PPS, enable)) { main() 490 if (ioctl(fd, PTP_SYS_OFFSET, sysoff)) main()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
H A D | lustre_lib.h | 192 CERROR("OBD ioctl: ioc_len larger than %d\n", obd_ioctl_is_invalid() 197 CERROR("OBD ioctl: ioc_inllen1 larger than ioc_len\n"); obd_ioctl_is_invalid() 201 CERROR("OBD ioctl: ioc_inllen2 larger than ioc_len\n"); obd_ioctl_is_invalid() 205 CERROR("OBD ioctl: ioc_inllen3 larger than ioc_len\n"); obd_ioctl_is_invalid() 209 CERROR("OBD ioctl: ioc_inllen4 larger than ioc_len\n"); obd_ioctl_is_invalid() 213 CERROR("OBD ioctl: inlbuf1 pointer but 0 length\n"); obd_ioctl_is_invalid() 217 CERROR("OBD ioctl: inlbuf2 pointer but 0 length\n"); obd_ioctl_is_invalid() 221 CERROR("OBD ioctl: inlbuf3 pointer but 0 length\n"); obd_ioctl_is_invalid() 225 CERROR("OBD ioctl: inlbuf4 pointer but 0 length\n"); obd_ioctl_is_invalid() 229 CERROR("OBD ioctl: pbuf1 pointer but 0 length\n"); obd_ioctl_is_invalid() 233 CERROR("OBD ioctl: pbuf2 pointer but 0 length\n"); obd_ioctl_is_invalid() 237 CERROR("OBD ioctl: plen1 set but NULL pointer\n"); obd_ioctl_is_invalid() 241 CERROR("OBD ioctl: plen2 set but NULL pointer\n"); obd_ioctl_is_invalid() 245 CERROR("OBD ioctl: packlen exceeds ioc_len (%d > %d)\n", obd_ioctl_is_invalid() 266 * BSD ioctl description: 270 * ioctl(f, IOC_V1, arg); 273 * ioctl(f, IOC_V2, arg) 277 * To make BSD ioctl handles argument correctly and simplely, 377 /* <lustre/lustre_user.h> defines ioctl number 218-219 */
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_chardev.c | 260 pr_debug("kfd: creating queue ioctl\n"); kfd_ioctl_create_queue() 517 #define AMDKFD_IOCTL_DEF(ioctl, _func, _flags) \ 518 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, .cmd_drv = 0, .name = #ioctl} 550 const struct amdkfd_ioctl_desc *ioctl = NULL; kfd_ioctl() local 563 ioctl = &amdkfd_ioctls[nr]; kfd_ioctl() 565 amdkfd_size = _IOC_SIZE(ioctl->cmd); kfd_ioctl() 570 cmd = ioctl->cmd; kfd_ioctl() 574 dev_dbg(kfd_device, "ioctl cmd 0x%x (#%d), arg 0x%lx\n", cmd, nr, arg); kfd_ioctl() 583 func = ioctl->func; kfd_ioctl() 621 if (!ioctl) kfd_ioctl() 622 dev_dbg(kfd_device, "invalid ioctl: pid=%d, cmd=0x%02x, nr=0x%02x\n", kfd_ioctl()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
H A D | megaraid_ioctl.h | 70 #define MBOX_LEGACY 0x00 /* ioctl has legacy mbox*/ 71 #define MBOX_HPE 0x01 /* ioctl has hpe mbox */ 76 #define IOCTL_ISSUE 0x00000001 /* Issue ioctl */ 77 #define IOCTL_ABORT 0x00000002 /* Abort previous ioctl */ 89 * struct uioc_t - the common ioctl packet structure 252 * @max_kioc : Maximum ioctl packets acceptable by the lld 256 * @quiescent : flag to indicate if ioctl can be issued to this adp
|
H A D | megaraid_mm.c | 93 * Allow ioctl operations by apps only if they have superuser privilege. 99 * Only allow superuser to access private ioctl interface mraid_mm_open() 110 * @cmd : ioctl command 111 * @arg : user ioctl packet 134 * Look for signature to see if this is the new or old ioctl format. mraid_mm_ioctl() 148 * At present, we don't support the new ioctl packet mraid_mm_ioctl() 154 * If it is a driver ioctl (as opposed to fw ioctls), then we can mraid_mm_ioctl() 170 * Check if adapter can accept ioctl. We may have marked it offline mraid_mm_ioctl() 186 * User sent the old mimd_t ioctl packet. Convert it to uioc_t. mraid_mm_ioctl() 237 * @umimd : User space mimd_t ioctl packet 347 * mimd_to_kioc - Converter from old to new ioctl format 677 * lld_ioctl - Routine to issue ioctl to low level drvr 679 * @kioc : The ioctl packet with kernel addresses 708 * Wait till the low level driver completes the ioctl. After this lld_ioctl() 709 * call, the ioctl either completed successfully or timedout. lld_ioctl() 730 * @kioc : completed ioctl packet 762 "ioctl that was timedout before\n")); ioctl_done() 782 * @ptr : ioctl packet that timed out 792 con_log(CL_ANN, (KERN_WARNING "megaraid cmm: ioctl timed out\n")); lld_timedout() 1232 * mraid_mm_compat_ioctl - 32bit to 64bit ioctl conversion routine 1234 * @cmd : ioctl command 1235 * @arg : user ioctl packet
|
/linux-4.1.27/drivers/net/ppp/ |
H A D | pppox.c | 31 #include <linux/ppp-ioctl.h> 96 rc = pppox_protos[sk->sk_protocol]->ioctl ? pppox_ioctl() 97 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; pppox_ioctl()
|
/linux-4.1.27/Documentation/laptops/ |
H A D | dslm.c | 15 #include <sys/ioctl.h> 34 if (ioctl(fd, HDIO_DRIVE_CMD, &args) check_powermode() 36 && ioctl(fd, HDIO_DRIVE_CMD, &args)) { check_powermode()
|
/linux-4.1.27/sound/synth/emux/ |
H A D | emux_hwdep.c | 82 * ioctl 130 hw->ops.ioctl = snd_emux_hwdep_ioctl; snd_emux_init_hwdep() 131 /* The ioctl parameter types are compatible between 32- and snd_emux_init_hwdep()
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.h | 26 #include <media/v4l2-ioctl.h>
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | Makefile | 7 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
|
/linux-4.1.27/drivers/staging/comedi/ |
H A D | comedi_compat32.h | 3 * 32-bit ioctl compatibility for 64-bit comedi kernel module.
|
H A D | comedi_compat32.c | 3 * 32-bit ioctl compatibility for 64-bit comedi kernel module. 89 /* Handle translated ioctl. */ translated_ioctl() 99 /* Handle 32-bit COMEDI_CHANINFO ioctl. */ compat_chaninfo() 133 /* Handle 32-bit COMEDI_RANGEINFO ioctl. */ compat_rangeinfo() 266 /* Handle 32-bit COMEDI_CMD ioctl. */ compat_cmd() 291 /* Handle 32-bit COMEDI_CMDTEST ioctl. */ compat_cmdtest() 345 /* Handle 32-bit COMEDI_INSNLIST ioctl. */ compat_insnlist() 395 /* Handle 32-bit COMEDI_INSN ioctl. */ compat_insn() 415 * Returns -ENOIOCTLCMD for unrecognised ioctl codes.
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_genhd.c | 121 * Can't call rescan_partitions directly. Use ioctl. dasd_scan_partitions() 141 * the BLKRRPART ioctl. dasd_scan_partitions() 167 * Can't call delete_partitions directly. Use ioctl. dasd_destroy_partitions() 168 * The ioctl also does locking and invalidation. dasd_destroy_partitions()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | io_tables.h | 115 .ioctl = edge_ioctl, 147 .ioctl = edge_ioctl, 179 .ioctl = edge_ioctl, 211 .ioctl = edge_ioctl,
|
/linux-4.1.27/fs/reiserfs/ |
H A D | Makefile | 10 item_ops.o ioctl.o xattr.o lock.o
|
H A D | ioctl.c | 15 * reiserfs_ioctl - handler for ioctl for inode 40 * following two cases are taken from fs/ext2/ioctl.c by Remy reiserfs_ioctl() 184 /* ioctl already done */ reiserfs_unpack()
|
/linux-4.1.27/include/sound/ |
H A D | asound.h | 25 #include <linux/ioctl.h>
|
/linux-4.1.27/include/media/ |
H A D | bt819.h | 24 #include <linux/ioctl.h>
|
/linux-4.1.27/include/uapi/linux/iio/ |
H A D | events.h | 12 #include <linux/ioctl.h>
|
/linux-4.1.27/arch/avr32/include/uapi/asm/ |
H A D | termios.h | 47 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
H A D | termios.h | 43 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
H A D | termios.h | 47 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/arch/m32r/include/uapi/asm/ |
H A D | termios.h | 40 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | dsp56k.h | 30 /* ioctl command codes */
|
/linux-4.1.27/drivers/net/wan/ |
H A D | sbni.h | 114 /* SBNI ioctl params */ 123 /* data packet for SIOCDEVGHWSTATE/SIOCDEVSHWSTATE ioctl requests */
|
H A D | cosa.h | 24 #include <linux/ioctl.h> 81 * the ioctl number same as in 2.4 in order to keep the user-space 87 * the ioctl number same as in 2.4 in order to keep the user-space
|
/linux-4.1.27/include/video/ |
H A D | udlfb.h | 5 * TODO: Propose standard fb.h ioctl for reporting damage, 9 * when new ioctl(s) are ready.
|
/linux-4.1.27/drivers/vhost/ |
H A D | test.c | 260 static long vhost_test_ioctl(struct file *f, unsigned int ioctl, vhost_test_ioctl() argument 269 switch (ioctl) { vhost_test_ioctl() 289 r = vhost_dev_ioctl(&n->dev, ioctl, argp); vhost_test_ioctl() 291 r = vhost_vring_ioctl(&n->dev, ioctl, argp); vhost_test_ioctl() 299 static long vhost_test_compat_ioctl(struct file *f, unsigned int ioctl, vhost_test_compat_ioctl() argument 302 return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); vhost_test_compat_ioctl()
|
H A D | vhost.h | 48 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp); 132 long vhost_dev_ioctl(struct vhost_dev *, unsigned int ioctl, void __user *argp); 133 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp);
|
/linux-4.1.27/Documentation/cdrom/ |
H A D | cdrom-standard.tex | 53 devices; the way a particular drive reacts to a `standard' $ioctl()$ 62 defines the various $ioctl$s, and how the low-level \cdrom\ device 138 implemented the \cdrom\ $ioctl()$ calls through their own routines. This 147 software-level, that separates the $ioctl()$ and $open()$ implementation 172 &cdrom_ioctl, & ioctl \cr 352 \item[1] Open for $ioctl$ commands, as done by audio-CD playing 394 queues for the VFS and a new $ioctl()$ function that can report device 441 operate at 300\,kB/sec you would call the CDROM_SELECT_SPEED $ioctl$ 458 This function should implement the old corresponding $ioctl()$. For 493 Some of the \cdrom-$ioctl$s defined in \cdromh\ can be 495 $cdrom_ioctl$ will use those. However, most $ioctl$s deal with 508 An unimplemented ioctl should return $-ENOSYS$, but a harmless request 519 Some $ioctl$s seem to be specific to certain \cdrom\ drives. That is, 521 fact, there are 6 different $ioctl$s for reading data, either in some 525 supported, it should be done through the VFS and not via $ioctl$s. A 535 Because there are so many $ioctl$s that seem to be introduced to 537 actually uses these? I'd be interested!} any `non-standard' $ioctl$s 539 $ioctl$s should be numbered after the device's major number, and not 540 the general \cdrom\ $ioctl$ number, {\tt {0x53}}. Currently the 541 non-supported $ioctl$s are: {\it CDROMREADMODE1, CDROMREADMODE2, 549 Instead of just implementing some $ioctl$ calls, the interface in 586 There is no $ioctl$ to set the mask\dots The reason is that 611 new $ioctl$s implemented in \cdromc, that allow you to control the 629 controlling commands to the device, by the device's $ioctl()$ 633 are implemented entirely through $ioctl$s, presumably because the 637 $ioctl$ commands, regardless of the state the drive is in. 658 $ioctl$ commands, while data use wants to open for correct and 669 that the device is opened just for issuing $ioctl$ 704 $ioctl$ informing about media changes.} 707 for $ioctl$ commands only can be easily introduced in the \linux\ 712 to old behavior by a call to $ioctl(file_descriptor, CDROM_CLEAR_OPTIONS, 808 \label{cdrom-ioctl} 810 This function handles all the standard $ioctl$ requests for \cdrom\ 812 categories: $ioctl$s that can be directly implemented by device 817 \subsubsection{Directly implemented $ioctl$s} 818 \label{ioctl-direct} 820 The following `old' \cdrom-$ioctl$s are implemented by directly 834 \label{ioctl-audio} 836 The following set of $ioctl$s are all implemented through a call to 861 \subsubsection{New $ioctl$s in \cdromc} 863 The following $ioctl$s have been introduced to allow user programs to 864 control the behavior of individual \cdrom\ devices. New $ioctl$ 892 $ioctl$ call to $CDROMSUBCHNL$. For juke-boxes, an extra argument 898 This $ioctl$ can provide \emph {some} information about the current 905 This $ioctl$ is useful only in the case that CDs have \emph {only 911 function, the \UCD\ implements this $ioctl$ as follows: If the CD in 921 This $ioctl$ can return: 948 \subsubsection{Device dependent $ioctl$s} 950 Finally, all other $ioctl$s are passed to the function $dev_ioctl()$, 983 part in section~\ref{cdrom-ioctl}, if your code was OK, these are 987 listed in the second part of section~\ref{cdrom-ioctl}). There is no 994 \item All remaining $ioctl$ cases must be moved to a separate 995 function, $<device>_ioctl$, the device-dependent $ioctl$s. Note that
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | vrc4173_cardu.c | 251 uint8_t ioctl, window; cardu_get_io_map() local 261 ioctl = exca_readb(socket, IO_WIN_CNT); cardu_get_io_map() 264 if (ioctl & IO_WIN_DATA_AUTOSZ(map)) cardu_get_io_map() 266 else if (ioctl & IO_WIN_DATA_16BIT(map)) cardu_get_io_map() 275 uint16_t ioctl; cardu_set_io_map() local 294 ioctl = exca_readb(socket, IO_WIN_CNT) & ~IO_WIN_CNT_MASK(map); cardu_set_io_map() 295 if (io->flags & MAP_AUTOSZ) ioctl |= IO_WIN_DATA_AUTOSZ(map); cardu_set_io_map() 296 else if (io->flags & MAP_16BIT) ioctl |= IO_WIN_DATA_16BIT(map); cardu_set_io_map() 297 exca_writeb(socket, IO_WIN_CNT, ioctl); cardu_set_io_map()
|
H A D | tcic.c | 296 u_short scf1, ioctl, base, num; is_active() local 309 ioctl = tcic_getw(TCIC_DATA); is_active() 311 if (ioctl & TCIC_ICTL_TINY) is_active() 319 (scf1 & TCIC_SCF1_IOSTS) && (ioctl & TCIC_ICTL_ENA) && is_active() 700 u_short base, len, ioctl; tcic_set_io_map() local 717 ioctl = (psock << TCIC_ICTL_SS_SHFT); tcic_set_io_map() 718 ioctl |= (len == 0) ? TCIC_ICTL_TINY : 0; tcic_set_io_map() 719 ioctl |= (io->flags & MAP_ACTIVE) ? TCIC_ICTL_ENA : 0; tcic_set_io_map() 720 ioctl |= to_cycles(io->speed) & TCIC_ICTL_WSCNT_MASK; tcic_set_io_map() 722 ioctl |= TCIC_ICTL_QUIET; tcic_set_io_map() 723 ioctl |= (io->flags & MAP_16BIT) ? TCIC_ICTL_BW_16 : TCIC_ICTL_BW_8; tcic_set_io_map() 726 tcic_setw(TCIC_DATA, ioctl); tcic_set_io_map()
|
/linux-4.1.27/net/core/ |
H A D | dev_ioctl.c | 14 * We need this ioctl for efficient implementation of the 316 * Unknown or private ioctl dev_ifsioc() 382 * dev_ioctl - network device ioctl 387 * Issue ioctl functions to devices. This is normally called by the 428 * These ioctl calls: dev_ioctl() 469 * These ioctl calls: dev_ioctl() 493 * These ioctl calls: dev_ioctl() 504 * These ioctl calls: dev_ioctl() 546 * Unknown or private ioctl. dev_ioctl()
|
/linux-4.1.27/sound/oss/ |
H A D | midibuf.c | 14 * Thomas Sailer : ioctl code reworked (vmalloc/vfree removed) 371 if (midi_devs[dev]->coproc) /* Coprocessor ioctl */ MIDIbuf_ioctl() 372 return midi_devs[dev]->coproc->ioctl(midi_devs[dev]->coproc->devc, cmd, arg, 0); MIDIbuf_ioctl() 390 if (!midi_devs[dev]->ioctl) MIDIbuf_ioctl() 392 return midi_devs[dev]->ioctl(dev, cmd, arg); MIDIbuf_ioctl()
|
H A D | dev_table.h | 159 int (*ioctl) (void *devc, unsigned int cmd, void __user * arg, int local); member in struct:coproc_operations 174 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member in struct:audio_driver 250 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member in struct:mixer_operations 267 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member in struct:synth_operations 320 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member in struct:midi_operations 351 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member in struct:sound_timer_operations
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-module.c | 67 CERROR("PORTALS: user buffer too small for ioctl\n"); libcfs_ioctl_getdata() 78 CERROR("PORTALS: ioctl not correctly formatted\n"); libcfs_ioctl_getdata() 146 CDEBUG(D_IOCTL, "invalid ioctl ( type %d, nr %d, size %d )\n", libcfs_ioctl()
|
/linux-4.1.27/include/uapi/linux/spi/ |
H A D | spidev.h | 81 * status = ioctl(fd, SPI_IOC_MESSAGE(4), mesg); 104 * incompatibly, then the ioctl number (currently 0) must change; 112 /* not all platforms use <asm-generic/ioctl.h> or _IOC_TYPECHECK() ... */
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
H A D | hostap_common.h | 222 /* New wireless extensions API - SET/GET convention (even ioctl numbers are 246 /* PRISM2_IOCTL_PRISM2_PARAM ioctl() subtypes: */ 294 /* PRISM2_IOCTL_MACCMD ioctl() subcommands: */ 300 /* PRISM2_IOCTL_DOWNLOAD ioctl() dl_cmd: */ 331 /* PRISM2_IOCTL_HOSTAPD ioctl() cmd: */ 356 /* Maximum length for algorithm names (-1 for nul termination) used in ioctl()
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | file.c | 11 #include <sys/ioctl.h> 85 err = ioctl(fd, cmd, arg); os_ioctl_generic() 95 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) os_get_ifname() 106 if (ioctl(fd, TIOCSETD, &disc) < 0) os_set_slip() 110 if (ioctl(fd, SIOCSIFENCAP, &sencap) < 0) os_set_slip() 307 if (ioctl(fd, BLKGETSIZE, &blocks) < 0) { os_file_size()
|