arch/parisc/kernel/perf.c
462
error = -ENOTTY;
arch/powerpc/kvm/book3s_64_vio.c
170
return -ENOTTY;
arch/powerpc/kvm/book3s_hv.c
6206
r = -ENOTTY;
arch/powerpc/kvm/book3s_pr.c
2042
return -ENOTTY;
arch/powerpc/kvm/powerpc.c
2244
return -ENOTTY;
arch/powerpc/kvm/powerpc.c
2269
return -ENOTTY;
arch/powerpc/kvm/powerpc.c
2294
if (r != -ENOTTY)
arch/powerpc/kvm/powerpc.c
2472
r = -ENOTTY;
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
599
ret = -ENOTTY;
arch/powerpc/platforms/powernv/eeh-powernv.c
934
return -ENOTTY;
arch/powerpc/platforms/powernv/eeh-powernv.c
938
return -ENOTTY;
arch/powerpc/platforms/powernv/eeh-powernv.c
972
return -ENOTTY;
arch/powerpc/platforms/powernv/eeh-powernv.c
976
return -ENOTTY;
arch/s390/hypfs/hypfs_sprp.c
123
return -ENOTTY;
arch/s390/kernel/perf_cpum_cf.c
1681
ret = -ENOTTY;
arch/s390/kvm/kvm-s390.c
2572
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
2807
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
3097
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
5725
r = -ENOTTY;
arch/um/drivers/harddog_kern.c
135
return -ENOTTY;
arch/x86/coco/sev/core.c
1886
return -ENOTTY;
arch/x86/events/intel/uncore_snb.c
1019
return -ENOTTY;
arch/x86/include/asm/sev.h
623
return -ENOTTY;
arch/x86/kernel/apm_32.c
1532
return -ENOTTY;
arch/x86/kernel/cpu/mce/dev-mcelog.c
270
return -ENOTTY;
arch/x86/kernel/cpu/mtrr/if.c
219
return -ENOTTY;
arch/x86/kernel/cpu/sgx/virt.c
307
return -ENOTTY;
arch/x86/kernel/msr.c
199
err = -ENOTTY;
arch/x86/kvm/smm.h
146
return -ENOTTY;
arch/x86/kvm/smm.h
162
static inline int kvm_inject_smi(struct kvm_vcpu *vcpu) { return -ENOTTY; }
arch/x86/kvm/svm/sev.c
1124
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1153
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1209
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1222
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1352
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1431
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1505
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1584
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1695
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1772
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1783
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1800
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1942
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2261
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2289
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2548
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2631
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2656
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2745
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2819
return -ENOTTY;
arch/x86/kvm/svm/sev.c
291
return -ENOTTY;
arch/x86/kvm/svm/sev.c
661
return -ENOTTY;
arch/x86/kvm/svm/sev.c
908
return -ENOTTY;
arch/x86/kvm/vmx/main.c
834
return -ENOTTY;
arch/x86/kvm/x86.c
6033
return -ENOTTY;
arch/x86/kvm/x86.c
6045
return -ENOTTY;
arch/x86/kvm/x86.c
6654
r = -ENOTTY;
arch/x86/kvm/x86.c
7125
long r = -ENOTTY;
arch/x86/kvm/x86.c
7262
int r = -ENOTTY;
arch/x86/kvm/x86.c
7312
r = -ENOTTY;
arch/x86/kvm/x86.c
7559
r = -ENOTTY;
arch/x86/kvm/x86.c
7572
r = -ENOTTY;
arch/x86/kvm/x86.c
7586
r = -ENOTTY;
arch/x86/kvm/x86.c
7618
r = -ENOTTY;
block/blk-crypto-internal.h
145
return -ENOTTY;
block/blk-crypto.c
582
return -ENOTTY;
block/blk-zoned.c
385
return -ENOTTY;
block/blk-zoned.c
463
return -ENOTTY;
block/blk-zoned.c
484
return -ENOTTY;
block/blk.h
615
return -ENOTTY;
block/blk.h
620
return -ENOTTY;
block/bsg.c
159
return -ENOTTY;
block/ioctl.c
562
return -ENOTTY;
block/ioctl.c
596
return -ENOTTY;
block/ioctl.c
796
return -ENOTTY;
block/sed-opal.c
3595
int ret = -ENOTTY;
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1250
retcode = -ENOTTY;
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1315
return -ENOTTY;
drivers/accel/habanalabs/common/hldio.h
116
{ return -ENOTTY; }
drivers/acpi/apei/erst-dbg.c
77
return -ENOTTY;
drivers/acpi/nfit/core.c
123
return -ENOTTY;
drivers/acpi/nfit/core.c
132
return -ENOTTY;
drivers/acpi/nfit/core.c
2394
return -ENOTTY;
drivers/acpi/nfit/core.c
3263
return -ENOTTY;
drivers/acpi/nfit/core.c
423
return -ENOTTY;
drivers/acpi/nfit/core.c
482
return -ENOTTY;
drivers/acpi/nfit/core.c
515
return -ENOTTY;
drivers/acpi/nfit/core.c
523
return -ENOTTY;
drivers/acpi/nfit/core.c
525
return -ENOTTY;
drivers/acpi/nfit/intel.c
135
return -ENOTTY;
drivers/acpi/nfit/intel.c
168
return -ENOTTY;
drivers/acpi/nfit/intel.c
209
return -ENOTTY;
drivers/acpi/nfit/intel.c
246
return -ENOTTY;
drivers/acpi/nfit/intel.c
288
return -ENOTTY;
drivers/acpi/nfit/intel.c
327
return -ENOTTY;
drivers/acpi/nfit/intel.c
363
return -ENOTTY;
drivers/acpi/pfr_telemetry.c
293
return -ENOTTY;
drivers/acpi/pfr_update.c
460
return -ENOTTY;
drivers/ata/libata-scsi.c
705
rc = -ENOTTY;
drivers/block/aoe/aoeblk.c
312
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3049
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3052
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3056
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3087
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3090
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3094
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3165
return -ENOTTY;
drivers/block/mtip32xx/mtip32xx.c
3170
return -ENOTTY;
drivers/block/nbd.c
1674
return -ENOTTY;
drivers/block/swim.c
711
return -ENOTTY;
drivers/block/swim3.c
911
return -ENOTTY;
drivers/cdrom/cdrom.c
1776
return -ENOTTY;
drivers/cdrom/cdrom.c
3337
return -ENOTTY;
drivers/cdrom/cdrom.c
3398
if (ret != -ENOTTY)
drivers/char/ipmi/ipmi_devintf.c
608
rv = -ENOTTY;
drivers/char/ipmi/ipmi_msghandler.c
1330
rv = -ENOTTY;
drivers/char/nvram.c
282
long ret = -ENOTTY;
drivers/char/uv_mmtimer.c
133
ret = -ENOTTY;
drivers/comedi/comedi_fops.c
2299
rc = -ENOTTY;
drivers/comedi/comedi_fops.c
2435
rc = -ENOTTY;
drivers/cxl/core/mbox.c
455
return -ENOTTY;
drivers/cxl/core/mbox.c
509
return -ENOTTY;
drivers/cxl/core/memdev.c
750
return -ENOTTY;
drivers/cxl/pmem.c
289
return -ENOTTY;
drivers/cxl/pmem.c
299
return -ENOTTY;
drivers/cxl/pmem.c
314
return -ENOTTY;
drivers/dma-buf/dma-buf.c
591
return -ENOTTY;
drivers/dma-buf/dma-heap.c
180
ret = -ENOTTY;
drivers/dma-buf/sw_sync.c
476
return -ENOTTY;
drivers/dma-buf/sync_file.c
398
return -ENOTTY;
drivers/dma-buf/udmabuf.c
502
ret = -ENOTTY;
drivers/firewire/core-cdev.c
1831
return -ENOTTY;
drivers/firmware/efi/test/efi_test.c
723
return -ENOTTY;
drivers/fsi/fsi-sbefifo.c
986
int rc = -ENOTTY;
drivers/fsi/fsi-scom.c
478
int rc = -ENOTTY;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3568
retcode = -ENOTTY;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3584
retcode = -ENOTTY;
drivers/gpu/drm/drm_fb_helper.c
1013
ret = -ENOTTY;
drivers/gpu/drm/drm_ioctl.c
854
return -ENOTTY;
drivers/gpu/drm/i915/gvt/kvmgt.c
1139
return -ENOTTY;
drivers/gpu/drm/i915/gvt/kvmgt.c
1385
return -ENOTTY;
drivers/gpu/drm/i915/i915_pci.c
1005
return err > 0 ? -ENOTTY : err;
drivers/gpu/drm/i915/i915_pci.c
1011
return err > 0 ? -ENOTTY : err;
drivers/gpu/drm/i915/selftests/i915_selftest.c
289
if (WARN(err > 0 || err == -ENOTTY,
drivers/gpu/drm/i915/selftests/i915_selftest.c
319
i915_selftest.mock = -ENOTTY;
drivers/gpu/drm/i915/selftests/i915_selftest.c
360
i915_selftest.live = -ENOTTY;
drivers/gpu/drm/i915/selftests/i915_selftest.c
385
i915_selftest.perf = -ENOTTY;
drivers/gpu/drm/nouveau/nouveau_abi16.c
361
return -ENOTTY;
drivers/gpu/drm/radeon/radeon_gem.c
678
return -ENOTTY;
drivers/hid/hid-roccat.c
403
retval = -ENOTTY;
drivers/hid/hidraw.c
532
ret = -ENOTTY;
drivers/hsi/clients/cmt_speech.c
1252
r = -ENOTTY;
drivers/hv/mshv_root_main.c
1688
ret = -ENOTTY;
drivers/hv/mshv_root_main.c
2143
return -ENOTTY;
drivers/hv/mshv_root_main.c
905
long r = -ENOTTY;
drivers/hv/mshv_vtl_main.c
176
return -ENOTTY;
drivers/hv/mshv_vtl_main.c
793
ret = -ENOTTY;
drivers/hwmon/fschmd.c
944
ret = -ENOTTY;
drivers/hwmon/w83793.c
1447
ret = -ENOTTY;
drivers/hwtracing/stm/core.c
813
int err = -ENOTTY;
drivers/i2c/i2c-dev.c
505
return -ENOTTY;
drivers/infiniband/hw/hfi1/pcie.c
805
return -ENOTTY;
drivers/infiniband/hw/hfi1/pcie.c
814
return -ENOTTY;
drivers/md/bcache/request.c
1240
return -ENOTTY;
drivers/md/bcache/request.c
1325
return -ENOTTY;
drivers/md/dm-ioctl.c
2202
return -ENOTTY;
drivers/md/dm-ioctl.c
2223
return -ENOTTY;
drivers/md/dm-mpath.c
2146
return -ENOTTY;
drivers/md/dm-vdo/errors.c
42
[ENOTTY] = "Inappropriate ioctl for device",
drivers/md/dm.c
3497
int ret = -ENOTTY, srcu_idx;
drivers/md/dm.c
422
r = -ENOTTY;
drivers/md/dm.c
479
r = -ENOTTY;
drivers/md/md.c
8271
return -ENOTTY;
drivers/media/cec/core/cec-api.c
128
return -ENOTTY;
drivers/media/cec/core/cec-api.c
174
return -ENOTTY;
drivers/media/cec/core/cec-api.c
202
return -ENOTTY;
drivers/media/cec/core/cec-api.c
218
return -ENOTTY;
drivers/media/cec/core/cec-api.c
549
return -ENOTTY;
drivers/media/cec/platform/cec-gpio/cec-gpio.c
152
return -ENOTTY;
drivers/media/cec/platform/cec-gpio/cec-gpio.c
161
return -ENOTTY;
drivers/media/cec/usb/pulse8/pulse8-cec.c
256
return -ENOTTY;
drivers/media/cec/usb/pulse8/pulse8-cec.c
274
if (err != -ENOTTY)
drivers/media/cec/usb/pulse8/pulse8-cec.c
284
return err == -ENOTTY ? -EIO : err;
drivers/media/dvb-core/dmxdev.c
1191
ret = -ENOTTY;
drivers/media/dvb-core/dmxdev.c
1237
return -ENOTTY;
drivers/media/dvb-core/dmxdev.c
1326
ret = -ENOTTY;
drivers/media/dvb-core/dmxdev.c
1374
return -ENOTTY;
drivers/media/dvb-core/dvb_net.c
1555
ret = -ENOTTY;
drivers/media/dvb-core/dvbdev.c
998
err = -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
2038
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
2048
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
255
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
305
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
3307
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c
3399
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c
864
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_top.c
1017
return -ENOTTY;
drivers/media/dvb-frontends/cxd2880/cxd2880_top.c
981
return -ENOTTY;
drivers/media/i2c/adv7842.c
3263
return -ENOTTY;
drivers/media/mc/mc-device.c
378
return -ENOTTY;
drivers/media/mc/mc-devnode.c
112
return -ENOTTY;
drivers/media/pci/bt8xx/bttv-driver.c
2443
return -ENOTTY;
drivers/media/pci/bt8xx/bttv-driver.c
2454
return -ENOTTY;
drivers/media/pci/cx18/cx18-ioctl.c
1000
return -ENOTTY;
drivers/media/pci/ddbridge/ddbridge-core.c
2710
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1060
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1073
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1394
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1396
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1461
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1463
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1481
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1483
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1681
return -ENOTTY;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec.c
609
return -ENOTTY;
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2720
return -ENOTTY;
drivers/media/platform/qcom/iris/iris_vidc.c
416
return -ENOTTY;
drivers/media/platform/renesas/vsp1/vsp1_histo.c
182
return -ENOTTY;
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
525
return -ENOTTY;
drivers/media/platform/ti/am437x/am437x-vpfe.c
2074
ret = -ENOTTY;
drivers/media/platform/ti/omap3isp/ispvideo.c
779
return ret == -ENOIOCTLCMD ? -ENOTTY : ret;
drivers/media/platform/ti/omap3isp/ispvideo.c
851
return ret == -ENOIOCTLCMD ? -ENOTTY : ret;
drivers/media/platform/ti/omap3isp/ispvideo.c
898
return ret == -ENOIOCTLCMD ? -ENOTTY : ret;
drivers/media/platform/verisilicon/hantro_v4l2.c
203
return -ENOTTY;
drivers/media/radio/radio-si476x.c
839
retval = -ENOTTY;
drivers/media/radio/tea575x.c
363
return -ENOTTY;
drivers/media/rc/lirc_dev.c
424
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
432
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
451
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
458
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
468
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
475
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
482
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
492
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
502
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
511
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
518
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
525
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
533
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
540
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
547
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
560
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
567
ret = -ENOTTY;
drivers/media/rc/lirc_dev.c
571
ret = -ENOTTY;
drivers/media/test-drivers/vim2m.c
1005
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
1021
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
1038
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
1062
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
777
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
788
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
799
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
810
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
849
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
878
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
907
return -ENOTTY;
drivers/media/test-drivers/vim2m.c
934
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
286
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
297
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
355
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
364
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
373
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-core.c
444
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
129
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-touch-cap.c
140
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
816
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
826
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
836
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
846
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
856
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
866
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
876
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
925
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
583
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
593
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
603
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
613
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
623
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
633
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
643
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
690
return -ENOTTY;
drivers/media/usb/em28xx/em28xx-video.c
1786
return -ENOTTY;
drivers/media/usb/gspca/ov519.c
4794
return -ENOTTY;
drivers/media/usb/gspca/ov519.c
4809
return -ENOTTY;
drivers/media/usb/gspca/topro.c
4817
return -ENOTTY;
drivers/media/usb/gspca/topro.c
4828
return -ENOTTY;
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
1419
return -ENOTTY;
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
3606
return -ENOTTY;
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4028
return -ENOTTY;
drivers/media/usb/uvc/uvc_v4l2.c
1067
return -ENOTTY;
drivers/media/usb/uvc/uvc_v4l2.c
178
ret = -ENOTTY;
drivers/media/v4l2-core/v4l2-dev.c
368
ret = -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2245
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2309
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2333
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2349
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2366
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2398
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2427
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2447
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2467
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2590
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2600
if (ret && ret != -ENOTTY && ret != -ENOIOCTLCMD)
drivers/media/v4l2-core/v4l2-ioctl.c
2674
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2702
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2745
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
2808
if (err != -ENOTTY)
drivers/media/v4l2-core/v4l2-ioctl.c
2847
return -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
3076
long ret = -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
3135
ret = -ENOTTY;
drivers/media/v4l2-core/v4l2-ioctl.c
3476
if (err == -ENOTTY || err == -ENOIOCTLCMD) {
drivers/media/v4l2-core/v4l2-ioctl.c
3477
err = -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
687
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
692
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
697
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
702
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
707
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
712
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
718
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
724
return -ENOTTY;
drivers/misc/amd-sbi/rmi-core.c
567
return -ENOTTY;
drivers/misc/enclosure.c
594
return (edev->cb->get_power_status) ? -EIO : -ENOTTY;
drivers/misc/fastrpc.c
2205
err = -ENOTTY;
drivers/misc/mei/bus-fixup.c
472
ret = -ENOTTY;
drivers/misc/mei/bus.c
82
rets = -ENOTTY;
drivers/misc/mei/bus.c
834
ret = -ENOTTY;
drivers/misc/mei/client.c
1664
return -ENOTTY;
drivers/misc/mei/hbm.c
79
case MEI_CL_CONN_NOT_FOUND: return -ENOTTY;
drivers/misc/mei/main.c
345
rets = -ENOTTY;
drivers/misc/mei/main.c
434
rets = -ENOTTY;
drivers/misc/mei/main.c
444
rets = -ENOTTY;
drivers/misc/mei/main.c
512
return -ENOTTY;
drivers/misc/mei/main.c
707
if (rets == -ENOTTY)
drivers/misc/mrvl_cn10k_dpi.c
570
ret = -ENOTTY;
drivers/misc/phantom.c
193
return -ENOTTY;
drivers/misc/xilinx_sdfec.c
995
rval = -ENOTTY;
drivers/mtd/mtd_blkdevs.c
259
ret = dev->tr->getgeo ? dev->tr->getgeo(dev, geo) : -ENOTTY;
drivers/mtd/mtdchar.c
876
return -ENOTTY;
drivers/mtd/ubi/cdev.c
1065
err = -ENOTTY;
drivers/mtd/ubi/cdev.c
1145
err = -ENOTTY;
drivers/mtd/ubi/cdev.c
580
err = -ENOTTY;
drivers/net/can/softing/softing_cs.c
239
return -ENOTTY;
drivers/net/ethernet/intel/i40e/i40e_adminq.h
102
-ENOTTY, /* I40E_AQ_RC_ENOTTY */
drivers/net/ethernet/intel/iavf/iavf_adminq.h
102
-ENOTTY, /* IAVF_AQ_RC_ENOTTY */
drivers/net/ppp/ppp_async.c
475
err = -ENOTTY;
drivers/net/ppp/ppp_generic.c
1106
err = -ENOTTY;
drivers/net/ppp/ppp_generic.c
793
err = -ENOTTY;
drivers/net/ppp/ppp_generic.c
967
err = -ENOTTY;
drivers/net/ppp/ppp_synctty.c
467
err = -ENOTTY;
drivers/net/ppp/pppoe.c
762
err = -ENOTTY;
drivers/net/ppp/pppox.c
93
pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY;
drivers/net/ppp/pptp.c
605
err = -ENOTTY;
drivers/nfc/virtual_ncidev.c
184
return -ENOTTY;
drivers/nvdimm/bus.c
1077
return -ENOTTY;
drivers/nvdimm/dimm.c
30
if (rc == -ENOTTY)
drivers/nvdimm/dimm_devs.c
34
return -ENOTTY;
drivers/nvdimm/dimm_devs.c
371
return -ENOTTY;
drivers/nvdimm/ramdax.c
177
return -ENOTTY;
drivers/nvdimm/ramdax.c
187
return -ENOTTY;
drivers/nvdimm/ramdax.c
202
return -ENOTTY;
drivers/nvme/host/ioctl.c
606
return -ENOTTY;
drivers/nvme/host/ioctl.c
666
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
800
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
814
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
872
return -ENOTTY;
drivers/nvme/host/nvme.h
750
return -ENOTTY;
drivers/pci/pci-acpi.c
964
return -ENOTTY;
drivers/pci/pci-acpi.c
977
ret = -ENOTTY;
drivers/pci/pci.c
1233
return -ENOTTY;
drivers/pci/pci.c
1249
return -ENOTTY;
drivers/pci/pci.c
4405
return -ENOTTY;
drivers/pci/pci.c
4408
return -ENOTTY;
drivers/pci/pci.c
4425
return -ENOTTY;
drivers/pci/pci.c
4428
return -ENOTTY;
drivers/pci/pci.c
4432
return -ENOTTY;
drivers/pci/pci.c
4493
return -ENOTTY;
drivers/pci/pci.c
4497
return -ENOTTY;
drivers/pci/pci.c
4802
return -ENOTTY;
drivers/pci/pci.c
4806
return -ENOTTY;
drivers/pci/pci.c
4817
return -ENOTTY;
drivers/pci/pci.c
4871
return -ENOTTY;
drivers/pci/pci.c
4875
return -ENOTTY;
drivers/pci/pci.c
4885
int rc = -ENOTTY;
drivers/pci/pci.c
4902
return -ENOTTY;
drivers/pci/pci.c
4947
return -ENOTTY;
drivers/pci/pci.c
4956
if (rc != -ENOTTY)
drivers/pci/pci.c
4973
return -ENOTTY;
drivers/pci/pci.c
4977
return -ENOTTY;
drivers/pci/pci.c
4984
return -ENOTTY;
drivers/pci/pci.c
5143
return -ENOTTY;
drivers/pci/pci.c
5152
if (rc != -ENOTTY)
drivers/pci/pci.c
5156
return -ENOTTY;
drivers/pci/pci.c
5185
else if (rc != -ENOTTY)
drivers/pci/pci.c
5214
return -ENOTTY;
drivers/pci/pci.c
5265
return -ENOTTY;
drivers/pci/pci.c
5288
return -ENOTTY;
drivers/pci/pci.c
5524
return -ENOTTY;
drivers/pci/pci.c
5591
return -ENOTTY;
drivers/pci/pci.c
5652
return -ENOTTY;
drivers/pci/pci.h
1058
return -ENOTTY;
drivers/pci/pci.h
1062
return -ENOTTY;
drivers/pci/pci.h
1066
return -ENOTTY;
drivers/pci/pci.h
1071
return -ENOTTY;
drivers/pci/pci.h
1145
return -ENOTTY;
drivers/pci/pci.h
1327
return -ENOTTY;
drivers/pci/quirks.c
4012
return -ENOTTY;
drivers/pci/quirks.c
4088
return -ENOTTY;
drivers/pci/quirks.c
4095
return -ENOTTY;
drivers/pci/quirks.c
4186
return -ENOTTY;
drivers/pci/quirks.c
4192
return -ENOTTY;
drivers/pci/quirks.c
4281
return -ENOTTY;
drivers/pci/quirks.c
4758
return -ENOTTY;
drivers/pci/quirks.c
4793
return -ENOTTY;
drivers/pci/quirks.c
4862
return -ENOTTY;
drivers/pci/quirks.c
4902
return -ENOTTY;
drivers/pci/quirks.c
4985
return -ENOTTY;
drivers/pci/quirks.c
4989
return -ENOTTY;
drivers/pci/quirks.c
5024
return -ENOTTY;
drivers/pci/quirks.c
5281
return -ENOTTY;
drivers/pci/quirks.c
5378
return -ENOTTY;
drivers/pci/quirks.c
5400
return -ENOTTY;
drivers/pci/quirks.c
5404
return -ENOTTY;
drivers/pci/quirks.c
5430
return -ENOTTY;
drivers/pci/quirks.c
5434
return -ENOTTY;
drivers/pci/quirks.c
5481
return -ENOTTY;
drivers/pci/quirks.c
5502
return -ENOTTY;
drivers/pci/quirks.c
99
int ret = -ENOTTY;
drivers/pci/switch/switchtec.c
1239
rc = -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
370
return -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
399
return -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
411
return -ENOTTY;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
862
ret = -ENOTTY;
drivers/platform/surface/surface_aggregator_cdev.c
551
return -ENOTTY;
drivers/platform/x86/intel/speed_select_if/isst_if_common.c
584
long ret = -ENOTTY;
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
1502
long ret = -ENOTTY;
drivers/platform/x86/intel_scu_ipcutil.c
65
return -ENOTTY;
drivers/pps/generators/pps_gen.c
113
return -ENOTTY;
drivers/pps/pps.c
250
return -ENOTTY;
drivers/ptp/ptp_chardev.c
579
return -ENOTTY;
drivers/pwm/core.c
2383
return -ENOTTY;
drivers/rtc/dev.c
464
err = -ENOTTY;
drivers/rtc/dev.c
466
err = -ENOTTY;
drivers/rtc/rtc-m41t80.c
802
return -ENOTTY;
drivers/s390/block/dasd_eckd.c
5497
return -ENOTTY;
drivers/s390/block/dasd_ioctl.c
237
return -ENOTTY;
drivers/s390/block/dasd_ioctl.c
486
return -ENOTTY;
drivers/s390/block/dasd_ioctl.c
491
return -ENOTTY;
drivers/s390/block/dasd_ioctl.c
687
rc = -ENOTTY;
drivers/s390/char/sclp_ctl.c
99
return -ENOTTY;
drivers/s390/char/vmcp.c
202
int ret = -ENOTTY;
drivers/s390/cio/vfio_ccw_ops.c
563
return -ENOTTY;
drivers/s390/crypto/pkey_api.c
762
return -ENOTTY;
drivers/sbus/char/openprom.c
636
long rval = -ENOTTY;
drivers/scsi/3w-9xxx.h
394
#define TW_IOCTL_ERROR_OS_ENOTTY -ENOTTY // Not a typewriter
drivers/scsi/3w-sas.c
813
retval = -ENOTTY;
drivers/scsi/3w-xxxx.c
1015
retval = -ENOTTY;
drivers/scsi/aacraid/aachba.c
3364
return -ENOTTY;
drivers/scsi/aacraid/commctrl.c
1078
if (status != -ENOTTY)
drivers/scsi/aacraid/commctrl.c
1112
status = -ENOTTY;
drivers/scsi/hpsa.c
6662
return -ENOTTY;
drivers/scsi/megaraid/megaraid_sas_base.c
8634
return -ENOTTY;
drivers/scsi/megaraid/megaraid_sas_base.c
8649
return -ENOTTY;
drivers/scsi/pmcraid.c
3469
int retval = -ENOTTY;
drivers/scsi/pmcraid.c
3491
return -ENOTTY;
drivers/scsi/pmcraid.c
3503
retval = -ENOTTY;
drivers/spi/spidev.c
335
return ERR_PTR(-ENOTTY);
drivers/spi/spidev.c
361
return -ENOTTY;
drivers/staging/greybus/authentication.c
260
return -ENOTTY;
drivers/staging/greybus/fw-management.c
513
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
621
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
662
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
692
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
705
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
718
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
735
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
770
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
784
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
797
return -ENOTTY;
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
555
return -ENOTTY;
drivers/tty/ipwireless/network.c
237
err = -ENOTTY;
drivers/tty/serial/serial_core.c
1460
return -ENOTTY;
drivers/tty/serial/serial_core.c
1503
return -ENOTTY;
drivers/tty/serial/serial_core.c
1521
return -ENOTTY;
drivers/tty/tty_io.c
2248
int retval = -ENOTTY;
drivers/tty/tty_io.c
2396
return -ENOTTY;
drivers/tty/tty_io.c
2507
int retval = -ENOTTY;
drivers/tty/tty_io.c
2555
return -ENOTTY;
drivers/tty/tty_io.c
2595
return -ENOTTY;
drivers/tty/tty_io.c
2624
return -ENOTTY;
drivers/tty/tty_io.c
2646
return -ENOTTY;
drivers/tty/tty_io.c
2803
retval = -ENOTTY;
drivers/tty/tty_io.c
2862
return -ENOTTY;
drivers/tty/tty_io.c
437
return cmd == TIOCSPGRP ? -ENOTTY : -EIO;
drivers/tty/tty_io.c
443
return cmd == TIOCSPGRP ? -ENOTTY : -EIO;
drivers/tty/tty_io.c
448
return -ENOTTY;
drivers/tty/tty_ioctl.c
876
return -ENOTTY;
drivers/tty/tty_jobctrl.c
475
return -ENOTTY;
drivers/tty/tty_jobctrl.c
500
return -ENOTTY;
drivers/tty/tty_jobctrl.c
513
retval = -ENOTTY;
drivers/tty/tty_jobctrl.c
553
return -ENOTTY;
drivers/tty/tty_jobctrl.c
565
return -ENOTTY;
drivers/tty/tty_jobctrl.c
580
return -ENOTTY;
drivers/usb/class/cdc-wdm.c
799
rv = -ENOTTY;
drivers/usb/class/usblp.c
686
retval = -ENOTTY;
drivers/usb/class/usblp.c
713
retval = -ENOTTY;
drivers/usb/core/devio.c
2377
retval = -ENOTTY;
drivers/usb/core/devio.c
2381
retval = -ENOTTY;
drivers/usb/core/devio.c
2605
int ret = -ENOTTY;
drivers/usb/gadget/function/f_fs.c
1849
ret = -ENOTTY;
drivers/usb/gadget/function/f_fs.c
686
ret = -ENOTTY;
drivers/usb/gadget/function/f_hid.c
708
return -ENOTTY;
drivers/usb/gadget/function/f_printer.c
817
status = -ENOTTY;
drivers/usb/gadget/legacy/inode.c
1255
long ret = -ENOTTY;
drivers/usb/gadget/legacy/inode.c
423
status = -ENOTTY;
drivers/usb/gadget/udc/atmel_usba_udc.c
936
return -ENOTTY;
drivers/usb/misc/iowarrior.c
594
retval = -ENOTTY;
drivers/usb/misc/sisusbvga/sisusbvga.c
2731
retval = -ENOTTY;
drivers/usb/misc/usblcd.c
189
return -ENOTTY;
drivers/usb/mon/mon_bin.c
1131
return -ENOTTY;
drivers/usb/mon/mon_bin.c
1201
return -ENOTTY;
drivers/usb/serial/cp210x.c
1450
return -ENOTTY;
drivers/usb/serial/cypress_m8.c
373
retval = -ENOTTY;
drivers/usb/serial/pl2303.c
1103
return -ENOTTY;
drivers/usb/serial/usb-serial.c
540
return -ENOTTY;
drivers/usb/serial/usb-serial.c
586
return -ENOTTY;
drivers/usb/serial/usb-serial.c
598
return -ENOTTY;
drivers/usb/serial/usb-serial.c
610
return -ENOTTY;
drivers/vfio/cdx/main.c
123
return -ENOTTY;
drivers/vfio/cdx/main.c
240
return -ENOTTY;
drivers/vfio/cdx/main.c
96
return -ENOTTY;
drivers/vfio/container.c
52
return -ENOTTY;
drivers/vfio/container.c
543
return -ENOTTY;
drivers/vfio/container.c
568
return -ENOTTY;
drivers/vfio/fsl-mc/vfio_fsl_mc.c
230
return -ENOTTY;
drivers/vfio/group.c
380
return -ENOTTY;
drivers/vfio/pci/nvgrace-gpu/main.c
593
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1578
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1591
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1629
return -ENOTTY;
drivers/vfio/pci/vfio_pci_intrs.c
628
return -ENOTTY; /* XXX implement me */
drivers/vfio/pci/vfio_pci_intrs.c
877
return -ENOTTY;
drivers/vfio/pci/vfio_pci_priv.h
129
return -ENOTTY;
drivers/vfio/platform/vfio_platform_common.c
377
return -ENOTTY;
drivers/vfio/platform/vfio_platform_irq.c
282
return -ENOTTY;
drivers/vfio/vfio.h
406
return -ENOTTY;
drivers/vfio/vfio_iommu_spapr_tce.c
1187
return -ENOTTY;
drivers/vfio/vfio_iommu_type1.c
3098
return -ENOTTY;
drivers/vfio/vfio_main.c
1011
return -ENOTTY;
drivers/vfio/vfio_main.c
1101
return -ENOTTY;
drivers/vfio/vfio_main.c
1175
return -ENOTTY;
drivers/vfio/vfio_main.c
1208
return -ENOTTY;
drivers/vfio/vfio_main.c
1293
return -ENOTTY;
drivers/vfio/vfio_main.c
918
return -ENOTTY;
drivers/vfio/vfio_main.c
966
return -ENOTTY;
drivers/video/fbdev/core/fb_chrdev.c
151
ret = -ENOTTY;
drivers/video/fbdev/matrox/matroxfb_base.c
1168
return -ENOTTY;
drivers/video/fbdev/matrox/matroxfb_crtc2.c
548
return -ENOTTY;
drivers/video/fbdev/s3c-fb.c
1033
ret = -ENOTTY;
drivers/virt/acrn/hsm.c
420
ret = -ENOTTY;
drivers/virt/coco/sev-guest/sev-guest.c
293
int ret = -ENOTTY;
drivers/virt/coco/tdx-guest/tdx-guest.c
371
return -ENOTTY;
drivers/virt/fsl_hypervisor.c
447
return -ENOTTY;
drivers/virt/nitro_enclaves/ne_misc_dev.c
1374
return -ENOTTY;
drivers/virt/nitro_enclaves/ne_misc_dev.c
1750
return -ENOTTY;
drivers/virt/vboxguest/vboxguest_core.c
1769
return -ENOTTY;
drivers/virt/vboxguest/vboxguest_utils.c
769
[-VERR_INVALID_FUNCTION] = -ENOTTY,
drivers/watchdog/acquirewdt.c
185
return -ENOTTY;
drivers/watchdog/advantechwdt.c
184
return -ENOTTY;
drivers/watchdog/alim1535_wdt.c
227
return -ENOTTY;
drivers/watchdog/alim7101_wdt.c
286
return -ENOTTY;
drivers/watchdog/at91rm9200_wdt.c
194
return -ENOTTY;
drivers/watchdog/ath79_wdt.c
225
err = -ENOTTY;
drivers/watchdog/eurotechwdt.c
295
return -ENOTTY;
drivers/watchdog/gef_wdt.c
212
return -ENOTTY;
drivers/watchdog/geodewdt.c
191
return -ENOTTY;
drivers/watchdog/ib700wdt.c
223
return -ENOTTY;
drivers/watchdog/ibmasr.c
313
return -ENOTTY;
drivers/watchdog/indydog.c
137
return -ENOTTY;
drivers/watchdog/it8712f_wdt.c
311
return -ENOTTY;
drivers/watchdog/m54xx_wdt.c
122
int ret = -ENOTTY;
drivers/watchdog/mixcomwd.c
220
return -ENOTTY;
drivers/watchdog/mtx-1_wdt.c
163
return -ENOTTY;
drivers/watchdog/nv_tco.c
257
return -ENOTTY;
drivers/watchdog/pc87413_wdt.c
441
return -ENOTTY;
drivers/watchdog/pcwd.c
660
return -ENOTTY;
drivers/watchdog/pcwd_pci.c
561
return -ENOTTY;
drivers/watchdog/pcwd_usb.c
473
return -ENOTTY;
drivers/watchdog/pika_wdt.c
206
return -ENOTTY;
drivers/watchdog/rc32434_wdt.c
237
return -ENOTTY;
drivers/watchdog/rdc321x_wdt.c
182
return -ENOTTY;
drivers/watchdog/sa1100_wdt.c
120
int ret = -ENOTTY;
drivers/watchdog/sb_wdog.c
172
int ret = -ENOTTY;
drivers/watchdog/sbc60xxwdt.c
272
return -ENOTTY;
drivers/watchdog/sbc7240_wdt.c
202
return -ENOTTY;
drivers/watchdog/sbc_epx_c3.c
141
return -ENOTTY;
drivers/watchdog/sbc_fitpc2_wdt.c
121
int ret = -ENOTTY;
drivers/watchdog/sc1200wdt.c
243
return -ENOTTY;
drivers/watchdog/sch311x_wdt.c
302
return -ENOTTY;
drivers/watchdog/scx200_wdt.c
195
return -ENOTTY;
drivers/watchdog/smsc37b787_wdt.c
484
return -ENOTTY;
drivers/watchdog/w83877f_wdt.c
296
return -ENOTTY;
drivers/watchdog/w83977f_wdt.c
431
return -ENOTTY;
drivers/watchdog/wafer5823wdt.c
182
return -ENOTTY;
drivers/watchdog/watchdog_dev.c
839
err = -ENOTTY;
drivers/watchdog/wdrtas.c
341
return -ENOTTY;
drivers/watchdog/wdt.c
396
return -ENOTTY;
drivers/watchdog/wdt285.c
138
int new_margin, ret = -ENOTTY;
drivers/watchdog/wdt977.c
407
return -ENOTTY;
drivers/watchdog/wdt_pci.c
433
return -ENOTTY;
drivers/xen/mcelog.c
173
return -ENOTTY;
drivers/xen/privcmd.c
1528
int ret = -ENOTTY;
drivers/xen/xenbus/xenbus_dev_backend.c
88
return -ENOTTY;
fs/autofs/dev-ioctl.c
677
return -ENOTTY;
fs/autofs/dev-ioctl.c
700
err = -ENOTTY;
fs/autofs/root.c
868
return -ENOTTY;
fs/btrfs/ioctl.c
4288
return -ENOTTY;
fs/btrfs/ioctl.c
4337
return -ENOTTY;
fs/btrfs/ioctl.c
4450
return -ENOTTY;
fs/btrfs/ioctl.c
4719
ret = -ENOTTY;
fs/btrfs/ioctl.c
4890
ret = -ENOTTY;
fs/btrfs/ioctl.c
5652
return -ENOTTY;
fs/btrfs/super.c
2263
int ret = -ENOTTY;
fs/ceph/ioctl.c
437
return -ENOTTY;
fs/coda/psdev.c
81
return -ENOTTY;
fs/debugfs/file.c
395
ARGS(filp, cmd, arg), HAS_IOCTL, -ENOTTY);
fs/ecryptfs/file.c
368
long rc = -ENOTTY;
fs/erofs/inode.c
368
return -ENOTTY;
fs/exfat/file.c
626
return -ENOTTY;
fs/ext2/ioctl.c
100
return -ENOTTY;
fs/ext2/ioctl.c
139
return -ENOTTY;
fs/ext2/ioctl.c
96
return -ENOTTY;
fs/ext4/ioctl.c
1565
return -ENOTTY;
fs/ext4/ioctl.c
1925
return -ENOTTY;
fs/f2fs/file.c
4748
return -ENOTTY;
fs/fat/file.c
172
return -ENOTTY; /* Inappropriate ioctl for device */
fs/file_attr.c
415
if (error == -ENOIOCTLCMD || error == -ENOTTY)
fs/file_attr.c
480
if (error == -ENOIOCTLCMD || error == -ENOTTY)
fs/fuse/dev.c
2363
return -ENOTTY;
fs/fuse/dir.c
1951
return -ENOTTY;
fs/fuse/dir.c
1962
return -ENOTTY;
fs/fuse/ioctl.c
28
ret = -ENOTTY;
fs/fuse/ioctl.c
31
outarg->result = -ENOTTY;
fs/fuse/ioctl.c
496
return ERR_PTR(-ENOTTY);
fs/gfs2/file.c
167
return -ENOTTY;
fs/gfs2/file.c
287
return -ENOTTY;
fs/gfs2/file.c
334
return -ENOTTY;
fs/hfsplus/ioctl.c
68
return -ENOTTY;
fs/ioctl.c
380
error = -ENOTTY;
fs/ioctl.c
46
int error = -ENOTTY;
fs/ioctl.c
461
return -ENOTTY;
fs/ioctl.c
473
return -ENOTTY;
fs/ioctl.c
522
return -ENOTTY;
fs/ioctl.c
53
error = -ENOTTY;
fs/ioctl.c
697
error = -ENOTTY;
fs/jffs2/ioctl.c
20
return -ENOTTY;
fs/jfs/ioctl.c
143
return -ENOTTY;
fs/jfs/ioctl.c
66
return -ENOTTY;
fs/jfs/ioctl.c
81
return -ENOTTY;
fs/nfsd/vfs.c
2974
case -ENOTTY:
fs/nilfs2/ioctl.c
1366
return -ENOTTY;
fs/notify/fanotify/fanotify_user.c
1149
int ret = -ENOTTY;
fs/notify/inotify/inotify_user.c
319
int ret = -ENOTTY;
fs/nsfs.c
364
ret = -ENOTTY;
fs/ntfs/file.c
821
return -ENOTTY;
fs/ntfs3/file.c
250
return -ENOTTY; /* Inappropriate ioctl for device. */
fs/ocfs2/file.c
2101
return -ENOTTY;
fs/ocfs2/file.c
2104
return -ENOTTY;
fs/ocfs2/ioctl.c
960
return -ENOTTY;
fs/overlayfs/copy_up.c
181
if (err == -ENOTTY || err == -EINVAL)
fs/overlayfs/copy_up.c
212
if (err == -ENOTTY || err == -EINVAL) {
fs/overlayfs/inode.c
710
err = -ENOTTY;
fs/proc/inode.c
375
return -ENOTTY;
fs/proc/inode.c
381
long rv = -ENOTTY;
fs/proc/inode.c
398
return -ENOTTY;
fs/proc/inode.c
404
long rv = -ENOTTY;
fs/smb/client/ioctl.c
462
int rc = -ENOTTY; /* strange error - but the precedent */
fs/smb/server/smb2pdu.c
6003
if (err && err != -ENOIOCTLCMD && err != -ENOTTY &&
fs/timerfd.c
405
ret = -ENOTTY;
fs/ubifs/ioctl.c
139
return -ENOTTY;
fs/ubifs/ioctl.c
154
return -ENOTTY;
fs/ubifs/ioctl.c
208
return -ENOTTY;
fs/xfs/scrub/xfs_scrub.h
10
# define xfs_ioc_scrub_metadata(f, a) (-ENOTTY)
fs/xfs/scrub/xfs_scrub.h
11
# define xfs_ioc_scrubv_metadata(f, a) (-ENOTTY)
fs/xfs/xfs_healthmon.c
1149
return -ENOTTY;
fs/xfs/xfs_ioctl.c
1246
return -ENOTTY;
fs/xfs/xfs_ioctl.c
1470
return -ENOTTY;
include/linux/blktrace_api.h
84
# define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY)
include/linux/blktrace_api.h
87
# define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY)
include/linux/blktrace_api.h
88
# define blk_trace_startstop(q, start) (-ENOTTY)
include/linux/blktrace_api.h
95
return -ENOTTY;
include/linux/pci.h
856
return -ENOTTY;
include/linux/vfio.h
307
return -ENOTTY;
include/net/ncsi.h
60
return -ENOTTY;
kernel/events/core.c
6699
return -ENOTTY;
kernel/kcov.c
709
return -ENOTTY;
kernel/power/user.c
272
return -ENOTTY;
kernel/power/user.c
274
return -ENOTTY;
kernel/power/user.c
429
error = -ENOTTY;
kernel/time/posix-clock.c
80
int err = -ENOTTY;
kernel/trace/blktrace.c
955
ret = -ENOTTY;
kernel/trace/trace.c
7393
return -ENOTTY;
kernel/trace/trace_events_user.c
2698
long ret = -ENOTTY;
lib/errname.c
122
E(ENOTTY),
net/atm/pppoatm.c
380
return -ENOTTY;
net/atm/resources.c
333
error = (size == -ENOIOCTLCMD ? -ENOTTY : size);
net/core/dev_ioctl.c
182
err = -ENOTTY;
net/core/dev_ioctl.c
830
return -ENOTTY;
net/core/dev_ioctl.c
847
return -ENOTTY;
net/ncsi/ncsi-manage.c
1823
return -ENOTTY;
net/rfkill/core.c
1365
int ret = -ENOTTY;
net/rfkill/core.c
1369
return -ENOTTY;
net/socket.c
1310
return -ENOTTY;
net/socket.c
3500
return -ENOTTY;
samples/vfio-mdev/mbochs.c
1281
return -ENOTTY;
samples/vfio-mdev/mdpy.c
603
return -ENOTTY;
samples/vfio-mdev/mtty.c
1577
ret = -ENOTTY; /* No support for mask fd */
samples/vfio-mdev/mtty.c
1594
ret = -ENOTTY; /* No support for unmask fd */
samples/vfio-mdev/mtty.c
1649
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1701
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1705
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1709
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1876
return -ENOTTY;
sound/core/compress_offload.c
1355
return -ENOTTY;
sound/core/compress_offload.c
1383
return -ENOTTY;
sound/core/control.c
2050
return -ENOTTY;
sound/core/hwdep.c
253
return -ENOTTY;
sound/core/info.c
209
return -ENOTTY;
sound/core/pcm_compat.c
243
return -ENOTTY;
sound/core/pcm_compat.c
293
return -ENOTTY;
sound/core/pcm_compat.c
338
return -ENOTTY;
sound/core/pcm_compat.c
561
return -ENOTTY;
sound/core/pcm_compat.c
564
return -ENOTTY;
sound/core/pcm_native.c
3507
return -ENOTTY;
sound/core/pcm_native.c
3518
return -ENOTTY;
sound/core/rawmidi.c
897
return -ENOTTY;
sound/core/rawmidi.c
989
return -ENOTTY;
sound/core/seq/seq_clientmgr.c
2265
return -ENOTTY;
sound/core/seq/seq_clientmgr.c
2455
return -ENOTTY;
sound/core/timer.c
2175
return -ENOTTY;
sound/core/timer.c
2330
return -ENOTTY;
sound/core/timer.c
2382
return -ENOTTY;
sound/core/ump.c
478
return -ENOTTY;
sound/drivers/opl3/opl3_synth.c
164
return -ENOTTY;
sound/isa/sb/sb16_csp.c
245
err = -ENOTTY;
sound/isa/wavefront/wavefront_fx.c
213
return -ENOTTY;
sound/pci/emu10k1/emufx.c
2588
return -ENOTTY;
sound/usb/usx2y/us122l.c
319
return -ENOTTY;
tools/lib/bpf/libbpf_utils.c
130
case -ENOTTY: return "-ENOTTY";
tools/lib/perf/evlist.c
382
if (errno != ENOTTY)
tools/perf/tests/wp.c
171
if (errno == ENOTTY) {
tools/power/x86/intel-speed-select/isst-core-mbox.c
102
if (errno == ENOTTY) {
tools/power/x86/intel-speed-select/isst-core-mbox.c
190
if (errno == ENOTTY) {
tools/testing/nvdimm/test/nfit.c
1373
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1382
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1490
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1497
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1516
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1524
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1550
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1568
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1571
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1574
return -ENOTTY;
tools/testing/nvdimm/test/nfit.c
1592
return -ENOTTY;
tools/testing/selftests/alsa/utimer-test.c
60
if (err == ENOTTY || err == ENXIO)
tools/testing/selftests/bpf/trace_helpers.c
268
if (err == -ENOTTY)
tools/testing/selftests/drivers/s390x/uvdevice/test_uvdevice.c
142
ASSERT_EQ(errno_cache, ENOTTY);
tools/testing/selftests/filesystems/nsfs/iterate_mntns.c
159
ASSERT_EQ(errno, ENOTTY);
tools/testing/selftests/filesystems/nsfs/iterate_mntns.c
162
ASSERT_EQ(errno, ENOTTY);
tools/testing/selftests/filesystems/nsfs/iterate_mntns.c
165
ASSERT_EQ(errno, ENOTTY);
tools/testing/selftests/hid/hidraw.c
352
ASSERT_EQ(errno, ENOTTY)
tools/testing/selftests/hid/hidraw.c
363
ASSERT_EQ(errno, ENOTTY)
tools/testing/selftests/hid/hidraw.c
371
ASSERT_EQ(errno, ENOTTY)
tools/testing/selftests/hid/hidraw.c
379
ASSERT_EQ(errno, ENOTTY)
tools/testing/selftests/iommu/iommufd.c
87
EXPECT_ERRNO(ENOTTY,
tools/testing/selftests/kvm/lib/kvm_util.c
1646
if (r && errno == ENOTTY && kvm_has_cap(KVM_CAP_SPLIT_IRQCHIP))
tools/testing/selftests/namespaces/siocgskns_test.c
1099
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1113
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1124
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1201
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1620
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1631
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
1642
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
172
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
226
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
291
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
323
ASSERT_TRUE(errno == ENOTTY || errno == EINVAL);
tools/testing/selftests/namespaces/siocgskns_test.c
330
ASSERT_TRUE(errno == ENOTTY || errno == EINVAL);
tools/testing/selftests/namespaces/siocgskns_test.c
367
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
512
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
53
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
561
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
686
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
696
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
706
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
889
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
903
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/namespaces/siocgskns_test.c
949
if (errno == ENOTTY || errno == EINVAL)
tools/testing/selftests/net/epoll_busy_poll.c
78
EXPECT_EQ(ENOTTY, errno)
tools/testing/selftests/net/epoll_busy_poll.c
88
EXPECT_EQ(ENOTTY, errno)
tools/testing/selftests/nolibc/nolibc-test.c
159
CASE_ERR(ENOTTY);
tools/testing/selftests/sgx/main.c
1254
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
1584
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
1695
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
1810
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
1931
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
414
if (errno == ENOTTY)
tools/testing/selftests/sgx/main.c
747
if (errno_save == ENOTTY)
tools/testing/selftests/sgx/main.c
810
if (errno_save == ENOTTY)
tools/testing/vsock/util.c
119
if (errno == EOPNOTSUPP || errno == ENOTTY)
virt/kvm/kvm_main.c
4744
return -ENOTTY;
virt/kvm/kvm_main.c
5410
return -ENOTTY;
virt/kvm/kvm_main.c
5423
if (r != -ENOTTY)