Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[tree-wide] finally take no_llseek out

no_llseek had been defined to NULL two years ago, in commit 868941b14441
("fs: remove no_llseek")

To quote that commit,

At -rc1 we'll need do a mechanical removal of no_llseek -

git grep -l -w no_llseek | grep -v porting.rst | while read i; do
sed -i '/\<no_llseek\>/d' $i
done

would do it.

Unfortunately, that hadn't been done. Linus, could you do that now, so
that we could finally put that thing to rest? All instances are of the
form
.llseek = no_llseek,
so it's obviously safe.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
cb787f4a 075dbe9f

-270
-1
Documentation/watchdog/convert_drivers_to_kernel_api.rst
··· 75 75 76 76 -static const struct file_operations s3c2410wdt_fops = { 77 77 - .owner = THIS_MODULE, 78 - - .llseek = no_llseek, 79 78 - .write = s3c2410wdt_write, 80 79 - .unlocked_ioctl = s3c2410wdt_ioctl, 81 80 - .open = s3c2410wdt_open,
-1
arch/parisc/kernel/perf.c
··· 466 466 } 467 467 468 468 static const struct file_operations perf_fops = { 469 - .llseek = no_llseek, 470 469 .read = perf_read, 471 470 .write = perf_write, 472 471 .unlocked_ioctl = perf_ioctl,
-1
arch/s390/hypfs/hypfs_dbfs.c
··· 76 76 77 77 static const struct file_operations dbfs_ops = { 78 78 .read = dbfs_read, 79 - .llseek = no_llseek, 80 79 .unlocked_ioctl = dbfs_ioctl, 81 80 }; 82 81
-1
arch/s390/hypfs/inode.c
··· 443 443 .release = hypfs_release, 444 444 .read_iter = hypfs_read_iter, 445 445 .write_iter = hypfs_write_iter, 446 - .llseek = no_llseek, 447 446 }; 448 447 449 448 static struct file_system_type hypfs_type = {
-1
arch/s390/kernel/debug.c
··· 163 163 .write = debug_input, 164 164 .open = debug_open, 165 165 .release = debug_close, 166 - .llseek = no_llseek, 167 166 }; 168 167 169 168 static struct dentry *debug_debugfs_root_entry;
-1
arch/s390/kernel/perf_cpum_cf.c
··· 1698 1698 .release = cfset_release, 1699 1699 .unlocked_ioctl = cfset_ioctl, 1700 1700 .compat_ioctl = cfset_ioctl, 1701 - .llseek = no_llseek 1702 1701 }; 1703 1702 1704 1703 static struct miscdevice cfset_dev = {
-1
arch/s390/kernel/sysinfo.c
··· 498 498 .open = stsi_open_##fc##_##s1##_##s2, \ 499 499 .release = stsi_release, \ 500 500 .read = stsi_read, \ 501 - .llseek = no_llseek, \ 502 501 }; 503 502 504 503 static int stsi_release(struct inode *inode, struct file *file)
-1
arch/s390/pci/pci_clp.c
··· 657 657 .release = clp_misc_release, 658 658 .unlocked_ioctl = clp_misc_ioctl, 659 659 .compat_ioctl = clp_misc_ioctl, 660 - .llseek = no_llseek, 661 660 }; 662 661 663 662 static struct miscdevice clp_misc_device = {
-1
arch/um/drivers/harddog_kern.c
··· 164 164 .compat_ioctl = compat_ptr_ioctl, 165 165 .open = harddog_open, 166 166 .release = harddog_release, 167 - .llseek = no_llseek, 168 167 }; 169 168 170 169 static struct miscdevice harddog_miscdev = {
-2
arch/um/drivers/hostaudio_kern.c
··· 291 291 292 292 static const struct file_operations hostaudio_fops = { 293 293 .owner = THIS_MODULE, 294 - .llseek = no_llseek, 295 294 .read = hostaudio_read, 296 295 .write = hostaudio_write, 297 296 .poll = hostaudio_poll, ··· 303 304 304 305 static const struct file_operations hostmixer_fops = { 305 306 .owner = THIS_MODULE, 306 - .llseek = no_llseek, 307 307 .unlocked_ioctl = hostmixer_ioctl_mixdev, 308 308 .open = hostmixer_open_mixdev, 309 309 .release = hostmixer_release,
-1
arch/x86/kernel/cpu/mce/dev-mcelog.c
··· 331 331 .poll = mce_chrdev_poll, 332 332 .unlocked_ioctl = mce_chrdev_ioctl, 333 333 .compat_ioctl = compat_ptr_ioctl, 334 - .llseek = no_llseek, 335 334 }; 336 335 337 336 static struct miscdevice mce_chrdev_device = {
-1
arch/x86/kernel/cpu/resctrl/pseudo_lock.c
··· 1567 1567 1568 1568 static const struct file_operations pseudo_lock_dev_fops = { 1569 1569 .owner = THIS_MODULE, 1570 - .llseek = no_llseek, 1571 1570 .read = NULL, 1572 1571 .write = NULL, 1573 1572 .open = pseudo_lock_dev_open,
-1
drivers/acpi/apei/erst-dbg.c
··· 199 199 .read = erst_dbg_read, 200 200 .write = erst_dbg_write, 201 201 .unlocked_ioctl = erst_dbg_ioctl, 202 - .llseek = no_llseek, 203 202 }; 204 203 205 204 static struct miscdevice erst_dbg_dev = {
-1
drivers/auxdisplay/charlcd.c
··· 526 526 .write = charlcd_write, 527 527 .open = charlcd_open, 528 528 .release = charlcd_release, 529 - .llseek = no_llseek, 530 529 }; 531 530 532 531 static struct miscdevice charlcd_dev = {
-2
drivers/block/mtip32xx/mtip32xx.c
··· 2259 2259 .owner = THIS_MODULE, 2260 2260 .open = simple_open, 2261 2261 .read = mtip_hw_read_registers, 2262 - .llseek = no_llseek, 2263 2262 }; 2264 2263 2265 2264 static const struct file_operations mtip_flags_fops = { 2266 2265 .owner = THIS_MODULE, 2267 2266 .open = simple_open, 2268 2267 .read = mtip_hw_read_flags, 2269 - .llseek = no_llseek, 2270 2268 }; 2271 2269 2272 2270 static void mtip_hw_debugfs_init(struct driver_data *dd)
-1
drivers/block/pktcdvd.c
··· 2835 2835 .compat_ioctl = pkt_ctl_compat_ioctl, 2836 2836 #endif 2837 2837 .owner = THIS_MODULE, 2838 - .llseek = no_llseek, 2839 2838 }; 2840 2839 2841 2840 static struct miscdevice pkt_misc = {
-1
drivers/block/ublk_drv.c
··· 1983 1983 .owner = THIS_MODULE, 1984 1984 .open = ublk_ch_open, 1985 1985 .release = ublk_ch_release, 1986 - .llseek = no_llseek, 1987 1986 .read_iter = ublk_ch_read_iter, 1988 1987 .write_iter = ublk_ch_write_iter, 1989 1988 .uring_cmd = ublk_ch_uring_cmd,
-1
drivers/bluetooth/hci_vhci.c
··· 679 679 .poll = vhci_poll, 680 680 .open = vhci_open, 681 681 .release = vhci_release, 682 - .llseek = no_llseek, 683 682 }; 684 683 685 684 static struct miscdevice vhci_miscdev = {
-2
drivers/bus/moxtet.c
··· 484 484 .owner = THIS_MODULE, 485 485 .open = moxtet_debug_open, 486 486 .read = input_read, 487 - .llseek = no_llseek, 488 487 }; 489 488 490 489 static ssize_t output_read(struct file *file, char __user *buf, size_t len, ··· 548 549 .open = moxtet_debug_open, 549 550 .read = output_read, 550 551 .write = output_write, 551 - .llseek = no_llseek, 552 552 }; 553 553 554 554 static int moxtet_register_debugfs(struct moxtet *moxtet)
-1
drivers/char/applicom.c
··· 111 111 112 112 static const struct file_operations ac_fops = { 113 113 .owner = THIS_MODULE, 114 - .llseek = no_llseek, 115 114 .read = ac_read, 116 115 .write = ac_write, 117 116 .unlocked_ioctl = ac_ioctl,
-1
drivers/char/ds1620.c
··· 353 353 .open = ds1620_open, 354 354 .read = ds1620_read, 355 355 .unlocked_ioctl = ds1620_unlocked_ioctl, 356 - .llseek = no_llseek, 357 356 }; 358 357 359 358 static struct miscdevice ds1620_miscdev = {
-1
drivers/char/dtlk.c
··· 107 107 .unlocked_ioctl = dtlk_ioctl, 108 108 .open = dtlk_open, 109 109 .release = dtlk_release, 110 - .llseek = no_llseek, 111 110 }; 112 111 113 112 /* local prototypes */
-1
drivers/char/hpet.c
··· 700 700 701 701 static const struct file_operations hpet_fops = { 702 702 .owner = THIS_MODULE, 703 - .llseek = no_llseek, 704 703 .read = hpet_read, 705 704 .poll = hpet_poll, 706 705 .unlocked_ioctl = hpet_ioctl,
-1
drivers/char/ipmi/ipmi_watchdog.c
··· 903 903 .open = ipmi_open, 904 904 .release = ipmi_close, 905 905 .fasync = ipmi_fasync, 906 - .llseek = no_llseek, 907 906 }; 908 907 909 908 static struct miscdevice ipmi_wdog_miscdev = {
-1
drivers/char/pc8736x_gpio.c
··· 235 235 .open = pc8736x_gpio_open, 236 236 .write = nsc_gpio_write, 237 237 .read = nsc_gpio_read, 238 - .llseek = no_llseek, 239 238 }; 240 239 241 240 static void __init pc8736x_init_shadow(void)
-1
drivers/char/ppdev.c
··· 786 786 787 787 static const struct file_operations pp_fops = { 788 788 .owner = THIS_MODULE, 789 - .llseek = no_llseek, 790 789 .read = pp_read, 791 790 .write = pp_write, 792 791 .poll = pp_poll,
-1
drivers/char/scx200_gpio.c
··· 68 68 .read = nsc_gpio_read, 69 69 .open = scx200_gpio_open, 70 70 .release = scx200_gpio_release, 71 - .llseek = no_llseek, 72 71 }; 73 72 74 73 static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
-1
drivers/char/sonypi.c
··· 1054 1054 .release = sonypi_misc_release, 1055 1055 .fasync = sonypi_misc_fasync, 1056 1056 .unlocked_ioctl = sonypi_misc_ioctl, 1057 - .llseek = no_llseek, 1058 1057 }; 1059 1058 1060 1059 static struct miscdevice sonypi_misc_device = {
-1
drivers/char/tpm/tpm-dev.c
··· 59 59 60 60 const struct file_operations tpm_fops = { 61 61 .owner = THIS_MODULE, 62 - .llseek = no_llseek, 63 62 .open = tpm_open, 64 63 .read = tpm_common_read, 65 64 .write = tpm_common_write,
-1
drivers/char/tpm/tpm_vtpm_proxy.c
··· 243 243 244 244 static const struct file_operations vtpm_proxy_fops = { 245 245 .owner = THIS_MODULE, 246 - .llseek = no_llseek, 247 246 .read = vtpm_proxy_fops_read, 248 247 .write = vtpm_proxy_fops_write, 249 248 .poll = vtpm_proxy_fops_poll,
-1
drivers/char/tpm/tpmrm-dev.c
··· 46 46 47 47 const struct file_operations tpmrm_fops = { 48 48 .owner = THIS_MODULE, 49 - .llseek = no_llseek, 50 49 .open = tpmrm_open, 51 50 .read = tpm_common_read, 52 51 .write = tpm_common_write,
-1
drivers/char/virtio_console.c
··· 1093 1093 .poll = port_fops_poll, 1094 1094 .release = port_fops_release, 1095 1095 .fasync = port_fops_fasync, 1096 - .llseek = no_llseek, 1097 1096 }; 1098 1097 1099 1098 /*
-1
drivers/counter/counter-chrdev.c
··· 454 454 455 455 static const struct file_operations counter_fops = { 456 456 .owner = THIS_MODULE, 457 - .llseek = no_llseek, 458 457 .read = counter_chrdev_read, 459 458 .poll = counter_chrdev_poll, 460 459 .unlocked_ioctl = counter_chrdev_ioctl,
-1
drivers/firewire/core-cdev.c
··· 1911 1911 1912 1912 const struct file_operations fw_device_ops = { 1913 1913 .owner = THIS_MODULE, 1914 - .llseek = no_llseek, 1915 1914 .open = fw_device_op_open, 1916 1915 .read = fw_device_op_read, 1917 1916 .unlocked_ioctl = fw_device_op_ioctl,
-1
drivers/firmware/arm_scmi/driver.c
··· 2886 2886 static const struct file_operations fops_reset_counts = { 2887 2887 .owner = THIS_MODULE, 2888 2888 .open = simple_open, 2889 - .llseek = no_llseek, 2890 2889 .write = reset_all_on_write, 2891 2890 }; 2892 2891
-5
drivers/firmware/arm_scmi/raw_mode.c
··· 950 950 .open = scmi_dbg_raw_mode_open, 951 951 .release = scmi_dbg_raw_mode_release, 952 952 .write = scmi_dbg_raw_mode_reset_write, 953 - .llseek = no_llseek, 954 953 .owner = THIS_MODULE, 955 954 }; 956 955 ··· 959 960 .read = scmi_dbg_raw_mode_message_read, 960 961 .write = scmi_dbg_raw_mode_message_write, 961 962 .poll = scmi_dbg_raw_mode_message_poll, 962 - .llseek = no_llseek, 963 963 .owner = THIS_MODULE, 964 964 }; 965 965 ··· 975 977 .read = scmi_dbg_raw_mode_message_read, 976 978 .write = scmi_dbg_raw_mode_message_async_write, 977 979 .poll = scmi_dbg_raw_mode_message_poll, 978 - .llseek = no_llseek, 979 980 .owner = THIS_MODULE, 980 981 }; 981 982 ··· 998 1001 .release = scmi_dbg_raw_mode_release, 999 1002 .read = scmi_test_dbg_raw_mode_notif_read, 1000 1003 .poll = scmi_test_dbg_raw_mode_notif_poll, 1001 - .llseek = no_llseek, 1002 1004 .owner = THIS_MODULE, 1003 1005 }; 1004 1006 ··· 1021 1025 .release = scmi_dbg_raw_mode_release, 1022 1026 .read = scmi_test_dbg_raw_mode_errors_read, 1023 1027 .poll = scmi_test_dbg_raw_mode_errors_poll, 1024 - .llseek = no_llseek, 1025 1028 .owner = THIS_MODULE, 1026 1029 }; 1027 1030
-1
drivers/firmware/efi/capsule-loader.c
··· 309 309 .open = efi_capsule_open, 310 310 .write = efi_capsule_write, 311 311 .release = efi_capsule_release, 312 - .llseek = no_llseek, 313 312 }; 314 313 315 314 static struct miscdevice efi_capsule_misc = {
-1
drivers/firmware/efi/test/efi_test.c
··· 750 750 .unlocked_ioctl = efi_test_ioctl, 751 751 .open = efi_test_open, 752 752 .release = efi_test_close, 753 - .llseek = no_llseek, 754 753 }; 755 754 756 755 static struct miscdevice efi_test_dev = {
-1
drivers/firmware/turris-mox-rwtm.c
··· 386 386 .open = rwtm_debug_open, 387 387 .read = do_sign_read, 388 388 .write = do_sign_write, 389 - .llseek = no_llseek, 390 389 }; 391 390 392 391 static void rwtm_debugfs_release(void *root)
-1
drivers/gnss/core.c
··· 206 206 .read = gnss_read, 207 207 .write = gnss_write, 208 208 .poll = gnss_poll, 209 - .llseek = no_llseek, 210 209 }; 211 210 212 211 static struct class *gnss_class;
-1
drivers/gpio/gpio-mockup.c
··· 347 347 .open = gpio_mockup_debugfs_open, 348 348 .read = gpio_mockup_debugfs_read, 349 349 .write = gpio_mockup_debugfs_write, 350 - .llseek = no_llseek, 351 350 .release = single_release, 352 351 }; 353 352
-1
drivers/gpio/gpio-sloppy-logic-analyzer.c
··· 217 217 .owner = THIS_MODULE, 218 218 .open = trigger_open, 219 219 .write = trigger_write, 220 - .llseek = no_llseek, 221 220 .release = single_release, 222 221 }; 223 222
-1
drivers/gpio/gpiolib-cdev.c
··· 2842 2842 .poll = lineinfo_watch_poll, 2843 2843 .read = lineinfo_watch_read, 2844 2844 .owner = THIS_MODULE, 2845 - .llseek = no_llseek, 2846 2845 .unlocked_ioctl = gpio_ioctl, 2847 2846 #ifdef CONFIG_COMPAT 2848 2847 .compat_ioctl = gpio_ioctl_compat,
-1
drivers/gpu/drm/drm_file.c
··· 103 103 * .compat_ioctl = drm_compat_ioctl, // NULL if CONFIG_COMPAT=n 104 104 * .poll = drm_poll, 105 105 * .read = drm_read, 106 - * .llseek = no_llseek, 107 106 * .mmap = drm_gem_mmap, 108 107 * }; 109 108 *
-1
drivers/gpu/drm/i915/i915_perf.c
··· 3751 3751 3752 3752 static const struct file_operations fops = { 3753 3753 .owner = THIS_MODULE, 3754 - .llseek = no_llseek, 3755 3754 .release = i915_perf_release, 3756 3755 .poll = i915_perf_poll, 3757 3756 .read = i915_perf_read,
-1
drivers/gpu/drm/msm/msm_perf.c
··· 192 192 .owner = THIS_MODULE, 193 193 .open = perf_open, 194 194 .read = perf_read, 195 - .llseek = no_llseek, 196 195 .release = perf_release, 197 196 }; 198 197
-1
drivers/gpu/drm/msm/msm_rd.c
··· 227 227 .owner = THIS_MODULE, 228 228 .open = rd_open, 229 229 .read = rd_read, 230 - .llseek = no_llseek, 231 230 .release = rd_release, 232 231 }; 233 232
-1
drivers/gpu/drm/xe/xe_oa.c
··· 1263 1263 1264 1264 static const struct file_operations xe_oa_fops = { 1265 1265 .owner = THIS_MODULE, 1266 - .llseek = no_llseek, 1267 1266 .release = xe_oa_release, 1268 1267 .poll = xe_oa_poll, 1269 1268 .read = xe_oa_read,
-1
drivers/hid/uhid.c
··· 803 803 .read = uhid_char_read, 804 804 .write = uhid_char_write, 805 805 .poll = uhid_char_poll, 806 - .llseek = no_llseek, 807 806 }; 808 807 809 808 static struct miscdevice uhid_misc = {
-1
drivers/hwmon/asus_atk0110.c
··· 783 783 .read = atk_debugfs_ggrp_read, 784 784 .open = atk_debugfs_ggrp_open, 785 785 .release = atk_debugfs_ggrp_release, 786 - .llseek = no_llseek, 787 786 }; 788 787 789 788 static void atk_debugfs_init(struct atk_data *data)
-1
drivers/hwmon/fschmd.c
··· 948 948 949 949 static const struct file_operations watchdog_fops = { 950 950 .owner = THIS_MODULE, 951 - .llseek = no_llseek, 952 951 .open = watchdog_open, 953 952 .release = watchdog_release, 954 953 .write = watchdog_write,
-1
drivers/hwmon/w83793.c
··· 1451 1451 1452 1452 static const struct file_operations watchdog_fops = { 1453 1453 .owner = THIS_MODULE, 1454 - .llseek = no_llseek, 1455 1454 .open = watchdog_open, 1456 1455 .release = watchdog_close, 1457 1456 .write = watchdog_write,
-1
drivers/hwtracing/coresight/coresight-etb10.c
··· 652 652 .open = etb_open, 653 653 .read = etb_read, 654 654 .release = etb_release, 655 - .llseek = no_llseek, 656 655 }; 657 656 658 657 static struct attribute *coresight_etb_mgmt_attrs[] = {
-1
drivers/hwtracing/coresight/coresight-tmc-core.c
··· 220 220 .open = tmc_open, 221 221 .read = tmc_read, 222 222 .release = tmc_release, 223 - .llseek = no_llseek, 224 223 }; 225 224 226 225 static enum tmc_mem_intf_width tmc_get_memwidth(u32 devid)
-1
drivers/hwtracing/coresight/ultrasoc-smb.c
··· 163 163 .open = smb_open, 164 164 .read = smb_read, 165 165 .release = smb_release, 166 - .llseek = no_llseek, 167 166 }; 168 167 169 168 static ssize_t buf_size_show(struct device *dev, struct device_attribute *attr,
-1
drivers/hwtracing/intel_th/msu.c
··· 1677 1677 .release = intel_th_msc_release, 1678 1678 .read = intel_th_msc_read, 1679 1679 .mmap = intel_th_msc_mmap, 1680 - .llseek = no_llseek, 1681 1680 .owner = THIS_MODULE, 1682 1681 }; 1683 1682
-1
drivers/hwtracing/stm/core.c
··· 839 839 .mmap = stm_char_mmap, 840 840 .unlocked_ioctl = stm_char_ioctl, 841 841 .compat_ioctl = compat_ptr_ioctl, 842 - .llseek = no_llseek, 843 842 }; 844 843 845 844 static void stm_device_release(struct device *dev)
-1
drivers/i2c/i2c-dev.c
··· 637 637 638 638 static const struct file_operations i2cdev_fops = { 639 639 .owner = THIS_MODULE, 640 - .llseek = no_llseek, 641 640 .read = i2cdev_read, 642 641 .write = i2cdev_write, 643 642 .unlocked_ioctl = i2cdev_ioctl,
-1
drivers/infiniband/core/ucma.c
··· 1817 1817 .release = ucma_close, 1818 1818 .write = ucma_write, 1819 1819 .poll = ucma_poll, 1820 - .llseek = no_llseek, 1821 1820 }; 1822 1821 1823 1822 static struct miscdevice ucma_misc = {
-2
drivers/infiniband/core/user_mad.c
··· 1082 1082 #endif 1083 1083 .open = ib_umad_open, 1084 1084 .release = ib_umad_close, 1085 - .llseek = no_llseek, 1086 1085 }; 1087 1086 1088 1087 static int ib_umad_sm_open(struct inode *inode, struct file *filp) ··· 1149 1150 .owner = THIS_MODULE, 1150 1151 .open = ib_umad_sm_open, 1151 1152 .release = ib_umad_sm_close, 1152 - .llseek = no_llseek, 1153 1153 }; 1154 1154 1155 1155 static struct ib_umad_port *get_port(struct ib_device *ibdev,
-4
drivers/infiniband/core/uverbs_main.c
··· 353 353 .poll = ib_uverbs_comp_event_poll, 354 354 .release = uverbs_uobject_fd_release, 355 355 .fasync = ib_uverbs_comp_event_fasync, 356 - .llseek = no_llseek, 357 356 }; 358 357 359 358 const struct file_operations uverbs_async_event_fops = { ··· 361 362 .poll = ib_uverbs_async_event_poll, 362 363 .release = uverbs_async_event_release, 363 364 .fasync = ib_uverbs_async_event_fasync, 364 - .llseek = no_llseek, 365 365 }; 366 366 367 367 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) ··· 989 991 .write = ib_uverbs_write, 990 992 .open = ib_uverbs_open, 991 993 .release = ib_uverbs_close, 992 - .llseek = no_llseek, 993 994 .unlocked_ioctl = ib_uverbs_ioctl, 994 995 .compat_ioctl = compat_ptr_ioctl, 995 996 }; ··· 999 1002 .mmap = ib_uverbs_mmap, 1000 1003 .open = ib_uverbs_open, 1001 1004 .release = ib_uverbs_close, 1002 - .llseek = no_llseek, 1003 1005 .unlocked_ioctl = ib_uverbs_ioctl, 1004 1006 .compat_ioctl = compat_ptr_ioctl, 1005 1007 };
-1
drivers/infiniband/hw/hfi1/fault.c
··· 203 203 .open = fault_opcodes_open, 204 204 .read = fault_opcodes_read, 205 205 .write = fault_opcodes_write, 206 - .llseek = no_llseek 207 206 }; 208 207 209 208 void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd)
-2
drivers/infiniband/hw/mlx5/devx.c
··· 2673 2673 .read = devx_async_cmd_event_read, 2674 2674 .poll = devx_async_cmd_event_poll, 2675 2675 .release = uverbs_uobject_fd_release, 2676 - .llseek = no_llseek, 2677 2676 }; 2678 2677 2679 2678 static ssize_t devx_async_event_read(struct file *filp, char __user *buf, ··· 2787 2788 .read = devx_async_event_read, 2788 2789 .poll = devx_async_event_poll, 2789 2790 .release = uverbs_uobject_fd_release, 2790 - .llseek = no_llseek, 2791 2791 }; 2792 2792 2793 2793 static void devx_async_cmd_event_destroy_uobj(struct ib_uobject *uobj,
-1
drivers/input/evdev.c
··· 1299 1299 .compat_ioctl = evdev_ioctl_compat, 1300 1300 #endif 1301 1301 .fasync = evdev_fasync, 1302 - .llseek = no_llseek, 1303 1302 }; 1304 1303 1305 1304 /*
-1
drivers/input/joydev.c
··· 718 718 .compat_ioctl = joydev_compat_ioctl, 719 719 #endif 720 720 .fasync = joydev_fasync, 721 - .llseek = no_llseek, 722 721 }; 723 722 724 723 /*
-1
drivers/input/keyboard/applespi.c
··· 1007 1007 .owner = THIS_MODULE, 1008 1008 .open = applespi_tp_dim_open, 1009 1009 .read = applespi_tp_dim_read, 1010 - .llseek = no_llseek, 1011 1010 }; 1012 1011 1013 1012 static void report_finger_data(struct input_dev *input, int slot,
-1
drivers/input/misc/uinput.c
··· 1132 1132 #ifdef CONFIG_COMPAT 1133 1133 .compat_ioctl = uinput_compat_ioctl, 1134 1134 #endif 1135 - .llseek = no_llseek, 1136 1135 }; 1137 1136 1138 1137 static struct miscdevice uinput_misc = {
-1
drivers/input/serio/userio.c
··· 267 267 .read = userio_char_read, 268 268 .write = userio_char_write, 269 269 .poll = userio_char_poll, 270 - .llseek = no_llseek, 271 270 }; 272 271 273 272 static struct miscdevice userio_misc = {
-1
drivers/iommu/iommufd/fault.c
··· 360 360 .write = iommufd_fault_fops_write, 361 361 .poll = iommufd_fault_fops_poll, 362 362 .release = iommufd_fault_fops_release, 363 - .llseek = no_llseek, 364 363 }; 365 364 366 365 int iommufd_fault_alloc(struct iommufd_ucmd *ucmd)
-1
drivers/isdn/capi/capi.c
··· 1024 1024 static const struct file_operations capi_fops = 1025 1025 { 1026 1026 .owner = THIS_MODULE, 1027 - .llseek = no_llseek, 1028 1027 .read = capi_read, 1029 1028 .write = capi_write, 1030 1029 .poll = capi_poll,
-1
drivers/isdn/mISDN/timerdev.c
··· 266 266 .unlocked_ioctl = mISDN_ioctl, 267 267 .open = mISDN_open, 268 268 .release = mISDN_close, 269 - .llseek = no_llseek, 270 269 }; 271 270 272 271 static struct miscdevice mISDNtimer = {
-1
drivers/leds/uleds.c
··· 200 200 .read = uleds_read, 201 201 .write = uleds_write, 202 202 .poll = uleds_poll, 203 - .llseek = no_llseek, 204 203 }; 205 204 206 205 static struct miscdevice uleds_misc = {
-1
drivers/macintosh/adb.c
··· 842 842 843 843 static const struct file_operations adb_fops = { 844 844 .owner = THIS_MODULE, 845 - .llseek = no_llseek, 846 845 .read = adb_read, 847 846 .write = adb_write, 848 847 .open = adb_open,
-1
drivers/macintosh/smu.c
··· 1314 1314 1315 1315 1316 1316 static const struct file_operations smu_device_fops = { 1317 - .llseek = no_llseek, 1318 1317 .read = smu_read, 1319 1318 .write = smu_write, 1320 1319 .poll = smu_fpoll,
-1
drivers/media/cec/core/cec-api.c
··· 698 698 .compat_ioctl = cec_ioctl, 699 699 .release = cec_release, 700 700 .poll = cec_poll, 701 - .llseek = no_llseek, 702 701 };
-1
drivers/media/mc/mc-devnode.c
··· 204 204 #endif /* CONFIG_COMPAT */ 205 205 .release = media_release, 206 206 .poll = media_poll, 207 - .llseek = no_llseek, 208 207 }; 209 208 210 209 int __must_check media_devnode_register(struct media_device *mdev,
-1
drivers/media/rc/lirc_dev.c
··· 706 706 .poll = lirc_poll, 707 707 .open = lirc_open, 708 708 .release = lirc_close, 709 - .llseek = no_llseek, 710 709 }; 711 710 712 711 static void lirc_release_device(struct device *ld)
-1
drivers/media/usb/uvc/uvc_debugfs.c
··· 59 59 static const struct file_operations uvc_debugfs_stats_fops = { 60 60 .owner = THIS_MODULE, 61 61 .open = uvc_debugfs_stats_open, 62 - .llseek = no_llseek, 63 62 .read = uvc_debugfs_stats_read, 64 63 .release = uvc_debugfs_stats_release, 65 64 };
-1
drivers/media/v4l2-core/v4l2-dev.c
··· 483 483 #endif 484 484 .release = v4l2_release, 485 485 .poll = v4l2_poll, 486 - .llseek = no_llseek, 487 486 }; 488 487 489 488 /**
-1
drivers/message/fusion/mptctl.c
··· 2691 2691 2692 2692 static const struct file_operations mptctl_fops = { 2693 2693 .owner = THIS_MODULE, 2694 - .llseek = no_llseek, 2695 2694 .fasync = mptctl_fasync, 2696 2695 .unlocked_ioctl = mptctl_ioctl, 2697 2696 #ifdef CONFIG_COMPAT
-1
drivers/misc/lis3lv02d/lis3lv02d.c
··· 669 669 670 670 static const struct file_operations lis3lv02d_misc_fops = { 671 671 .owner = THIS_MODULE, 672 - .llseek = no_llseek, 673 672 .read = lis3lv02d_misc_read, 674 673 .open = lis3lv02d_misc_open, 675 674 .release = lis3lv02d_misc_release,
-1
drivers/misc/mei/main.c
··· 1176 1176 .poll = mei_poll, 1177 1177 .fsync = mei_fsync, 1178 1178 .fasync = mei_fasync, 1179 - .llseek = no_llseek 1180 1179 }; 1181 1180 1182 1181 /**
-2
drivers/misc/ntsync.c
··· 126 126 .release = ntsync_obj_release, 127 127 .unlocked_ioctl = ntsync_obj_ioctl, 128 128 .compat_ioctl = compat_ptr_ioctl, 129 - .llseek = no_llseek, 130 129 }; 131 130 132 131 static struct ntsync_obj *ntsync_alloc_obj(struct ntsync_device *dev, ··· 232 233 .release = ntsync_char_release, 233 234 .unlocked_ioctl = ntsync_char_ioctl, 234 235 .compat_ioctl = compat_ptr_ioctl, 235 - .llseek = no_llseek, 236 236 }; 237 237 238 238 static struct miscdevice ntsync_misc = {
-1
drivers/misc/phantom.c
··· 279 279 .unlocked_ioctl = phantom_ioctl, 280 280 .compat_ioctl = phantom_compat_ioctl, 281 281 .poll = phantom_poll, 282 - .llseek = no_llseek, 283 282 }; 284 283 285 284 static irqreturn_t phantom_isr(int irq, void *data)
-1
drivers/mmc/core/block.c
··· 2734 2734 .release = mmc_rpmb_chrdev_release, 2735 2735 .open = mmc_rpmb_chrdev_open, 2736 2736 .owner = THIS_MODULE, 2737 - .llseek = no_llseek, 2738 2737 .unlocked_ioctl = mmc_rpmb_ioctl, 2739 2738 #ifdef CONFIG_COMPAT 2740 2739 .compat_ioctl = mmc_rpmb_ioctl_compat,
-2
drivers/mtd/ubi/cdev.c
··· 1095 1095 /* UBI character device operations */ 1096 1096 const struct file_operations ubi_cdev_operations = { 1097 1097 .owner = THIS_MODULE, 1098 - .llseek = no_llseek, 1099 1098 .unlocked_ioctl = ubi_cdev_ioctl, 1100 1099 .compat_ioctl = compat_ptr_ioctl, 1101 1100 }; ··· 1104 1105 .owner = THIS_MODULE, 1105 1106 .unlocked_ioctl = ctrl_cdev_ioctl, 1106 1107 .compat_ioctl = compat_ptr_ioctl, 1107 - .llseek = no_llseek, 1108 1108 };
-1
drivers/mtd/ubi/debug.c
··· 470 470 .read = dfs_file_read, 471 471 .write = dfs_file_write, 472 472 .open = simple_open, 473 - .llseek = no_llseek, 474 473 .owner = THIS_MODULE, 475 474 }; 476 475
-1
drivers/net/netdevsim/fib.c
··· 1414 1414 static const struct file_operations nsim_nexthop_bucket_activity_fops = { 1415 1415 .open = simple_open, 1416 1416 .write = nsim_nexthop_bucket_activity_write, 1417 - .llseek = no_llseek, 1418 1417 .owner = THIS_MODULE, 1419 1418 }; 1420 1419
-1
drivers/net/tap.c
··· 1162 1162 .read_iter = tap_read_iter, 1163 1163 .write_iter = tap_write_iter, 1164 1164 .poll = tap_poll, 1165 - .llseek = no_llseek, 1166 1165 .unlocked_ioctl = tap_ioctl, 1167 1166 .compat_ioctl = compat_ptr_ioctl, 1168 1167 };
-1
drivers/net/tun.c
··· 3543 3543 3544 3544 static const struct file_operations tun_fops = { 3545 3545 .owner = THIS_MODULE, 3546 - .llseek = no_llseek, 3547 3546 .read_iter = tun_chr_read_iter, 3548 3547 .write_iter = tun_chr_write_iter, 3549 3548 .poll = tun_chr_poll,
-1
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
··· 1184 1184 1185 1185 static const struct file_operations bus_reset_fops = { 1186 1186 .open = simple_open, 1187 - .llseek = no_llseek, 1188 1187 .write = bus_reset_write, 1189 1188 }; 1190 1189
-1
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
··· 3768 3768 } 3769 3769 3770 3770 const struct file_operations iwl_dbgfs_d3_test_ops = { 3771 - .llseek = no_llseek, 3772 3771 .open = iwl_mvm_d3_test_open, 3773 3772 .read = iwl_mvm_d3_test_read, 3774 3773 .release = iwl_mvm_d3_test_release,
-1
drivers/platform/chrome/cros_ec_debugfs.c
··· 302 302 .owner = THIS_MODULE, 303 303 .open = cros_ec_console_log_open, 304 304 .read = cros_ec_console_log_read, 305 - .llseek = no_llseek, 306 305 .poll = cros_ec_console_log_poll, 307 306 .release = cros_ec_console_log_release, 308 307 };
-1
drivers/platform/chrome/wilco_ec/debugfs.c
··· 156 156 .owner = THIS_MODULE, 157 157 .read = raw_read, 158 158 .write = raw_write, 159 - .llseek = no_llseek, 160 159 }; 161 160 162 161 #define CMD_KB_CHROME 0x88
-1
drivers/platform/chrome/wilco_ec/event.c
··· 403 403 .poll = event_poll, 404 404 .read = event_read, 405 405 .release = event_release, 406 - .llseek = no_llseek, 407 406 .owner = THIS_MODULE, 408 407 }; 409 408
-1
drivers/platform/chrome/wilco_ec/telemetry.c
··· 330 330 .write = telem_write, 331 331 .read = telem_read, 332 332 .release = telem_release, 333 - .llseek = no_llseek, 334 333 .owner = THIS_MODULE, 335 334 }; 336 335
-1
drivers/platform/surface/surface_aggregator_cdev.c
··· 670 670 .fasync = ssam_cdev_fasync, 671 671 .unlocked_ioctl = ssam_cdev_device_ioctl, 672 672 .compat_ioctl = ssam_cdev_device_ioctl, 673 - .llseek = no_llseek, 674 673 }; 675 674 676 675
-1
drivers/platform/surface/surface_dtx.c
··· 555 555 .fasync = surface_dtx_fasync, 556 556 .unlocked_ioctl = surface_dtx_ioctl, 557 557 .compat_ioctl = surface_dtx_ioctl, 558 - .llseek = no_llseek, 559 558 }; 560 559 561 560
-1
drivers/pps/pps.c
··· 319 319 320 320 static const struct file_operations pps_cdev_fops = { 321 321 .owner = THIS_MODULE, 322 - .llseek = no_llseek, 323 322 .poll = pps_cdev_poll, 324 323 .fasync = pps_cdev_fasync, 325 324 .compat_ioctl = pps_cdev_compat_ioctl,
-1
drivers/rtc/dev.c
··· 523 523 524 524 static const struct file_operations rtc_dev_fops = { 525 525 .owner = THIS_MODULE, 526 - .llseek = no_llseek, 527 526 .read = rtc_dev_read, 528 527 .poll = rtc_dev_poll, 529 528 .unlocked_ioctl = rtc_dev_ioctl,
-1
drivers/rtc/rtc-m41t80.c
··· 850 850 .write = wdt_write, 851 851 .open = wdt_open, 852 852 .release = wdt_release, 853 - .llseek = no_llseek, 854 853 }; 855 854 856 855 static struct miscdevice wdt_dev = {
-1
drivers/s390/char/fs3270.c
··· 515 515 .compat_ioctl = fs3270_ioctl, /* ioctl */ 516 516 .open = fs3270_open, /* open */ 517 517 .release = fs3270_close, /* release */ 518 - .llseek = no_llseek, 519 518 }; 520 519 521 520 static void fs3270_create_cb(int minor)
-1
drivers/s390/char/sclp_ctl.c
··· 115 115 .open = nonseekable_open, 116 116 .unlocked_ioctl = sclp_ctl_ioctl, 117 117 .compat_ioctl = sclp_ctl_ioctl, 118 - .llseek = no_llseek, 119 118 }; 120 119 121 120 /*
-1
drivers/s390/char/tape_char.c
··· 52 52 #endif 53 53 .open = tapechar_open, 54 54 .release = tapechar_release, 55 - .llseek = no_llseek, 56 55 }; 57 56 58 57 static int tapechar_major = TAPECHAR_MAJOR;
-1
drivers/s390/char/uvdevice.c
··· 448 448 static const struct file_operations uvio_dev_fops = { 449 449 .owner = THIS_MODULE, 450 450 .unlocked_ioctl = uvio_ioctl, 451 - .llseek = no_llseek, 452 451 }; 453 452 454 453 static struct miscdevice uvio_dev_miscdev = {
-1
drivers/s390/char/vmcp.c
··· 242 242 .write = vmcp_write, 243 243 .unlocked_ioctl = vmcp_ioctl, 244 244 .compat_ioctl = vmcp_ioctl, 245 - .llseek = no_llseek, 246 245 }; 247 246 248 247 static struct miscdevice vmcp_dev = {
-1
drivers/s390/char/vmlogrdr.c
··· 96 96 .open = vmlogrdr_open, 97 97 .release = vmlogrdr_release, 98 98 .read = vmlogrdr_read, 99 - .llseek = no_llseek, 100 99 }; 101 100 102 101
-2
drivers/s390/char/zcore.c
··· 165 165 .write = zcore_reipl_write, 166 166 .open = zcore_reipl_open, 167 167 .release = zcore_reipl_release, 168 - .llseek = no_llseek, 169 168 }; 170 169 171 170 static ssize_t zcore_hsa_read(struct file *filp, char __user *buf, ··· 199 200 .write = zcore_hsa_write, 200 201 .read = zcore_hsa_read, 201 202 .open = nonseekable_open, 202 - .llseek = no_llseek, 203 203 }; 204 204 205 205 static int __init check_sdias(void)
-1
drivers/s390/cio/chsc_sch.c
··· 924 924 .release = chsc_release, 925 925 .unlocked_ioctl = chsc_ioctl, 926 926 .compat_ioctl = chsc_ioctl, 927 - .llseek = no_llseek, 928 927 }; 929 928 930 929 static struct miscdevice chsc_misc_device = {
-1
drivers/s390/cio/css.c
··· 1332 1332 static const struct proc_ops cio_settle_proc_ops = { 1333 1333 .proc_open = nonseekable_open, 1334 1334 .proc_write = cio_settle_write, 1335 - .proc_lseek = no_llseek, 1336 1335 }; 1337 1336 1338 1337 static int __init cio_settle_init(void)
-1
drivers/s390/crypto/pkey_api.c
··· 776 776 static const struct file_operations pkey_fops = { 777 777 .owner = THIS_MODULE, 778 778 .open = nonseekable_open, 779 - .llseek = no_llseek, 780 779 .unlocked_ioctl = pkey_unlocked_ioctl, 781 780 }; 782 781
-1
drivers/s390/crypto/zcrypt_api.c
··· 1908 1908 #endif 1909 1909 .open = zcrypt_open, 1910 1910 .release = zcrypt_release, 1911 - .llseek = no_llseek, 1912 1911 }; 1913 1912 1914 1913 /*
-1
drivers/sbus/char/openprom.c
··· 687 687 688 688 static const struct file_operations openprom_fops = { 689 689 .owner = THIS_MODULE, 690 - .llseek = no_llseek, 691 690 .unlocked_ioctl = openprom_ioctl, 692 691 .compat_ioctl = openprom_compat_ioctl, 693 692 .open = openprom_open,
-1
drivers/sbus/char/uctrl.c
··· 221 221 222 222 static const struct file_operations uctrl_fops = { 223 223 .owner = THIS_MODULE, 224 - .llseek = no_llseek, 225 224 .unlocked_ioctl = uctrl_ioctl, 226 225 .open = uctrl_open, 227 226 };
-1
drivers/scsi/sg.c
··· 1424 1424 .mmap = sg_mmap, 1425 1425 .release = sg_release, 1426 1426 .fasync = sg_fasync, 1427 - .llseek = no_llseek, 1428 1427 }; 1429 1428 1430 1429 static const struct class sg_sysfs_class = {
-1
drivers/spi/spidev.c
··· 685 685 .compat_ioctl = spidev_compat_ioctl, 686 686 .open = spidev_open, 687 687 .release = spidev_release, 688 - .llseek = no_llseek, 689 688 }; 690 689 691 690 /*-------------------------------------------------------------------------*/
-1
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
··· 564 564 .open = acpi_thermal_rel_open, 565 565 .release = acpi_thermal_rel_release, 566 566 .unlocked_ioctl = acpi_thermal_rel_ioctl, 567 - .llseek = no_llseek, 568 567 }; 569 568 570 569 static struct miscdevice acpi_thermal_rel_misc_device = {
-3
drivers/tty/tty_io.c
··· 459 459 } 460 460 461 461 static const struct file_operations tty_fops = { 462 - .llseek = no_llseek, 463 462 .read_iter = tty_read, 464 463 .write_iter = tty_write, 465 464 .splice_read = copy_splice_read, ··· 473 474 }; 474 475 475 476 static const struct file_operations console_fops = { 476 - .llseek = no_llseek, 477 477 .read_iter = tty_read, 478 478 .write_iter = redirected_tty_write, 479 479 .splice_read = copy_splice_read, ··· 486 488 }; 487 489 488 490 static const struct file_operations hung_up_tty_fops = { 489 - .llseek = no_llseek, 490 491 .read_iter = hung_up_tty_read, 491 492 .write_iter = hung_up_tty_write, 492 493 .poll = hung_up_tty_poll,
-2
drivers/usb/gadget/function/f_fs.c
··· 722 722 } 723 723 724 724 static const struct file_operations ffs_ep0_operations = { 725 - .llseek = no_llseek, 726 725 727 726 .open = ffs_ep0_open, 728 727 .write = ffs_ep0_write, ··· 1829 1830 } 1830 1831 1831 1832 static const struct file_operations ffs_epfile_operations = { 1832 - .llseek = no_llseek, 1833 1833 1834 1834 .open = ffs_epfile_open, 1835 1835 .write_iter = ffs_epfile_write_iter,
-2
drivers/usb/gadget/legacy/inode.c
··· 705 705 706 706 .open = ep_open, 707 707 .release = ep_release, 708 - .llseek = no_llseek, 709 708 .unlocked_ioctl = ep_ioctl, 710 709 .read_iter = ep_read_iter, 711 710 .write_iter = ep_write_iter, ··· 1938 1939 } 1939 1940 1940 1941 static const struct file_operations ep0_operations = { 1941 - .llseek = no_llseek, 1942 1942 1943 1943 .open = gadget_dev_open, 1944 1944 .read = ep0_read,
-1
drivers/usb/gadget/legacy/raw_gadget.c
··· 1364 1364 .unlocked_ioctl = raw_ioctl, 1365 1365 .compat_ioctl = raw_ioctl, 1366 1366 .release = raw_release, 1367 - .llseek = no_llseek, 1368 1367 }; 1369 1368 1370 1369 static struct miscdevice raw_misc_device = {
-1
drivers/usb/gadget/udc/atmel_usba_udc.c
··· 187 187 static const struct file_operations queue_dbg_fops = { 188 188 .owner = THIS_MODULE, 189 189 .open = queue_dbg_open, 190 - .llseek = no_llseek, 191 190 .read = queue_dbg_read, 192 191 .release = queue_dbg_release, 193 192 };
-1
drivers/usb/misc/ldusb.c
··· 627 627 .open = ld_usb_open, 628 628 .release = ld_usb_release, 629 629 .poll = ld_usb_poll, 630 - .llseek = no_llseek, 631 630 }; 632 631 633 632 /*
-1
drivers/usb/mon/mon_bin.c
··· 1289 1289 static const struct file_operations mon_fops_binary = { 1290 1290 .owner = THIS_MODULE, 1291 1291 .open = mon_bin_open, 1292 - .llseek = no_llseek, 1293 1292 .read = mon_bin_read, 1294 1293 /* .write = mon_text_write, */ 1295 1294 .poll = mon_bin_poll,
-1
drivers/usb/mon/mon_stat.c
··· 62 62 const struct file_operations mon_fops_stat = { 63 63 .owner = THIS_MODULE, 64 64 .open = mon_stat_open, 65 - .llseek = no_llseek, 66 65 .read = mon_stat_read, 67 66 /* .write = mon_stat_write, */ 68 67 /* .poll = mon_stat_poll, */
-2
drivers/usb/mon/mon_text.c
··· 685 685 static const struct file_operations mon_fops_text_t = { 686 686 .owner = THIS_MODULE, 687 687 .open = mon_text_open, 688 - .llseek = no_llseek, 689 688 .read = mon_text_read_t, 690 689 .release = mon_text_release, 691 690 }; ··· 692 693 static const struct file_operations mon_fops_text_u = { 693 694 .owner = THIS_MODULE, 694 695 .open = mon_text_open, 695 - .llseek = no_llseek, 696 696 .read = mon_text_read_u, 697 697 .release = mon_text_release, 698 698 };
-2
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
··· 723 723 .owner = THIS_MODULE, 724 724 .write = hisi_acc_vf_resume_write, 725 725 .release = hisi_acc_vf_release_file, 726 - .llseek = no_llseek, 727 726 }; 728 727 729 728 static struct hisi_acc_vf_migration_file * ··· 844 845 .unlocked_ioctl = hisi_acc_vf_precopy_ioctl, 845 846 .compat_ioctl = compat_ptr_ioctl, 846 847 .release = hisi_acc_vf_release_file, 847 - .llseek = no_llseek, 848 848 }; 849 849 850 850 static struct hisi_acc_vf_migration_file *
-2
drivers/vfio/pci/mlx5/main.c
··· 587 587 .unlocked_ioctl = mlx5vf_precopy_ioctl, 588 588 .compat_ioctl = compat_ptr_ioctl, 589 589 .release = mlx5vf_release_file, 590 - .llseek = no_llseek, 591 590 }; 592 591 593 592 static int mlx5vf_pci_save_device_inc_data(struct mlx5vf_pci_core_device *mvdev) ··· 999 1000 .owner = THIS_MODULE, 1000 1001 .write = mlx5vf_resume_write, 1001 1002 .release = mlx5vf_release_file, 1002 - .llseek = no_llseek, 1003 1003 }; 1004 1004 1005 1005 static struct mlx5_vf_migration_file *
-2
drivers/vfio/pci/pds/lm.c
··· 235 235 .owner = THIS_MODULE, 236 236 .read = pds_vfio_save_read, 237 237 .release = pds_vfio_release_file, 238 - .llseek = no_llseek, 239 238 }; 240 239 241 240 static int pds_vfio_get_save_file(struct pds_vfio_pci_device *pds_vfio) ··· 333 334 .owner = THIS_MODULE, 334 335 .write = pds_vfio_restore_write, 335 336 .release = pds_vfio_release_file, 336 - .llseek = no_llseek, 337 337 }; 338 338 339 339 static int pds_vfio_get_restore_file(struct pds_vfio_pci_device *pds_vfio)
-2
drivers/vfio/pci/qat/main.c
··· 220 220 .unlocked_ioctl = qat_vf_precopy_ioctl, 221 221 .compat_ioctl = compat_ptr_ioctl, 222 222 .release = qat_vf_release_file, 223 - .llseek = no_llseek, 224 223 }; 225 224 226 225 static int qat_vf_save_state(struct qat_vf_core_device *qat_vdev, ··· 344 345 .owner = THIS_MODULE, 345 346 .write = qat_vf_resume_write, 346 347 .release = qat_vf_release_file, 347 - .llseek = no_llseek, 348 348 }; 349 349 350 350 static struct qat_vf_migration_file *
-1
drivers/virt/coco/tdx-guest/tdx-guest.c
··· 285 285 static const struct file_operations tdx_guest_fops = { 286 286 .owner = THIS_MODULE, 287 287 .unlocked_ioctl = tdx_guest_ioctl, 288 - .llseek = no_llseek, 289 288 }; 290 289 291 290 static struct miscdevice tdx_misc_dev = {
-1
drivers/watchdog/acquirewdt.c
··· 218 218 219 219 static const struct file_operations acq_fops = { 220 220 .owner = THIS_MODULE, 221 - .llseek = no_llseek, 222 221 .write = acq_write, 223 222 .unlocked_ioctl = acq_ioctl, 224 223 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/advantechwdt.c
··· 217 217 218 218 static const struct file_operations advwdt_fops = { 219 219 .owner = THIS_MODULE, 220 - .llseek = no_llseek, 221 220 .write = advwdt_write, 222 221 .unlocked_ioctl = advwdt_ioctl, 223 222 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/alim1535_wdt.c
··· 359 359 360 360 static const struct file_operations ali_fops = { 361 361 .owner = THIS_MODULE, 362 - .llseek = no_llseek, 363 362 .write = ali_write, 364 363 .unlocked_ioctl = ali_ioctl, 365 364 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/alim7101_wdt.c
··· 289 289 290 290 static const struct file_operations wdt_fops = { 291 291 .owner = THIS_MODULE, 292 - .llseek = no_llseek, 293 292 .write = fop_write, 294 293 .open = fop_open, 295 294 .release = fop_close,
-1
drivers/watchdog/at91rm9200_wdt.c
··· 210 210 211 211 static const struct file_operations at91wdt_fops = { 212 212 .owner = THIS_MODULE, 213 - .llseek = no_llseek, 214 213 .unlocked_ioctl = at91_wdt_ioctl, 215 214 .compat_ioctl = compat_ptr_ioctl, 216 215 .open = at91_wdt_open,
-1
drivers/watchdog/ath79_wdt.c
··· 231 231 232 232 static const struct file_operations ath79_wdt_fops = { 233 233 .owner = THIS_MODULE, 234 - .llseek = no_llseek, 235 234 .write = ath79_wdt_write, 236 235 .unlocked_ioctl = ath79_wdt_ioctl, 237 236 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/cpu5wdt.c
··· 185 185 186 186 static const struct file_operations cpu5wdt_fops = { 187 187 .owner = THIS_MODULE, 188 - .llseek = no_llseek, 189 188 .unlocked_ioctl = cpu5wdt_ioctl, 190 189 .compat_ioctl = compat_ptr_ioctl, 191 190 .open = cpu5wdt_open,
-1
drivers/watchdog/cpwd.c
··· 507 507 .write = cpwd_write, 508 508 .read = cpwd_read, 509 509 .release = cpwd_release, 510 - .llseek = no_llseek, 511 510 }; 512 511 513 512 static int cpwd_probe(struct platform_device *op)
-1
drivers/watchdog/eurotechwdt.c
··· 368 368 369 369 static const struct file_operations eurwdt_fops = { 370 370 .owner = THIS_MODULE, 371 - .llseek = no_llseek, 372 371 .write = eurwdt_write, 373 372 .unlocked_ioctl = eurwdt_ioctl, 374 373 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/gef_wdt.c
··· 245 245 246 246 static const struct file_operations gef_wdt_fops = { 247 247 .owner = THIS_MODULE, 248 - .llseek = no_llseek, 249 248 .write = gef_wdt_write, 250 249 .unlocked_ioctl = gef_wdt_ioctl, 251 250 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/geodewdt.c
··· 196 196 197 197 static const struct file_operations geodewdt_fops = { 198 198 .owner = THIS_MODULE, 199 - .llseek = no_llseek, 200 199 .write = geodewdt_write, 201 200 .unlocked_ioctl = geodewdt_ioctl, 202 201 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/ib700wdt.c
··· 256 256 257 257 static const struct file_operations ibwdt_fops = { 258 258 .owner = THIS_MODULE, 259 - .llseek = no_llseek, 260 259 .write = ibwdt_write, 261 260 .unlocked_ioctl = ibwdt_ioctl, 262 261 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/ibmasr.c
··· 340 340 341 341 static const struct file_operations asr_fops = { 342 342 .owner = THIS_MODULE, 343 - .llseek = no_llseek, 344 343 .write = asr_write, 345 344 .unlocked_ioctl = asr_ioctl, 346 345 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/indydog.c
··· 149 149 150 150 static const struct file_operations indydog_fops = { 151 151 .owner = THIS_MODULE, 152 - .llseek = no_llseek, 153 152 .write = indydog_write, 154 153 .unlocked_ioctl = indydog_ioctl, 155 154 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/it8712f_wdt.c
··· 341 341 342 342 static const struct file_operations it8712f_wdt_fops = { 343 343 .owner = THIS_MODULE, 344 - .llseek = no_llseek, 345 344 .write = it8712f_wdt_write, 346 345 .unlocked_ioctl = it8712f_wdt_ioctl, 347 346 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/m54xx_wdt.c
··· 179 179 180 180 static const struct file_operations m54xx_wdt_fops = { 181 181 .owner = THIS_MODULE, 182 - .llseek = no_llseek, 183 182 .write = m54xx_wdt_write, 184 183 .unlocked_ioctl = m54xx_wdt_ioctl, 185 184 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/machzwd.c
··· 359 359 360 360 static const struct file_operations zf_fops = { 361 361 .owner = THIS_MODULE, 362 - .llseek = no_llseek, 363 362 .write = zf_write, 364 363 .unlocked_ioctl = zf_ioctl, 365 364 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/mixcomwd.c
··· 224 224 225 225 static const struct file_operations mixcomwd_fops = { 226 226 .owner = THIS_MODULE, 227 - .llseek = no_llseek, 228 227 .write = mixcomwd_write, 229 228 .unlocked_ioctl = mixcomwd_ioctl, 230 229 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/mtx-1_wdt.c
··· 177 177 178 178 static const struct file_operations mtx1_wdt_fops = { 179 179 .owner = THIS_MODULE, 180 - .llseek = no_llseek, 181 180 .unlocked_ioctl = mtx1_wdt_ioctl, 182 181 .compat_ioctl = compat_ptr_ioctl, 183 182 .open = mtx1_wdt_open,
-1
drivers/watchdog/nv_tco.c
··· 264 264 265 265 static const struct file_operations nv_tco_fops = { 266 266 .owner = THIS_MODULE, 267 - .llseek = no_llseek, 268 267 .write = nv_tco_write, 269 268 .unlocked_ioctl = nv_tco_ioctl, 270 269 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/pc87413_wdt.c
··· 470 470 471 471 static const struct file_operations pc87413_fops = { 472 472 .owner = THIS_MODULE, 473 - .llseek = no_llseek, 474 473 .write = pc87413_write, 475 474 .unlocked_ioctl = pc87413_ioctl, 476 475 .compat_ioctl = compat_ptr_ioctl,
-2
drivers/watchdog/pcwd.c
··· 749 749 750 750 static const struct file_operations pcwd_fops = { 751 751 .owner = THIS_MODULE, 752 - .llseek = no_llseek, 753 752 .write = pcwd_write, 754 753 .unlocked_ioctl = pcwd_ioctl, 755 754 .compat_ioctl = compat_ptr_ioctl, ··· 764 765 765 766 static const struct file_operations pcwd_temp_fops = { 766 767 .owner = THIS_MODULE, 767 - .llseek = no_llseek, 768 768 .read = pcwd_temp_read, 769 769 .open = pcwd_temp_open, 770 770 .release = pcwd_temp_close,
-2
drivers/watchdog/pcwd_pci.c
··· 643 643 644 644 static const struct file_operations pcipcwd_fops = { 645 645 .owner = THIS_MODULE, 646 - .llseek = no_llseek, 647 646 .write = pcipcwd_write, 648 647 .unlocked_ioctl = pcipcwd_ioctl, 649 648 .compat_ioctl = compat_ptr_ioctl, ··· 658 659 659 660 static const struct file_operations pcipcwd_temp_fops = { 660 661 .owner = THIS_MODULE, 661 - .llseek = no_llseek, 662 662 .read = pcipcwd_temp_read, 663 663 .open = pcipcwd_temp_open, 664 664 .release = pcipcwd_temp_release,
-2
drivers/watchdog/pcwd_usb.c
··· 549 549 550 550 static const struct file_operations usb_pcwd_fops = { 551 551 .owner = THIS_MODULE, 552 - .llseek = no_llseek, 553 552 .write = usb_pcwd_write, 554 553 .unlocked_ioctl = usb_pcwd_ioctl, 555 554 .compat_ioctl = compat_ptr_ioctl, ··· 564 565 565 566 static const struct file_operations usb_pcwd_temperature_fops = { 566 567 .owner = THIS_MODULE, 567 - .llseek = no_llseek, 568 568 .read = usb_pcwd_temperature_read, 569 569 .open = usb_pcwd_temperature_open, 570 570 .release = usb_pcwd_temperature_release,
-1
drivers/watchdog/pika_wdt.c
··· 209 209 210 210 static const struct file_operations pikawdt_fops = { 211 211 .owner = THIS_MODULE, 212 - .llseek = no_llseek, 213 212 .open = pikawdt_open, 214 213 .release = pikawdt_release, 215 214 .write = pikawdt_write,
-1
drivers/watchdog/rc32434_wdt.c
··· 242 242 243 243 static const struct file_operations rc32434_wdt_fops = { 244 244 .owner = THIS_MODULE, 245 - .llseek = no_llseek, 246 245 .write = rc32434_wdt_write, 247 246 .unlocked_ioctl = rc32434_wdt_ioctl, 248 247 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/rdc321x_wdt.c
··· 197 197 198 198 static const struct file_operations rdc321x_wdt_fops = { 199 199 .owner = THIS_MODULE, 200 - .llseek = no_llseek, 201 200 .unlocked_ioctl = rdc321x_wdt_ioctl, 202 201 .compat_ioctl = compat_ptr_ioctl, 203 202 .open = rdc321x_wdt_open,
-1
drivers/watchdog/riowd.c
··· 160 160 161 161 static const struct file_operations riowd_fops = { 162 162 .owner = THIS_MODULE, 163 - .llseek = no_llseek, 164 163 .unlocked_ioctl = riowd_ioctl, 165 164 .compat_ioctl = compat_ptr_ioctl, 166 165 .open = riowd_open,
-1
drivers/watchdog/sa1100_wdt.c
··· 164 164 165 165 static const struct file_operations sa1100dog_fops = { 166 166 .owner = THIS_MODULE, 167 - .llseek = no_llseek, 168 167 .write = sa1100dog_write, 169 168 .unlocked_ioctl = sa1100dog_ioctl, 170 169 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/sb_wdog.c
··· 234 234 235 235 static const struct file_operations sbwdog_fops = { 236 236 .owner = THIS_MODULE, 237 - .llseek = no_llseek, 238 237 .write = sbwdog_write, 239 238 .unlocked_ioctl = sbwdog_ioctl, 240 239 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/sbc60xxwdt.c
··· 275 275 276 276 static const struct file_operations wdt_fops = { 277 277 .owner = THIS_MODULE, 278 - .llseek = no_llseek, 279 278 .write = fop_write, 280 279 .open = fop_open, 281 280 .release = fop_close,
-1
drivers/watchdog/sbc7240_wdt.c
··· 205 205 206 206 static const struct file_operations wdt_fops = { 207 207 .owner = THIS_MODULE, 208 - .llseek = no_llseek, 209 208 .write = fop_write, 210 209 .open = fop_open, 211 210 .release = fop_close,
-1
drivers/watchdog/sbc8360.c
··· 301 301 302 302 static const struct file_operations sbc8360_fops = { 303 303 .owner = THIS_MODULE, 304 - .llseek = no_llseek, 305 304 .write = sbc8360_write, 306 305 .open = sbc8360_open, 307 306 .release = sbc8360_close,
-1
drivers/watchdog/sbc_epx_c3.c
··· 153 153 154 154 static const struct file_operations epx_c3_fops = { 155 155 .owner = THIS_MODULE, 156 - .llseek = no_llseek, 157 156 .write = epx_c3_write, 158 157 .unlocked_ioctl = epx_c3_ioctl, 159 158 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/sbc_fitpc2_wdt.c
··· 181 181 182 182 static const struct file_operations fitpc2_wdt_fops = { 183 183 .owner = THIS_MODULE, 184 - .llseek = no_llseek, 185 184 .write = fitpc2_wdt_write, 186 185 .unlocked_ioctl = fitpc2_wdt_ioctl, 187 186 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/sc1200wdt.c
··· 304 304 305 305 static const struct file_operations sc1200wdt_fops = { 306 306 .owner = THIS_MODULE, 307 - .llseek = no_llseek, 308 307 .write = sc1200wdt_write, 309 308 .unlocked_ioctl = sc1200wdt_ioctl, 310 309 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/sc520_wdt.c
··· 331 331 332 332 static const struct file_operations wdt_fops = { 333 333 .owner = THIS_MODULE, 334 - .llseek = no_llseek, 335 334 .write = fop_write, 336 335 .open = fop_open, 337 336 .release = fop_close,
-1
drivers/watchdog/sch311x_wdt.c
··· 334 334 335 335 static const struct file_operations sch311x_wdt_fops = { 336 336 .owner = THIS_MODULE, 337 - .llseek = no_llseek, 338 337 .write = sch311x_wdt_write, 339 338 .unlocked_ioctl = sch311x_wdt_ioctl, 340 339 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/scx200_wdt.c
··· 198 198 199 199 static const struct file_operations scx200_wdt_fops = { 200 200 .owner = THIS_MODULE, 201 - .llseek = no_llseek, 202 201 .write = scx200_wdt_write, 203 202 .unlocked_ioctl = scx200_wdt_ioctl, 204 203 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/smsc37b787_wdt.c
··· 502 502 503 503 static const struct file_operations wb_smsc_wdt_fops = { 504 504 .owner = THIS_MODULE, 505 - .llseek = no_llseek, 506 505 .write = wb_smsc_wdt_write, 507 506 .unlocked_ioctl = wb_smsc_wdt_ioctl, 508 507 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/w83877f_wdt.c
··· 299 299 300 300 static const struct file_operations wdt_fops = { 301 301 .owner = THIS_MODULE, 302 - .llseek = no_llseek, 303 302 .write = fop_write, 304 303 .open = fop_open, 305 304 .release = fop_close,
-1
drivers/watchdog/w83977f_wdt.c
··· 443 443 444 444 static const struct file_operations wdt_fops = { 445 445 .owner = THIS_MODULE, 446 - .llseek = no_llseek, 447 446 .write = wdt_write, 448 447 .unlocked_ioctl = wdt_ioctl, 449 448 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/wafer5823wdt.c
··· 227 227 228 228 static const struct file_operations wafwdt_fops = { 229 229 .owner = THIS_MODULE, 230 - .llseek = no_llseek, 231 230 .write = wafwdt_write, 232 231 .unlocked_ioctl = wafwdt_ioctl, 233 232 .compat_ioctl = compat_ptr_ioctl,
-2
drivers/watchdog/wdrtas.c
··· 469 469 470 470 static const struct file_operations wdrtas_fops = { 471 471 .owner = THIS_MODULE, 472 - .llseek = no_llseek, 473 472 .write = wdrtas_write, 474 473 .unlocked_ioctl = wdrtas_ioctl, 475 474 .compat_ioctl = compat_ptr_ioctl, ··· 484 485 485 486 static const struct file_operations wdrtas_temp_fops = { 486 487 .owner = THIS_MODULE, 487 - .llseek = no_llseek, 488 488 .read = wdrtas_temp_read, 489 489 .open = wdrtas_temp_open, 490 490 .release = wdrtas_temp_close,
-2
drivers/watchdog/wdt.c
··· 520 520 521 521 static const struct file_operations wdt_fops = { 522 522 .owner = THIS_MODULE, 523 - .llseek = no_llseek, 524 523 .write = wdt_write, 525 524 .unlocked_ioctl = wdt_ioctl, 526 525 .compat_ioctl = compat_ptr_ioctl, ··· 535 536 536 537 static const struct file_operations wdt_temp_fops = { 537 538 .owner = THIS_MODULE, 538 - .llseek = no_llseek, 539 539 .read = wdt_temp_read, 540 540 .open = wdt_temp_open, 541 541 .release = wdt_temp_release,
-1
drivers/watchdog/wdt285.c
··· 178 178 179 179 static const struct file_operations watchdog_fops = { 180 180 .owner = THIS_MODULE, 181 - .llseek = no_llseek, 182 181 .write = watchdog_write, 183 182 .unlocked_ioctl = watchdog_ioctl, 184 183 .compat_ioctl = compat_ptr_ioctl,
-1
drivers/watchdog/wdt977.c
··· 419 419 420 420 static const struct file_operations wdt977_fops = { 421 421 .owner = THIS_MODULE, 422 - .llseek = no_llseek, 423 422 .write = wdt977_write, 424 423 .unlocked_ioctl = wdt977_ioctl, 425 424 .compat_ioctl = compat_ptr_ioctl,
-2
drivers/watchdog/wdt_pci.c
··· 563 563 564 564 static const struct file_operations wdtpci_fops = { 565 565 .owner = THIS_MODULE, 566 - .llseek = no_llseek, 567 566 .write = wdtpci_write, 568 567 .unlocked_ioctl = wdtpci_ioctl, 569 568 .compat_ioctl = compat_ptr_ioctl, ··· 578 579 579 580 static const struct file_operations wdtpci_temp_fops = { 580 581 .owner = THIS_MODULE, 581 - .llseek = no_llseek, 582 582 .read = wdtpci_temp_read, 583 583 .open = wdtpci_temp_open, 584 584 .release = wdtpci_temp_release,
-1
drivers/xen/evtchn.c
··· 694 694 .fasync = evtchn_fasync, 695 695 .open = evtchn_open, 696 696 .release = evtchn_release, 697 - .llseek = no_llseek, 698 697 }; 699 698 700 699 static struct miscdevice evtchn_miscdev = {
-1
drivers/xen/mcelog.c
··· 182 182 .read = xen_mce_chrdev_read, 183 183 .poll = xen_mce_chrdev_poll, 184 184 .unlocked_ioctl = xen_mce_chrdev_ioctl, 185 - .llseek = no_llseek, 186 185 }; 187 186 188 187 static struct miscdevice xen_mce_chrdev_device = {
-1
drivers/xen/xenbus/xenbus_dev_frontend.c
··· 700 700 .open = xenbus_file_open, 701 701 .release = xenbus_file_release, 702 702 .poll = xenbus_file_poll, 703 - .llseek = no_llseek, 704 703 }; 705 704 EXPORT_SYMBOL_GPL(xen_xenbus_fops); 706 705
-1
fs/bcachefs/chardev.c
··· 471 471 static const struct file_operations bcachefs_data_ops = { 472 472 .release = bch2_data_job_release, 473 473 .read = bch2_data_job_read, 474 - .llseek = no_llseek, 475 474 }; 476 475 477 476 static long bch2_ioctl_data(struct bch_fs *c,
-2
fs/bcachefs/thread_with_file.c
··· 275 275 } 276 276 277 277 static const struct file_operations thread_with_stdio_fops = { 278 - .llseek = no_llseek, 279 278 .read = thread_with_stdio_read, 280 279 .write = thread_with_stdio_write, 281 280 .poll = thread_with_stdio_poll, ··· 284 285 }; 285 286 286 287 static const struct file_operations thread_with_stdout_fops = { 287 - .llseek = no_llseek, 288 288 .read = thread_with_stdio_read, 289 289 .poll = thread_with_stdout_poll, 290 290 .flush = thread_with_stdio_flush,
-1
fs/debugfs/file.c
··· 1218 1218 .open = u32_array_open, 1219 1219 .release = u32_array_release, 1220 1220 .read = u32_array_read, 1221 - .llseek = no_llseek, 1222 1221 }; 1223 1222 1224 1223 /**
-1
fs/dlm/debug_fs.c
··· 733 733 static const struct file_operations dlm_rawmsg_fops = { 734 734 .open = simple_open, 735 735 .write = dlm_rawmsg_write, 736 - .llseek = no_llseek, 737 736 }; 738 737 739 738 void *dlm_create_debug_comms_file(int nodeid, void *data)
-1
fs/efivarfs/file.c
··· 110 110 .open = simple_open, 111 111 .read = efivarfs_file_read, 112 112 .write = efivarfs_file_write, 113 - .llseek = no_llseek, 114 113 };
-1
fs/fsopen.c
··· 78 78 const struct file_operations fscontext_fops = { 79 79 .read = fscontext_read, 80 80 .release = fscontext_release, 81 - .llseek = no_llseek, 82 81 }; 83 82 84 83 /*
-4
fs/fuse/control.c
··· 183 183 static const struct file_operations fuse_ctl_abort_ops = { 184 184 .open = nonseekable_open, 185 185 .write = fuse_conn_abort_write, 186 - .llseek = no_llseek, 187 186 }; 188 187 189 188 static const struct file_operations fuse_ctl_waiting_ops = { 190 189 .open = nonseekable_open, 191 190 .read = fuse_conn_waiting_read, 192 - .llseek = no_llseek, 193 191 }; 194 192 195 193 static const struct file_operations fuse_conn_max_background_ops = { 196 194 .open = nonseekable_open, 197 195 .read = fuse_conn_max_background_read, 198 196 .write = fuse_conn_max_background_write, 199 - .llseek = no_llseek, 200 197 }; 201 198 202 199 static const struct file_operations fuse_conn_congestion_threshold_ops = { 203 200 .open = nonseekable_open, 204 201 .read = fuse_conn_congestion_threshold_read, 205 202 .write = fuse_conn_congestion_threshold_write, 206 - .llseek = no_llseek, 207 203 }; 208 204 209 205 static struct dentry *fuse_ctl_add_dentry(struct dentry *parent,
-1
fs/fuse/dev.c
··· 2456 2456 const struct file_operations fuse_dev_operations = { 2457 2457 .owner = THIS_MODULE, 2458 2458 .open = fuse_dev_open, 2459 - .llseek = no_llseek, 2460 2459 .read_iter = fuse_dev_read, 2461 2460 .splice_read = fuse_dev_splice_read, 2462 2461 .write_iter = fuse_dev_write,
-1
fs/nsfs.c
··· 22 22 static long ns_ioctl(struct file *filp, unsigned int ioctl, 23 23 unsigned long arg); 24 24 static const struct file_operations ns_file_operations = { 25 - .llseek = no_llseek, 26 25 .unlocked_ioctl = ns_ioctl, 27 26 .compat_ioctl = compat_ptr_ioctl, 28 27 };
-1
fs/pipe.c
··· 1231 1231 1232 1232 const struct file_operations pipefifo_fops = { 1233 1233 .open = fifo_open, 1234 - .llseek = no_llseek, 1235 1234 .read_iter = pipe_read, 1236 1235 .write_iter = pipe_write, 1237 1236 .poll = pipe_poll,
-2
fs/ubifs/debug.c
··· 2807 2807 .read = dfs_file_read, 2808 2808 .write = dfs_file_write, 2809 2809 .owner = THIS_MODULE, 2810 - .llseek = no_llseek, 2811 2810 }; 2812 2811 2813 2812 /** ··· 2951 2952 .read = dfs_global_file_read, 2952 2953 .write = dfs_global_file_write, 2953 2954 .owner = THIS_MODULE, 2954 - .llseek = no_llseek, 2955 2955 }; 2956 2956 2957 2957 /**
-1
include/linux/debugfs.h
··· 57 57 .release = simple_attr_release, \ 58 58 .read = debugfs_attr_read, \ 59 59 .write = (__is_signed) ? debugfs_attr_write_signed : debugfs_attr_write, \ 60 - .llseek = no_llseek, \ 61 60 } 62 61 63 62 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \
-1
include/linux/fs.h
··· 3234 3234 extern void 3235 3235 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); 3236 3236 extern loff_t noop_llseek(struct file *file, loff_t offset, int whence); 3237 - #define no_llseek NULL 3238 3237 extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize); 3239 3238 extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); 3240 3239 extern loff_t generic_file_llseek_size(struct file *file, loff_t offset,
-1
kernel/bpf/bpf_iter.c
··· 283 283 284 284 const struct file_operations bpf_iter_fops = { 285 285 .open = iter_open, 286 - .llseek = no_llseek, 287 286 .read = bpf_seq_read, 288 287 .release = iter_release, 289 288 };
-1
kernel/events/core.c
··· 6821 6821 } 6822 6822 6823 6823 static const struct file_operations perf_fops = { 6824 - .llseek = no_llseek, 6825 6824 .release = perf_release, 6826 6825 .read = perf_read, 6827 6826 .poll = perf_poll,
-1
kernel/power/user.c
··· 447 447 .release = snapshot_release, 448 448 .read = snapshot_read, 449 449 .write = snapshot_write, 450 - .llseek = no_llseek, 451 450 .unlocked_ioctl = snapshot_ioctl, 452 451 #ifdef CONFIG_COMPAT 453 452 .compat_ioctl = snapshot_compat_ioctl,
-1
kernel/relay.c
··· 1079 1079 .poll = relay_file_poll, 1080 1080 .mmap = relay_file_mmap, 1081 1081 .read = relay_file_read, 1082 - .llseek = no_llseek, 1083 1082 .release = relay_file_release, 1084 1083 }; 1085 1084 EXPORT_SYMBOL_GPL(relay_file_operations);
-1
kernel/time/posix-clock.c
··· 168 168 169 169 static const struct file_operations posix_clock_file_operations = { 170 170 .owner = THIS_MODULE, 171 - .llseek = no_llseek, 172 171 .read = posix_clock_read, 173 172 .poll = posix_clock_poll, 174 173 .unlocked_ioctl = posix_clock_ioctl,
-3
kernel/trace/rv/rv.c
··· 306 306 307 307 static const struct file_operations interface_enable_fops = { 308 308 .open = simple_open, 309 - .llseek = no_llseek, 310 309 .write = monitor_enable_write_data, 311 310 .read = monitor_enable_read_data, 312 311 }; ··· 328 329 329 330 static const struct file_operations interface_desc_fops = { 330 331 .open = simple_open, 331 - .llseek = no_llseek, 332 332 .read = monitor_desc_read_data, 333 333 }; 334 334 ··· 672 674 673 675 static const struct file_operations monitoring_on_fops = { 674 676 .open = simple_open, 675 - .llseek = no_llseek, 676 677 .write = monitoring_on_write_data, 677 678 .read = monitoring_on_read_data, 678 679 };
-1
kernel/trace/rv/rv_reactors.c
··· 426 426 427 427 static const struct file_operations reacting_on_fops = { 428 428 .open = simple_open, 429 - .llseek = no_llseek, 430 429 .write = reacting_on_write_data, 431 430 .read = reacting_on_read_data, 432 431 };
-3
kernel/trace/trace.c
··· 7557 7557 .read = tracing_read_pipe, 7558 7558 .splice_read = tracing_splice_read_pipe, 7559 7559 .release = tracing_release_pipe, 7560 - .llseek = no_llseek, 7561 7560 }; 7562 7561 7563 7562 static const struct file_operations tracing_entries_fops = { ··· 7635 7636 .read = tracing_buffers_read, 7636 7637 .release = tracing_buffers_release, 7637 7638 .splice_read = tracing_buffers_splice_read, 7638 - .llseek = no_llseek, 7639 7639 }; 7640 7640 7641 7641 #endif /* CONFIG_TRACER_SNAPSHOT */ ··· 8464 8466 .flush = tracing_buffers_flush, 8465 8467 .splice_read = tracing_buffers_splice_read, 8466 8468 .unlocked_ioctl = tracing_buffers_ioctl, 8467 - .llseek = no_llseek, 8468 8469 .mmap = tracing_buffers_mmap, 8469 8470 }; 8470 8471
-1
mm/huge_memory.c
··· 4115 4115 static const struct file_operations split_huge_pages_fops = { 4116 4116 .owner = THIS_MODULE, 4117 4117 .write = split_huge_pages_write, 4118 - .llseek = no_llseek, 4119 4118 }; 4120 4119 4121 4120 static int __init split_huge_pages_debugfs(void)
-2
net/mac80211/rc80211_minstrel_ht_debugfs.c
··· 187 187 .open = minstrel_ht_stats_open, 188 188 .read = minstrel_stats_read, 189 189 .release = minstrel_stats_release, 190 - .llseek = no_llseek, 191 190 }; 192 191 193 192 static char * ··· 322 323 .open = minstrel_ht_stats_csv_open, 323 324 .read = minstrel_stats_read, 324 325 .release = minstrel_stats_release, 325 - .llseek = no_llseek, 326 326 }; 327 327 328 328 void
-1
net/rfkill/core.c
··· 1394 1394 .release = rfkill_fop_release, 1395 1395 .unlocked_ioctl = rfkill_fop_ioctl, 1396 1396 .compat_ioctl = compat_ptr_ioctl, 1397 - .llseek = no_llseek, 1398 1397 }; 1399 1398 1400 1399 #define RFKILL_NAME "rfkill"
-1
net/socket.c
··· 153 153 154 154 static const struct file_operations socket_file_ops = { 155 155 .owner = THIS_MODULE, 156 - .llseek = no_llseek, 157 156 .read_iter = sock_read_iter, 158 157 .write_iter = sock_write_iter, 159 158 .poll = sock_poll,
-4
net/sunrpc/cache.c
··· 1592 1592 } 1593 1593 1594 1594 static const struct proc_ops cache_channel_proc_ops = { 1595 - .proc_lseek = no_llseek, 1596 1595 .proc_read = cache_read_procfs, 1597 1596 .proc_write = cache_write_procfs, 1598 1597 .proc_poll = cache_poll_procfs, ··· 1657 1658 .proc_read = read_flush_procfs, 1658 1659 .proc_write = write_flush_procfs, 1659 1660 .proc_release = release_flush_procfs, 1660 - .proc_lseek = no_llseek, 1661 1661 }; 1662 1662 1663 1663 static void remove_cache_proc_entries(struct cache_detail *cd) ··· 1809 1811 1810 1812 const struct file_operations cache_file_operations_pipefs = { 1811 1813 .owner = THIS_MODULE, 1812 - .llseek = no_llseek, 1813 1814 .read = cache_read_pipefs, 1814 1815 .write = cache_write_pipefs, 1815 1816 .poll = cache_poll_pipefs, ··· 1874 1877 .read = read_flush_pipefs, 1875 1878 .write = write_flush_pipefs, 1876 1879 .release = release_flush_pipefs, 1877 - .llseek = no_llseek, 1878 1880 }; 1879 1881 1880 1882 int sunrpc_cache_register_pipefs(struct dentry *parent,
-1
net/sunrpc/rpc_pipe.c
··· 385 385 386 386 static const struct file_operations rpc_pipe_fops = { 387 387 .owner = THIS_MODULE, 388 - .llseek = no_llseek, 389 388 .read = rpc_pipe_read, 390 389 .write = rpc_pipe_write, 391 390 .poll = rpc_pipe_poll,
-2
samples/vfio-mdev/mtty.c
··· 927 927 .unlocked_ioctl = mtty_precopy_ioctl, 928 928 .compat_ioctl = compat_ptr_ioctl, 929 929 .release = mtty_release_migf, 930 - .llseek = no_llseek, 931 930 }; 932 931 933 932 static void mtty_save_state(struct mdev_state *mdev_state) ··· 1081 1082 .owner = THIS_MODULE, 1082 1083 .write = mtty_resume_write, 1083 1084 .release = mtty_release_migf, 1084 - .llseek = no_llseek, 1085 1085 }; 1086 1086 1087 1087 static struct mtty_migration_file *
-1
scripts/coccinelle/api/stream_open.cocci
··· 131 131 identifier fops0.fops; 132 132 @@ 133 133 struct file_operations fops = { 134 - .llseek = no_llseek, 135 134 }; 136 135 137 136 @ has_noop_llseek @
-1
sound/core/control.c
··· 2267 2267 .read = snd_ctl_read, 2268 2268 .open = snd_ctl_open, 2269 2269 .release = snd_ctl_release, 2270 - .llseek = no_llseek, 2271 2270 .poll = snd_ctl_poll, 2272 2271 .unlocked_ioctl = snd_ctl_ioctl, 2273 2272 .compat_ioctl = snd_ctl_ioctl_compat,
-1
sound/core/oss/mixer_oss.c
··· 412 412 .owner = THIS_MODULE, 413 413 .open = snd_mixer_oss_open, 414 414 .release = snd_mixer_oss_release, 415 - .llseek = no_llseek, 416 415 .unlocked_ioctl = snd_mixer_oss_ioctl, 417 416 .compat_ioctl = snd_mixer_oss_ioctl_compat, 418 417 };
-1
sound/core/oss/pcm_oss.c
··· 3106 3106 .write = snd_pcm_oss_write, 3107 3107 .open = snd_pcm_oss_open, 3108 3108 .release = snd_pcm_oss_release, 3109 - .llseek = no_llseek, 3110 3109 .poll = snd_pcm_oss_poll, 3111 3110 .unlocked_ioctl = snd_pcm_oss_ioctl, 3112 3111 .compat_ioctl = snd_pcm_oss_ioctl_compat,
-2
sound/core/pcm_native.c
··· 4115 4115 .write_iter = snd_pcm_writev, 4116 4116 .open = snd_pcm_playback_open, 4117 4117 .release = snd_pcm_release, 4118 - .llseek = no_llseek, 4119 4118 .poll = snd_pcm_poll, 4120 4119 .unlocked_ioctl = snd_pcm_ioctl, 4121 4120 .compat_ioctl = snd_pcm_ioctl_compat, ··· 4128 4129 .read_iter = snd_pcm_readv, 4129 4130 .open = snd_pcm_capture_open, 4130 4131 .release = snd_pcm_release, 4131 - .llseek = no_llseek, 4132 4132 .poll = snd_pcm_poll, 4133 4133 .unlocked_ioctl = snd_pcm_ioctl, 4134 4134 .compat_ioctl = snd_pcm_ioctl_compat,
-1
sound/core/rawmidi.c
··· 1784 1784 .write = snd_rawmidi_write, 1785 1785 .open = snd_rawmidi_open, 1786 1786 .release = snd_rawmidi_release, 1787 - .llseek = no_llseek, 1788 1787 .poll = snd_rawmidi_poll, 1789 1788 .unlocked_ioctl = snd_rawmidi_ioctl, 1790 1789 .compat_ioctl = snd_rawmidi_ioctl_compat,
-1
sound/core/seq/seq_clientmgr.c
··· 2722 2722 .write = snd_seq_write, 2723 2723 .open = snd_seq_open, 2724 2724 .release = snd_seq_release, 2725 - .llseek = no_llseek, 2726 2725 .poll = snd_seq_poll, 2727 2726 .unlocked_ioctl = snd_seq_ioctl, 2728 2727 .compat_ioctl = snd_seq_ioctl_compat,
-1
sound/core/timer.c
··· 2436 2436 .read = snd_timer_user_read, 2437 2437 .open = snd_timer_user_open, 2438 2438 .release = snd_timer_user_release, 2439 - .llseek = no_llseek, 2440 2439 .poll = snd_timer_user_poll, 2441 2440 .unlocked_ioctl = snd_timer_user_ioctl, 2442 2441 .compat_ioctl = snd_timer_user_ioctl_compat,
-3
sound/oss/dmasound/dmasound_core.c
··· 381 381 static const struct file_operations mixer_fops = 382 382 { 383 383 .owner = THIS_MODULE, 384 - .llseek = no_llseek, 385 384 .unlocked_ioctl = mixer_unlocked_ioctl, 386 385 .compat_ioctl = compat_ptr_ioctl, 387 386 .open = mixer_open, ··· 1154 1155 static const struct file_operations sq_fops = 1155 1156 { 1156 1157 .owner = THIS_MODULE, 1157 - .llseek = no_llseek, 1158 1158 .write = sq_write, 1159 1159 .poll = sq_poll, 1160 1160 .unlocked_ioctl = sq_unlocked_ioctl, ··· 1349 1351 1350 1352 static const struct file_operations state_fops = { 1351 1353 .owner = THIS_MODULE, 1352 - .llseek = no_llseek, 1353 1354 .read = state_read, 1354 1355 .open = state_open, 1355 1356 .release = state_release,
-3
sound/soc/intel/avs/debugfs.c
··· 68 68 static const struct file_operations fw_regs_fops = { 69 69 .open = simple_open, 70 70 .read = fw_regs_read, 71 - .llseek = no_llseek, 72 71 }; 73 72 74 73 static ssize_t debug_window_read(struct file *file, char __user *to, size_t count, loff_t *ppos) ··· 92 93 static const struct file_operations debug_window_fops = { 93 94 .open = simple_open, 94 95 .read = debug_window_read, 95 - .llseek = no_llseek, 96 96 }; 97 97 98 98 static ssize_t probe_points_read(struct file *file, char __user *to, size_t count, loff_t *ppos) ··· 168 170 .open = simple_open, 169 171 .read = probe_points_read, 170 172 .write = probe_points_write, 171 - .llseek = no_llseek, 172 173 }; 173 174 174 175 static ssize_t probe_points_disconnect_write(struct file *file, const char __user *from,
-1
virt/kvm/kvm_main.c
··· 6186 6186 .release = kvm_debugfs_release, 6187 6187 .read = simple_attr_read, 6188 6188 .write = simple_attr_write, 6189 - .llseek = no_llseek, 6190 6189 }; 6191 6190 6192 6191 static int vm_stat_get(void *_offset, u64 *val)