arch/parisc/kernel/perf.c
462
error = -ENOTTY;
arch/powerpc/kvm/book3s_64_vio.c
170
return -ENOTTY;
arch/powerpc/kvm/book3s_hv.c
6207
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
600
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
1678
ret = -ENOTTY;
arch/s390/kvm/kvm-s390.c
2487
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
2721
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
3005
r = -ENOTTY;
arch/s390/kvm/kvm-s390.c
5620
r = -ENOTTY;
arch/um/drivers/harddog_kern.c
135
return -ENOTTY;
arch/x86/coco/sev/core.c
1890
return -ENOTTY;
arch/x86/events/intel/uncore_snb.c
1026
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
1028
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1055
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1111
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1124
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1299
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1382
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1456
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1535
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1647
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1726
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1737
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1754
return -ENOTTY;
arch/x86/kvm/svm/sev.c
1898
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2216
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2244
return -ENOTTY;
arch/x86/kvm/svm/sev.c
230
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2499
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2582
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2611
r = -ENOTTY;
arch/x86/kvm/svm/sev.c
2705
return -ENOTTY;
arch/x86/kvm/svm/sev.c
2787
ret = -ENOTTY;
arch/x86/kvm/svm/sev.c
613
return -ENOTTY;
arch/x86/kvm/svm/sev.c
817
return -ENOTTY;
arch/x86/kvm/vmx/main.c
821
return -ENOTTY;
arch/x86/kvm/x86.c
6032
return -ENOTTY;
arch/x86/kvm/x86.c
6044
return -ENOTTY;
arch/x86/kvm/x86.c
6653
r = -ENOTTY;
arch/x86/kvm/x86.c
7120
long r = -ENOTTY;
arch/x86/kvm/x86.c
7257
int r = -ENOTTY;
arch/x86/kvm/x86.c
7307
r = -ENOTTY;
arch/x86/kvm/x86.c
7554
r = -ENOTTY;
arch/x86/kvm/x86.c
7567
r = -ENOTTY;
arch/x86/kvm/x86.c
7581
r = -ENOTTY;
arch/x86/kvm/x86.c
7613
r = -ENOTTY;
block/blk-crypto-internal.h
145
return -ENOTTY;
block/blk-crypto.c
580
return -ENOTTY;
block/blk-zoned.c
380
return -ENOTTY;
block/blk-zoned.c
447
return -ENOTTY;
block/blk-zoned.c
476
return -ENOTTY;
block/blk.h
571
return -ENOTTY;
block/blk.h
576
return -ENOTTY;
block/bsg.c
157
return -ENOTTY;
block/ioctl.c
569
return -ENOTTY;
block/ioctl.c
603
return -ENOTTY;
block/ioctl.c
803
return -ENOTTY;
block/sed-opal.c
3234
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
121
return -ENOTTY;
drivers/acpi/nfit/core.c
130
return -ENOTTY;
drivers/acpi/nfit/core.c
2388
return -ENOTTY;
drivers/acpi/nfit/core.c
3256
return -ENOTTY;
drivers/acpi/nfit/core.c
421
return -ENOTTY;
drivers/acpi/nfit/core.c
480
return -ENOTTY;
drivers/acpi/nfit/core.c
513
return -ENOTTY;
drivers/acpi/nfit/core.c
521
return -ENOTTY;
drivers/acpi/nfit/core.c
523
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
707
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
1637
return -ENOTTY;
drivers/block/swim.c
711
return -ENOTTY;
drivers/block/swim3.c
911
return -ENOTTY;
drivers/cdrom/cdrom.c
1753
return -ENOTTY;
drivers/cdrom/cdrom.c
3313
return -ENOTTY;
drivers/cdrom/cdrom.c
3374
if (ret != -ENOTTY)
drivers/char/applicom.c
835
ret = -ENOTTY;
drivers/char/ipmi/ipmi_devintf.c
608
rv = -ENOTTY;
drivers/char/ipmi/ipmi_msghandler.c
1330
rv = -ENOTTY;
drivers/char/nvram.c
283
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
711
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
179
ret = -ENOTTY;
drivers/dma-buf/selftest.c
145
if (WARN(err > 0 || err == -ENOTTY,
drivers/dma-buf/sw_sync.c
476
return -ENOTTY;
drivers/dma-buf/sync_file.c
398
return -ENOTTY;
drivers/dma-buf/udmabuf.c
521
ret = -ENOTTY;
drivers/firewire/core-cdev.c
1754
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
479
int rc = -ENOTTY;
drivers/gpib/common/gpib_os.c
616
long retval = -ENOTTY;
drivers/gpib/common/gpib_os.c
809
retval = -ENOTTY;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3345
retcode = -ENOTTY;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3361
retcode = -ENOTTY;
drivers/gpu/drm/drm_fb_helper.c
937
ret = -ENOTTY;
drivers/gpu/drm/drm_ioctl.c
841
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
224
if (WARN(err > 0 || err == -ENOTTY,
drivers/gpu/drm/i915/selftests/i915_selftest.c
249
i915_selftest.mock = -ENOTTY;
drivers/gpu/drm/i915/selftests/i915_selftest.c
290
i915_selftest.live = -ENOTTY;
drivers/gpu/drm/i915/selftests/i915_selftest.c
315
i915_selftest.perf = -ENOTTY;
drivers/gpu/drm/radeon/radeon_gem.c
677
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
1623
ret = -ENOTTY;
drivers/hv/mshv_root_main.c
2060
return -ENOTTY;
drivers/hv/mshv_root_main.c
871
long r = -ENOTTY;
drivers/hv/mshv_vtl_main.c
175
return -ENOTTY;
drivers/hv/mshv_vtl_main.c
786
ret = -ENOTTY;
drivers/hwmon/fschmd.c
944
ret = -ENOTTY;
drivers/hwmon/w83793.c
1447
ret = -ENOTTY;
drivers/hwtracing/stm/core.c
802
int err = -ENOTTY;
drivers/i2c/i2c-dev.c
504
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
2058
return -ENOTTY;
drivers/md/dm-ioctl.c
2079
return -ENOTTY;
drivers/md/dm-mpath.c
2151
return -ENOTTY;
drivers/md/dm-vdo/errors.c
42
[ENOTTY] = "Inappropriate ioctl for device",
drivers/md/dm.c
3479
int ret = -ENOTTY, srcu_idx;
drivers/md/dm.c
422
r = -ENOTTY;
drivers/md/dm.c
479
r = -ENOTTY;
drivers/md/md.c
8100
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
253
return -ENOTTY;
drivers/media/cec/usb/pulse8/pulse8-cec.c
271
if (err != -ENOTTY)
drivers/media/cec/usb/pulse8/pulse8-cec.c
281
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
1064
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1077
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1398
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1400
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1465
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1467
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1485
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1487
return -ENOTTY;
drivers/media/pci/ivtv/ivtv-ioctl.c
1685
return -ENOTTY;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec.c
609
return -ENOTTY;
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2667
return -ENOTTY;
drivers/media/platform/qcom/iris/iris_vidc.c
418
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
804
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
814
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
824
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
834
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
844
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
854
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
864
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-cap.c
913
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
577
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
587
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
597
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
607
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
617
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
627
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
637
return -ENOTTY;
drivers/media/test-drivers/vivid/vivid-vid-out.c
684
return -ENOTTY;
drivers/media/usb/em28xx/em28xx-video.c
1631
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
1055
return -ENOTTY;
drivers/media/usb/uvc/uvc_v4l2.c
171
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
675
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
680
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
685
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
690
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
695
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
700
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
706
return -ENOTTY;
drivers/media/v4l2-core/v4l2-subdev.c
712
return -ENOTTY;
drivers/misc/amd-sbi/rmi-core.c
565
return -ENOTTY;
drivers/misc/enclosure.c
594
return (edev->cb->get_power_status) ? -EIO : -ENOTTY;
drivers/misc/fastrpc.c
2179
err = -ENOTTY;
drivers/misc/mei/bus-fixup.c
472
ret = -ENOTTY;
drivers/misc/mei/bus.c
81
rets = -ENOTTY;
drivers/misc/mei/bus.c
820
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
343
rets = -ENOTTY;
drivers/misc/mei/main.c
432
rets = -ENOTTY;
drivers/misc/mei/main.c
442
rets = -ENOTTY;
drivers/misc/mei/main.c
510
return -ENOTTY;
drivers/misc/mei/main.c
705
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
1107
err = -ENOTTY;
drivers/net/ppp/ppp_generic.c
801
err = -ENOTTY;
drivers/net/ppp/ppp_generic.c
971
err = -ENOTTY;
drivers/net/ppp/ppp_synctty.c
467
err = -ENOTTY;
drivers/net/ppp/pppoe.c
834
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
607
return -ENOTTY;
drivers/nvme/host/ioctl.c
667
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
805
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
819
ret = -ENOTTY;
drivers/nvme/host/ioctl.c
877
return -ENOTTY;
drivers/nvme/host/nvme.h
737
return -ENOTTY;
drivers/pci/pci-acpi.c
964
return -ENOTTY;
drivers/pci/pci-acpi.c
977
ret = -ENOTTY;
drivers/pci/pci.c
1242
return -ENOTTY;
drivers/pci/pci.c
1258
return -ENOTTY;
drivers/pci/pci.c
4376
return -ENOTTY;
drivers/pci/pci.c
4379
return -ENOTTY;
drivers/pci/pci.c
4396
return -ENOTTY;
drivers/pci/pci.c
4399
return -ENOTTY;
drivers/pci/pci.c
4403
return -ENOTTY;
drivers/pci/pci.c
4464
return -ENOTTY;
drivers/pci/pci.c
4468
return -ENOTTY;
drivers/pci/pci.c
4773
return -ENOTTY;
drivers/pci/pci.c
4777
return -ENOTTY;
drivers/pci/pci.c
4788
return -ENOTTY;
drivers/pci/pci.c
4842
return -ENOTTY;
drivers/pci/pci.c
4846
return -ENOTTY;
drivers/pci/pci.c
4856
int rc = -ENOTTY;
drivers/pci/pci.c
4873
return -ENOTTY;
drivers/pci/pci.c
4921
return -ENOTTY;
drivers/pci/pci.c
4931
if (rc != -ENOTTY)
drivers/pci/pci.c
4948
return -ENOTTY;
drivers/pci/pci.c
4952
return -ENOTTY;
drivers/pci/pci.c
4959
return -ENOTTY;
drivers/pci/pci.c
5118
return -ENOTTY;
drivers/pci/pci.c
5127
if (rc != -ENOTTY)
drivers/pci/pci.c
5131
return -ENOTTY;
drivers/pci/pci.c
5160
else if (rc != -ENOTTY)
drivers/pci/pci.c
5189
return -ENOTTY;
drivers/pci/pci.c
5240
return -ENOTTY;
drivers/pci/pci.c
5263
return -ENOTTY;
drivers/pci/pci.c
5516
return -ENOTTY;
drivers/pci/pci.c
5583
return -ENOTTY;
drivers/pci/pci.c
5613
return -ENOTTY;
drivers/pci/pci.h
1068
return -ENOTTY;
drivers/pci/pci.h
1072
return -ENOTTY;
drivers/pci/pci.h
1076
return -ENOTTY;
drivers/pci/pci.h
1081
return -ENOTTY;
drivers/pci/pci.h
1149
return -ENOTTY;
drivers/pci/pci.h
1322
return -ENOTTY;
drivers/pci/quirks.c
103
int ret = -ENOTTY;
drivers/pci/quirks.c
4024
return -ENOTTY;
drivers/pci/quirks.c
4100
return -ENOTTY;
drivers/pci/quirks.c
4107
return -ENOTTY;
drivers/pci/quirks.c
4198
return -ENOTTY;
drivers/pci/quirks.c
4204
return -ENOTTY;
drivers/pci/quirks.c
4293
return -ENOTTY;
drivers/pci/quirks.c
4770
return -ENOTTY;
drivers/pci/quirks.c
4805
return -ENOTTY;
drivers/pci/quirks.c
4874
return -ENOTTY;
drivers/pci/quirks.c
4914
return -ENOTTY;
drivers/pci/quirks.c
4997
return -ENOTTY;
drivers/pci/quirks.c
5001
return -ENOTTY;
drivers/pci/quirks.c
5036
return -ENOTTY;
drivers/pci/quirks.c
5293
return -ENOTTY;
drivers/pci/quirks.c
5390
return -ENOTTY;
drivers/pci/quirks.c
5412
return -ENOTTY;
drivers/pci/quirks.c
5416
return -ENOTTY;
drivers/pci/quirks.c
5442
return -ENOTTY;
drivers/pci/quirks.c
5446
return -ENOTTY;
drivers/pci/quirks.c
5493
return -ENOTTY;
drivers/pci/quirks.c
5514
return -ENOTTY;
drivers/pci/switch/switchtec.c
1239
rc = -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
322
return -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
347
return -ENOTTY;
drivers/platform/chrome/cros_ec_chardev.c
359
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
1500
long ret = -ENOTTY;
drivers/platform/x86/intel_scu_ipcutil.c
65
return -ENOTTY;
drivers/pps/generators/pps_gen.c
110
return -ENOTTY;
drivers/pps/pps.c
247
return -ENOTTY;
drivers/ptp/ptp_chardev.c
575
return -ENOTTY;
drivers/pwm/core.c
2383
return -ENOTTY;
drivers/rtc/dev.c
455
err = -ENOTTY;
drivers/rtc/dev.c
457
err = -ENOTTY;
drivers/rtc/rtc-m41t80.c
802
return -ENOTTY;
drivers/s390/block/dasd_eckd.c
5494
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
764
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
6658
return -ENOTTY;
drivers/scsi/megaraid/megaraid_sas_base.c
8631
return -ENOTTY;
drivers/scsi/megaraid/megaraid_sas_base.c
8646
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
336
return ERR_PTR(-ENOTTY);
drivers/spi/spidev.c
362
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
627
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
668
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
698
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
711
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
724
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
741
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
776
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
790
return -ENOTTY;
drivers/staging/media/tegra-video/vi.c
803
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
1464
return -ENOTTY;
drivers/tty/serial/serial_core.c
1507
return -ENOTTY;
drivers/tty/serial/serial_core.c
1525
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
1828
ret = -ENOTTY;
drivers/usb/gadget/function/f_fs.c
683
ret = -ENOTTY;
drivers/usb/gadget/function/f_hid.c
708
return -ENOTTY;
drivers/usb/gadget/function/f_printer.c
805
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
604
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
375
retval = -ENOTTY;
drivers/usb/serial/pl2303.c
1106
return -ENOTTY;
drivers/usb/serial/usb-serial.c
543
return -ENOTTY;
drivers/usb/serial/usb-serial.c
589
return -ENOTTY;
drivers/usb/serial/usb-serial.c
601
return -ENOTTY;
drivers/usb/serial/usb-serial.c
613
return -ENOTTY;
drivers/vfio/cdx/main.c
106
return -ENOTTY;
drivers/vfio/cdx/main.c
223
return -ENOTTY;
drivers/vfio/cdx/main.c
79
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
375
return -ENOTTY;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
864
return -ENOTTY;
drivers/vfio/pci/mlx5/main.c
472
return -ENOTTY;
drivers/vfio/pci/nvgrace-gpu/main.c
474
return -ENOTTY;
drivers/vfio/pci/qat/main.c
128
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1487
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1500
return -ENOTTY;
drivers/vfio/pci/vfio_pci_core.c
1538
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
125
return -ENOTTY;
drivers/vfio/pci/virtio/migrate.c
451
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
407
return -ENOTTY;
drivers/vfio/vfio_iommu_spapr_tce.c
1187
return -ENOTTY;
drivers/vfio/vfio_iommu_type1.c
3099
return -ENOTTY;
drivers/vfio/vfio_main.c
1067
return -ENOTTY;
drivers/vfio/vfio_main.c
1141
return -ENOTTY;
drivers/vfio/vfio_main.c
1174
return -ENOTTY;
drivers/vfio/vfio_main.c
1256
return -ENOTTY;
drivers/vfio/vfio_main.c
901
return -ENOTTY;
drivers/vfio/vfio_main.c
949
return -ENOTTY;
drivers/vfio/vfio_main.c
977
return -ENOTTY;
drivers/video/fbdev/core/fb_chrdev.c
157
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
419
ret = -ENOTTY;
drivers/virt/coco/sev-guest/sev-guest.c
291
int ret = -ENOTTY;
drivers/virt/coco/tdx-guest/tdx-guest.c
367
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
195
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/machzwd.c
320
return -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/sc520_wdt.c
328
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
870
return -ENOTTY;
fs/btrfs/ioctl.c
4278
return -ENOTTY;
fs/btrfs/ioctl.c
4329
return -ENOTTY;
fs/btrfs/ioctl.c
4442
return -ENOTTY;
fs/btrfs/ioctl.c
4711
ret = -ENOTTY;
fs/btrfs/ioctl.c
4882
ret = -ENOTTY;
fs/btrfs/ioctl.c
5302
return -ENOTTY;
fs/btrfs/super.c
2233
int ret = -ENOTTY;
fs/ceph/ioctl.c
431
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
367
return -ENOTTY;
fs/exfat/file.c
560
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
1559
return -ENOTTY;
fs/ext4/ioctl.c
1916
return -ENOTTY;
fs/f2fs/file.c
4727
return -ENOTTY;
fs/fat/file.c
171
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
2688
return -ENOTTY;
fs/fuse/dir.c
1955
return -ENOTTY;
fs/fuse/dir.c
1966
return -ENOTTY;
fs/fuse/ioctl.c
27
ret = -ENOTTY;
fs/fuse/ioctl.c
30
outarg->result = -ENOTTY;
fs/fuse/ioctl.c
495
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/nilfs2/ioctl.c
1360
return -ENOTTY;
fs/notify/fanotify/fanotify_user.c
1160
int ret = -ENOTTY;
fs/notify/inotify/inotify_user.c
319
int ret = -ENOTTY;
fs/nsfs.c
364
ret = -ENOTTY;
fs/ntfs3/file.c
172
return -ENOTTY; /* Inappropriate ioctl for device. */
fs/ocfs2/file.c
2096
return -ENOTTY;
fs/ocfs2/file.c
2099
return -ENOTTY;
fs/ocfs2/ioctl.c
944
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
352
int rc = -ENOTTY; /* strange error - but the precedent */
fs/timerfd.c
375
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
1206
return -ENOTTY;
fs/xfs/xfs_ioctl.c
1430
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
854
return -ENOTTY;
include/net/ncsi.h
60
return -ENOTTY;
kernel/events/core.c
6700
return -ENOTTY;
kernel/kcov.c
699
return -ENOTTY;
kernel/power/user.c
263
return -ENOTTY;
kernel/power/user.c
265
return -ENOTTY;
kernel/power/user.c
417
error = -ENOTTY;
kernel/time/posix-clock.c
80
int err = -ENOTTY;
kernel/trace/blktrace.c
955
ret = -ENOTTY;
kernel/trace/trace.c
8178
return -ENOTTY;
kernel/trace/trace_events_user.c
2673
long ret = -ENOTTY;
lib/errname.c
122
E(ENOTTY),
net/atm/pppoatm.c
381
return -ENOTTY;
net/atm/resources.c
390
error = (size == -ENOIOCTLCMD ? -ENOTTY : size);
net/core/dev_ioctl.c
182
err = -ENOTTY;
net/core/dev_ioctl.c
828
return -ENOTTY;
net/core/dev_ioctl.c
845
return -ENOTTY;
net/ncsi/ncsi-manage.c
1823
return -ENOTTY;
net/rfkill/core.c
1350
int ret = -ENOTTY;
net/rfkill/core.c
1354
return -ENOTTY;
net/socket.c
1264
return -ENOTTY;
net/socket.c
3408
return -ENOTTY;
samples/vfio-mdev/mbochs.c
1281
return -ENOTTY;
samples/vfio-mdev/mdpy.c
603
return -ENOTTY;
samples/vfio-mdev/mtty.c
1580
ret = -ENOTTY; /* No support for mask fd */
samples/vfio-mdev/mtty.c
1597
ret = -ENOTTY; /* No support for unmask fd */
samples/vfio-mdev/mtty.c
1652
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1704
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1708
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1712
ret = -ENOTTY;
samples/vfio-mdev/mtty.c
1879
return -ENOTTY;
samples/vfio-mdev/mtty.c
844
return -ENOTTY;
sound/core/compress_offload.c
1345
return -ENOTTY;
sound/core/compress_offload.c
1373
return -ENOTTY;
sound/core/control.c
1974
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
559
return -ENOTTY;
sound/core/pcm_compat.c
562
return -ENOTTY;
sound/core/pcm_native.c
3469
return -ENOTTY;
sound/core/pcm_native.c
3480
return -ENOTTY;
sound/core/rawmidi.c
897
return -ENOTTY;
sound/core/rawmidi.c
989
return -ENOTTY;
sound/core/seq/seq_clientmgr.c
2234
return -ENOTTY;
sound/core/seq/seq_clientmgr.c
2424
return -ENOTTY;
sound/core/timer.c
2082
return -ENOTTY;
sound/core/timer.c
2237
return -ENOTTY;
sound/core/timer.c
2289
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/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
1724
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
128
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
4750
return -ENOTTY;
virt/kvm/kvm_main.c
5416
return -ENOTTY;
virt/kvm/kvm_main.c
5429
if (r != -ENOTTY)