Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl

* 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl:
vfs: make no_llseek the default
vfs: don't use BKL in default_llseek
llseek: automatically add .llseek fop
libfs: use generic_file_llseek for simple_attr
mac80211: disallow seeks in minstrel debug code
lirc: make chardev nonseekable
viotape: use noop_llseek
raw: use explicit llseek file operations
ibmasmfs: use generic_file_llseek
spufs: use llseek in all file operations
arm/omap: use generic_file_llseek in iommu_debug
lkdtm: use generic_file_llseek in debugfs
net/wireless: use generic_file_llseek in debugfs
drm: use noop_llseek

+601 -77
+1
Documentation/DocBook/drm.tmpl
··· 136 #ifdef CONFIG_COMPAT 137 .compat_ioctl = i915_compat_ioctl, 138 #endif 139 }, 140 .pci_driver = { 141 .name = DRIVER_NAME,
··· 136 #ifdef CONFIG_COMPAT 137 .compat_ioctl = i915_compat_ioctl, 138 #endif 139 + .llseek = noop_llseek, 140 }, 141 .pci_driver = { 142 .name = DRIVER_NAME,
+1
arch/arm/kernel/etm.c
··· 329 .read = etb_read, 330 .open = etb_open, 331 .release = etb_release, 332 }; 333 334 static struct miscdevice etb_miscdev = {
··· 329 .read = etb_read, 330 .open = etb_open, 331 .release = etb_release, 332 + .llseek = no_llseek, 333 }; 334 335 static struct miscdevice etb_miscdev = {
+2 -1
arch/arm/mach-msm/last_radio_log.c
··· 48 } 49 50 static struct file_operations last_radio_log_fops = { 51 - .read = last_radio_log_read 52 }; 53 54 void msm_init_last_radio_log(struct module *owner)
··· 48 } 49 50 static struct file_operations last_radio_log_fops = { 51 + .read = last_radio_log_read, 52 + .llseek = default_llseek, 53 }; 54 55 void msm_init_last_radio_log(struct module *owner)
+1
arch/arm/mach-msm/smd_debug.c
··· 212 static const struct file_operations debug_ops = { 213 .read = debug_read, 214 .open = debug_open, 215 }; 216 217 static void debug_create(const char *name, mode_t mode,
··· 212 static const struct file_operations debug_ops = { 213 .read = debug_read, 214 .open = debug_open, 215 + .llseek = default_llseek, 216 }; 217 218 static void debug_create(const char *name, mode_t mode,
+1
arch/arm/plat-mxc/audmux-v2.c
··· 137 static const struct file_operations audmux_debugfs_fops = { 138 .open = audmux_open_file, 139 .read = audmux_read_file, 140 }; 141 142 static void audmux_debugfs_init(void)
··· 137 static const struct file_operations audmux_debugfs_fops = { 138 .open = audmux_open_file, 139 .read = audmux_read_file, 140 + .llseek = default_llseek, 141 }; 142 143 static void audmux_debugfs_init(void)
+2
arch/arm/plat-omap/iommu-debug.c
··· 328 .open = debug_open_generic, \ 329 .read = debug_read_##name, \ 330 .write = debug_write_##name, \ 331 }; 332 333 #define DEBUG_FOPS_RO(name) \ 334 static const struct file_operations debug_##name##_fops = { \ 335 .open = debug_open_generic, \ 336 .read = debug_read_##name, \ 337 }; 338 339 DEBUG_FOPS_RO(ver);
··· 328 .open = debug_open_generic, \ 329 .read = debug_read_##name, \ 330 .write = debug_write_##name, \ 331 + .llseek = generic_file_llseek, \ 332 }; 333 334 #define DEBUG_FOPS_RO(name) \ 335 static const struct file_operations debug_##name##_fops = { \ 336 .open = debug_open_generic, \ 337 .read = debug_read_##name, \ 338 + .llseek = generic_file_llseek, \ 339 }; 340 341 DEBUG_FOPS_RO(ver);
+1
arch/avr32/boards/mimc200/fram.c
··· 41 static const struct file_operations fram_fops = { 42 .owner = THIS_MODULE, 43 .mmap = fram_mmap, 44 }; 45 46 #define FRAM_MINOR 0
··· 41 static const struct file_operations fram_fops = { 42 .owner = THIS_MODULE, 43 .mmap = fram_mmap, 44 + .llseek = noop_llseek, 45 }; 46 47 #define FRAM_MINOR 0
+1
arch/blackfin/kernel/kgdb_test.c
··· 88 .owner = THIS_MODULE, 89 .read = kgdb_test_proc_read, 90 .write = kgdb_test_proc_write, 91 }; 92 93 static int __init kgdbtest_init(void)
··· 88 .owner = THIS_MODULE, 89 .read = kgdb_test_proc_read, 90 .write = kgdb_test_proc_write, 91 + .llseek = noop_llseek, 92 }; 93 94 static int __init kgdbtest_init(void)
+1
arch/blackfin/mach-bf561/coreb.c
··· 51 static const struct file_operations coreb_fops = { 52 .owner = THIS_MODULE, 53 .unlocked_ioctl = coreb_ioctl, 54 }; 55 56 static struct miscdevice coreb_dev = {
··· 51 static const struct file_operations coreb_fops = { 52 .owner = THIS_MODULE, 53 .unlocked_ioctl = coreb_ioctl, 54 + .llseek = noop_llseek, 55 }; 56 57 static struct miscdevice coreb_dev = {
+1
arch/cris/arch-v10/drivers/ds1302.c
··· 388 static const struct file_operations rtc_fops = { 389 .owner = THIS_MODULE, 390 .unlocked_ioctl = rtc_unlocked_ioctl, 391 }; 392 393 /* Probe for the chip by writing something to its RAM and try reading it back. */
··· 388 static const struct file_operations rtc_fops = { 389 .owner = THIS_MODULE, 390 .unlocked_ioctl = rtc_unlocked_ioctl, 391 + .llseek = noop_llseek, 392 }; 393 394 /* Probe for the chip by writing something to its RAM and try reading it back. */
+1
arch/cris/arch-v10/drivers/gpio.c
··· 745 .write = gpio_write, 746 .open = gpio_open, 747 .release = gpio_release, 748 }; 749 750 static void ioif_watcher(const unsigned int gpio_in_available,
··· 745 .write = gpio_write, 746 .open = gpio_open, 747 .release = gpio_release, 748 + .llseek = noop_llseek, 749 }; 750 751 static void ioif_watcher(const unsigned int gpio_in_available,
+1
arch/cris/arch-v10/drivers/i2c.c
··· 617 .unlocked_ioctl = i2c_ioctl, 618 .open = i2c_open, 619 .release = i2c_release, 620 }; 621 622 int __init
··· 617 .unlocked_ioctl = i2c_ioctl, 618 .open = i2c_open, 619 .release = i2c_release, 620 + .llseek = noop_llseek, 621 }; 622 623 int __init
+1
arch/cris/arch-v10/drivers/pcf8563.c
··· 64 static const struct file_operations pcf8563_fops = { 65 .owner = THIS_MODULE, 66 .unlocked_ioctl = pcf8563_unlocked_ioctl, 67 }; 68 69 unsigned char
··· 64 static const struct file_operations pcf8563_fops = { 65 .owner = THIS_MODULE, 66 .unlocked_ioctl = pcf8563_unlocked_ioctl, 67 + .llseek = noop_llseek, 68 }; 69 70 unsigned char
+2 -1
arch/cris/arch-v10/drivers/sync_serial.c
··· 251 .poll = sync_serial_poll, 252 .unlocked_ioctl = sync_serial_ioctl, 253 .open = sync_serial_open, 254 - .release = sync_serial_release 255 }; 256 257 static int __init etrax_sync_serial_init(void)
··· 251 .poll = sync_serial_poll, 252 .unlocked_ioctl = sync_serial_ioctl, 253 .open = sync_serial_open, 254 + .release = sync_serial_release, 255 + .llseek = noop_llseek, 256 }; 257 258 static int __init etrax_sync_serial_init(void)
+2 -1
arch/cris/arch-v32/drivers/cryptocop.c
··· 281 .owner = THIS_MODULE, 282 .open = cryptocop_open, 283 .release = cryptocop_release, 284 - .unlocked_ioctl = cryptocop_ioctl 285 }; 286 287
··· 281 .owner = THIS_MODULE, 282 .open = cryptocop_open, 283 .release = cryptocop_release, 284 + .unlocked_ioctl = cryptocop_ioctl, 285 + .llseek = noop_llseek, 286 }; 287 288
+1
arch/cris/arch-v32/drivers/i2c.c
··· 698 .unlocked_ioctl = i2c_ioctl, 699 .open = i2c_open, 700 .release = i2c_release, 701 }; 702 703 static int __init i2c_init(void)
··· 698 .unlocked_ioctl = i2c_ioctl, 699 .open = i2c_open, 700 .release = i2c_release, 701 + .llseek = noop_llseek, 702 }; 703 704 static int __init i2c_init(void)
+1
arch/cris/arch-v32/drivers/mach-a3/gpio.c
··· 894 .write = gpio_write, 895 .open = gpio_open, 896 .release = gpio_release, 897 }; 898 899 #ifdef CONFIG_ETRAX_VIRTUAL_GPIO
··· 894 .write = gpio_write, 895 .open = gpio_open, 896 .release = gpio_release, 897 + .llseek = noop_llseek, 898 }; 899 900 #ifdef CONFIG_ETRAX_VIRTUAL_GPIO
+1
arch/cris/arch-v32/drivers/mach-fs/gpio.c
··· 871 .write = gpio_write, 872 .open = gpio_open, 873 .release = gpio_release, 874 }; 875 876 #ifdef CONFIG_ETRAX_VIRTUAL_GPIO
··· 871 .write = gpio_write, 872 .open = gpio_open, 873 .release = gpio_release, 874 + .llseek = noop_llseek, 875 }; 876 877 #ifdef CONFIG_ETRAX_VIRTUAL_GPIO
+1
arch/cris/arch-v32/drivers/pcf8563.c
··· 60 static const struct file_operations pcf8563_fops = { 61 .owner = THIS_MODULE, 62 .unlocked_ioctl = pcf8563_unlocked_ioctl, 63 }; 64 65 unsigned char
··· 60 static const struct file_operations pcf8563_fops = { 61 .owner = THIS_MODULE, 62 .unlocked_ioctl = pcf8563_unlocked_ioctl, 63 + .llseek = noop_llseek, 64 }; 65 66 unsigned char
+2 -1
arch/cris/arch-v32/drivers/sync_serial.c
··· 248 .poll = sync_serial_poll, 249 .unlocked_ioctl = sync_serial_ioctl, 250 .open = sync_serial_open, 251 - .release = sync_serial_release 252 }; 253 254 static int __init etrax_sync_serial_init(void)
··· 248 .poll = sync_serial_poll, 249 .unlocked_ioctl = sync_serial_ioctl, 250 .open = sync_serial_open, 251 + .release = sync_serial_release, 252 + .llseek = noop_llseek, 253 }; 254 255 static int __init etrax_sync_serial_init(void)
+1
arch/cris/kernel/profile.c
··· 59 static const struct file_operations cris_proc_profile_operations = { 60 .read = read_cris_profile, 61 .write = write_cris_profile, 62 }; 63 64 static int __init init_cris_profile(void)
··· 59 static const struct file_operations cris_proc_profile_operations = { 60 .read = read_cris_profile, 61 .write = write_cris_profile, 62 + .llseek = default_llseek, 63 }; 64 65 static int __init init_cris_profile(void)
+2
arch/ia64/kernel/salinfo.c
··· 354 static const struct file_operations salinfo_event_fops = { 355 .open = salinfo_event_open, 356 .read = salinfo_event_read, 357 }; 358 359 static int ··· 572 .release = salinfo_log_release, 573 .read = salinfo_log_read, 574 .write = salinfo_log_write, 575 }; 576 577 static int __cpuinit
··· 354 static const struct file_operations salinfo_event_fops = { 355 .open = salinfo_event_open, 356 .read = salinfo_event_read, 357 + .llseek = noop_llseek, 358 }; 359 360 static int ··· 571 .release = salinfo_log_release, 572 .read = salinfo_log_read, 573 .write = salinfo_log_write, 574 + .llseek = default_llseek, 575 }; 576 577 static int __cpuinit
+1
arch/ia64/sn/kernel/sn2/sn_hwperf.c
··· 860 861 static const struct file_operations sn_hwperf_fops = { 862 .unlocked_ioctl = sn_hwperf_ioctl, 863 }; 864 865 static struct miscdevice sn_hwperf_dev = {
··· 860 861 static const struct file_operations sn_hwperf_fops = { 862 .unlocked_ioctl = sn_hwperf_ioctl, 863 + .llseek = noop_llseek, 864 }; 865 866 static struct miscdevice sn_hwperf_dev = {
+1
arch/m68k/bvme6000/rtc.c
··· 155 .unlocked_ioctl = rtc_ioctl, 156 .open = rtc_open, 157 .release = rtc_release, 158 }; 159 160 static struct miscdevice rtc_dev = {
··· 155 .unlocked_ioctl = rtc_ioctl, 156 .open = rtc_open, 157 .release = rtc_release, 158 + .llseek = noop_llseek, 159 }; 160 161 static struct miscdevice rtc_dev = {
+1
arch/m68k/mvme16x/rtc.c
··· 144 .unlocked_ioctl = rtc_ioctl, 145 .open = rtc_open, 146 .release = rtc_release, 147 }; 148 149 static struct miscdevice rtc_dev=
··· 144 .unlocked_ioctl = rtc_ioctl, 145 .open = rtc_open, 146 .release = rtc_release, 147 + .llseek = noop_llseek, 148 }; 149 150 static struct miscdevice rtc_dev=
+2 -1
arch/mips/kernel/rtlx.c
··· 468 .release = file_release, 469 .write = file_write, 470 .read = file_read, 471 - .poll = file_poll 472 }; 473 474 static struct irqaction rtlx_irq = {
··· 468 .release = file_release, 469 .write = file_write, 470 .read = file_read, 471 + .poll = file_poll, 472 + .llseek = noop_llseek, 473 }; 474 475 static struct irqaction rtlx_irq = {
+2 -1
arch/mips/kernel/vpe.c
··· 1192 .owner = THIS_MODULE, 1193 .open = vpe_open, 1194 .release = vpe_release, 1195 - .write = vpe_write 1196 }; 1197 1198 /* module wrapper entry points */
··· 1192 .owner = THIS_MODULE, 1193 .open = vpe_open, 1194 .release = vpe_release, 1195 + .write = vpe_write, 1196 + .llseek = noop_llseek, 1197 }; 1198 1199 /* module wrapper entry points */
+1
arch/mips/sibyte/common/sb_tbprof.c
··· 545 .unlocked_ioctl = sbprof_tb_ioctl, 546 .compat_ioctl = sbprof_tb_ioctl, 547 .mmap = NULL, 548 }; 549 550 static struct class *tb_class;
··· 545 .unlocked_ioctl = sbprof_tb_ioctl, 546 .compat_ioctl = sbprof_tb_ioctl, 547 .mmap = NULL, 548 + .llseek = default_llseek, 549 }; 550 551 static struct class *tb_class;
+1
arch/powerpc/kernel/lparcfg.c
··· 780 .write = lparcfg_write, 781 .open = lparcfg_open, 782 .release = single_release, 783 }; 784 785 static int __init lparcfg_init(void)
··· 780 .write = lparcfg_write, 781 .open = lparcfg_open, 782 .release = single_release, 783 + .llseek = seq_lseek, 784 }; 785 786 static int __init lparcfg_init(void)
+3
arch/powerpc/kernel/rtas_flash.c
··· 716 .write = rtas_flash_write, 717 .open = rtas_excl_open, 718 .release = rtas_flash_release, 719 }; 720 721 static const struct file_operations manage_flash_operations = { ··· 725 .write = manage_flash_write, 726 .open = rtas_excl_open, 727 .release = rtas_excl_release, 728 }; 729 730 static const struct file_operations validate_flash_operations = { ··· 734 .write = validate_flash_write, 735 .open = rtas_excl_open, 736 .release = validate_flash_release, 737 }; 738 739 static int __init rtas_flash_init(void)
··· 716 .write = rtas_flash_write, 717 .open = rtas_excl_open, 718 .release = rtas_flash_release, 719 + .llseek = default_llseek, 720 }; 721 722 static const struct file_operations manage_flash_operations = { ··· 724 .write = manage_flash_write, 725 .open = rtas_excl_open, 726 .release = rtas_excl_release, 727 + .llseek = default_llseek, 728 }; 729 730 static const struct file_operations validate_flash_operations = { ··· 732 .write = validate_flash_write, 733 .open = rtas_excl_open, 734 .release = validate_flash_release, 735 + .llseek = default_llseek, 736 }; 737 738 static int __init rtas_flash_init(void)
+1
arch/powerpc/kernel/rtasd.c
··· 354 .poll = rtas_log_poll, 355 .open = rtas_log_open, 356 .release = rtas_log_release, 357 }; 358 359 static int enable_surveillance(int timeout)
··· 354 .poll = rtas_log_poll, 355 .open = rtas_log_open, 356 .release = rtas_log_release, 357 + .llseek = noop_llseek, 358 }; 359 360 static int enable_surveillance(int timeout)
+1
arch/powerpc/platforms/iseries/mf.c
··· 1249 1250 static const struct file_operations proc_vmlinux_operations = { 1251 .write = proc_mf_change_vmlinux, 1252 }; 1253 1254 static int __init mf_proc_init(void)
··· 1249 1250 static const struct file_operations proc_vmlinux_operations = { 1251 .write = proc_mf_change_vmlinux, 1252 + .llseek = default_llseek, 1253 }; 1254 1255 static int __init mf_proc_init(void)
+2 -1
arch/powerpc/platforms/pseries/reconfig.c
··· 539 } 540 541 static const struct file_operations ofdt_fops = { 542 - .write = ofdt_write 543 }; 544 545 /* create /proc/powerpc/ofdt write-only by root */
··· 539 } 540 541 static const struct file_operations ofdt_fops = { 542 + .write = ofdt_write, 543 + .llseek = noop_llseek, 544 }; 545 546 /* create /proc/powerpc/ofdt write-only by root */
+1
arch/powerpc/platforms/pseries/scanlog.c
··· 170 .write = scanlog_write, 171 .open = scanlog_open, 172 .release = scanlog_release, 173 }; 174 175 static int __init scanlog_init(void)
··· 170 .write = scanlog_write, 171 .open = scanlog_open, 172 .release = scanlog_release, 173 + .llseek = noop_llseek, 174 }; 175 176 static int __init scanlog_init(void)
+1
arch/s390/crypto/prng.c
··· 152 .open = &prng_open, 153 .release = NULL, 154 .read = &prng_read, 155 }; 156 157 static struct miscdevice prng_dev = {
··· 152 .open = &prng_open, 153 .release = NULL, 154 .read = &prng_read, 155 + .llseek = noop_llseek, 156 }; 157 158 static struct miscdevice prng_dev = {
+1
arch/s390/hypfs/hypfs_diag.c
··· 618 .open = dbfs_d204_open, 619 .read = dbfs_d204_read, 620 .release = dbfs_d204_release, 621 }; 622 623 static int hypfs_dbfs_init(void)
··· 618 .open = dbfs_d204_open, 619 .read = dbfs_d204_read, 620 .release = dbfs_d204_release, 621 + .llseek = no_llseek, 622 }; 623 624 static int hypfs_dbfs_init(void)
+1
arch/s390/hypfs/hypfs_vm.c
··· 275 .open = dbfs_d2fc_open, 276 .read = dbfs_d2fc_read, 277 .release = dbfs_d2fc_release, 278 }; 279 280 int hypfs_vm_init(void)
··· 275 .open = dbfs_d2fc_open, 276 .read = dbfs_d2fc_read, 277 .release = dbfs_d2fc_release, 278 + .llseek = no_llseek, 279 }; 280 281 int hypfs_vm_init(void)
+1
arch/s390/hypfs/inode.c
··· 449 .write = do_sync_write, 450 .aio_read = hypfs_aio_read, 451 .aio_write = hypfs_aio_write, 452 }; 453 454 static struct file_system_type hypfs_type = {
··· 449 .write = do_sync_write, 450 .aio_read = hypfs_aio_read, 451 .aio_write = hypfs_aio_write, 452 + .llseek = no_llseek, 453 }; 454 455 static struct file_system_type hypfs_type = {
+1
arch/s390/kernel/debug.c
··· 174 .write = debug_input, 175 .open = debug_open, 176 .release = debug_close, 177 }; 178 179 static struct dentry *debug_debugfs_root_entry;
··· 174 .write = debug_input, 175 .open = debug_open, 176 .release = debug_close, 177 + .llseek = no_llseek, 178 }; 179 180 static struct dentry *debug_debugfs_root_entry;
+1
arch/sh/boards/mach-landisk/gio.c
··· 128 .open = gio_open, /* open */ 129 .release = gio_close, /* release */ 130 .unlocked_ioctl = gio_ioctl, 131 }; 132 133 static int __init gio_init(void)
··· 128 .open = gio_open, /* open */ 129 .release = gio_close, /* release */ 130 .unlocked_ioctl = gio_ioctl, 131 + .llseek = noop_llseek, 132 }; 133 134 static int __init gio_init(void)
+1
arch/sparc/kernel/apc.c
··· 132 .unlocked_ioctl = apc_ioctl, 133 .open = apc_open, 134 .release = apc_release, 135 }; 136 137 static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
··· 132 .unlocked_ioctl = apc_ioctl, 133 .open = apc_open, 134 .release = apc_release, 135 + .llseek = noop_llseek, 136 }; 137 138 static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
+1
arch/sparc/kernel/mdesc.c
··· 890 static const struct file_operations mdesc_fops = { 891 .read = mdesc_read, 892 .owner = THIS_MODULE, 893 }; 894 895 static struct miscdevice mdesc_misc = {
··· 890 static const struct file_operations mdesc_fops = { 891 .read = mdesc_read, 892 .owner = THIS_MODULE, 893 + .llseek = noop_llseek, 894 }; 895 896 static struct miscdevice mdesc_misc = {
+1
arch/tile/kernel/hardwall.c
··· 774 #endif 775 .flush = hardwall_flush, 776 .release = hardwall_release, 777 }; 778 779 static struct cdev hardwall_dev;
··· 774 #endif 775 .flush = hardwall_flush, 776 .release = hardwall_release, 777 + .llseek = noop_llseek, 778 }; 779 780 static struct cdev hardwall_dev;
+1
arch/um/drivers/harddog_kern.c
··· 167 .unlocked_ioctl = harddog_ioctl, 168 .open = harddog_open, 169 .release = harddog_release, 170 }; 171 172 static struct miscdevice harddog_miscdev = {
··· 167 .unlocked_ioctl = harddog_ioctl, 168 .open = harddog_open, 169 .release = harddog_release, 170 + .llseek = no_llseek, 171 }; 172 173 static struct miscdevice harddog_miscdev = {
+1
arch/um/drivers/mconsole_kern.c
··· 843 static const struct file_operations mconsole_proc_fops = { 844 .owner = THIS_MODULE, 845 .write = mconsole_proc_write, 846 }; 847 848 static int create_proc_mconsole(void)
··· 843 static const struct file_operations mconsole_proc_fops = { 844 .owner = THIS_MODULE, 845 .write = mconsole_proc_write, 846 + .llseek = noop_llseek, 847 }; 848 849 static int create_proc_mconsole(void)
+1
arch/um/drivers/mmapper_kern.c
··· 93 .mmap = mmapper_mmap, 94 .open = mmapper_open, 95 .release = mmapper_release, 96 }; 97 98 /*
··· 93 .mmap = mmapper_mmap, 94 .open = mmapper_open, 95 .release = mmapper_release, 96 + .llseek = default_llseek, 97 }; 98 99 /*
+1
arch/um/drivers/random.c
··· 100 .owner = THIS_MODULE, 101 .open = rng_dev_open, 102 .read = rng_dev_read, 103 }; 104 105 /* rng_init shouldn't be called more than once at boot time */
··· 100 .owner = THIS_MODULE, 101 .open = rng_dev_open, 102 .read = rng_dev_read, 103 + .llseek = noop_llseek, 104 }; 105 106 /* rng_init shouldn't be called more than once at boot time */
+1
arch/x86/kernel/apm_32.c
··· 1926 .unlocked_ioctl = do_ioctl, 1927 .open = do_open, 1928 .release = do_release, 1929 }; 1930 1931 static struct miscdevice apm_device = {
··· 1926 .unlocked_ioctl = do_ioctl, 1927 .open = do_open, 1928 .release = do_release, 1929 + .llseek = noop_llseek, 1930 }; 1931 1932 static struct miscdevice apm_device = {
+1
arch/x86/kernel/cpu/mcheck/mce-severity.c
··· 192 .release = seq_release, 193 .read = seq_read, 194 .write = severities_coverage_write, 195 }; 196 197 static int __init severities_debugfs_init(void)
··· 192 .release = seq_release, 193 .read = seq_read, 194 .write = severities_coverage_write, 195 + .llseek = seq_lseek, 196 }; 197 198 static int __init severities_debugfs_init(void)
+1
arch/x86/kernel/cpu/mcheck/mce.c
··· 1665 .read = mce_read, 1666 .poll = mce_poll, 1667 .unlocked_ioctl = mce_ioctl, 1668 }; 1669 EXPORT_SYMBOL_GPL(mce_chrdev_ops); 1670
··· 1665 .read = mce_read, 1666 .poll = mce_poll, 1667 .unlocked_ioctl = mce_ioctl, 1668 + .llseek = no_llseek, 1669 }; 1670 EXPORT_SYMBOL_GPL(mce_chrdev_ops); 1671
+1
arch/x86/kernel/kdebugfs.c
··· 78 static const struct file_operations fops_setup_data = { 79 .read = setup_data_read, 80 .open = setup_data_open, 81 }; 82 83 static int __init
··· 78 static const struct file_operations fops_setup_data = { 79 .read = setup_data_read, 80 .open = setup_data_open, 81 + .llseek = default_llseek, 82 }; 83 84 static int __init
+1
arch/x86/kernel/microcode_core.c
··· 232 .owner = THIS_MODULE, 233 .write = microcode_write, 234 .open = microcode_open, 235 }; 236 237 static struct miscdevice microcode_dev = {
··· 232 .owner = THIS_MODULE, 233 .write = microcode_write, 234 .open = microcode_open, 235 + .llseek = no_llseek, 236 }; 237 238 static struct miscdevice microcode_dev = {
+1
arch/x86/kernel/tlb_uv.c
··· 1285 .open = tunables_open, 1286 .read = tunables_read, 1287 .write = tunables_write, 1288 }; 1289 1290 static int __init uv_ptc_init(void)
··· 1285 .open = tunables_open, 1286 .read = tunables_read, 1287 .write = tunables_write, 1288 + .llseek = default_llseek, 1289 }; 1290 1291 static int __init uv_ptc_init(void)
+1
arch/x86/xen/debugfs.c
··· 106 .open = u32_array_open, 107 .release= xen_array_release, 108 .read = u32_array_read, 109 }; 110 111 struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode,
··· 106 .open = u32_array_open, 107 .release= xen_array_release, 108 .read = u32_array_read, 109 + .llseek = no_llseek, 110 }; 111 112 struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode,
+1
block/bsg.c
··· 965 .release = bsg_release, 966 .unlocked_ioctl = bsg_ioctl, 967 .owner = THIS_MODULE, 968 }; 969 970 void bsg_unregister_queue(struct request_queue *q)
··· 965 .release = bsg_release, 966 .unlocked_ioctl = bsg_ioctl, 967 .owner = THIS_MODULE, 968 + .llseek = default_llseek, 969 }; 970 971 void bsg_unregister_queue(struct request_queue *q)
+1
drivers/acpi/apei/erst-dbg.c
··· 184 .read = erst_dbg_read, 185 .write = erst_dbg_write, 186 .unlocked_ioctl = erst_dbg_ioctl, 187 }; 188 189 static struct miscdevice erst_dbg_dev = {
··· 184 .read = erst_dbg_read, 185 .write = erst_dbg_write, 186 .unlocked_ioctl = erst_dbg_ioctl, 187 + .llseek = no_llseek, 188 }; 189 190 static struct miscdevice erst_dbg_dev = {
+1
drivers/acpi/debugfs.c
··· 69 70 static const struct file_operations cm_fops = { 71 .write = cm_write, 72 }; 73 74 int __init acpi_debugfs_init(void)
··· 69 70 static const struct file_operations cm_fops = { 71 .write = cm_write, 72 + .llseek = default_llseek, 73 }; 74 75 int __init acpi_debugfs_init(void)
+1
drivers/acpi/ec_sys.c
··· 101 .open = acpi_ec_open_io, 102 .read = acpi_ec_read_io, 103 .write = acpi_ec_write_io, 104 }; 105 106 int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
··· 101 .open = acpi_ec_open_io, 102 .read = acpi_ec_read_io, 103 .write = acpi_ec_write_io, 104 + .llseek = default_llseek, 105 }; 106 107 int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
+1
drivers/acpi/event.c
··· 110 .read = acpi_system_read_event, 111 .release = acpi_system_close_event, 112 .poll = acpi_system_poll_event, 113 }; 114 #endif /* CONFIG_ACPI_PROC_EVENT */ 115
··· 110 .read = acpi_system_read_event, 111 .release = acpi_system_close_event, 112 .poll = acpi_system_poll_event, 113 + .llseek = default_llseek, 114 }; 115 #endif /* CONFIG_ACPI_PROC_EVENT */ 116
+2 -1
drivers/block/DAC960.c
··· 7063 7064 static const struct file_operations DAC960_gam_fops = { 7065 .owner = THIS_MODULE, 7066 - .unlocked_ioctl = DAC960_gam_ioctl 7067 }; 7068 7069 static struct miscdevice DAC960_gam_dev = {
··· 7063 7064 static const struct file_operations DAC960_gam_fops = { 7065 .owner = THIS_MODULE, 7066 + .unlocked_ioctl = DAC960_gam_ioctl, 7067 + .llseek = noop_llseek, 7068 }; 7069 7070 static struct miscdevice DAC960_gam_dev = {
+1
drivers/block/aoe/aoechr.c
··· 266 .open = aoechr_open, 267 .release = aoechr_rel, 268 .owner = THIS_MODULE, 269 }; 270 271 static char *aoe_devnode(struct device *dev, mode_t *mode)
··· 266 .open = aoechr_open, 267 .release = aoechr_rel, 268 .owner = THIS_MODULE, 269 + .llseek = noop_llseek, 270 }; 271 272 static char *aoe_devnode(struct device *dev, mode_t *mode)
+1
drivers/block/paride/pg.c
··· 235 .write = pg_write, 236 .open = pg_open, 237 .release = pg_release, 238 }; 239 240 static void pg_init_units(void)
··· 235 .write = pg_write, 236 .open = pg_open, 237 .release = pg_release, 238 + .llseek = noop_llseek, 239 }; 240 241 static void pg_init_units(void)
+1
drivers/block/paride/pt.c
··· 240 .unlocked_ioctl = pt_ioctl, 241 .open = pt_open, 242 .release = pt_release, 243 }; 244 245 /* sysfs class support */
··· 240 .unlocked_ioctl = pt_ioctl, 241 .open = pt_open, 242 .release = pt_release, 243 + .llseek = noop_llseek, 244 }; 245 246 /* sysfs class support */
+1
drivers/block/pktcdvd.c
··· 3046 .compat_ioctl = pkt_ctl_compat_ioctl, 3047 #endif 3048 .owner = THIS_MODULE, 3049 }; 3050 3051 static struct miscdevice pkt_misc = {
··· 3046 .compat_ioctl = pkt_ctl_compat_ioctl, 3047 #endif 3048 .owner = THIS_MODULE, 3049 + .llseek = no_llseek, 3050 }; 3051 3052 static struct miscdevice pkt_misc = {
+10
drivers/bluetooth/btmrvl_debugfs.c
··· 92 .read = btmrvl_hscfgcmd_read, 93 .write = btmrvl_hscfgcmd_write, 94 .open = btmrvl_open_generic, 95 }; 96 97 static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf, ··· 131 .read = btmrvl_psmode_read, 132 .write = btmrvl_psmode_write, 133 .open = btmrvl_open_generic, 134 }; 135 136 static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, ··· 175 .read = btmrvl_pscmd_read, 176 .write = btmrvl_pscmd_write, 177 .open = btmrvl_open_generic, 178 }; 179 180 static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf, ··· 214 .read = btmrvl_gpiogap_read, 215 .write = btmrvl_gpiogap_write, 216 .open = btmrvl_open_generic, 217 }; 218 219 static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf, ··· 256 .read = btmrvl_hscmd_read, 257 .write = btmrvl_hscmd_write, 258 .open = btmrvl_open_generic, 259 }; 260 261 static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf, ··· 294 .read = btmrvl_hsmode_read, 295 .write = btmrvl_hsmode_write, 296 .open = btmrvl_open_generic, 297 }; 298 299 static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf, ··· 312 static const struct file_operations btmrvl_curpsmode_fops = { 313 .read = btmrvl_curpsmode_read, 314 .open = btmrvl_open_generic, 315 }; 316 317 static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf, ··· 330 static const struct file_operations btmrvl_psstate_fops = { 331 .read = btmrvl_psstate_read, 332 .open = btmrvl_open_generic, 333 }; 334 335 static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf, ··· 348 static const struct file_operations btmrvl_hsstate_fops = { 349 .read = btmrvl_hsstate_read, 350 .open = btmrvl_open_generic, 351 }; 352 353 static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf, ··· 367 static const struct file_operations btmrvl_txdnldready_fops = { 368 .read = btmrvl_txdnldready_read, 369 .open = btmrvl_open_generic, 370 }; 371 372 void btmrvl_debugfs_init(struct hci_dev *hdev)
··· 92 .read = btmrvl_hscfgcmd_read, 93 .write = btmrvl_hscfgcmd_write, 94 .open = btmrvl_open_generic, 95 + .llseek = default_llseek, 96 }; 97 98 static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf, ··· 130 .read = btmrvl_psmode_read, 131 .write = btmrvl_psmode_write, 132 .open = btmrvl_open_generic, 133 + .llseek = default_llseek, 134 }; 135 136 static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, ··· 173 .read = btmrvl_pscmd_read, 174 .write = btmrvl_pscmd_write, 175 .open = btmrvl_open_generic, 176 + .llseek = default_llseek, 177 }; 178 179 static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf, ··· 211 .read = btmrvl_gpiogap_read, 212 .write = btmrvl_gpiogap_write, 213 .open = btmrvl_open_generic, 214 + .llseek = default_llseek, 215 }; 216 217 static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf, ··· 252 .read = btmrvl_hscmd_read, 253 .write = btmrvl_hscmd_write, 254 .open = btmrvl_open_generic, 255 + .llseek = default_llseek, 256 }; 257 258 static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf, ··· 289 .read = btmrvl_hsmode_read, 290 .write = btmrvl_hsmode_write, 291 .open = btmrvl_open_generic, 292 + .llseek = default_llseek, 293 }; 294 295 static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf, ··· 306 static const struct file_operations btmrvl_curpsmode_fops = { 307 .read = btmrvl_curpsmode_read, 308 .open = btmrvl_open_generic, 309 + .llseek = default_llseek, 310 }; 311 312 static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf, ··· 323 static const struct file_operations btmrvl_psstate_fops = { 324 .read = btmrvl_psstate_read, 325 .open = btmrvl_open_generic, 326 + .llseek = default_llseek, 327 }; 328 329 static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf, ··· 340 static const struct file_operations btmrvl_hsstate_fops = { 341 .read = btmrvl_hsstate_read, 342 .open = btmrvl_open_generic, 343 + .llseek = default_llseek, 344 }; 345 346 static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf, ··· 358 static const struct file_operations btmrvl_txdnldready_fops = { 359 .read = btmrvl_txdnldready_read, 360 .open = btmrvl_open_generic, 361 + .llseek = default_llseek, 362 }; 363 364 void btmrvl_debugfs_init(struct hci_dev *hdev)
+1
drivers/bluetooth/hci_vhci.c
··· 282 .poll = vhci_poll, 283 .open = vhci_open, 284 .release = vhci_release, 285 }; 286 287 static struct miscdevice vhci_miscdev= {
··· 282 .poll = vhci_poll, 283 .open = vhci_open, 284 .release = vhci_release, 285 + .llseek = no_llseek, 286 }; 287 288 static struct miscdevice vhci_miscdev= {
+1
drivers/char/apm-emulation.c
··· 403 .unlocked_ioctl = apm_ioctl, 404 .open = apm_open, 405 .release = apm_release, 406 }; 407 408 static struct miscdevice apm_device = {
··· 403 .unlocked_ioctl = apm_ioctl, 404 .open = apm_open, 405 .release = apm_release, 406 + .llseek = noop_llseek, 407 }; 408 409 static struct miscdevice apm_device = {
+1
drivers/char/bfin-otp.c
··· 222 .unlocked_ioctl = bfin_otp_ioctl, 223 .read = bfin_otp_read, 224 .write = bfin_otp_write, 225 }; 226 227 static struct miscdevice bfin_otp_misc_device = {
··· 222 .unlocked_ioctl = bfin_otp_ioctl, 223 .read = bfin_otp_read, 224 .write = bfin_otp_write, 225 + .llseek = default_llseek, 226 }; 227 228 static struct miscdevice bfin_otp_misc_device = {
+1
drivers/char/briq_panel.c
··· 186 .write = briq_panel_write, 187 .open = briq_panel_open, 188 .release = briq_panel_release, 189 }; 190 191 static struct miscdevice briq_panel_miscdev = {
··· 186 .write = briq_panel_write, 187 .open = briq_panel_open, 188 .release = briq_panel_release, 189 + .llseek = noop_llseek, 190 }; 191 192 static struct miscdevice briq_panel_miscdev = {
+1
drivers/char/bsr.c
··· 155 .owner = THIS_MODULE, 156 .mmap = bsr_mmap, 157 .open = bsr_open, 158 }; 159 160 static void bsr_cleanup_devs(void)
··· 155 .owner = THIS_MODULE, 156 .mmap = bsr_mmap, 157 .open = bsr_open, 158 + .llseek = noop_llseek, 159 }; 160 161 static void bsr_cleanup_devs(void)
+2 -1
drivers/char/cs5535_gpio.c
··· 169 .owner = THIS_MODULE, 170 .write = cs5535_gpio_write, 171 .read = cs5535_gpio_read, 172 - .open = cs5535_gpio_open 173 }; 174 175 static int __init cs5535_gpio_init(void)
··· 169 .owner = THIS_MODULE, 170 .write = cs5535_gpio_write, 171 .read = cs5535_gpio_read, 172 + .open = cs5535_gpio_open, 173 + .llseek = no_llseek, 174 }; 175 176 static int __init cs5535_gpio_init(void)
+1
drivers/char/ds1302.c
··· 289 static const struct file_operations rtc_fops = { 290 .owner = THIS_MODULE, 291 .unlocked_ioctl = rtc_ioctl, 292 }; 293 294 /* Probe for the chip by writing something to its RAM and try reading it back. */
··· 289 static const struct file_operations rtc_fops = { 290 .owner = THIS_MODULE, 291 .unlocked_ioctl = rtc_ioctl, 292 + .llseek = noop_llseek, 293 }; 294 295 /* Probe for the chip by writing something to its RAM and try reading it back. */
+1
drivers/char/ds1620.c
··· 357 .open = ds1620_open, 358 .read = ds1620_read, 359 .unlocked_ioctl = ds1620_unlocked_ioctl, 360 }; 361 362 static struct miscdevice ds1620_miscdev = {
··· 357 .open = ds1620_open, 358 .read = ds1620_read, 359 .unlocked_ioctl = ds1620_unlocked_ioctl, 360 + .llseek = no_llseek, 361 }; 362 363 static struct miscdevice ds1620_miscdev = {
+1
drivers/char/dsp56k.c
··· 483 .unlocked_ioctl = dsp56k_ioctl, 484 .open = dsp56k_open, 485 .release = dsp56k_release, 486 }; 487 488
··· 483 .unlocked_ioctl = dsp56k_ioctl, 484 .open = dsp56k_open, 485 .release = dsp56k_release, 486 + .llseek = noop_llseek, 487 }; 488 489
+1
drivers/char/dtlk.c
··· 106 .unlocked_ioctl = dtlk_ioctl, 107 .open = dtlk_open, 108 .release = dtlk_release, 109 }; 110 111 /* local prototypes */
··· 106 .unlocked_ioctl = dtlk_ioctl, 107 .open = dtlk_open, 108 .release = dtlk_release, 109 + .llseek = no_llseek, 110 }; 111 112 /* local prototypes */
+1
drivers/char/genrtc.c
··· 498 .unlocked_ioctl = gen_rtc_unlocked_ioctl, 499 .open = gen_rtc_open, 500 .release = gen_rtc_release, 501 }; 502 503 static struct miscdevice rtc_gen_dev =
··· 498 .unlocked_ioctl = gen_rtc_unlocked_ioctl, 499 .open = gen_rtc_open, 500 .release = gen_rtc_release, 501 + .llseek = noop_llseek, 502 }; 503 504 static struct miscdevice rtc_gen_dev =
+1
drivers/char/hw_random/core.c
··· 170 .owner = THIS_MODULE, 171 .open = rng_dev_open, 172 .read = rng_dev_read, 173 }; 174 175 static struct miscdevice rng_miscdev = {
··· 170 .owner = THIS_MODULE, 171 .open = rng_dev_open, 172 .read = rng_dev_read, 173 + .llseek = noop_llseek, 174 }; 175 176 static struct miscdevice rng_miscdev = {
+1
drivers/char/ip2/ip2main.c
··· 237 .write = ip2_ipl_write, 238 .unlocked_ioctl = ip2_ipl_ioctl, 239 .open = ip2_ipl_open, 240 }; 241 242 static unsigned long irq_counter;
··· 237 .write = ip2_ipl_write, 238 .unlocked_ioctl = ip2_ipl_ioctl, 239 .open = ip2_ipl_open, 240 + .llseek = noop_llseek, 241 }; 242 243 static unsigned long irq_counter;
+1
drivers/char/ipmi/ipmi_devintf.c
··· 850 .release = ipmi_release, 851 .fasync = ipmi_fasync, 852 .poll = ipmi_poll, 853 }; 854 855 #define DEVICE_NAME "ipmidev"
··· 850 .release = ipmi_release, 851 .fasync = ipmi_fasync, 852 .poll = ipmi_poll, 853 + .llseek = noop_llseek, 854 }; 855 856 #define DEVICE_NAME "ipmidev"
+1
drivers/char/ipmi/ipmi_watchdog.c
··· 909 .open = ipmi_open, 910 .release = ipmi_close, 911 .fasync = ipmi_fasync, 912 }; 913 914 static struct miscdevice ipmi_wdog_miscdev = {
··· 909 .open = ipmi_open, 910 .release = ipmi_close, 911 .fasync = ipmi_fasync, 912 + .llseek = no_llseek, 913 }; 914 915 static struct miscdevice ipmi_wdog_miscdev = {
+1
drivers/char/istallion.c
··· 704 .read = stli_memread, 705 .write = stli_memwrite, 706 .unlocked_ioctl = stli_memioctl, 707 }; 708 709 /*****************************************************************************/
··· 704 .read = stli_memread, 705 .write = stli_memwrite, 706 .unlocked_ioctl = stli_memioctl, 707 + .llseek = default_llseek, 708 }; 709 710 /*****************************************************************************/
+1
drivers/char/lp.c
··· 749 #ifdef CONFIG_PARPORT_1284 750 .read = lp_read, 751 #endif 752 }; 753 754 /* --- support for console on the line printer ----------------- */
··· 749 #ifdef CONFIG_PARPORT_1284 750 .read = lp_read, 751 #endif 752 + .llseek = noop_llseek, 753 }; 754 755 /* --- support for console on the line printer ----------------- */
+3
drivers/char/mem.c
··· 805 static const struct file_operations oldmem_fops = { 806 .read = read_oldmem, 807 .open = open_oldmem, 808 }; 809 #endif 810 ··· 832 833 static const struct file_operations kmsg_fops = { 834 .write = kmsg_write, 835 }; 836 837 static const struct memdev { ··· 884 885 static const struct file_operations memory_fops = { 886 .open = memory_open, 887 }; 888 889 static char *mem_devnode(struct device *dev, mode_t *mode)
··· 805 static const struct file_operations oldmem_fops = { 806 .read = read_oldmem, 807 .open = open_oldmem, 808 + .llseek = default_llseek, 809 }; 810 #endif 811 ··· 831 832 static const struct file_operations kmsg_fops = { 833 .write = kmsg_write, 834 + .llseek = noop_llseek, 835 }; 836 837 static const struct memdev { ··· 882 883 static const struct file_operations memory_fops = { 884 .open = memory_open, 885 + .llseek = noop_llseek, 886 }; 887 888 static char *mem_devnode(struct device *dev, mode_t *mode)
+1
drivers/char/misc.c
··· 162 static const struct file_operations misc_fops = { 163 .owner = THIS_MODULE, 164 .open = misc_open, 165 }; 166 167 /**
··· 162 static const struct file_operations misc_fops = { 163 .owner = THIS_MODULE, 164 .open = misc_open, 165 + .llseek = noop_llseek, 166 }; 167 168 /**
+1
drivers/char/mmtimer.c
··· 73 .owner = THIS_MODULE, 74 .mmap = mmtimer_mmap, 75 .unlocked_ioctl = mmtimer_ioctl, 76 }; 77 78 /*
··· 73 .owner = THIS_MODULE, 74 .mmap = mmtimer_mmap, 75 .unlocked_ioctl = mmtimer_ioctl, 76 + .llseek = noop_llseek, 77 }; 78 79 /*
+6 -3
drivers/char/mspec.c
··· 316 317 static const struct file_operations fetchop_fops = { 318 .owner = THIS_MODULE, 319 - .mmap = fetchop_mmap 320 }; 321 322 static struct miscdevice fetchop_miscdev = { ··· 328 329 static const struct file_operations cached_fops = { 330 .owner = THIS_MODULE, 331 - .mmap = cached_mmap 332 }; 333 334 static struct miscdevice cached_miscdev = { ··· 340 341 static const struct file_operations uncached_fops = { 342 .owner = THIS_MODULE, 343 - .mmap = uncached_mmap 344 }; 345 346 static struct miscdevice uncached_miscdev = {
··· 316 317 static const struct file_operations fetchop_fops = { 318 .owner = THIS_MODULE, 319 + .mmap = fetchop_mmap, 320 + .llseek = noop_llseek, 321 }; 322 323 static struct miscdevice fetchop_miscdev = { ··· 327 328 static const struct file_operations cached_fops = { 329 .owner = THIS_MODULE, 330 + .mmap = cached_mmap, 331 + .llseek = noop_llseek, 332 }; 333 334 static struct miscdevice cached_miscdev = { ··· 338 339 static const struct file_operations uncached_fops = { 340 .owner = THIS_MODULE, 341 + .mmap = uncached_mmap, 342 + .llseek = noop_llseek, 343 }; 344 345 static struct miscdevice uncached_miscdev = {
+2 -1
drivers/char/mwave/mwavedd.c
··· 479 .write = mwave_write, 480 .unlocked_ioctl = mwave_ioctl, 481 .open = mwave_open, 482 - .release = mwave_close 483 }; 484 485
··· 479 .write = mwave_write, 480 .unlocked_ioctl = mwave_ioctl, 481 .open = mwave_open, 482 + .release = mwave_close, 483 + .llseek = default_llseek, 484 }; 485 486
+1
drivers/char/nwbutton.c
··· 182 static const struct file_operations button_fops = { 183 .owner = THIS_MODULE, 184 .read = button_read, 185 }; 186 187 /*
··· 182 static const struct file_operations button_fops = { 183 .owner = THIS_MODULE, 184 .read = button_read, 185 + .llseek = noop_llseek, 186 }; 187 188 /*
+1
drivers/char/pc8736x_gpio.c
··· 234 .open = pc8736x_gpio_open, 235 .write = nsc_gpio_write, 236 .read = nsc_gpio_read, 237 }; 238 239 static void __init pc8736x_init_shadow(void)
··· 234 .open = pc8736x_gpio_open, 235 .write = nsc_gpio_write, 236 .read = nsc_gpio_read, 237 + .llseek = no_llseek, 238 }; 239 240 static void __init pc8736x_init_shadow(void)
+1
drivers/char/pcmcia/cm4000_cs.c
··· 1866 .unlocked_ioctl = cmm_ioctl, 1867 .open = cmm_open, 1868 .release= cmm_close, 1869 }; 1870 1871 static struct pcmcia_device_id cm4000_ids[] = {
··· 1866 .unlocked_ioctl = cmm_ioctl, 1867 .open = cmm_open, 1868 .release= cmm_close, 1869 + .llseek = no_llseek, 1870 }; 1871 1872 static struct pcmcia_device_id cm4000_ids[] = {
+1
drivers/char/pcmcia/cm4040_cs.c
··· 630 .open = cm4040_open, 631 .release = cm4040_close, 632 .poll = cm4040_poll, 633 }; 634 635 static struct pcmcia_device_id cm4040_ids[] = {
··· 630 .open = cm4040_open, 631 .release = cm4040_close, 632 .poll = cm4040_poll, 633 + .llseek = no_llseek, 634 }; 635 636 static struct pcmcia_device_id cm4040_ids[] = {
+2
drivers/char/random.c
··· 1165 .poll = random_poll, 1166 .unlocked_ioctl = random_ioctl, 1167 .fasync = random_fasync, 1168 }; 1169 1170 const struct file_operations urandom_fops = { ··· 1173 .write = random_write, 1174 .unlocked_ioctl = random_ioctl, 1175 .fasync = random_fasync, 1176 }; 1177 1178 /***************************************************************
··· 1165 .poll = random_poll, 1166 .unlocked_ioctl = random_ioctl, 1167 .fasync = random_fasync, 1168 + .llseek = noop_llseek, 1169 }; 1170 1171 const struct file_operations urandom_fops = { ··· 1172 .write = random_write, 1173 .unlocked_ioctl = random_ioctl, 1174 .fasync = random_fasync, 1175 + .llseek = noop_llseek, 1176 }; 1177 1178 /***************************************************************
+2
drivers/char/raw.c
··· 292 .open = raw_open, 293 .release = raw_release, 294 .unlocked_ioctl = raw_ioctl, 295 .owner = THIS_MODULE, 296 }; 297 ··· 303 #endif 304 .open = raw_open, 305 .owner = THIS_MODULE, 306 }; 307 308 static struct cdev raw_cdev;
··· 292 .open = raw_open, 293 .release = raw_release, 294 .unlocked_ioctl = raw_ioctl, 295 + .llseek = default_llseek, 296 .owner = THIS_MODULE, 297 }; 298 ··· 302 #endif 303 .open = raw_open, 304 .owner = THIS_MODULE, 305 + .llseek = noop_llseek, 306 }; 307 308 static struct cdev raw_cdev;
+1
drivers/char/rio/rio_linux.c
··· 242 static const struct file_operations rio_fw_fops = { 243 .owner = THIS_MODULE, 244 .unlocked_ioctl = rio_fw_ioctl, 245 }; 246 247 static struct miscdevice rio_fw_device = {
··· 242 static const struct file_operations rio_fw_fops = { 243 .owner = THIS_MODULE, 244 .unlocked_ioctl = rio_fw_ioctl, 245 + .llseek = noop_llseek, 246 }; 247 248 static struct miscdevice rio_fw_device = {
+1
drivers/char/scx200_gpio.c
··· 67 .read = nsc_gpio_read, 68 .open = scx200_gpio_open, 69 .release = scx200_gpio_release, 70 }; 71 72 static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
··· 67 .read = nsc_gpio_read, 68 .open = scx200_gpio_open, 69 .release = scx200_gpio_release, 70 + .llseek = no_llseek, 71 }; 72 73 static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
+1
drivers/char/snsc.c
··· 358 .poll = scdrv_poll, 359 .open = scdrv_open, 360 .release = scdrv_release, 361 }; 362 363 static struct class *snsc_class;
··· 358 .poll = scdrv_poll, 359 .open = scdrv_open, 360 .release = scdrv_release, 361 + .llseek = noop_llseek, 362 }; 363 364 static struct class *snsc_class;
+1
drivers/char/stallion.c
··· 608 static const struct file_operations stl_fsiomem = { 609 .owner = THIS_MODULE, 610 .unlocked_ioctl = stl_memioctl, 611 }; 612 613 static struct class *stallion_class;
··· 608 static const struct file_operations stl_fsiomem = { 609 .owner = THIS_MODULE, 610 .unlocked_ioctl = stl_memioctl, 611 + .llseek = noop_llseek, 612 }; 613 614 static struct class *stallion_class;
+1
drivers/char/sx.c
··· 397 static const struct file_operations sx_fw_fops = { 398 .owner = THIS_MODULE, 399 .unlocked_ioctl = sx_fw_ioctl, 400 }; 401 402 static struct miscdevice sx_fw_device = {
··· 397 static const struct file_operations sx_fw_fops = { 398 .owner = THIS_MODULE, 399 .unlocked_ioctl = sx_fw_ioctl, 400 + .llseek = noop_llseek, 401 }; 402 403 static struct miscdevice sx_fw_device = {
+1
drivers/char/sysrq.c
··· 772 773 static const struct file_operations proc_sysrq_trigger_operations = { 774 .write = write_sysrq_trigger, 775 }; 776 777 static void sysrq_init_procfs(void)
··· 772 773 static const struct file_operations proc_sysrq_trigger_operations = { 774 .write = write_sysrq_trigger, 775 + .llseek = noop_llseek, 776 }; 777 778 static void sysrq_init_procfs(void)
+1
drivers/char/tb0219.c
··· 261 .write = tanbac_tb0219_write, 262 .open = tanbac_tb0219_open, 263 .release = tanbac_tb0219_release, 264 }; 265 266 static void tb0219_restart(char *command)
··· 261 .write = tanbac_tb0219_write, 262 .open = tanbac_tb0219_open, 263 .release = tanbac_tb0219_release, 264 + .llseek = no_llseek, 265 }; 266 267 static void tb0219_restart(char *command)
+1
drivers/char/tlclk.c
··· 267 .read = tlclk_read, 268 .open = tlclk_open, 269 .release = tlclk_release, 270 271 }; 272
··· 267 .read = tlclk_read, 268 .open = tlclk_open, 269 .release = tlclk_release, 270 + .llseek = noop_llseek, 271 272 }; 273
+1
drivers/char/toshiba.c
··· 96 static const struct file_operations tosh_fops = { 97 .owner = THIS_MODULE, 98 .unlocked_ioctl = tosh_ioctl, 99 }; 100 101 static struct miscdevice tosh_device = {
··· 96 static const struct file_operations tosh_fops = { 97 .owner = THIS_MODULE, 98 .unlocked_ioctl = tosh_ioctl, 99 + .llseek = noop_llseek, 100 }; 101 102 static struct miscdevice tosh_device = {
+1
drivers/char/uv_mmtimer.c
··· 52 .owner = THIS_MODULE, 53 .mmap = uv_mmtimer_mmap, 54 .unlocked_ioctl = uv_mmtimer_ioctl, 55 }; 56 57 /**
··· 52 .owner = THIS_MODULE, 53 .mmap = uv_mmtimer_mmap, 54 .unlocked_ioctl = uv_mmtimer_ioctl, 55 + .llseek = noop_llseek, 56 }; 57 58 /**
+1
drivers/char/viotape.c
··· 805 .unlocked_ioctl = viotap_unlocked_ioctl, 806 .open = viotap_open, 807 .release = viotap_release, 808 }; 809 810 /* Handle interrupt events for tape */
··· 805 .unlocked_ioctl = viotap_unlocked_ioctl, 806 .open = viotap_open, 807 .release = viotap_release, 808 + .llseek = noop_llseek, 809 }; 810 811 /* Handle interrupt events for tape */
+1
drivers/char/xilinx_hwicap/xilinx_hwicap.c
··· 567 .read = hwicap_read, 568 .open = hwicap_open, 569 .release = hwicap_release, 570 }; 571 572 static int __devinit hwicap_setup(struct device *dev, int id,
··· 567 .read = hwicap_read, 568 .open = hwicap_open, 569 .release = hwicap_release, 570 + .llseek = noop_llseek, 571 }; 572 573 static int __devinit hwicap_setup(struct device *dev, int id,
+1
drivers/dma/coh901318.c
··· 157 .owner = THIS_MODULE, 158 .open = coh901318_debugfs_open, 159 .read = coh901318_debugfs_read, 160 }; 161 162
··· 157 .owner = THIS_MODULE, 158 .open = coh901318_debugfs_open, 159 .read = coh901318_debugfs_read, 160 + .llseek = default_llseek, 161 }; 162 163
+1
drivers/firewire/nosy.c
··· 405 .poll = nosy_poll, 406 .open = nosy_open, 407 .release = nosy_release, 408 }; 409 410 #define PHY_PACKET_SIZE 12 /* 1 payload, 1 inverse, 1 ack = 3 quadlets */
··· 405 .poll = nosy_poll, 406 .open = nosy_open, 407 .release = nosy_release, 408 + .llseek = noop_llseek, 409 }; 410 411 #define PHY_PACKET_SIZE 12 /* 1 payload, 1 inverse, 1 ack = 3 quadlets */
+2 -1
drivers/gpu/drm/drm_drv.c
··· 284 /** File operations structure */ 285 static const struct file_operations drm_stub_fops = { 286 .owner = THIS_MODULE, 287 - .open = drm_stub_open 288 }; 289 290 static int __init drm_core_init(void)
··· 284 /** File operations structure */ 285 static const struct file_operations drm_stub_fops = { 286 .owner = THIS_MODULE, 287 + .open = drm_stub_open, 288 + .llseek = noop_llseek, 289 }; 290 291 static int __init drm_core_init(void)
+1
drivers/gpu/drm/i810/i810_dma.c
··· 119 .unlocked_ioctl = i810_ioctl, 120 .mmap = i810_mmap_buffers, 121 .fasync = drm_fasync, 122 }; 123 124 static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
··· 119 .unlocked_ioctl = i810_ioctl, 120 .mmap = i810_mmap_buffers, 121 .fasync = drm_fasync, 122 + .llseek = noop_llseek, 123 }; 124 125 static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
+1
drivers/gpu/drm/i810/i810_drv.c
··· 63 .mmap = drm_mmap, 64 .poll = drm_poll, 65 .fasync = drm_fasync, 66 }, 67 68 .pci_driver = {
··· 63 .mmap = drm_mmap, 64 .poll = drm_poll, 65 .fasync = drm_fasync, 66 + .llseek = noop_llseek, 67 }, 68 69 .pci_driver = {
+1
drivers/gpu/drm/i830/i830_dma.c
··· 121 .unlocked_ioctl = i830_ioctl, 122 .mmap = i830_mmap_buffers, 123 .fasync = drm_fasync, 124 }; 125 126 static int i830_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
··· 121 .unlocked_ioctl = i830_ioctl, 122 .mmap = i830_mmap_buffers, 123 .fasync = drm_fasync, 124 + .llseek = noop_llseek, 125 }; 126 127 static int i830_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
+1
drivers/gpu/drm/i830/i830_drv.c
··· 74 .mmap = drm_mmap, 75 .poll = drm_poll, 76 .fasync = drm_fasync, 77 }, 78 79 .pci_driver = {
··· 74 .mmap = drm_mmap, 75 .poll = drm_poll, 76 .fasync = drm_fasync, 77 + .llseek = noop_llseek, 78 }, 79 80 .pci_driver = {
+1
drivers/gpu/drm/i915/i915_debugfs.c
··· 782 .open = i915_wedged_open, 783 .read = i915_wedged_read, 784 .write = i915_wedged_write, 785 }; 786 787 /* As the drm_debugfs_init() routines are called before dev->dev_private is
··· 782 .open = i915_wedged_open, 783 .read = i915_wedged_read, 784 .write = i915_wedged_write, 785 + .llseek = default_llseek, 786 }; 787 788 /* As the drm_debugfs_init() routines are called before dev->dev_private is
+1
drivers/gpu/drm/i915/i915_drv.c
··· 548 #ifdef CONFIG_COMPAT 549 .compat_ioctl = i915_compat_ioctl, 550 #endif 551 }, 552 553 .pci_driver = {
··· 548 #ifdef CONFIG_COMPAT 549 .compat_ioctl = i915_compat_ioctl, 550 #endif 551 + .llseek = noop_llseek, 552 }, 553 554 .pci_driver = {
+1
drivers/gpu/drm/mga/mga_drv.c
··· 75 #ifdef CONFIG_COMPAT 76 .compat_ioctl = mga_compat_ioctl, 77 #endif 78 }, 79 .pci_driver = { 80 .name = DRIVER_NAME,
··· 75 #ifdef CONFIG_COMPAT 76 .compat_ioctl = mga_compat_ioctl, 77 #endif 78 + .llseek = noop_llseek, 79 }, 80 .pci_driver = { 81 .name = DRIVER_NAME,
+1
drivers/gpu/drm/nouveau/nouveau_drv.c
··· 393 #if defined(CONFIG_COMPAT) 394 .compat_ioctl = nouveau_compat_ioctl, 395 #endif 396 }, 397 .pci_driver = { 398 .name = DRIVER_NAME,
··· 393 #if defined(CONFIG_COMPAT) 394 .compat_ioctl = nouveau_compat_ioctl, 395 #endif 396 + .llseek = noop_llseek, 397 }, 398 .pci_driver = { 399 .name = DRIVER_NAME,
+1
drivers/gpu/drm/r128/r128_drv.c
··· 71 #ifdef CONFIG_COMPAT 72 .compat_ioctl = r128_compat_ioctl, 73 #endif 74 }, 75 .pci_driver = { 76 .name = DRIVER_NAME,
··· 71 #ifdef CONFIG_COMPAT 72 .compat_ioctl = r128_compat_ioctl, 73 #endif 74 + .llseek = noop_llseek, 75 }, 76 .pci_driver = { 77 .name = DRIVER_NAME,
+1
drivers/gpu/drm/radeon/radeon_drv.c
··· 219 #ifdef CONFIG_COMPAT 220 .compat_ioctl = radeon_compat_ioctl, 221 #endif 222 }, 223 224 .pci_driver = {
··· 219 #ifdef CONFIG_COMPAT 220 .compat_ioctl = radeon_compat_ioctl, 221 #endif 222 + .llseek = noop_llseek, 223 }, 224 225 .pci_driver = {
+1
drivers/gpu/drm/savage/savage_drv.c
··· 54 .mmap = drm_mmap, 55 .poll = drm_poll, 56 .fasync = drm_fasync, 57 }, 58 59 .pci_driver = {
··· 54 .mmap = drm_mmap, 55 .poll = drm_poll, 56 .fasync = drm_fasync, 57 + .llseek = noop_llseek, 58 }, 59 60 .pci_driver = {
+1
drivers/gpu/drm/sis/sis_drv.c
··· 83 .mmap = drm_mmap, 84 .poll = drm_poll, 85 .fasync = drm_fasync, 86 }, 87 .pci_driver = { 88 .name = DRIVER_NAME,
··· 83 .mmap = drm_mmap, 84 .poll = drm_poll, 85 .fasync = drm_fasync, 86 + .llseek = noop_llseek, 87 }, 88 .pci_driver = { 89 .name = DRIVER_NAME,
+1
drivers/gpu/drm/tdfx/tdfx_drv.c
··· 52 .mmap = drm_mmap, 53 .poll = drm_poll, 54 .fasync = drm_fasync, 55 }, 56 .pci_driver = { 57 .name = DRIVER_NAME,
··· 52 .mmap = drm_mmap, 53 .poll = drm_poll, 54 .fasync = drm_fasync, 55 + .llseek = noop_llseek, 56 }, 57 .pci_driver = { 58 .name = DRIVER_NAME,
+1
drivers/gpu/drm/via/via_drv.c
··· 62 .mmap = drm_mmap, 63 .poll = drm_poll, 64 .fasync = drm_fasync, 65 }, 66 .pci_driver = { 67 .name = DRIVER_NAME,
··· 62 .mmap = drm_mmap, 63 .poll = drm_poll, 64 .fasync = drm_fasync, 65 + .llseek = noop_llseek, 66 }, 67 .pci_driver = { 68 .name = DRIVER_NAME,
+1
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
··· 820 #if defined(CONFIG_COMPAT) 821 .compat_ioctl = drm_compat_ioctl, 822 #endif 823 }, 824 .pci_driver = { 825 .name = VMWGFX_DRIVER_NAME,
··· 820 #if defined(CONFIG_COMPAT) 821 .compat_ioctl = drm_compat_ioctl, 822 #endif 823 + .llseek = noop_llseek, 824 }, 825 .pci_driver = { 826 .name = VMWGFX_DRIVER_NAME,
+1
drivers/gpu/vga/vgaarb.c
··· 1211 .poll = vga_arb_fpoll, 1212 .open = vga_arb_open, 1213 .release = vga_arb_release, 1214 }; 1215 1216 static struct miscdevice vga_arb_device = {
··· 1211 .poll = vga_arb_fpoll, 1212 .open = vga_arb_open, 1213 .release = vga_arb_release, 1214 + .llseek = noop_llseek, 1215 }; 1216 1217 static struct miscdevice vga_arb_device = {
+1
drivers/hid/hid-debug.c
··· 1051 .read = hid_debug_events_read, 1052 .poll = hid_debug_events_poll, 1053 .release = hid_debug_events_release, 1054 }; 1055 1056
··· 1051 .read = hid_debug_events_read, 1052 .poll = hid_debug_events_poll, 1053 .release = hid_debug_events_release, 1054 + .llseek = noop_llseek, 1055 }; 1056 1057
+1
drivers/hid/hid-roccat.c
··· 384 .poll = roccat_poll, 385 .open = roccat_open, 386 .release = roccat_release, 387 }; 388 389 static int __init roccat_init(void)
··· 384 .poll = roccat_poll, 385 .open = roccat_open, 386 .release = roccat_release, 387 + .llseek = noop_llseek, 388 }; 389 390 static int __init roccat_init(void)
+1
drivers/hid/hidraw.c
··· 340 .open = hidraw_open, 341 .release = hidraw_release, 342 .unlocked_ioctl = hidraw_ioctl, 343 }; 344 345 void hidraw_report_event(struct hid_device *hid, u8 *data, int len)
··· 340 .open = hidraw_open, 341 .release = hidraw_release, 342 .unlocked_ioctl = hidraw_ioctl, 343 + .llseek = noop_llseek, 344 }; 345 346 void hidraw_report_event(struct hid_device *hid, u8 *data, int len)
+1
drivers/hid/usbhid/hiddev.c
··· 847 #ifdef CONFIG_COMPAT 848 .compat_ioctl = hiddev_compat_ioctl, 849 #endif 850 }; 851 852 static char *hiddev_devnode(struct device *dev, mode_t *mode)
··· 847 #ifdef CONFIG_COMPAT 848 .compat_ioctl = hiddev_compat_ioctl, 849 #endif 850 + .llseek = noop_llseek, 851 }; 852 853 static char *hiddev_devnode(struct device *dev, mode_t *mode)
+1
drivers/hwmon/asus_atk0110.c
··· 762 .read = atk_debugfs_ggrp_read, 763 .open = atk_debugfs_ggrp_open, 764 .release = atk_debugfs_ggrp_release, 765 }; 766 767 static void atk_debugfs_init(struct atk_data *data)
··· 762 .read = atk_debugfs_ggrp_read, 763 .open = atk_debugfs_ggrp_open, 764 .release = atk_debugfs_ggrp_release, 765 + .llseek = no_llseek, 766 }; 767 768 static void atk_debugfs_init(struct atk_data *data)
+1
drivers/ide/ide-tape.c
··· 1902 .unlocked_ioctl = idetape_chrdev_ioctl, 1903 .open = idetape_chrdev_open, 1904 .release = idetape_chrdev_release, 1905 }; 1906 1907 static int idetape_open(struct block_device *bdev, fmode_t mode)
··· 1902 .unlocked_ioctl = idetape_chrdev_ioctl, 1903 .open = idetape_chrdev_open, 1904 .release = idetape_chrdev_release, 1905 + .llseek = noop_llseek, 1906 }; 1907 1908 static int idetape_open(struct block_device *bdev, fmode_t mode)
+1
drivers/idle/i7300_idle.c
··· 536 static const struct file_operations idle_fops = { 537 .open = stats_open_generic, 538 .read = stats_read_ul, 539 }; 540 541 struct debugfs_file_info {
··· 536 static const struct file_operations idle_fops = { 537 .open = stats_open_generic, 538 .read = stats_read_ul, 539 + .llseek = default_llseek, 540 }; 541 542 struct debugfs_file_info {
+3 -1
drivers/infiniband/hw/ipath/ipath_diag.c
··· 65 .write = ipath_diag_write, 66 .read = ipath_diag_read, 67 .open = ipath_diag_open, 68 - .release = ipath_diag_release 69 }; 70 71 static ssize_t ipath_diagpkt_write(struct file *fp, ··· 76 static const struct file_operations diagpkt_file_ops = { 77 .owner = THIS_MODULE, 78 .write = ipath_diagpkt_write, 79 }; 80 81 static atomic_t diagpkt_count = ATOMIC_INIT(0);
··· 65 .write = ipath_diag_write, 66 .read = ipath_diag_read, 67 .open = ipath_diag_open, 68 + .release = ipath_diag_release, 69 + .llseek = default_llseek, 70 }; 71 72 static ssize_t ipath_diagpkt_write(struct file *fp, ··· 75 static const struct file_operations diagpkt_file_ops = { 76 .owner = THIS_MODULE, 77 .write = ipath_diagpkt_write, 78 + .llseek = noop_llseek, 79 }; 80 81 static atomic_t diagpkt_count = ATOMIC_INIT(0);
+2 -1
drivers/infiniband/hw/ipath/ipath_file_ops.c
··· 63 .open = ipath_open, 64 .release = ipath_close, 65 .poll = ipath_poll, 66 - .mmap = ipath_mmap 67 }; 68 69 /*
··· 63 .open = ipath_open, 64 .release = ipath_close, 65 .poll = ipath_poll, 66 + .mmap = ipath_mmap, 67 + .llseek = noop_llseek, 68 }; 69 70 /*
+3
drivers/infiniband/hw/ipath/ipath_fs.c
··· 103 104 static const struct file_operations atomic_stats_ops = { 105 .read = atomic_stats_read, 106 }; 107 108 static ssize_t atomic_counters_read(struct file *file, char __user *buf, ··· 121 122 static const struct file_operations atomic_counters_ops = { 123 .read = atomic_counters_read, 124 }; 125 126 static ssize_t flash_read(struct file *file, char __user *buf, ··· 226 static const struct file_operations flash_ops = { 227 .read = flash_read, 228 .write = flash_write, 229 }; 230 231 static int create_device_files(struct super_block *sb,
··· 103 104 static const struct file_operations atomic_stats_ops = { 105 .read = atomic_stats_read, 106 + .llseek = default_llseek, 107 }; 108 109 static ssize_t atomic_counters_read(struct file *file, char __user *buf, ··· 120 121 static const struct file_operations atomic_counters_ops = { 122 .read = atomic_counters_read, 123 + .llseek = default_llseek, 124 }; 125 126 static ssize_t flash_read(struct file *file, char __user *buf, ··· 224 static const struct file_operations flash_ops = { 225 .read = flash_read, 226 .write = flash_write, 227 + .llseek = default_llseek, 228 }; 229 230 static int create_device_files(struct super_block *sb,
+3 -1
drivers/infiniband/hw/qib/qib_diag.c
··· 136 .write = qib_diag_write, 137 .read = qib_diag_read, 138 .open = qib_diag_open, 139 - .release = qib_diag_release 140 }; 141 142 static atomic_t diagpkt_count = ATOMIC_INIT(0); ··· 150 static const struct file_operations diagpkt_file_ops = { 151 .owner = THIS_MODULE, 152 .write = qib_diagpkt_write, 153 }; 154 155 int qib_diag_add(struct qib_devdata *dd)
··· 136 .write = qib_diag_write, 137 .read = qib_diag_read, 138 .open = qib_diag_open, 139 + .release = qib_diag_release, 140 + .llseek = default_llseek, 141 }; 142 143 static atomic_t diagpkt_count = ATOMIC_INIT(0); ··· 149 static const struct file_operations diagpkt_file_ops = { 150 .owner = THIS_MODULE, 151 .write = qib_diagpkt_write, 152 + .llseek = noop_llseek, 153 }; 154 155 int qib_diag_add(struct qib_devdata *dd)
+2 -1
drivers/infiniband/hw/qib/qib_file_ops.c
··· 63 .open = qib_open, 64 .release = qib_close, 65 .poll = qib_poll, 66 - .mmap = qib_mmapf 67 }; 68 69 /*
··· 63 .open = qib_open, 64 .release = qib_close, 65 .poll = qib_poll, 66 + .mmap = qib_mmapf, 67 + .llseek = noop_llseek, 68 }; 69 70 /*
+1
drivers/infiniband/hw/qib/qib_fs.c
··· 367 static const struct file_operations flash_ops = { 368 .read = flash_read, 369 .write = flash_write, 370 }; 371 372 static int add_cntr_files(struct super_block *sb, struct qib_devdata *dd)
··· 367 static const struct file_operations flash_ops = { 368 .read = flash_read, 369 .write = flash_write, 370 + .llseek = default_llseek, 371 }; 372 373 static int add_cntr_files(struct super_block *sb, struct qib_devdata *dd)
+2 -1
drivers/input/evdev.c
··· 767 .compat_ioctl = evdev_ioctl_compat, 768 #endif 769 .fasync = evdev_fasync, 770 - .flush = evdev_flush 771 }; 772 773 static int evdev_install_chrdev(struct evdev *evdev)
··· 767 .compat_ioctl = evdev_ioctl_compat, 768 #endif 769 .fasync = evdev_fasync, 770 + .flush = evdev_flush, 771 + .llseek = no_llseek, 772 }; 773 774 static int evdev_install_chrdev(struct evdev *evdev)
+1
drivers/input/input.c
··· 2047 static const struct file_operations input_fops = { 2048 .owner = THIS_MODULE, 2049 .open = input_open_file, 2050 }; 2051 2052 static int __init input_init(void)
··· 2047 static const struct file_operations input_fops = { 2048 .owner = THIS_MODULE, 2049 .open = input_open_file, 2050 + .llseek = noop_llseek, 2051 }; 2052 2053 static int __init input_init(void)
+1
drivers/input/joydev.c
··· 739 .compat_ioctl = joydev_compat_ioctl, 740 #endif 741 .fasync = joydev_fasync, 742 }; 743 744 static int joydev_install_chrdev(struct joydev *joydev)
··· 739 .compat_ioctl = joydev_compat_ioctl, 740 #endif 741 .fasync = joydev_fasync, 742 + .llseek = no_llseek, 743 }; 744 745 static int joydev_install_chrdev(struct joydev *joydev)
+1
drivers/input/misc/uinput.c
··· 811 #ifdef CONFIG_COMPAT 812 .compat_ioctl = uinput_compat_ioctl, 813 #endif 814 }; 815 816 static struct miscdevice uinput_misc = {
··· 811 #ifdef CONFIG_COMPAT 812 .compat_ioctl = uinput_compat_ioctl, 813 #endif 814 + .llseek = no_llseek, 815 }; 816 817 static struct miscdevice uinput_misc = {
+1
drivers/input/mousedev.c
··· 792 .open = mousedev_open, 793 .release = mousedev_release, 794 .fasync = mousedev_fasync, 795 }; 796 797 static int mousedev_install_chrdev(struct mousedev *mousedev)
··· 792 .open = mousedev_open, 793 .release = mousedev_release, 794 .fasync = mousedev_fasync, 795 + .llseek = noop_llseek, 796 }; 797 798 static int mousedev_install_chrdev(struct mousedev *mousedev)
+1
drivers/input/serio/serio_raw.c
··· 243 .write = serio_raw_write, 244 .poll = serio_raw_poll, 245 .fasync = serio_raw_fasync, 246 }; 247 248
··· 243 .write = serio_raw_write, 244 .poll = serio_raw_poll, 245 .fasync = serio_raw_fasync, 246 + .llseek = noop_llseek, 247 }; 248 249
+1
drivers/isdn/mISDN/timerdev.c
··· 267 .unlocked_ioctl = mISDN_ioctl, 268 .open = mISDN_open, 269 .release = mISDN_close, 270 }; 271 272 static struct miscdevice mISDNtimer = {
··· 267 .unlocked_ioctl = mISDN_ioctl, 268 .open = mISDN_open, 269 .release = mISDN_close, 270 + .llseek = no_llseek, 271 }; 272 273 static struct miscdevice mISDNtimer = {
+1
drivers/lguest/lguest_user.c
··· 514 .release = close, 515 .write = write, 516 .read = read, 517 }; 518 519 /*
··· 514 .release = close, 515 .write = write, 516 .read = read, 517 + .llseek = default_llseek, 518 }; 519 520 /*
+1
drivers/macintosh/ans-lcd.c
··· 137 .write = anslcd_write, 138 .unlocked_ioctl = anslcd_ioctl, 139 .open = anslcd_open, 140 }; 141 142 static struct miscdevice anslcd_dev = {
··· 137 .write = anslcd_write, 138 .unlocked_ioctl = anslcd_ioctl, 139 .open = anslcd_open, 140 + .llseek = default_llseek, 141 }; 142 143 static struct miscdevice anslcd_dev = {
+1
drivers/macintosh/via-pmu.c
··· 2399 #endif 2400 .open = pmu_open, 2401 .release = pmu_release, 2402 }; 2403 2404 static struct miscdevice pmu_device = {
··· 2399 #endif 2400 .open = pmu_open, 2401 .release = pmu_release, 2402 + .llseek = noop_llseek, 2403 }; 2404 2405 static struct miscdevice pmu_device = {
+1
drivers/md/dm-ioctl.c
··· 1596 .unlocked_ioctl = dm_ctl_ioctl, 1597 .compat_ioctl = dm_compat_ctl_ioctl, 1598 .owner = THIS_MODULE, 1599 }; 1600 1601 static struct miscdevice _dm_misc = {
··· 1596 .unlocked_ioctl = dm_ctl_ioctl, 1597 .compat_ioctl = dm_compat_ctl_ioctl, 1598 .owner = THIS_MODULE, 1599 + .llseek = noop_llseek, 1600 }; 1601 1602 static struct miscdevice _dm_misc = {
+4 -2
drivers/media/IR/imon.c
··· 151 .owner = THIS_MODULE, 152 .open = &display_open, 153 .write = &vfd_write, 154 - .release = &display_close 155 }; 156 157 /* lcd character device file operations */ ··· 160 .owner = THIS_MODULE, 161 .open = &display_open, 162 .write = &lcd_write, 163 - .release = &display_close 164 }; 165 166 enum {
··· 151 .owner = THIS_MODULE, 152 .open = &display_open, 153 .write = &vfd_write, 154 + .release = &display_close, 155 + .llseek = noop_llseek, 156 }; 157 158 /* lcd character device file operations */ ··· 159 .owner = THIS_MODULE, 160 .open = &display_open, 161 .write = &lcd_write, 162 + .release = &display_close, 163 + .llseek = noop_llseek, 164 }; 165 166 enum {
+1
drivers/media/IR/ir-lirc-codec.c
··· 235 .poll = lirc_dev_fop_poll, 236 .open = lirc_dev_fop_open, 237 .release = lirc_dev_fop_close, 238 }; 239 240 static int ir_lirc_register(struct input_dev *input_dev)
··· 235 .poll = lirc_dev_fop_poll, 236 .open = lirc_dev_fop_open, 237 .release = lirc_dev_fop_close, 238 + .llseek = no_llseek, 239 }; 240 241 static int ir_lirc_register(struct input_dev *input_dev)
+3
drivers/media/IR/lirc_dev.c
··· 163 .unlocked_ioctl = lirc_dev_fop_ioctl, 164 .open = lirc_dev_fop_open, 165 .release = lirc_dev_fop_close, 166 }; 167 168 static int lirc_cdev_add(struct irctl *ir) ··· 460 ir->d.name, ir->d.minor, retval); 461 462 mutex_unlock(&lirc_dev_lock); 463 464 return retval; 465 }
··· 163 .unlocked_ioctl = lirc_dev_fop_ioctl, 164 .open = lirc_dev_fop_open, 165 .release = lirc_dev_fop_close, 166 + .llseek = noop_llseek, 167 }; 168 169 static int lirc_cdev_add(struct irctl *ir) ··· 459 ir->d.name, ir->d.minor, retval); 460 461 mutex_unlock(&lirc_dev_lock); 462 + 463 + nonseekable_open(inode, file); 464 465 return retval; 466 }
+2 -1
drivers/media/dvb/bt8xx/dst_ca.c
··· 695 .open = dst_ca_open, 696 .release = dst_ca_release, 697 .read = dst_ca_read, 698 - .write = dst_ca_write 699 }; 700 701 static struct dvb_device dvbdev_ca = {
··· 695 .open = dst_ca_open, 696 .release = dst_ca_release, 697 .read = dst_ca_read, 698 + .write = dst_ca_write, 699 + .llseek = noop_llseek, 700 }; 701 702 static struct dvb_device dvbdev_ca = {
+2
drivers/media/dvb/dvb-core/dmxdev.c
··· 1143 .open = dvb_demux_open, 1144 .release = dvb_demux_release, 1145 .poll = dvb_demux_poll, 1146 }; 1147 1148 static struct dvb_device dvbdev_demux = { ··· 1213 .open = dvb_dvr_open, 1214 .release = dvb_dvr_release, 1215 .poll = dvb_dvr_poll, 1216 }; 1217 1218 static struct dvb_device dvbdev_dvr = {
··· 1143 .open = dvb_demux_open, 1144 .release = dvb_demux_release, 1145 .poll = dvb_demux_poll, 1146 + .llseek = default_llseek, 1147 }; 1148 1149 static struct dvb_device dvbdev_demux = { ··· 1212 .open = dvb_dvr_open, 1213 .release = dvb_dvr_release, 1214 .poll = dvb_dvr_poll, 1215 + .llseek = default_llseek, 1216 }; 1217 1218 static struct dvb_device dvbdev_dvr = {
+1
drivers/media/dvb/dvb-core/dvb_ca_en50221.c
··· 1622 .open = dvb_ca_en50221_io_open, 1623 .release = dvb_ca_en50221_io_release, 1624 .poll = dvb_ca_en50221_io_poll, 1625 }; 1626 1627 static struct dvb_device dvbdev_ca = {
··· 1622 .open = dvb_ca_en50221_io_open, 1623 .release = dvb_ca_en50221_io_release, 1624 .poll = dvb_ca_en50221_io_poll, 1625 + .llseek = noop_llseek, 1626 }; 1627 1628 static struct dvb_device dvbdev_ca = {
+2 -1
drivers/media/dvb/dvb-core/dvb_frontend.c
··· 2034 .unlocked_ioctl = dvb_generic_ioctl, 2035 .poll = dvb_frontend_poll, 2036 .open = dvb_frontend_open, 2037 - .release = dvb_frontend_release 2038 }; 2039 2040 int dvb_register_frontend(struct dvb_adapter* dvb,
··· 2034 .unlocked_ioctl = dvb_generic_ioctl, 2035 .poll = dvb_frontend_poll, 2036 .open = dvb_frontend_open, 2037 + .release = dvb_frontend_release, 2038 + .llseek = noop_llseek, 2039 }; 2040 2041 int dvb_register_frontend(struct dvb_adapter* dvb,
+1
drivers/media/dvb/dvb-core/dvb_net.c
··· 1468 .unlocked_ioctl = dvb_net_ioctl, 1469 .open = dvb_generic_open, 1470 .release = dvb_net_close, 1471 }; 1472 1473 static struct dvb_device dvbdev_net = {
··· 1468 .unlocked_ioctl = dvb_net_ioctl, 1469 .open = dvb_generic_open, 1470 .release = dvb_net_close, 1471 + .llseek = noop_llseek, 1472 }; 1473 1474 static struct dvb_device dvbdev_net = {
+1
drivers/media/dvb/dvb-core/dvbdev.c
··· 105 { 106 .owner = THIS_MODULE, 107 .open = dvb_device_open, 108 }; 109 110 static struct cdev dvb_device_cdev;
··· 105 { 106 .owner = THIS_MODULE, 107 .open = dvb_device_open, 108 + .llseek = noop_llseek, 109 }; 110 111 static struct cdev dvb_device_cdev;
+1
drivers/media/dvb/firewire/firedtv-ci.c
··· 220 .open = dvb_generic_open, 221 .release = dvb_generic_release, 222 .poll = fdtv_ca_io_poll, 223 }; 224 225 static struct dvb_device fdtv_ca = {
··· 220 .open = dvb_generic_open, 221 .release = dvb_generic_release, 222 .poll = fdtv_ca_io_poll, 223 + .llseek = noop_llseek, 224 }; 225 226 static struct dvb_device fdtv_ca = {
+1
drivers/media/dvb/ttpci/av7110.c
··· 730 .unlocked_ioctl = dvb_generic_ioctl, 731 .open = dvb_generic_open, 732 .release = dvb_generic_release, 733 }; 734 735 static struct dvb_device dvbdev_osd = {
··· 730 .unlocked_ioctl = dvb_generic_ioctl, 731 .open = dvb_generic_open, 732 .release = dvb_generic_release, 733 + .llseek = noop_llseek, 734 }; 735 736 static struct dvb_device dvbdev_osd = {
+2
drivers/media/dvb/ttpci/av7110_av.c
··· 1521 .open = dvb_video_open, 1522 .release = dvb_video_release, 1523 .poll = dvb_video_poll, 1524 }; 1525 1526 static struct dvb_device dvbdev_video = { ··· 1540 .open = dvb_audio_open, 1541 .release = dvb_audio_release, 1542 .poll = dvb_audio_poll, 1543 }; 1544 1545 static struct dvb_device dvbdev_audio = {
··· 1521 .open = dvb_video_open, 1522 .release = dvb_video_release, 1523 .poll = dvb_video_poll, 1524 + .llseek = noop_llseek, 1525 }; 1526 1527 static struct dvb_device dvbdev_video = { ··· 1539 .open = dvb_audio_open, 1540 .release = dvb_audio_release, 1541 .poll = dvb_audio_poll, 1542 + .llseek = noop_llseek, 1543 }; 1544 1545 static struct dvb_device dvbdev_audio = {
+1
drivers/media/dvb/ttpci/av7110_ca.c
··· 353 .open = dvb_ca_open, 354 .release = dvb_generic_release, 355 .poll = dvb_ca_poll, 356 }; 357 358 static struct dvb_device dvbdev_ca = {
··· 353 .open = dvb_ca_open, 354 .release = dvb_generic_release, 355 .poll = dvb_ca_poll, 356 + .llseek = default_llseek, 357 }; 358 359 static struct dvb_device dvbdev_ca = {
+1
drivers/media/dvb/ttpci/av7110_ir.c
··· 312 static const struct file_operations av7110_ir_proc_fops = { 313 .owner = THIS_MODULE, 314 .write = av7110_ir_proc_write, 315 }; 316 317 /* interrupt handler */
··· 312 static const struct file_operations av7110_ir_proc_fops = { 313 .owner = THIS_MODULE, 314 .write = av7110_ir_proc_write, 315 + .llseek = noop_llseek, 316 }; 317 318 /* interrupt handler */
+1
drivers/mfd/ab3100-core.c
··· 583 static const struct file_operations ab3100_get_set_reg_fops = { 584 .open = ab3100_get_set_reg_open_file, 585 .write = ab3100_get_set_reg, 586 }; 587 588 static struct dentry *ab3100_dir;
··· 583 static const struct file_operations ab3100_get_set_reg_fops = { 584 .open = ab3100_get_set_reg_open_file, 585 .write = ab3100_get_set_reg, 586 + .llseek = noop_llseek, 587 }; 588 589 static struct dentry *ab3100_dir;
+1
drivers/misc/hpilo.c
··· 640 .poll = ilo_poll, 641 .open = ilo_open, 642 .release = ilo_close, 643 }; 644 645 static irqreturn_t ilo_isr(int irq, void *data)
··· 640 .poll = ilo_poll, 641 .open = ilo_open, 642 .release = ilo_close, 643 + .llseek = noop_llseek, 644 }; 645 646 static irqreturn_t ilo_isr(int irq, void *data)
+4
drivers/misc/ibmasm/ibmasmfs.c
··· 584 .release = command_file_close, 585 .read = command_file_read, 586 .write = command_file_write, 587 }; 588 589 static const struct file_operations event_fops = { ··· 592 .release = event_file_close, 593 .read = event_file_read, 594 .write = event_file_write, 595 }; 596 597 static const struct file_operations r_heartbeat_fops = { ··· 600 .release = r_heartbeat_file_close, 601 .read = r_heartbeat_file_read, 602 .write = r_heartbeat_file_write, 603 }; 604 605 static const struct file_operations remote_settings_fops = { ··· 608 .release = remote_settings_file_close, 609 .read = remote_settings_file_read, 610 .write = remote_settings_file_write, 611 }; 612 613
··· 584 .release = command_file_close, 585 .read = command_file_read, 586 .write = command_file_write, 587 + .llseek = generic_file_llseek, 588 }; 589 590 static const struct file_operations event_fops = { ··· 591 .release = event_file_close, 592 .read = event_file_read, 593 .write = event_file_write, 594 + .llseek = generic_file_llseek, 595 }; 596 597 static const struct file_operations r_heartbeat_fops = { ··· 598 .release = r_heartbeat_file_close, 599 .read = r_heartbeat_file_read, 600 .write = r_heartbeat_file_write, 601 + .llseek = generic_file_llseek, 602 }; 603 604 static const struct file_operations remote_settings_fops = { ··· 605 .release = remote_settings_file_close, 606 .read = remote_settings_file_read, 607 .write = remote_settings_file_write, 608 + .llseek = generic_file_llseek, 609 }; 610 611
+3
drivers/misc/iwmc3200top/debugfs.c
··· 71 static const struct file_operations iwmct_dbgfs_##name##_ops = { \ 72 .read = iwmct_dbgfs_##name##_read, \ 73 .open = iwmct_dbgfs_open_file_generic, \ 74 }; 75 76 #define DEBUGFS_WRITE_FILE_OPS(name) \ ··· 79 static const struct file_operations iwmct_dbgfs_##name##_ops = { \ 80 .write = iwmct_dbgfs_##name##_write, \ 81 .open = iwmct_dbgfs_open_file_generic, \ 82 }; 83 84 #define DEBUGFS_READ_WRITE_FILE_OPS(name) \ ··· 89 .write = iwmct_dbgfs_##name##_write, \ 90 .read = iwmct_dbgfs_##name##_read, \ 91 .open = iwmct_dbgfs_open_file_generic, \ 92 }; 93 94
··· 71 static const struct file_operations iwmct_dbgfs_##name##_ops = { \ 72 .read = iwmct_dbgfs_##name##_read, \ 73 .open = iwmct_dbgfs_open_file_generic, \ 74 + .llseek = generic_file_llseek, \ 75 }; 76 77 #define DEBUGFS_WRITE_FILE_OPS(name) \ ··· 78 static const struct file_operations iwmct_dbgfs_##name##_ops = { \ 79 .write = iwmct_dbgfs_##name##_write, \ 80 .open = iwmct_dbgfs_open_file_generic, \ 81 + .llseek = generic_file_llseek, \ 82 }; 83 84 #define DEBUGFS_READ_WRITE_FILE_OPS(name) \ ··· 87 .write = iwmct_dbgfs_##name##_write, \ 88 .read = iwmct_dbgfs_##name##_read, \ 89 .open = iwmct_dbgfs_open_file_generic, \ 90 + .llseek = generic_file_llseek, \ 91 }; 92 93
+9
drivers/misc/lkdtm.c
··· 575 576 static const struct crash_entry crash_entries[] = { 577 {"DIRECT", {.read = lkdtm_debugfs_read, 578 .open = lkdtm_debugfs_open, 579 .write = direct_entry} }, 580 {"INT_HARDWARE_ENTRY", {.read = lkdtm_debugfs_read, 581 .open = lkdtm_debugfs_open, 582 .write = int_hardware_entry} }, 583 {"INT_HW_IRQ_EN", {.read = lkdtm_debugfs_read, 584 .open = lkdtm_debugfs_open, 585 .write = int_hw_irq_en} }, 586 {"INT_TASKLET_ENTRY", {.read = lkdtm_debugfs_read, 587 .open = lkdtm_debugfs_open, 588 .write = int_tasklet_entry} }, 589 {"FS_DEVRW", {.read = lkdtm_debugfs_read, 590 .open = lkdtm_debugfs_open, 591 .write = fs_devrw_entry} }, 592 {"MEM_SWAPOUT", {.read = lkdtm_debugfs_read, 593 .open = lkdtm_debugfs_open, 594 .write = mem_swapout_entry} }, 595 {"TIMERADD", {.read = lkdtm_debugfs_read, 596 .open = lkdtm_debugfs_open, 597 .write = timeradd_entry} }, 598 {"SCSI_DISPATCH_CMD", {.read = lkdtm_debugfs_read, 599 .open = lkdtm_debugfs_open, 600 .write = scsi_dispatch_cmd_entry} }, 601 {"IDE_CORE_CP", {.read = lkdtm_debugfs_read, 602 .open = lkdtm_debugfs_open, 603 .write = ide_core_cp_entry} }, 604 };
··· 575 576 static const struct crash_entry crash_entries[] = { 577 {"DIRECT", {.read = lkdtm_debugfs_read, 578 + .llseek = generic_file_llseek, 579 .open = lkdtm_debugfs_open, 580 .write = direct_entry} }, 581 {"INT_HARDWARE_ENTRY", {.read = lkdtm_debugfs_read, 582 + .llseek = generic_file_llseek, 583 .open = lkdtm_debugfs_open, 584 .write = int_hardware_entry} }, 585 {"INT_HW_IRQ_EN", {.read = lkdtm_debugfs_read, 586 + .llseek = generic_file_llseek, 587 .open = lkdtm_debugfs_open, 588 .write = int_hw_irq_en} }, 589 {"INT_TASKLET_ENTRY", {.read = lkdtm_debugfs_read, 590 + .llseek = generic_file_llseek, 591 .open = lkdtm_debugfs_open, 592 .write = int_tasklet_entry} }, 593 {"FS_DEVRW", {.read = lkdtm_debugfs_read, 594 + .llseek = generic_file_llseek, 595 .open = lkdtm_debugfs_open, 596 .write = fs_devrw_entry} }, 597 {"MEM_SWAPOUT", {.read = lkdtm_debugfs_read, 598 + .llseek = generic_file_llseek, 599 .open = lkdtm_debugfs_open, 600 .write = mem_swapout_entry} }, 601 {"TIMERADD", {.read = lkdtm_debugfs_read, 602 + .llseek = generic_file_llseek, 603 .open = lkdtm_debugfs_open, 604 .write = timeradd_entry} }, 605 {"SCSI_DISPATCH_CMD", {.read = lkdtm_debugfs_read, 606 + .llseek = generic_file_llseek, 607 .open = lkdtm_debugfs_open, 608 .write = scsi_dispatch_cmd_entry} }, 609 {"IDE_CORE_CP", {.read = lkdtm_debugfs_read, 610 + .llseek = generic_file_llseek, 611 .open = lkdtm_debugfs_open, 612 .write = ide_core_cp_entry} }, 613 };
+1
drivers/misc/phantom.c
··· 280 .unlocked_ioctl = phantom_ioctl, 281 .compat_ioctl = phantom_compat_ioctl, 282 .poll = phantom_poll, 283 }; 284 285 static irqreturn_t phantom_isr(int irq, void *data)
··· 280 .unlocked_ioctl = phantom_ioctl, 281 .compat_ioctl = phantom_compat_ioctl, 282 .poll = phantom_poll, 283 + .llseek = no_llseek, 284 }; 285 286 static irqreturn_t phantom_isr(int irq, void *data)
+1
drivers/misc/sgi-gru/grufile.c
··· 587 .owner = THIS_MODULE, 588 .unlocked_ioctl = gru_file_unlocked_ioctl, 589 .mmap = gru_file_mmap, 590 }; 591 592 static struct miscdevice gru_miscdev = {
··· 587 .owner = THIS_MODULE, 588 .unlocked_ioctl = gru_file_unlocked_ioctl, 589 .mmap = gru_file_mmap, 590 + .llseek = noop_llseek, 591 }; 592 593 static struct miscdevice gru_miscdev = {
+1
drivers/mmc/core/debugfs.c
··· 245 .open = mmc_ext_csd_open, 246 .read = mmc_ext_csd_read, 247 .release = mmc_ext_csd_release, 248 }; 249 250 void mmc_add_card_debugfs(struct mmc_card *card)
··· 245 .open = mmc_ext_csd_open, 246 .read = mmc_ext_csd_read, 247 .release = mmc_ext_csd_release, 248 + .llseek = default_llseek, 249 }; 250 251 void mmc_add_card_debugfs(struct mmc_card *card)
+1
drivers/mtd/ubi/cdev.c
··· 1100 .owner = THIS_MODULE, 1101 .unlocked_ioctl = ctrl_cdev_ioctl, 1102 .compat_ioctl = ctrl_cdev_compat_ioctl, 1103 };
··· 1100 .owner = THIS_MODULE, 1101 .unlocked_ioctl = ctrl_cdev_ioctl, 1102 .compat_ioctl = ctrl_cdev_compat_ioctl, 1103 + .llseek = noop_llseek, 1104 };
+4 -2
drivers/net/caif/caif_spi.c
··· 240 static const struct file_operations dbgfs_state_fops = { 241 .open = dbgfs_open, 242 .read = dbgfs_state, 243 - .owner = THIS_MODULE 244 }; 245 246 static const struct file_operations dbgfs_frame_fops = { 247 .open = dbgfs_open, 248 .read = dbgfs_frame, 249 - .owner = THIS_MODULE 250 }; 251 252 static inline void dev_debugfs_add(struct cfspi *cfspi)
··· 240 static const struct file_operations dbgfs_state_fops = { 241 .open = dbgfs_open, 242 .read = dbgfs_state, 243 + .owner = THIS_MODULE, 244 + .llseek = default_llseek, 245 }; 246 247 static const struct file_operations dbgfs_frame_fops = { 248 .open = dbgfs_open, 249 .read = dbgfs_frame, 250 + .owner = THIS_MODULE, 251 + .llseek = default_llseek, 252 }; 253 254 static inline void dev_debugfs_add(struct cfspi *cfspi)
+1
drivers/net/cxgb4/cxgb4_main.c
··· 2026 .owner = THIS_MODULE, 2027 .open = mem_open, 2028 .read = mem_read, 2029 }; 2030 2031 static void __devinit add_debugfs_mem(struct adapter *adap, const char *name,
··· 2026 .owner = THIS_MODULE, 2027 .open = mem_open, 2028 .read = mem_read, 2029 + .llseek = default_llseek, 2030 }; 2031 2032 static void __devinit add_debugfs_mem(struct adapter *adap, const char *name,
+2 -1
drivers/net/ppp_generic.c
··· 856 .poll = ppp_poll, 857 .unlocked_ioctl = ppp_ioctl, 858 .open = ppp_open, 859 - .release = ppp_release 860 }; 861 862 static __net_init int ppp_init_net(struct net *net)
··· 856 .poll = ppp_poll, 857 .unlocked_ioctl = ppp_ioctl, 858 .open = ppp_open, 859 + .release = ppp_release, 860 + .llseek = noop_llseek, 861 }; 862 863 static __net_init int ppp_init_net(struct net *net)
+2
drivers/net/wimax/i2400m/debugfs.c
··· 119 .open = i2400m_stats_open, 120 .read = i2400m_rx_stats_read, 121 .write = i2400m_rx_stats_write, 122 }; 123 124 ··· 172 .open = i2400m_stats_open, 173 .read = i2400m_tx_stats_read, 174 .write = i2400m_tx_stats_write, 175 }; 176 177
··· 119 .open = i2400m_stats_open, 120 .read = i2400m_rx_stats_read, 121 .write = i2400m_rx_stats_write, 122 + .llseek = default_llseek, 123 }; 124 125 ··· 171 .open = i2400m_stats_open, 172 .read = i2400m_tx_stats_read, 173 .write = i2400m_tx_stats_write, 174 + .llseek = default_llseek, 175 }; 176 177
+16 -8
drivers/net/wireless/airo.c
··· 4430 .owner = THIS_MODULE, 4431 .read = proc_read, 4432 .open = proc_statsdelta_open, 4433 - .release = proc_close 4434 }; 4435 4436 static const struct file_operations proc_stats_ops = { 4437 .owner = THIS_MODULE, 4438 .read = proc_read, 4439 .open = proc_stats_open, 4440 - .release = proc_close 4441 }; 4442 4443 static const struct file_operations proc_status_ops = { 4444 .owner = THIS_MODULE, 4445 .read = proc_read, 4446 .open = proc_status_open, 4447 - .release = proc_close 4448 }; 4449 4450 static const struct file_operations proc_SSID_ops = { ··· 4455 .read = proc_read, 4456 .write = proc_write, 4457 .open = proc_SSID_open, 4458 - .release = proc_close 4459 }; 4460 4461 static const struct file_operations proc_BSSList_ops = { ··· 4464 .read = proc_read, 4465 .write = proc_write, 4466 .open = proc_BSSList_open, 4467 - .release = proc_close 4468 }; 4469 4470 static const struct file_operations proc_APList_ops = { ··· 4473 .read = proc_read, 4474 .write = proc_write, 4475 .open = proc_APList_open, 4476 - .release = proc_close 4477 }; 4478 4479 static const struct file_operations proc_config_ops = { ··· 4482 .read = proc_read, 4483 .write = proc_write, 4484 .open = proc_config_open, 4485 - .release = proc_close 4486 }; 4487 4488 static const struct file_operations proc_wepkey_ops = { ··· 4491 .read = proc_read, 4492 .write = proc_write, 4493 .open = proc_wepkey_open, 4494 - .release = proc_close 4495 }; 4496 4497 static struct proc_dir_entry *airo_entry;
··· 4430 .owner = THIS_MODULE, 4431 .read = proc_read, 4432 .open = proc_statsdelta_open, 4433 + .release = proc_close, 4434 + .llseek = default_llseek, 4435 }; 4436 4437 static const struct file_operations proc_stats_ops = { 4438 .owner = THIS_MODULE, 4439 .read = proc_read, 4440 .open = proc_stats_open, 4441 + .release = proc_close, 4442 + .llseek = default_llseek, 4443 }; 4444 4445 static const struct file_operations proc_status_ops = { 4446 .owner = THIS_MODULE, 4447 .read = proc_read, 4448 .open = proc_status_open, 4449 + .release = proc_close, 4450 + .llseek = default_llseek, 4451 }; 4452 4453 static const struct file_operations proc_SSID_ops = { ··· 4452 .read = proc_read, 4453 .write = proc_write, 4454 .open = proc_SSID_open, 4455 + .release = proc_close, 4456 + .llseek = default_llseek, 4457 }; 4458 4459 static const struct file_operations proc_BSSList_ops = { ··· 4460 .read = proc_read, 4461 .write = proc_write, 4462 .open = proc_BSSList_open, 4463 + .release = proc_close, 4464 + .llseek = default_llseek, 4465 }; 4466 4467 static const struct file_operations proc_APList_ops = { ··· 4468 .read = proc_read, 4469 .write = proc_write, 4470 .open = proc_APList_open, 4471 + .release = proc_close, 4472 + .llseek = default_llseek, 4473 }; 4474 4475 static const struct file_operations proc_config_ops = { ··· 4476 .read = proc_read, 4477 .write = proc_write, 4478 .open = proc_config_open, 4479 + .release = proc_close, 4480 + .llseek = default_llseek, 4481 }; 4482 4483 static const struct file_operations proc_wepkey_ops = { ··· 4484 .read = proc_read, 4485 .write = proc_write, 4486 .open = proc_wepkey_open, 4487 + .release = proc_close, 4488 + .llseek = default_llseek, 4489 }; 4490 4491 static struct proc_dir_entry *airo_entry;
+7
drivers/net/wireless/ath/ath5k/debug.c
··· 271 .write = write_file_beacon, 272 .open = ath5k_debugfs_open, 273 .owner = THIS_MODULE, 274 }; 275 276 ··· 291 .write = write_file_reset, 292 .open = ath5k_debugfs_open, 293 .owner = THIS_MODULE, 294 }; 295 296 ··· 371 .write = write_file_debug, 372 .open = ath5k_debugfs_open, 373 .owner = THIS_MODULE, 374 }; 375 376 ··· 483 .write = write_file_antenna, 484 .open = ath5k_debugfs_open, 485 .owner = THIS_MODULE, 486 }; 487 488 ··· 595 .write = write_file_frameerrors, 596 .open = ath5k_debugfs_open, 597 .owner = THIS_MODULE, 598 }; 599 600 ··· 753 .write = write_file_ani, 754 .open = ath5k_debugfs_open, 755 .owner = THIS_MODULE, 756 }; 757 758 ··· 817 .write = write_file_queue, 818 .open = ath5k_debugfs_open, 819 .owner = THIS_MODULE, 820 }; 821 822
··· 271 .write = write_file_beacon, 272 .open = ath5k_debugfs_open, 273 .owner = THIS_MODULE, 274 + .llseek = default_llseek, 275 }; 276 277 ··· 290 .write = write_file_reset, 291 .open = ath5k_debugfs_open, 292 .owner = THIS_MODULE, 293 + .llseek = noop_llseek, 294 }; 295 296 ··· 369 .write = write_file_debug, 370 .open = ath5k_debugfs_open, 371 .owner = THIS_MODULE, 372 + .llseek = default_llseek, 373 }; 374 375 ··· 480 .write = write_file_antenna, 481 .open = ath5k_debugfs_open, 482 .owner = THIS_MODULE, 483 + .llseek = default_llseek, 484 }; 485 486 ··· 591 .write = write_file_frameerrors, 592 .open = ath5k_debugfs_open, 593 .owner = THIS_MODULE, 594 + .llseek = default_llseek, 595 }; 596 597 ··· 748 .write = write_file_ani, 749 .open = ath5k_debugfs_open, 750 .owner = THIS_MODULE, 751 + .llseek = default_llseek, 752 }; 753 754 ··· 811 .write = write_file_queue, 812 .open = ath5k_debugfs_open, 813 .owner = THIS_MODULE, 814 + .llseek = default_llseek, 815 }; 816 817
+22 -11
drivers/net/wireless/ath/ath9k/debug.c
··· 71 .read = read_file_debug, 72 .write = write_file_debug, 73 .open = ath9k_debugfs_open, 74 - .owner = THIS_MODULE 75 }; 76 77 #endif ··· 117 .read = read_file_tx_chainmask, 118 .write = write_file_tx_chainmask, 119 .open = ath9k_debugfs_open, 120 - .owner = THIS_MODULE 121 }; 122 123 ··· 160 .read = read_file_rx_chainmask, 161 .write = write_file_rx_chainmask, 162 .open = ath9k_debugfs_open, 163 - .owner = THIS_MODULE 164 }; 165 166 ··· 262 static const struct file_operations fops_dma = { 263 .read = read_file_dma, 264 .open = ath9k_debugfs_open, 265 - .owner = THIS_MODULE 266 }; 267 268 ··· 379 static const struct file_operations fops_interrupt = { 380 .read = read_file_interrupt, 381 .open = ath9k_debugfs_open, 382 - .owner = THIS_MODULE 383 }; 384 385 void ath_debug_stat_rc(struct ath_softc *sc, int final_rate) ··· 469 static const struct file_operations fops_rcstat = { 470 .read = read_file_rcstat, 471 .open = ath9k_debugfs_open, 472 - .owner = THIS_MODULE 473 }; 474 475 static const char * ath_wiphy_state_str(enum ath_wiphy_state state) ··· 629 .read = read_file_wiphy, 630 .write = write_file_wiphy, 631 .open = ath9k_debugfs_open, 632 - .owner = THIS_MODULE 633 }; 634 635 #define PR(str, elem) \ ··· 709 static const struct file_operations fops_xmit = { 710 .read = read_file_xmit, 711 .open = ath9k_debugfs_open, 712 - .owner = THIS_MODULE 713 }; 714 715 static ssize_t read_file_recv(struct file *file, char __user *user_buf, ··· 822 static const struct file_operations fops_recv = { 823 .read = read_file_recv, 824 .open = ath9k_debugfs_open, 825 - .owner = THIS_MODULE 826 }; 827 828 static ssize_t read_file_regidx(struct file *file, char __user *user_buf, ··· 861 .read = read_file_regidx, 862 .write = write_file_regidx, 863 .open = ath9k_debugfs_open, 864 - .owner = THIS_MODULE 865 }; 866 867 static ssize_t read_file_regval(struct file *file, char __user *user_buf, ··· 904 .read = read_file_regval, 905 .write = write_file_regval, 906 .open = ath9k_debugfs_open, 907 - .owner = THIS_MODULE 908 }; 909 910 int ath9k_init_debug(struct ath_hw *ah)
··· 71 .read = read_file_debug, 72 .write = write_file_debug, 73 .open = ath9k_debugfs_open, 74 + .owner = THIS_MODULE, 75 + .llseek = default_llseek, 76 }; 77 78 #endif ··· 116 .read = read_file_tx_chainmask, 117 .write = write_file_tx_chainmask, 118 .open = ath9k_debugfs_open, 119 + .owner = THIS_MODULE, 120 + .llseek = default_llseek, 121 }; 122 123 ··· 158 .read = read_file_rx_chainmask, 159 .write = write_file_rx_chainmask, 160 .open = ath9k_debugfs_open, 161 + .owner = THIS_MODULE, 162 + .llseek = default_llseek, 163 }; 164 165 ··· 259 static const struct file_operations fops_dma = { 260 .read = read_file_dma, 261 .open = ath9k_debugfs_open, 262 + .owner = THIS_MODULE, 263 + .llseek = default_llseek, 264 }; 265 266 ··· 375 static const struct file_operations fops_interrupt = { 376 .read = read_file_interrupt, 377 .open = ath9k_debugfs_open, 378 + .owner = THIS_MODULE, 379 + .llseek = default_llseek, 380 }; 381 382 void ath_debug_stat_rc(struct ath_softc *sc, int final_rate) ··· 464 static const struct file_operations fops_rcstat = { 465 .read = read_file_rcstat, 466 .open = ath9k_debugfs_open, 467 + .owner = THIS_MODULE, 468 + .llseek = default_llseek, 469 }; 470 471 static const char * ath_wiphy_state_str(enum ath_wiphy_state state) ··· 623 .read = read_file_wiphy, 624 .write = write_file_wiphy, 625 .open = ath9k_debugfs_open, 626 + .owner = THIS_MODULE, 627 + .llseek = default_llseek, 628 }; 629 630 #define PR(str, elem) \ ··· 702 static const struct file_operations fops_xmit = { 703 .read = read_file_xmit, 704 .open = ath9k_debugfs_open, 705 + .owner = THIS_MODULE, 706 + .llseek = default_llseek, 707 }; 708 709 static ssize_t read_file_recv(struct file *file, char __user *user_buf, ··· 814 static const struct file_operations fops_recv = { 815 .read = read_file_recv, 816 .open = ath9k_debugfs_open, 817 + .owner = THIS_MODULE, 818 + .llseek = default_llseek, 819 }; 820 821 static ssize_t read_file_regidx(struct file *file, char __user *user_buf, ··· 852 .read = read_file_regidx, 853 .write = write_file_regidx, 854 .open = ath9k_debugfs_open, 855 + .owner = THIS_MODULE, 856 + .llseek = default_llseek, 857 }; 858 859 static ssize_t read_file_regval(struct file *file, char __user *user_buf, ··· 894 .read = read_file_regval, 895 .write = write_file_regval, 896 .open = ath9k_debugfs_open, 897 + .owner = THIS_MODULE, 898 + .llseek = default_llseek, 899 }; 900 901 int ath9k_init_debug(struct ath_hw *ah)
+6 -3
drivers/net/wireless/ath/ath9k/htc_drv_main.c
··· 536 static const struct file_operations fops_tgt_stats = { 537 .read = read_file_tgt_stats, 538 .open = ath9k_debugfs_open, 539 - .owner = THIS_MODULE 540 }; 541 542 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, ··· 585 static const struct file_operations fops_xmit = { 586 .read = read_file_xmit, 587 .open = ath9k_debugfs_open, 588 - .owner = THIS_MODULE 589 }; 590 591 static ssize_t read_file_recv(struct file *file, char __user *user_buf, ··· 615 static const struct file_operations fops_recv = { 616 .read = read_file_recv, 617 .open = ath9k_debugfs_open, 618 - .owner = THIS_MODULE 619 }; 620 621 int ath9k_htc_init_debug(struct ath_hw *ah)
··· 536 static const struct file_operations fops_tgt_stats = { 537 .read = read_file_tgt_stats, 538 .open = ath9k_debugfs_open, 539 + .owner = THIS_MODULE, 540 + .llseek = default_llseek, 541 }; 542 543 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, ··· 584 static const struct file_operations fops_xmit = { 585 .read = read_file_xmit, 586 .open = ath9k_debugfs_open, 587 + .owner = THIS_MODULE, 588 + .llseek = default_llseek, 589 }; 590 591 static ssize_t read_file_recv(struct file *file, char __user *user_buf, ··· 613 static const struct file_operations fops_recv = { 614 .read = read_file_recv, 615 .open = ath9k_debugfs_open, 616 + .owner = THIS_MODULE, 617 + .llseek = default_llseek, 618 }; 619 620 int ath9k_htc_init_debug(struct ath_hw *ah)
+1
drivers/net/wireless/b43/debugfs.c
··· 627 .open = b43_debugfs_open, \ 628 .read = b43_debugfs_read, \ 629 .write = b43_debugfs_write, \ 630 }, \ 631 .file_struct_offset = offsetof(struct b43_dfsentry, \ 632 file_##name), \
··· 627 .open = b43_debugfs_open, \ 628 .read = b43_debugfs_read, \ 629 .write = b43_debugfs_write, \ 630 + .llseek = generic_file_llseek, \ 631 }, \ 632 .file_struct_offset = offsetof(struct b43_dfsentry, \ 633 file_##name), \
+1
drivers/net/wireless/b43legacy/debugfs.c
··· 334 .open = b43legacy_debugfs_open, \ 335 .read = b43legacy_debugfs_read, \ 336 .write = b43legacy_debugfs_write, \ 337 }, \ 338 .file_struct_offset = offsetof(struct b43legacy_dfsentry, \ 339 file_##name), \
··· 334 .open = b43legacy_debugfs_open, \ 335 .read = b43legacy_debugfs_read, \ 336 .write = b43legacy_debugfs_write, \ 337 + .llseek = generic_file_llseek, \ 338 }, \ 339 .file_struct_offset = offsetof(struct b43legacy_dfsentry, \ 340 file_##name), \
+1
drivers/net/wireless/iwlwifi/iwl-3945-rs.c
··· 873 static const struct file_operations rs_sta_dbgfs_stats_table_ops = { 874 .read = iwl3945_sta_dbgfs_stats_table_read, 875 .open = iwl3945_open_file_generic, 876 }; 877 878 static void iwl3945_add_debugfs(void *priv, void *priv_sta,
··· 873 static const struct file_operations rs_sta_dbgfs_stats_table_ops = { 874 .read = iwl3945_sta_dbgfs_stats_table_read, 875 .open = iwl3945_open_file_generic, 876 + .llseek = default_llseek, 877 }; 878 879 static void iwl3945_add_debugfs(void *priv, void *priv_sta,
+3
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
··· 2873 .write = rs_sta_dbgfs_scale_table_write, 2874 .read = rs_sta_dbgfs_scale_table_read, 2875 .open = open_file_generic, 2876 }; 2877 static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file, 2878 char __user *user_buf, size_t count, loff_t *ppos) ··· 2916 static const struct file_operations rs_sta_dbgfs_stats_table_ops = { 2917 .read = rs_sta_dbgfs_stats_table_read, 2918 .open = open_file_generic, 2919 }; 2920 2921 static ssize_t rs_sta_dbgfs_rate_scale_data_read(struct file *file, ··· 2948 static const struct file_operations rs_sta_dbgfs_rate_scale_data_ops = { 2949 .read = rs_sta_dbgfs_rate_scale_data_read, 2950 .open = open_file_generic, 2951 }; 2952 2953 static void rs_add_debugfs(void *priv, void *priv_sta,
··· 2873 .write = rs_sta_dbgfs_scale_table_write, 2874 .read = rs_sta_dbgfs_scale_table_read, 2875 .open = open_file_generic, 2876 + .llseek = default_llseek, 2877 }; 2878 static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file, 2879 char __user *user_buf, size_t count, loff_t *ppos) ··· 2915 static const struct file_operations rs_sta_dbgfs_stats_table_ops = { 2916 .read = rs_sta_dbgfs_stats_table_read, 2917 .open = open_file_generic, 2918 + .llseek = default_llseek, 2919 }; 2920 2921 static ssize_t rs_sta_dbgfs_rate_scale_data_read(struct file *file, ··· 2946 static const struct file_operations rs_sta_dbgfs_rate_scale_data_ops = { 2947 .read = rs_sta_dbgfs_rate_scale_data_read, 2948 .open = open_file_generic, 2949 + .llseek = default_llseek, 2950 }; 2951 2952 static void rs_add_debugfs(void *priv, void *priv_sta,
+3
drivers/net/wireless/iwlwifi/iwl-debugfs.c
··· 87 static const struct file_operations iwl_dbgfs_##name##_ops = { \ 88 .read = iwl_dbgfs_##name##_read, \ 89 .open = iwl_dbgfs_open_file_generic, \ 90 }; 91 92 #define DEBUGFS_WRITE_FILE_OPS(name) \ ··· 95 static const struct file_operations iwl_dbgfs_##name##_ops = { \ 96 .write = iwl_dbgfs_##name##_write, \ 97 .open = iwl_dbgfs_open_file_generic, \ 98 }; 99 100 ··· 106 .write = iwl_dbgfs_##name##_write, \ 107 .read = iwl_dbgfs_##name##_read, \ 108 .open = iwl_dbgfs_open_file_generic, \ 109 }; 110 111 static ssize_t iwl_dbgfs_tx_statistics_read(struct file *file,
··· 87 static const struct file_operations iwl_dbgfs_##name##_ops = { \ 88 .read = iwl_dbgfs_##name##_read, \ 89 .open = iwl_dbgfs_open_file_generic, \ 90 + .llseek = generic_file_llseek, \ 91 }; 92 93 #define DEBUGFS_WRITE_FILE_OPS(name) \ ··· 94 static const struct file_operations iwl_dbgfs_##name##_ops = { \ 95 .write = iwl_dbgfs_##name##_write, \ 96 .open = iwl_dbgfs_open_file_generic, \ 97 + .llseek = generic_file_llseek, \ 98 }; 99 100 ··· 104 .write = iwl_dbgfs_##name##_write, \ 105 .read = iwl_dbgfs_##name##_read, \ 106 .open = iwl_dbgfs_open_file_generic, \ 107 + .llseek = generic_file_llseek, \ 108 }; 109 110 static ssize_t iwl_dbgfs_tx_statistics_read(struct file *file,
+4
drivers/net/wireless/iwmc3200wifi/debugfs.c
··· 402 .owner = THIS_MODULE, 403 .open = iwm_generic_open, 404 .read = iwm_debugfs_txq_read, 405 }; 406 407 static const struct file_operations iwm_debugfs_tx_credit_fops = { 408 .owner = THIS_MODULE, 409 .open = iwm_generic_open, 410 .read = iwm_debugfs_tx_credit_read, 411 }; 412 413 static const struct file_operations iwm_debugfs_rx_ticket_fops = { 414 .owner = THIS_MODULE, 415 .open = iwm_generic_open, 416 .read = iwm_debugfs_rx_ticket_read, 417 }; 418 419 static const struct file_operations iwm_debugfs_fw_err_fops = { 420 .owner = THIS_MODULE, 421 .open = iwm_generic_open, 422 .read = iwm_debugfs_fw_err_read, 423 }; 424 425 void iwm_debugfs_init(struct iwm_priv *iwm)
··· 402 .owner = THIS_MODULE, 403 .open = iwm_generic_open, 404 .read = iwm_debugfs_txq_read, 405 + .llseek = default_llseek, 406 }; 407 408 static const struct file_operations iwm_debugfs_tx_credit_fops = { 409 .owner = THIS_MODULE, 410 .open = iwm_generic_open, 411 .read = iwm_debugfs_tx_credit_read, 412 + .llseek = default_llseek, 413 }; 414 415 static const struct file_operations iwm_debugfs_rx_ticket_fops = { 416 .owner = THIS_MODULE, 417 .open = iwm_generic_open, 418 .read = iwm_debugfs_rx_ticket_read, 419 + .llseek = default_llseek, 420 }; 421 422 static const struct file_operations iwm_debugfs_fw_err_fops = { 423 .owner = THIS_MODULE, 424 .open = iwm_generic_open, 425 .read = iwm_debugfs_fw_err_read, 426 + .llseek = default_llseek, 427 }; 428 429 void iwm_debugfs_init(struct iwm_priv *iwm)
+1
drivers/net/wireless/iwmc3200wifi/sdio.c
··· 364 .owner = THIS_MODULE, 365 .open = iwm_debugfs_sdio_open, 366 .read = iwm_debugfs_sdio_read, 367 }; 368 369 static void if_sdio_debugfs_init(struct iwm_priv *iwm, struct dentry *parent_dir)
··· 364 .owner = THIS_MODULE, 365 .open = iwm_debugfs_sdio_open, 366 .read = iwm_debugfs_sdio_read, 367 + .llseek = default_llseek, 368 }; 369 370 static void if_sdio_debugfs_init(struct iwm_priv *iwm, struct dentry *parent_dir)
+2
drivers/net/wireless/libertas/debugfs.c
··· 696 .open = open_file_generic, \ 697 .read = (fread), \ 698 .write = (fwrite), \ 699 } 700 701 struct lbs_debugfs_files { ··· 962 .open = open_file_generic, 963 .write = lbs_debugfs_write, 964 .read = lbs_debugfs_read, 965 }; 966 967 /**
··· 696 .open = open_file_generic, \ 697 .read = (fread), \ 698 .write = (fwrite), \ 699 + .llseek = generic_file_llseek, \ 700 } 701 702 struct lbs_debugfs_files { ··· 961 .open = open_file_generic, 962 .write = lbs_debugfs_write, 963 .read = lbs_debugfs_read, 964 + .llseek = default_llseek, 965 }; 966 967 /**
+2
drivers/net/wireless/ray_cs.c
··· 2765 static const struct file_operations ray_cs_essid_proc_fops = { 2766 .owner = THIS_MODULE, 2767 .write = ray_cs_essid_proc_write, 2768 }; 2769 2770 static ssize_t int_proc_write(struct file *file, const char __user *buffer, ··· 2799 static const struct file_operations int_proc_fops = { 2800 .owner = THIS_MODULE, 2801 .write = int_proc_write, 2802 }; 2803 #endif 2804
··· 2765 static const struct file_operations ray_cs_essid_proc_fops = { 2766 .owner = THIS_MODULE, 2767 .write = ray_cs_essid_proc_write, 2768 + .llseek = noop_llseek, 2769 }; 2770 2771 static ssize_t int_proc_write(struct file *file, const char __user *buffer, ··· 2798 static const struct file_operations int_proc_fops = { 2799 .owner = THIS_MODULE, 2800 .write = int_proc_write, 2801 + .llseek = noop_llseek, 2802 }; 2803 #endif 2804
+5
drivers/net/wireless/rt2x00/rt2x00debug.c
··· 315 .poll = rt2x00debug_poll_queue_dump, 316 .open = rt2x00debug_open_queue_dump, 317 .release = rt2x00debug_release_queue_dump, 318 }; 319 320 static ssize_t rt2x00debug_read_queue_stats(struct file *file, ··· 372 .read = rt2x00debug_read_queue_stats, 373 .open = rt2x00debug_file_open, 374 .release = rt2x00debug_file_release, 375 }; 376 377 #ifdef CONFIG_RT2X00_LIB_CRYPTO ··· 425 .read = rt2x00debug_read_crypto_stats, 426 .open = rt2x00debug_file_open, 427 .release = rt2x00debug_file_release, 428 }; 429 #endif 430 ··· 512 .write = rt2x00debug_write_##__name, \ 513 .open = rt2x00debug_file_open, \ 514 .release = rt2x00debug_file_release, \ 515 }; 516 517 RT2X00DEBUGFS_OPS(csr, "0x%.8x\n", u32); ··· 546 .read = rt2x00debug_read_dev_flags, 547 .open = rt2x00debug_file_open, 548 .release = rt2x00debug_file_release, 549 }; 550 551 static struct dentry *rt2x00debug_create_file_driver(const char *name,
··· 315 .poll = rt2x00debug_poll_queue_dump, 316 .open = rt2x00debug_open_queue_dump, 317 .release = rt2x00debug_release_queue_dump, 318 + .llseek = default_llseek, 319 }; 320 321 static ssize_t rt2x00debug_read_queue_stats(struct file *file, ··· 371 .read = rt2x00debug_read_queue_stats, 372 .open = rt2x00debug_file_open, 373 .release = rt2x00debug_file_release, 374 + .llseek = default_llseek, 375 }; 376 377 #ifdef CONFIG_RT2X00_LIB_CRYPTO ··· 423 .read = rt2x00debug_read_crypto_stats, 424 .open = rt2x00debug_file_open, 425 .release = rt2x00debug_file_release, 426 + .llseek = default_llseek, 427 }; 428 #endif 429 ··· 509 .write = rt2x00debug_write_##__name, \ 510 .open = rt2x00debug_file_open, \ 511 .release = rt2x00debug_file_release, \ 512 + .llseek = generic_file_llseek, \ 513 }; 514 515 RT2X00DEBUGFS_OPS(csr, "0x%.8x\n", u32); ··· 542 .read = rt2x00debug_read_dev_flags, 543 .open = rt2x00debug_file_open, 544 .release = rt2x00debug_file_release, 545 + .llseek = default_llseek, 546 }; 547 548 static struct dentry *rt2x00debug_create_file_driver(const char *name,
+4
drivers/net/wireless/wl12xx/wl1251_debugfs.c
··· 50 static const struct file_operations name## _ops = { \ 51 .read = name## _read, \ 52 .open = wl1251_open_file_generic, \ 53 }; 54 55 #define DEBUGFS_ADD(name, parent) \ ··· 87 static const struct file_operations sub## _ ##name## _ops = { \ 88 .read = sub## _ ##name## _read, \ 89 .open = wl1251_open_file_generic, \ 90 }; 91 92 #define DEBUGFS_FWSTATS_ADD(sub, name) \ ··· 238 static const struct file_operations tx_queue_len_ops = { 239 .read = tx_queue_len_read, 240 .open = wl1251_open_file_generic, 241 }; 242 243 static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, ··· 260 static const struct file_operations tx_queue_status_ops = { 261 .read = tx_queue_status_read, 262 .open = wl1251_open_file_generic, 263 }; 264 265 static void wl1251_debugfs_delete_files(struct wl1251 *wl)
··· 50 static const struct file_operations name## _ops = { \ 51 .read = name## _read, \ 52 .open = wl1251_open_file_generic, \ 53 + .llseek = generic_file_llseek, \ 54 }; 55 56 #define DEBUGFS_ADD(name, parent) \ ··· 86 static const struct file_operations sub## _ ##name## _ops = { \ 87 .read = sub## _ ##name## _read, \ 88 .open = wl1251_open_file_generic, \ 89 + .llseek = generic_file_llseek, \ 90 }; 91 92 #define DEBUGFS_FWSTATS_ADD(sub, name) \ ··· 236 static const struct file_operations tx_queue_len_ops = { 237 .read = tx_queue_len_read, 238 .open = wl1251_open_file_generic, 239 + .llseek = generic_file_llseek, 240 }; 241 242 static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, ··· 257 static const struct file_operations tx_queue_status_ops = { 258 .read = tx_queue_status_read, 259 .open = wl1251_open_file_generic, 260 + .llseek = generic_file_llseek, 261 }; 262 263 static void wl1251_debugfs_delete_files(struct wl1251 *wl)
+5 -1
drivers/net/wireless/wl12xx/wl1271_debugfs.c
··· 51 static const struct file_operations name## _ops = { \ 52 .read = name## _read, \ 53 .open = wl1271_open_file_generic, \ 54 }; 55 56 #define DEBUGFS_ADD(name, parent) \ ··· 88 static const struct file_operations sub## _ ##name## _ops = { \ 89 .read = sub## _ ##name## _read, \ 90 .open = wl1271_open_file_generic, \ 91 }; 92 93 #define DEBUGFS_FWSTATS_ADD(sub, name) \ ··· 239 static const struct file_operations tx_queue_len_ops = { 240 .read = tx_queue_len_read, 241 .open = wl1271_open_file_generic, 242 }; 243 244 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, ··· 294 static const struct file_operations gpio_power_ops = { 295 .read = gpio_power_read, 296 .write = gpio_power_write, 297 - .open = wl1271_open_file_generic 298 }; 299 300 static void wl1271_debugfs_delete_files(struct wl1271 *wl)
··· 51 static const struct file_operations name## _ops = { \ 52 .read = name## _read, \ 53 .open = wl1271_open_file_generic, \ 54 + .llseek = generic_file_llseek, \ 55 }; 56 57 #define DEBUGFS_ADD(name, parent) \ ··· 87 static const struct file_operations sub## _ ##name## _ops = { \ 88 .read = sub## _ ##name## _read, \ 89 .open = wl1271_open_file_generic, \ 90 + .llseek = generic_file_llseek, \ 91 }; 92 93 #define DEBUGFS_FWSTATS_ADD(sub, name) \ ··· 237 static const struct file_operations tx_queue_len_ops = { 238 .read = tx_queue_len_read, 239 .open = wl1271_open_file_generic, 240 + .llseek = default_llseek, 241 }; 242 243 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, ··· 291 static const struct file_operations gpio_power_ops = { 292 .read = gpio_power_read, 293 .write = gpio_power_write, 294 + .open = wl1271_open_file_generic, 295 + .llseek = default_llseek, 296 }; 297 298 static void wl1271_debugfs_delete_files(struct wl1271 *wl)
+7 -1
drivers/oprofile/oprofile_files.c
··· 59 static const struct file_operations timeout_fops = { 60 .read = timeout_read, 61 .write = timeout_write, 62 }; 63 64 #endif ··· 97 98 static const struct file_operations depth_fops = { 99 .read = depth_read, 100 - .write = depth_write 101 }; 102 103 ··· 110 111 static const struct file_operations pointer_size_fops = { 112 .read = pointer_size_read, 113 }; 114 115 ··· 122 123 static const struct file_operations cpu_type_fops = { 124 .read = cpu_type_read, 125 }; 126 127 ··· 158 static const struct file_operations enable_fops = { 159 .read = enable_read, 160 .write = enable_write, 161 }; 162 163 ··· 171 172 static const struct file_operations dump_fops = { 173 .write = dump_write, 174 }; 175 176 void oprofile_create_files(struct super_block *sb, struct dentry *root)
··· 59 static const struct file_operations timeout_fops = { 60 .read = timeout_read, 61 .write = timeout_write, 62 + .llseek = default_llseek, 63 }; 64 65 #endif ··· 96 97 static const struct file_operations depth_fops = { 98 .read = depth_read, 99 + .write = depth_write, 100 + .llseek = default_llseek, 101 }; 102 103 ··· 108 109 static const struct file_operations pointer_size_fops = { 110 .read = pointer_size_read, 111 + .llseek = default_llseek, 112 }; 113 114 ··· 119 120 static const struct file_operations cpu_type_fops = { 121 .read = cpu_type_read, 122 + .llseek = default_llseek, 123 }; 124 125 ··· 154 static const struct file_operations enable_fops = { 155 .read = enable_read, 156 .write = enable_write, 157 + .llseek = default_llseek, 158 }; 159 160 ··· 166 167 static const struct file_operations dump_fops = { 168 .write = dump_write, 169 + .llseek = noop_llseek, 170 }; 171 172 void oprofile_create_files(struct super_block *sb, struct dentry *root)
+3
drivers/oprofile/oprofilefs.c
··· 121 .read = ulong_read_file, 122 .write = ulong_write_file, 123 .open = default_open, 124 }; 125 126 127 static const struct file_operations ulong_ro_fops = { 128 .read = ulong_read_file, 129 .open = default_open, 130 }; 131 132 ··· 180 static const struct file_operations atomic_ro_fops = { 181 .read = atomic_read_file, 182 .open = default_open, 183 }; 184 185
··· 121 .read = ulong_read_file, 122 .write = ulong_write_file, 123 .open = default_open, 124 + .llseek = default_llseek, 125 }; 126 127 128 static const struct file_operations ulong_ro_fops = { 129 .read = ulong_read_file, 130 .open = default_open, 131 + .llseek = default_llseek, 132 }; 133 134 ··· 178 static const struct file_operations atomic_ro_fops = { 179 .read = atomic_read_file, 180 .open = default_open, 181 + .llseek = default_llseek, 182 }; 183 184
+1
drivers/pci/pcie/aer/aer_inject.c
··· 472 static const struct file_operations aer_inject_fops = { 473 .write = aer_inject_write, 474 .owner = THIS_MODULE, 475 }; 476 477 static struct miscdevice aer_inject_device = {
··· 472 static const struct file_operations aer_inject_fops = { 473 .write = aer_inject_write, 474 .owner = THIS_MODULE, 475 + .llseek = noop_llseek, 476 }; 477 478 static struct miscdevice aer_inject_device = {
+1
drivers/platform/x86/sony-laptop.c
··· 2360 .release = sonypi_misc_release, 2361 .fasync = sonypi_misc_fasync, 2362 .unlocked_ioctl = sonypi_misc_ioctl, 2363 }; 2364 2365 static struct miscdevice sonypi_misc_device = {
··· 2360 .release = sonypi_misc_release, 2361 .fasync = sonypi_misc_fasync, 2362 .unlocked_ioctl = sonypi_misc_ioctl, 2363 + .llseek = noop_llseek, 2364 }; 2365 2366 static struct miscdevice sonypi_misc_device = {
+1
drivers/rtc/rtc-m41t80.c
··· 749 .write = wdt_write, 750 .open = wdt_open, 751 .release = wdt_release, 752 }; 753 754 static struct miscdevice wdt_dev = {
··· 749 .write = wdt_write, 750 .open = wdt_open, 751 .release = wdt_release, 752 + .llseek = no_llseek, 753 }; 754 755 static struct miscdevice wdt_dev = {
+1
drivers/s390/block/dasd_eer.c
··· 670 .read = &dasd_eer_read, 671 .poll = &dasd_eer_poll, 672 .owner = THIS_MODULE, 673 }; 674 675 static struct miscdevice *dasd_eer_dev = NULL;
··· 670 .read = &dasd_eer_read, 671 .poll = &dasd_eer_poll, 672 .owner = THIS_MODULE, 673 + .llseek = noop_llseek, 674 }; 675 676 static struct miscdevice *dasd_eer_dev = NULL;
+1
drivers/s390/char/fs3270.c
··· 520 .compat_ioctl = fs3270_ioctl, /* ioctl */ 521 .open = fs3270_open, /* open */ 522 .release = fs3270_close, /* release */ 523 }; 524 525 /*
··· 520 .compat_ioctl = fs3270_ioctl, /* ioctl */ 521 .open = fs3270_open, /* open */ 522 .release = fs3270_close, /* release */ 523 + .llseek = no_llseek, 524 }; 525 526 /*
+1
drivers/s390/char/monreader.c
··· 447 .release = &mon_close, 448 .read = &mon_read, 449 .poll = &mon_poll, 450 }; 451 452 static struct miscdevice mon_dev = {
··· 447 .release = &mon_close, 448 .read = &mon_read, 449 .poll = &mon_poll, 450 + .llseek = noop_llseek, 451 }; 452 453 static struct miscdevice mon_dev = {
+1
drivers/s390/char/monwriter.c
··· 274 .open = &monwrite_open, 275 .release = &monwrite_close, 276 .write = &monwrite_write, 277 }; 278 279 static struct miscdevice mon_dev = {
··· 274 .open = &monwrite_open, 275 .release = &monwrite_close, 276 .write = &monwrite_write, 277 + .llseek = noop_llseek, 278 }; 279 280 static struct miscdevice mon_dev = {
+1
drivers/s390/char/tape_char.c
··· 53 #endif 54 .open = tapechar_open, 55 .release = tapechar_release, 56 }; 57 58 static int tapechar_major = TAPECHAR_MAJOR;
··· 53 #endif 54 .open = tapechar_open, 55 .release = tapechar_release, 56 + .llseek = no_llseek, 57 }; 58 59 static int tapechar_major = TAPECHAR_MAJOR;
+1
drivers/s390/char/vmcp.c
··· 177 .write = vmcp_write, 178 .unlocked_ioctl = vmcp_ioctl, 179 .compat_ioctl = vmcp_ioctl, 180 }; 181 182 static struct miscdevice vmcp_dev = {
··· 177 .write = vmcp_write, 178 .unlocked_ioctl = vmcp_ioctl, 179 .compat_ioctl = vmcp_ioctl, 180 + .llseek = no_llseek, 181 }; 182 183 static struct miscdevice vmcp_dev = {
+1
drivers/s390/char/vmlogrdr.c
··· 97 .open = vmlogrdr_open, 98 .release = vmlogrdr_release, 99 .read = vmlogrdr_read, 100 }; 101 102
··· 97 .open = vmlogrdr_open, 98 .release = vmlogrdr_release, 99 .read = vmlogrdr_read, 100 + .llseek = no_llseek, 101 }; 102 103
+1
drivers/s390/char/vmwatchdog.c
··· 297 .unlocked_ioctl = &vmwdt_ioctl, 298 .write = &vmwdt_write, 299 .owner = THIS_MODULE, 300 }; 301 302 static struct miscdevice vmwdt_dev = {
··· 297 .unlocked_ioctl = &vmwdt_ioctl, 298 .write = &vmwdt_write, 299 .owner = THIS_MODULE, 300 + .llseek = noop_llseek, 301 }; 302 303 static struct miscdevice vmwdt_dev = {
+2
drivers/s390/char/zcore.c
··· 459 .read = zcore_memmap_read, 460 .open = zcore_memmap_open, 461 .release = zcore_memmap_release, 462 }; 463 464 static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf, ··· 487 .write = zcore_reipl_write, 488 .open = zcore_reipl_open, 489 .release = zcore_reipl_release, 490 }; 491 492 #ifdef CONFIG_32BIT
··· 459 .read = zcore_memmap_read, 460 .open = zcore_memmap_open, 461 .release = zcore_memmap_release, 462 + .llseek = no_llseek, 463 }; 464 465 static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf, ··· 486 .write = zcore_reipl_write, 487 .open = zcore_reipl_open, 488 .release = zcore_reipl_release, 489 + .llseek = no_llseek, 490 }; 491 492 #ifdef CONFIG_32BIT
+1
drivers/s390/cio/chsc_sch.c
··· 806 .open = nonseekable_open, 807 .unlocked_ioctl = chsc_ioctl, 808 .compat_ioctl = chsc_ioctl, 809 }; 810 811 static struct miscdevice chsc_misc_device = {
··· 806 .open = nonseekable_open, 807 .unlocked_ioctl = chsc_ioctl, 808 .compat_ioctl = chsc_ioctl, 809 + .llseek = no_llseek, 810 }; 811 812 static struct miscdevice chsc_misc_device = {
+1
drivers/s390/cio/css.c
··· 1067 static const struct file_operations cio_settle_proc_fops = { 1068 .open = nonseekable_open, 1069 .write = cio_settle_write, 1070 }; 1071 1072 static int __init cio_settle_init(void)
··· 1067 static const struct file_operations cio_settle_proc_fops = { 1068 .open = nonseekable_open, 1069 .write = cio_settle_write, 1070 + .llseek = no_llseek, 1071 }; 1072 1073 static int __init cio_settle_init(void)
+2 -1
drivers/s390/crypto/zcrypt_api.c
··· 897 .compat_ioctl = zcrypt_compat_ioctl, 898 #endif 899 .open = zcrypt_open, 900 - .release = zcrypt_release 901 }; 902 903 /*
··· 897 .compat_ioctl = zcrypt_compat_ioctl, 898 #endif 899 .open = zcrypt_open, 900 + .release = zcrypt_release, 901 + .llseek = no_llseek, 902 }; 903 904 /*
+2 -1
drivers/s390/scsi/zfcp_cfdc.c
··· 251 .open = nonseekable_open, 252 .unlocked_ioctl = zfcp_cfdc_dev_ioctl, 253 #ifdef CONFIG_COMPAT 254 - .compat_ioctl = zfcp_cfdc_dev_ioctl 255 #endif 256 }; 257 258 struct miscdevice zfcp_cfdc_misc = {
··· 251 .open = nonseekable_open, 252 .unlocked_ioctl = zfcp_cfdc_dev_ioctl, 253 #ifdef CONFIG_COMPAT 254 + .compat_ioctl = zfcp_cfdc_dev_ioctl, 255 #endif 256 + .llseek = no_llseek, 257 }; 258 259 struct miscdevice zfcp_cfdc_misc = {
+1
drivers/sbus/char/display7seg.c
··· 162 .compat_ioctl = d7s_ioctl, 163 .open = d7s_open, 164 .release = d7s_release, 165 }; 166 167 static struct miscdevice d7s_miscdev = {
··· 162 .compat_ioctl = d7s_ioctl, 163 .open = d7s_open, 164 .release = d7s_release, 165 + .llseek = noop_llseek, 166 }; 167 168 static struct miscdevice d7s_miscdev = {
+1
drivers/sbus/char/envctrl.c
··· 720 #endif 721 .open = envctrl_open, 722 .release = envctrl_release, 723 }; 724 725 static struct miscdevice envctrl_dev = {
··· 720 #endif 721 .open = envctrl_open, 722 .release = envctrl_release, 723 + .llseek = noop_llseek, 724 }; 725 726 static struct miscdevice envctrl_dev = {
+2 -1
drivers/scsi/3w-9xxx.c
··· 222 .owner = THIS_MODULE, 223 .unlocked_ioctl = twa_chrdev_ioctl, 224 .open = twa_chrdev_open, 225 - .release = NULL 226 }; 227 228 /* This function will complete an aen request from the isr */
··· 222 .owner = THIS_MODULE, 223 .unlocked_ioctl = twa_chrdev_ioctl, 224 .open = twa_chrdev_open, 225 + .release = NULL, 226 + .llseek = noop_llseek, 227 }; 228 229 /* This function will complete an aen request from the isr */
+2 -1
drivers/scsi/3w-sas.c
··· 889 .owner = THIS_MODULE, 890 .unlocked_ioctl = twl_chrdev_ioctl, 891 .open = twl_chrdev_open, 892 - .release = NULL 893 }; 894 895 /* This function passes sense data from firmware to scsi layer */
··· 889 .owner = THIS_MODULE, 890 .unlocked_ioctl = twl_chrdev_ioctl, 891 .open = twl_chrdev_open, 892 + .release = NULL, 893 + .llseek = noop_llseek, 894 }; 895 896 /* This function passes sense data from firmware to scsi layer */
+2 -1
drivers/scsi/3w-xxxx.c
··· 1058 .owner = THIS_MODULE, 1059 .unlocked_ioctl = tw_chrdev_ioctl, 1060 .open = tw_chrdev_open, 1061 - .release = NULL 1062 }; 1063 1064 /* This function will free up device extension resources */
··· 1058 .owner = THIS_MODULE, 1059 .unlocked_ioctl = tw_chrdev_ioctl, 1060 .open = tw_chrdev_open, 1061 + .release = NULL, 1062 + .llseek = noop_llseek, 1063 }; 1064 1065 /* This function will free up device extension resources */
+1
drivers/scsi/aacraid/linit.c
··· 1040 .compat_ioctl = aac_compat_cfg_ioctl, 1041 #endif 1042 .open = aac_cfg_open, 1043 }; 1044 1045 static struct scsi_host_template aac_driver_template = {
··· 1040 .compat_ioctl = aac_compat_cfg_ioctl, 1041 #endif 1042 .open = aac_cfg_open, 1043 + .llseek = noop_llseek, 1044 }; 1045 1046 static struct scsi_host_template aac_driver_template = {
+1
drivers/scsi/ch.c
··· 981 #ifdef CONFIG_COMPAT 982 .compat_ioctl = ch_ioctl_compat, 983 #endif 984 }; 985 986 static int __init init_ch_module(void)
··· 981 #ifdef CONFIG_COMPAT 982 .compat_ioctl = ch_ioctl_compat, 983 #endif 984 + .llseek = noop_llseek, 985 }; 986 987 static int __init init_ch_module(void)
+1
drivers/scsi/dpt_i2o.c
··· 126 #ifdef CONFIG_COMPAT 127 .compat_ioctl = compat_adpt_ioctl, 128 #endif 129 }; 130 131 /* Structures and definitions for synchronous message posting.
··· 126 #ifdef CONFIG_COMPAT 127 .compat_ioctl = compat_adpt_ioctl, 128 #endif 129 + .llseek = noop_llseek, 130 }; 131 132 /* Structures and definitions for synchronous message posting.
+1
drivers/scsi/gdth.c
··· 373 .unlocked_ioctl = gdth_unlocked_ioctl, 374 .open = gdth_open, 375 .release = gdth_close, 376 }; 377 378 #include "gdth_proc.h"
··· 373 .unlocked_ioctl = gdth_unlocked_ioctl, 374 .open = gdth_open, 375 .release = gdth_close, 376 + .llseek = noop_llseek, 377 }; 378 379 #include "gdth_proc.h"
+1
drivers/scsi/megaraid.c
··· 102 .owner = THIS_MODULE, 103 .unlocked_ioctl = megadev_unlocked_ioctl, 104 .open = megadev_open, 105 }; 106 107 /*
··· 102 .owner = THIS_MODULE, 103 .unlocked_ioctl = megadev_unlocked_ioctl, 104 .open = megadev_open, 105 + .llseek = noop_llseek, 106 }; 107 108 /*
+1
drivers/scsi/megaraid/megaraid_mm.c
··· 76 .compat_ioctl = mraid_mm_compat_ioctl, 77 #endif 78 .owner = THIS_MODULE, 79 }; 80 81 static struct miscdevice megaraid_mm_dev = {
··· 76 .compat_ioctl = mraid_mm_compat_ioctl, 77 #endif 78 .owner = THIS_MODULE, 79 + .llseek = noop_llseek, 80 }; 81 82 static struct miscdevice megaraid_mm_dev = {
+1
drivers/scsi/megaraid/megaraid_sas.c
··· 3955 #ifdef CONFIG_COMPAT 3956 .compat_ioctl = megasas_mgmt_compat_ioctl, 3957 #endif 3958 }; 3959 3960 /*
··· 3955 #ifdef CONFIG_COMPAT 3956 .compat_ioctl = megasas_mgmt_compat_ioctl, 3957 #endif 3958 + .llseek = noop_llseek, 3959 }; 3960 3961 /*
+1
drivers/scsi/mpt2sas/mpt2sas_ctl.c
··· 2953 #ifdef CONFIG_COMPAT 2954 .compat_ioctl = _ctl_ioctl_compat, 2955 #endif 2956 }; 2957 2958 static struct miscdevice ctl_dev = {
··· 2953 #ifdef CONFIG_COMPAT 2954 .compat_ioctl = _ctl_ioctl_compat, 2955 #endif 2956 + .llseek = noop_llseek, 2957 }; 2958 2959 static struct miscdevice ctl_dev = {
+1
drivers/scsi/osd/osd_uld.c
··· 182 .open = osd_uld_open, 183 .release = osd_uld_release, 184 .unlocked_ioctl = osd_uld_ioctl, 185 }; 186 187 struct osd_dev *osduld_path_lookup(const char *name)
··· 182 .open = osd_uld_open, 183 .release = osd_uld_release, 184 .unlocked_ioctl = osd_uld_ioctl, 185 + .llseek = noop_llseek, 186 }; 187 188 struct osd_dev *osduld_path_lookup(const char *name)
+1
drivers/scsi/pmcraid.c
··· 4165 #ifdef CONFIG_COMPAT 4166 .compat_ioctl = pmcraid_chr_ioctl, 4167 #endif 4168 }; 4169 4170
··· 4165 #ifdef CONFIG_COMPAT 4166 .compat_ioctl = pmcraid_chr_ioctl, 4167 #endif 4168 + .llseek = noop_llseek, 4169 }; 4170 4171
+1
drivers/scsi/qla2xxx/qla_os.c
··· 3948 3949 static struct file_operations apidev_fops = { 3950 .owner = THIS_MODULE, 3951 }; 3952 3953 /**
··· 3948 3949 static struct file_operations apidev_fops = { 3950 .owner = THIS_MODULE, 3951 + .llseek = noop_llseek, 3952 }; 3953 3954 /**
+1
drivers/scsi/scsi_tgt_if.c
··· 331 .poll = tgt_poll, 332 .write = tgt_write, 333 .mmap = tgt_mmap, 334 }; 335 336 static struct miscdevice tgt_miscdev = {
··· 331 .poll = tgt_poll, 332 .write = tgt_write, 333 .mmap = tgt_mmap, 334 + .llseek = noop_llseek, 335 }; 336 337 static struct miscdevice tgt_miscdev = {
+1
drivers/scsi/sg.c
··· 1353 .mmap = sg_mmap, 1354 .release = sg_release, 1355 .fasync = sg_fasync, 1356 }; 1357 1358 static struct class *sg_sysfs_class;
··· 1353 .mmap = sg_mmap, 1354 .release = sg_release, 1355 .fasync = sg_fasync, 1356 + .llseek = no_llseek, 1357 }; 1358 1359 static struct class *sg_sysfs_class;
+2
drivers/serial/mfd.c
··· 228 .owner = THIS_MODULE, 229 .open = hsu_show_regs_open, 230 .read = port_show_regs, 231 }; 232 233 static const struct file_operations dma_regs_ops = { 234 .owner = THIS_MODULE, 235 .open = hsu_show_regs_open, 236 .read = dma_show_regs, 237 }; 238 239 static int hsu_debugfs_init(struct hsu_port *hsu)
··· 228 .owner = THIS_MODULE, 229 .open = hsu_show_regs_open, 230 .read = port_show_regs, 231 + .llseek = default_llseek, 232 }; 233 234 static const struct file_operations dma_regs_ops = { 235 .owner = THIS_MODULE, 236 .open = hsu_show_regs_open, 237 .read = dma_show_regs, 238 + .llseek = default_llseek, 239 }; 240 241 static int hsu_debugfs_init(struct hsu_port *hsu)
+1
drivers/spi/dw_spi.c
··· 131 .owner = THIS_MODULE, 132 .open = spi_show_regs_open, 133 .read = spi_show_regs, 134 }; 135 136 static int mrst_spi_debugfs_init(struct dw_spi *dws)
··· 131 .owner = THIS_MODULE, 132 .open = spi_show_regs_open, 133 .read = spi_show_regs, 134 + .llseek = default_llseek, 135 }; 136 137 static int mrst_spi_debugfs_init(struct dw_spi *dws)
+1
drivers/spi/spidev.c
··· 545 .unlocked_ioctl = spidev_ioctl, 546 .open = spidev_open, 547 .release = spidev_release, 548 }; 549 550 /*-------------------------------------------------------------------------*/
··· 545 .unlocked_ioctl = spidev_ioctl, 546 .open = spidev_open, 547 .release = spidev_release, 548 + .llseek = no_llseek, 549 }; 550 551 /*-------------------------------------------------------------------------*/
+1
drivers/staging/comedi/comedi_fops.c
··· 1922 .mmap = comedi_mmap, 1923 .poll = comedi_poll, 1924 .fasync = comedi_fasync, 1925 }; 1926 1927 struct class *comedi_class;
··· 1922 .mmap = comedi_mmap, 1923 .poll = comedi_poll, 1924 .fasync = comedi_fasync, 1925 + .llseek = noop_llseek, 1926 }; 1927 1928 struct class *comedi_class;
+1
drivers/staging/crystalhd/crystalhd_lnx.c
··· 351 .unlocked_ioctl = chd_dec_ioctl, 352 .open = chd_dec_open, 353 .release = chd_dec_close, 354 }; 355 356 static int __devinit chd_dec_init_chdev(struct crystalhd_adp *adp)
··· 351 .unlocked_ioctl = chd_dec_ioctl, 352 .open = chd_dec_open, 353 .release = chd_dec_close, 354 + .llseek = noop_llseek, 355 }; 356 357 static int __devinit chd_dec_init_chdev(struct crystalhd_adp *adp)
+3
drivers/staging/dream/camera/msm_camera.c
··· 1941 .open = msm_open, 1942 .unlocked_ioctl = msm_ioctl_config, 1943 .release = msm_release_config, 1944 }; 1945 1946 static const struct file_operations msm_fops_control = { ··· 1949 .open = msm_open_control, 1950 .unlocked_ioctl = msm_ioctl_control, 1951 .release = msm_release_control, 1952 }; 1953 1954 static const struct file_operations msm_fops_frame = { ··· 1958 .unlocked_ioctl = msm_ioctl_frame, 1959 .release = msm_release_frame, 1960 .poll = msm_poll_frame, 1961 }; 1962 1963 static int msm_setup_cdev(struct msm_device *msm,
··· 1941 .open = msm_open, 1942 .unlocked_ioctl = msm_ioctl_config, 1943 .release = msm_release_config, 1944 + .llseek = no_llseek, 1945 }; 1946 1947 static const struct file_operations msm_fops_control = { ··· 1948 .open = msm_open_control, 1949 .unlocked_ioctl = msm_ioctl_control, 1950 .release = msm_release_control, 1951 + .llseek = no_llseek, 1952 }; 1953 1954 static const struct file_operations msm_fops_frame = { ··· 1956 .unlocked_ioctl = msm_ioctl_frame, 1957 .release = msm_release_frame, 1958 .poll = msm_poll_frame, 1959 + .llseek = no_llseek, 1960 }; 1961 1962 static int msm_setup_cdev(struct msm_device *msm,
+2
drivers/staging/dream/pmem.c
··· 180 .mmap = pmem_mmap, 181 .open = pmem_open, 182 .unlocked_ioctl = pmem_ioctl, 183 }; 184 185 static int get_id(struct file *file) ··· 1205 static struct file_operations debug_fops = { 1206 .read = debug_read, 1207 .open = debug_open, 1208 }; 1209 #endif 1210
··· 180 .mmap = pmem_mmap, 181 .open = pmem_open, 182 .unlocked_ioctl = pmem_ioctl, 183 + .llseek = noop_llseek, 184 }; 185 186 static int get_id(struct file *file) ··· 1204 static struct file_operations debug_fops = { 1205 .read = debug_read, 1206 .open = debug_open, 1207 + .llseek = default_llseek, 1208 }; 1209 #endif 1210
+1
drivers/staging/dream/qdsp5/adsp_driver.c
··· 582 .open = adsp_open, 583 .unlocked_ioctl = adsp_ioctl, 584 .release = adsp_release, 585 }; 586 587 static void adsp_create(struct adsp_device *adev, const char *name,
··· 582 .open = adsp_open, 583 .unlocked_ioctl = adsp_ioctl, 584 .release = adsp_release, 585 + .llseek = no_llseek, 586 }; 587 588 static void adsp_create(struct adsp_device *adev, const char *name,
+1
drivers/staging/dream/qdsp5/audio_aac.c
··· 1030 .read = audio_read, 1031 .write = audio_write, 1032 .unlocked_ioctl = audio_ioctl, 1033 }; 1034 1035 struct miscdevice audio_aac_misc = {
··· 1030 .read = audio_read, 1031 .write = audio_write, 1032 .unlocked_ioctl = audio_ioctl, 1033 + .llseek = noop_llseek, 1034 }; 1035 1036 struct miscdevice audio_aac_misc = {
+1
drivers/staging/dream/qdsp5/audio_amrnb.c
··· 841 .read = audamrnb_read, 842 .write = audamrnb_write, 843 .unlocked_ioctl = audamrnb_ioctl, 844 }; 845 846 struct miscdevice audio_amrnb_misc = {
··· 841 .read = audamrnb_read, 842 .write = audamrnb_write, 843 .unlocked_ioctl = audamrnb_ioctl, 844 + .llseek = noop_llseek, 845 }; 846 847 struct miscdevice audio_amrnb_misc = {
+1
drivers/staging/dream/qdsp5/audio_evrc.c
··· 813 .read = audevrc_read, 814 .write = audevrc_write, 815 .unlocked_ioctl = audevrc_ioctl, 816 }; 817 818 struct miscdevice audio_evrc_misc = {
··· 813 .read = audevrc_read, 814 .write = audevrc_write, 815 .unlocked_ioctl = audevrc_ioctl, 816 + .llseek = noop_llseek, 817 }; 818 819 struct miscdevice audio_evrc_misc = {
+2
drivers/staging/dream/qdsp5/audio_in.c
··· 921 .read = audio_in_read, 922 .write = audio_in_write, 923 .unlocked_ioctl = audio_in_ioctl, 924 }; 925 926 static struct file_operations audpre_fops = { 927 .owner = THIS_MODULE, 928 .open = audpre_open, 929 .unlocked_ioctl = audpre_ioctl, 930 }; 931 932 struct miscdevice audio_in_misc = {
··· 921 .read = audio_in_read, 922 .write = audio_in_write, 923 .unlocked_ioctl = audio_in_ioctl, 924 + .llseek = noop_llseek, 925 }; 926 927 static struct file_operations audpre_fops = { 928 .owner = THIS_MODULE, 929 .open = audpre_open, 930 .unlocked_ioctl = audpre_ioctl, 931 + .llseek = noop_llseek, 932 }; 933 934 struct miscdevice audio_in_misc = {
+1
drivers/staging/dream/qdsp5/audio_mp3.c
··· 948 .read = audio_read, 949 .write = audio_write, 950 .unlocked_ioctl = audio_ioctl, 951 }; 952 953 struct miscdevice audio_mp3_misc = {
··· 948 .read = audio_read, 949 .write = audio_write, 950 .unlocked_ioctl = audio_ioctl, 951 + .llseek = noop_llseek, 952 }; 953 954 struct miscdevice audio_mp3_misc = {
+2
drivers/staging/dream/qdsp5/audio_out.c
··· 807 .read = audio_read, 808 .write = audio_write, 809 .unlocked_ioctl = audio_ioctl, 810 }; 811 812 static struct file_operations audpp_fops = { 813 .owner = THIS_MODULE, 814 .open = audpp_open, 815 .unlocked_ioctl = audpp_ioctl, 816 }; 817 818 struct miscdevice audio_misc = {
··· 807 .read = audio_read, 808 .write = audio_write, 809 .unlocked_ioctl = audio_ioctl, 810 + .llseek = noop_llseek, 811 }; 812 813 static struct file_operations audpp_fops = { 814 .owner = THIS_MODULE, 815 .open = audpp_open, 816 .unlocked_ioctl = audpp_ioctl, 817 + .llseek = noop_llseek, 818 }; 819 820 struct miscdevice audio_misc = {
+1
drivers/staging/dream/qdsp5/audio_qcelp.c
··· 824 .read = audqcelp_read, 825 .write = audqcelp_write, 826 .unlocked_ioctl = audqcelp_ioctl, 827 }; 828 829 struct miscdevice audio_qcelp_misc = {
··· 824 .read = audqcelp_read, 825 .write = audqcelp_write, 826 .unlocked_ioctl = audqcelp_ioctl, 827 + .llseek = noop_llseek, 828 }; 829 830 struct miscdevice audio_qcelp_misc = {
+1
drivers/staging/dream/qdsp5/evlog.h
··· 123 static const struct file_operations ev_log_ops = { 124 .read = ev_log_read, 125 .open = ev_log_open, 126 }; 127 128 static int ev_log_init(struct ev_log *log)
··· 123 static const struct file_operations ev_log_ops = { 124 .read = ev_log_read, 125 .open = ev_log_open, 126 + .llseek = default_llseek, 127 }; 128 129 static int ev_log_init(struct ev_log *log)
+1
drivers/staging/dream/qdsp5/snd.c
··· 247 .open = snd_open, 248 .release = snd_release, 249 .unlocked_ioctl = snd_ioctl, 250 }; 251 252 struct miscdevice snd_misc = {
··· 247 .open = snd_open, 248 .release = snd_release, 249 .unlocked_ioctl = snd_ioctl, 250 + .llseek = noop_llseek, 251 }; 252 253 struct miscdevice snd_misc = {
+1
drivers/staging/frontier/alphatrack.c
··· 641 .open = usb_alphatrack_open, 642 .release = usb_alphatrack_release, 643 .poll = usb_alphatrack_poll, 644 }; 645 646 /*
··· 641 .open = usb_alphatrack_open, 642 .release = usb_alphatrack_release, 643 .poll = usb_alphatrack_poll, 644 + .llseek = no_llseek, 645 }; 646 647 /*
+1
drivers/staging/frontier/tranzport.c
··· 767 .open = usb_tranzport_open, 768 .release = usb_tranzport_release, 769 .poll = usb_tranzport_poll, 770 }; 771 772 /*
··· 767 .open = usb_tranzport_open, 768 .release = usb_tranzport_release, 769 .poll = usb_tranzport_poll, 770 + .llseek = no_llseek, 771 }; 772 773 /*
+1
drivers/staging/iio/industrialio-core.c
··· 349 .release = iio_event_chrdev_release, 350 .open = iio_event_chrdev_open, 351 .owner = THIS_MODULE, 352 }; 353 354 static void iio_event_dev_release(struct device *dev)
··· 349 .release = iio_event_chrdev_release, 350 .open = iio_event_chrdev_open, 351 .owner = THIS_MODULE, 352 + .llseek = noop_llseek, 353 }; 354 355 static void iio_event_dev_release(struct device *dev)
+1
drivers/staging/iio/industrialio-ring.c
··· 133 .release = iio_ring_release, 134 .open = iio_ring_open, 135 .owner = THIS_MODULE, 136 }; 137 138 /**
··· 133 .release = iio_ring_release, 134 .open = iio_ring_open, 135 .owner = THIS_MODULE, 136 + .llseek = noop_llseek, 137 }; 138 139 /**
+2 -1
drivers/staging/lirc/lirc_imon.c
··· 115 .owner = THIS_MODULE, 116 .open = &display_open, 117 .write = &vfd_write, 118 - .release = &display_close 119 }; 120 121 /*
··· 115 .owner = THIS_MODULE, 116 .open = &display_open, 117 .write = &vfd_write, 118 + .release = &display_close, 119 + .llseek = noop_llseek, 120 }; 121 122 /*
+1
drivers/staging/lirc/lirc_it87.c
··· 342 .unlocked_ioctl = lirc_ioctl, 343 .open = lirc_open, 344 .release = lirc_close, 345 }; 346 347 static int set_use_inc(void *data)
··· 342 .unlocked_ioctl = lirc_ioctl, 343 .open = lirc_open, 344 .release = lirc_close, 345 + .llseek = noop_llseek, 346 }; 347 348 static int set_use_inc(void *data)
+1
drivers/staging/lirc/lirc_sasem.c
··· 125 .write = &vfd_write, 126 .unlocked_ioctl = &vfd_ioctl, 127 .release = &vfd_close, 128 }; 129 130 /* USB Device ID for Sasem USB Control Board */
··· 125 .write = &vfd_write, 126 .unlocked_ioctl = &vfd_ioctl, 127 .release = &vfd_close, 128 + .llseek = noop_llseek, 129 }; 130 131 /* USB Device ID for Sasem USB Control Board */
+1
drivers/staging/lirc/lirc_serial.c
··· 1058 .poll = lirc_dev_fop_poll, 1059 .open = lirc_dev_fop_open, 1060 .release = lirc_dev_fop_close, 1061 }; 1062 1063 static struct lirc_driver driver = {
··· 1058 .poll = lirc_dev_fop_poll, 1059 .open = lirc_dev_fop_open, 1060 .release = lirc_dev_fop_close, 1061 + .llseek = no_llseek, 1062 }; 1063 1064 static struct lirc_driver driver = {
+1
drivers/staging/lirc/lirc_sir.c
··· 459 .unlocked_ioctl = lirc_ioctl, 460 .open = lirc_dev_fop_open, 461 .release = lirc_dev_fop_close, 462 }; 463 464 static int set_use_inc(void *data)
··· 459 .unlocked_ioctl = lirc_ioctl, 460 .open = lirc_dev_fop_open, 461 .release = lirc_dev_fop_close, 462 + .llseek = no_llseek, 463 }; 464 465 static int set_use_inc(void *data)
+1
drivers/staging/memrar/memrar_handler.c
··· 890 .mmap = memrar_mmap, 891 .open = memrar_open, 892 .release = memrar_release, 893 }; 894 895 static struct miscdevice memrar_miscdev = {
··· 890 .mmap = memrar_mmap, 891 .open = memrar_open, 892 .release = memrar_release, 893 + .llseek = no_llseek, 894 }; 895 896 static struct miscdevice memrar_miscdev = {
+1
drivers/staging/panel/panel.c
··· 1631 .read = keypad_read, /* read */ 1632 .open = keypad_open, /* open */ 1633 .release = keypad_release, /* close */ 1634 }; 1635 1636 static struct miscdevice keypad_dev = {
··· 1631 .read = keypad_read, /* read */ 1632 .open = keypad_open, /* open */ 1633 .release = keypad_release, /* close */ 1634 + .llseek = default_llseek, 1635 }; 1636 1637 static struct miscdevice keypad_dev = {
+1
drivers/staging/tidspbridge/rmgr/drv_interface.c
··· 144 .release = bridge_release, 145 .unlocked_ioctl = bridge_ioctl, 146 .mmap = bridge_mmap, 147 }; 148 149 #ifdef CONFIG_PM
··· 144 .release = bridge_release, 145 .unlocked_ioctl = bridge_ioctl, 146 .mmap = bridge_mmap, 147 + .llseek = noop_llseek, 148 }; 149 150 #ifdef CONFIG_PM
+2 -1
drivers/telephony/ixj.c
··· 6677 .poll = ixj_poll, 6678 .unlocked_ioctl = ixj_ioctl, 6679 .release = ixj_release, 6680 - .fasync = ixj_fasync 6681 }; 6682 6683 static int ixj_linetest(IXJ *j)
··· 6677 .poll = ixj_poll, 6678 .unlocked_ioctl = ixj_ioctl, 6679 .release = ixj_release, 6680 + .fasync = ixj_fasync, 6681 + .llseek = default_llseek, 6682 }; 6683 6684 static int ixj_linetest(IXJ *j)
+1
drivers/telephony/phonedev.c
··· 130 { 131 .owner = THIS_MODULE, 132 .open = phone_open, 133 }; 134 135 /*
··· 130 { 131 .owner = THIS_MODULE, 132 .open = phone_open, 133 + .llseek = noop_llseek, 134 }; 135 136 /*
+1
drivers/uio/uio.c
··· 740 .mmap = uio_mmap, 741 .poll = uio_poll, 742 .fasync = uio_fasync, 743 }; 744 745 static int uio_major_init(void)
··· 740 .mmap = uio_mmap, 741 .poll = uio_poll, 742 .fasync = uio_fasync, 743 + .llseek = noop_llseek, 744 }; 745 746 static int uio_major_init(void)
+2 -1
drivers/usb/class/cdc-wdm.c
··· 584 .open = wdm_open, 585 .flush = wdm_flush, 586 .release = wdm_release, 587 - .poll = wdm_poll 588 }; 589 590 static struct usb_class_driver wdm_class = {
··· 584 .open = wdm_open, 585 .flush = wdm_flush, 586 .release = wdm_release, 587 + .poll = wdm_poll, 588 + .llseek = noop_llseek, 589 }; 590 591 static struct usb_class_driver wdm_class = {
+1
drivers/usb/class/usblp.c
··· 1043 .compat_ioctl = usblp_ioctl, 1044 .open = usblp_open, 1045 .release = usblp_release, 1046 }; 1047 1048 static char *usblp_devnode(struct device *dev, mode_t *mode)
··· 1043 .compat_ioctl = usblp_ioctl, 1044 .open = usblp_open, 1045 .release = usblp_release, 1046 + .llseek = noop_llseek, 1047 }; 1048 1049 static char *usblp_devnode(struct device *dev, mode_t *mode)
+1
drivers/usb/class/usbtmc.c
··· 987 .open = usbtmc_open, 988 .release = usbtmc_release, 989 .unlocked_ioctl = usbtmc_ioctl, 990 }; 991 992 static struct usb_class_driver usbtmc_class = {
··· 987 .open = usbtmc_open, 988 .release = usbtmc_release, 989 .unlocked_ioctl = usbtmc_ioctl, 990 + .llseek = default_llseek, 991 }; 992 993 static struct usb_class_driver usbtmc_class = {
+1
drivers/usb/core/file.c
··· 59 static const struct file_operations usb_fops = { 60 .owner = THIS_MODULE, 61 .open = usb_open, 62 }; 63 64 static struct usb_class {
··· 59 static const struct file_operations usb_fops = { 60 .owner = THIS_MODULE, 61 .open = usb_open, 62 + .llseek = noop_llseek, 63 }; 64 65 static struct usb_class {
+1
drivers/usb/gadget/f_hid.c
··· 451 .write = f_hidg_write, 452 .read = f_hidg_read, 453 .poll = f_hidg_poll, 454 }; 455 456 static int __init hidg_bind(struct usb_configuration *c, struct usb_function *f)
··· 451 .write = f_hidg_write, 452 .read = f_hidg_read, 453 .poll = f_hidg_poll, 454 + .llseek = noop_llseek, 455 }; 456 457 static int __init hidg_bind(struct usb_configuration *c, struct usb_function *f)
+2 -1
drivers/usb/gadget/printer.c
··· 884 .fsync = printer_fsync, 885 .poll = printer_poll, 886 .unlocked_ioctl = printer_ioctl, 887 - .release = printer_close 888 }; 889 890 /*-------------------------------------------------------------------------*/
··· 884 .fsync = printer_fsync, 885 .poll = printer_poll, 886 .unlocked_ioctl = printer_ioctl, 887 + .release = printer_close, 888 + .llseek = noop_llseek, 889 }; 890 891 /*-------------------------------------------------------------------------*/
+4
drivers/usb/host/ehci-dbg.c
··· 369 .open = debug_async_open, 370 .read = debug_output, 371 .release = debug_close, 372 }; 373 static const struct file_operations debug_periodic_fops = { 374 .owner = THIS_MODULE, 375 .open = debug_periodic_open, 376 .read = debug_output, 377 .release = debug_close, 378 }; 379 static const struct file_operations debug_registers_fops = { 380 .owner = THIS_MODULE, 381 .open = debug_registers_open, 382 .read = debug_output, 383 .release = debug_close, 384 }; 385 static const struct file_operations debug_lpm_fops = { 386 .owner = THIS_MODULE, ··· 391 .read = debug_lpm_read, 392 .write = debug_lpm_write, 393 .release = debug_lpm_close, 394 }; 395 396 static struct dentry *ehci_debug_root;
··· 369 .open = debug_async_open, 370 .read = debug_output, 371 .release = debug_close, 372 + .llseek = default_llseek, 373 }; 374 static const struct file_operations debug_periodic_fops = { 375 .owner = THIS_MODULE, 376 .open = debug_periodic_open, 377 .read = debug_output, 378 .release = debug_close, 379 + .llseek = default_llseek, 380 }; 381 static const struct file_operations debug_registers_fops = { 382 .owner = THIS_MODULE, 383 .open = debug_registers_open, 384 .read = debug_output, 385 .release = debug_close, 386 + .llseek = default_llseek, 387 }; 388 static const struct file_operations debug_lpm_fops = { 389 .owner = THIS_MODULE, ··· 388 .read = debug_lpm_read, 389 .write = debug_lpm_write, 390 .release = debug_lpm_close, 391 + .llseek = noop_llseek, 392 }; 393 394 static struct dentry *ehci_debug_root;
+3
drivers/usb/host/ohci-dbg.c
··· 413 .open = debug_async_open, 414 .read = debug_output, 415 .release = debug_close, 416 }; 417 static const struct file_operations debug_periodic_fops = { 418 .owner = THIS_MODULE, 419 .open = debug_periodic_open, 420 .read = debug_output, 421 .release = debug_close, 422 }; 423 static const struct file_operations debug_registers_fops = { 424 .owner = THIS_MODULE, 425 .open = debug_registers_open, 426 .read = debug_output, 427 .release = debug_close, 428 }; 429 430 static struct dentry *ohci_debug_root;
··· 413 .open = debug_async_open, 414 .read = debug_output, 415 .release = debug_close, 416 + .llseek = default_llseek, 417 }; 418 static const struct file_operations debug_periodic_fops = { 419 .owner = THIS_MODULE, 420 .open = debug_periodic_open, 421 .read = debug_output, 422 .release = debug_close, 423 + .llseek = default_llseek, 424 }; 425 static const struct file_operations debug_registers_fops = { 426 .owner = THIS_MODULE, 427 .open = debug_registers_open, 428 .read = debug_output, 429 .release = debug_close, 430 + .llseek = default_llseek, 431 }; 432 433 static struct dentry *ohci_debug_root;
+1
drivers/usb/image/mdc800.c
··· 963 .write = mdc800_device_write, 964 .open = mdc800_device_open, 965 .release = mdc800_device_release, 966 }; 967 968
··· 963 .write = mdc800_device_write, 964 .open = mdc800_device_open, 965 .release = mdc800_device_release, 966 + .llseek = noop_llseek, 967 }; 968 969
+1
drivers/usb/misc/adutux.c
··· 679 .write = adu_write, 680 .open = adu_open, 681 .release = adu_release, 682 }; 683 684 /*
··· 679 .write = adu_write, 680 .open = adu_open, 681 .release = adu_release, 682 + .llseek = noop_llseek, 683 }; 684 685 /*
+1
drivers/usb/misc/idmouse.c
··· 105 .read = idmouse_read, 106 .open = idmouse_open, 107 .release = idmouse_release, 108 }; 109 110 /* class driver information */
··· 105 .read = idmouse_read, 106 .open = idmouse_open, 107 .release = idmouse_release, 108 + .llseek = default_llseek, 109 }; 110 111 /* class driver information */
+1
drivers/usb/misc/iowarrior.c
··· 730 .open = iowarrior_open, 731 .release = iowarrior_release, 732 .poll = iowarrior_poll, 733 }; 734 735 static char *iowarrior_devnode(struct device *dev, mode_t *mode)
··· 730 .open = iowarrior_open, 731 .release = iowarrior_release, 732 .poll = iowarrior_poll, 733 + .llseek = noop_llseek, 734 }; 735 736 static char *iowarrior_devnode(struct device *dev, mode_t *mode)
+1
drivers/usb/misc/ldusb.c
··· 613 .open = ld_usb_open, 614 .release = ld_usb_release, 615 .poll = ld_usb_poll, 616 }; 617 618 /*
··· 613 .open = ld_usb_open, 614 .release = ld_usb_release, 615 .poll = ld_usb_poll, 616 + .llseek = no_llseek, 617 }; 618 619 /*
+1
drivers/usb/misc/rio500.c
··· 439 .unlocked_ioctl = ioctl_rio, 440 .open = open_rio, 441 .release = close_rio, 442 }; 443 444 static struct usb_class_driver usb_rio_class = {
··· 439 .unlocked_ioctl = ioctl_rio, 440 .open = open_rio, 441 .release = close_rio, 442 + .llseek = noop_llseek, 443 }; 444 445 static struct usb_class_driver usb_rio_class = {
+1
drivers/usb/misc/usblcd.c
··· 282 .open = lcd_open, 283 .unlocked_ioctl = lcd_ioctl, 284 .release = lcd_release, 285 }; 286 287 /*
··· 282 .open = lcd_open, 283 .unlocked_ioctl = lcd_ioctl, 284 .release = lcd_release, 285 + .llseek = noop_llseek, 286 }; 287 288 /*
+1
drivers/usb/usb-skeleton.c
··· 507 .open = skel_open, 508 .release = skel_release, 509 .flush = skel_flush, 510 }; 511 512 /*
··· 507 .open = skel_open, 508 .release = skel_release, 509 .flush = skel_flush, 510 + .llseek = noop_llseek, 511 }; 512 513 /*
+1
drivers/vhost/net.c
··· 877 .compat_ioctl = vhost_net_compat_ioctl, 878 #endif 879 .open = vhost_net_open, 880 }; 881 882 static struct miscdevice vhost_net_misc = {
··· 877 .compat_ioctl = vhost_net_compat_ioctl, 878 #endif 879 .open = vhost_net_open, 880 + .llseek = noop_llseek, 881 }; 882 883 static struct miscdevice vhost_net_misc = {
+1
drivers/video/fbmem.c
··· 1439 #ifdef CONFIG_FB_DEFERRED_IO 1440 .fsync = fb_deferred_io_fsync, 1441 #endif 1442 }; 1443 1444 struct class *fb_class;
··· 1439 #ifdef CONFIG_FB_DEFERRED_IO 1440 .fsync = fb_deferred_io_fsync, 1441 #endif 1442 + .llseek = default_llseek, 1443 }; 1444 1445 struct class *fb_class;
+6
drivers/video/mbx/mbxdebugfs.c
··· 175 .read = sysconf_read_file, 176 .write = write_file_dummy, 177 .open = open_file_generic, 178 }; 179 180 static const struct file_operations clock_fops = { 181 .read = clock_read_file, 182 .write = write_file_dummy, 183 .open = open_file_generic, 184 }; 185 186 static const struct file_operations display_fops = { 187 .read = display_read_file, 188 .write = write_file_dummy, 189 .open = open_file_generic, 190 }; 191 192 static const struct file_operations gsctl_fops = { 193 .read = gsctl_read_file, 194 .write = write_file_dummy, 195 .open = open_file_generic, 196 }; 197 198 static const struct file_operations sdram_fops = { 199 .read = sdram_read_file, 200 .write = write_file_dummy, 201 .open = open_file_generic, 202 }; 203 204 static const struct file_operations misc_fops = { 205 .read = misc_read_file, 206 .write = write_file_dummy, 207 .open = open_file_generic, 208 }; 209 210 static void __devinit mbxfb_debugfs_init(struct fb_info *fbi)
··· 175 .read = sysconf_read_file, 176 .write = write_file_dummy, 177 .open = open_file_generic, 178 + .llseek = default_llseek, 179 }; 180 181 static const struct file_operations clock_fops = { 182 .read = clock_read_file, 183 .write = write_file_dummy, 184 .open = open_file_generic, 185 + .llseek = default_llseek, 186 }; 187 188 static const struct file_operations display_fops = { 189 .read = display_read_file, 190 .write = write_file_dummy, 191 .open = open_file_generic, 192 + .llseek = default_llseek, 193 }; 194 195 static const struct file_operations gsctl_fops = { 196 .read = gsctl_read_file, 197 .write = write_file_dummy, 198 .open = open_file_generic, 199 + .llseek = default_llseek, 200 }; 201 202 static const struct file_operations sdram_fops = { 203 .read = sdram_read_file, 204 .write = write_file_dummy, 205 .open = open_file_generic, 206 + .llseek = default_llseek, 207 }; 208 209 static const struct file_operations misc_fops = { 210 .read = misc_read_file, 211 .write = write_file_dummy, 212 .open = open_file_generic, 213 + .llseek = default_llseek, 214 }; 215 216 static void __devinit mbxfb_debugfs_init(struct fb_info *fbi)
+1
drivers/watchdog/ar7_wdt.c
··· 267 .unlocked_ioctl = ar7_wdt_ioctl, 268 .open = ar7_wdt_open, 269 .release = ar7_wdt_release, 270 }; 271 272 static struct miscdevice ar7_wdt_miscdev = {
··· 267 .unlocked_ioctl = ar7_wdt_ioctl, 268 .open = ar7_wdt_open, 269 .release = ar7_wdt_release, 270 + .llseek = no_llseek, 271 }; 272 273 static struct miscdevice ar7_wdt_miscdev = {
+1
drivers/watchdog/cpwd.c
··· 525 .write = cpwd_write, 526 .read = cpwd_read, 527 .release = cpwd_release, 528 }; 529 530 static int __devinit cpwd_probe(struct platform_device *op,
··· 525 .write = cpwd_write, 526 .read = cpwd_read, 527 .release = cpwd_release, 528 + .llseek = no_llseek, 529 }; 530 531 static int __devinit cpwd_probe(struct platform_device *op,
+1
drivers/watchdog/ep93xx_wdt.c
··· 188 .unlocked_ioctl = ep93xx_wdt_ioctl, 189 .open = ep93xx_wdt_open, 190 .release = ep93xx_wdt_release, 191 }; 192 193 static struct miscdevice ep93xx_wdt_miscdev = {
··· 188 .unlocked_ioctl = ep93xx_wdt_ioctl, 189 .open = ep93xx_wdt_open, 190 .release = ep93xx_wdt_release, 191 + .llseek = no_llseek, 192 }; 193 194 static struct miscdevice ep93xx_wdt_miscdev = {
+1
drivers/watchdog/omap_wdt.c
··· 258 .unlocked_ioctl = omap_wdt_ioctl, 259 .open = omap_wdt_open, 260 .release = omap_wdt_release, 261 }; 262 263 static int __devinit omap_wdt_probe(struct platform_device *pdev)
··· 258 .unlocked_ioctl = omap_wdt_ioctl, 259 .open = omap_wdt_open, 260 .release = omap_wdt_release, 261 + .llseek = no_llseek, 262 }; 263 264 static int __devinit omap_wdt_probe(struct platform_device *pdev)
+1
drivers/xen/evtchn.c
··· 467 .fasync = evtchn_fasync, 468 .open = evtchn_open, 469 .release = evtchn_release, 470 }; 471 472 static struct miscdevice evtchn_miscdev = {
··· 467 .fasync = evtchn_fasync, 468 .open = evtchn_open, 469 .release = evtchn_release, 470 + .llseek = noop_llseek, 471 }; 472 473 static struct miscdevice evtchn_miscdev = {
+1
drivers/xen/xenfs/super.c
··· 35 36 static const struct file_operations capabilities_file_ops = { 37 .read = capabilities_read, 38 }; 39 40 static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
··· 35 36 static const struct file_operations capabilities_file_ops = { 37 .read = capabilities_read, 38 + .llseek = default_llseek, 39 }; 40 41 static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
+1
drivers/xen/xenfs/xenbus.c
··· 594 .open = xenbus_file_open, 595 .release = xenbus_file_release, 596 .poll = xenbus_file_poll, 597 };
··· 594 .open = xenbus_file_open, 595 .release = xenbus_file_release, 596 .poll = xenbus_file_poll, 597 + .llseek = no_llseek, 598 };
+1
fs/afs/mntpt.c
··· 29 30 const struct file_operations afs_mntpt_file_operations = { 31 .open = afs_mntpt_open, 32 }; 33 34 const struct inode_operations afs_mntpt_inode_operations = {
··· 29 30 const struct file_operations afs_mntpt_file_operations = { 31 .open = afs_mntpt_open, 32 + .llseek = noop_llseek, 33 }; 34 35 const struct inode_operations afs_mntpt_inode_operations = {
+1
fs/autofs4/dev-ioctl.c
··· 724 .unlocked_ioctl = autofs_dev_ioctl, 725 .compat_ioctl = autofs_dev_ioctl_compat, 726 .owner = THIS_MODULE, 727 }; 728 729 static struct miscdevice _autofs_dev_ioctl_misc = {
··· 724 .unlocked_ioctl = autofs_dev_ioctl, 725 .compat_ioctl = autofs_dev_ioctl_compat, 726 .owner = THIS_MODULE, 727 + .llseek = noop_llseek, 728 }; 729 730 static struct miscdevice _autofs_dev_ioctl_misc = {
+3
fs/binfmt_misc.c
··· 576 static const struct file_operations bm_entry_operations = { 577 .read = bm_entry_read, 578 .write = bm_entry_write, 579 }; 580 581 /* /register */ ··· 644 645 static const struct file_operations bm_register_operations = { 646 .write = bm_register_write, 647 }; 648 649 /* /status */ ··· 682 static const struct file_operations bm_status_operations = { 683 .read = bm_status_read, 684 .write = bm_status_write, 685 }; 686 687 /* Superblock handling */
··· 576 static const struct file_operations bm_entry_operations = { 577 .read = bm_entry_read, 578 .write = bm_entry_write, 579 + .llseek = default_llseek, 580 }; 581 582 /* /register */ ··· 643 644 static const struct file_operations bm_register_operations = { 645 .write = bm_register_write, 646 + .llseek = noop_llseek, 647 }; 648 649 /* /status */ ··· 680 static const struct file_operations bm_status_operations = { 681 .read = bm_status_read, 682 .write = bm_status_write, 683 + .llseek = default_llseek, 684 }; 685 686 /* Superblock handling */
+1
fs/btrfs/super.c
··· 815 .unlocked_ioctl = btrfs_control_ioctl, 816 .compat_ioctl = btrfs_control_ioctl, 817 .owner = THIS_MODULE, 818 }; 819 820 static struct miscdevice btrfs_misc = {
··· 815 .unlocked_ioctl = btrfs_control_ioctl, 816 .compat_ioctl = btrfs_control_ioctl, 817 .owner = THIS_MODULE, 818 + .llseek = noop_llseek, 819 }; 820 821 static struct miscdevice btrfs_misc = {
+1
fs/cachefiles/daemon.c
··· 55 .read = cachefiles_daemon_read, 56 .write = cachefiles_daemon_write, 57 .poll = cachefiles_daemon_poll, 58 }; 59 60 struct cachefiles_daemon_cmd {
··· 55 .read = cachefiles_daemon_read, 56 .write = cachefiles_daemon_write, 57 .poll = cachefiles_daemon_poll, 58 + .llseek = noop_llseek, 59 }; 60 61 struct cachefiles_daemon_cmd {
+1
fs/char_dev.c
··· 456 */ 457 const struct file_operations def_chr_fops = { 458 .open = chrdev_open, 459 }; 460 461 static struct kobject *exact_match(dev_t dev, int *part, void *data)
··· 456 */ 457 const struct file_operations def_chr_fops = { 458 .open = chrdev_open, 459 + .llseek = noop_llseek, 460 }; 461 462 static struct kobject *exact_match(dev_t dev, int *part, void *data)
+1
fs/coda/pioctl.c
··· 39 const struct file_operations coda_ioctl_operations = { 40 .owner = THIS_MODULE, 41 .unlocked_ioctl = coda_pioctl, 42 }; 43 44 /* the coda pioctl inode ops */
··· 39 const struct file_operations coda_ioctl_operations = { 40 .owner = THIS_MODULE, 41 .unlocked_ioctl = coda_pioctl, 42 + .llseek = noop_llseek, 43 }; 44 45 /* the coda pioctl inode ops */
+1
fs/coda/psdev.c
··· 346 .unlocked_ioctl = coda_psdev_ioctl, 347 .open = coda_psdev_open, 348 .release = coda_psdev_release, 349 }; 350 351 static int init_coda_psdev(void)
··· 346 .unlocked_ioctl = coda_psdev_ioctl, 347 .open = coda_psdev_open, 348 .release = coda_psdev_release, 349 + .llseek = noop_llseek, 350 }; 351 352 static int init_coda_psdev(void)
+3
fs/debugfs/file.c
··· 43 .read = default_read_file, 44 .write = default_write_file, 45 .open = default_open, 46 }; 47 48 static void *debugfs_follow_link(struct dentry *dentry, struct nameidata *nd) ··· 455 .read = read_file_bool, 456 .write = write_file_bool, 457 .open = default_open, 458 }; 459 460 /** ··· 500 static const struct file_operations fops_blob = { 501 .read = read_file_blob, 502 .open = default_open, 503 }; 504 505 /**
··· 43 .read = default_read_file, 44 .write = default_write_file, 45 .open = default_open, 46 + .llseek = noop_llseek, 47 }; 48 49 static void *debugfs_follow_link(struct dentry *dentry, struct nameidata *nd) ··· 454 .read = read_file_bool, 455 .write = write_file_bool, 456 .open = default_open, 457 + .llseek = default_llseek, 458 }; 459 460 /** ··· 498 static const struct file_operations fops_blob = { 499 .read = read_file_blob, 500 .open = default_open, 501 + .llseek = default_llseek, 502 }; 503 504 /**
+2 -1
fs/dlm/debug_fs.c
··· 643 static const struct file_operations waiters_fops = { 644 .owner = THIS_MODULE, 645 .open = waiters_open, 646 - .read = waiters_read 647 }; 648 649 void dlm_delete_debug_file(struct dlm_ls *ls)
··· 643 static const struct file_operations waiters_fops = { 644 .owner = THIS_MODULE, 645 .open = waiters_open, 646 + .read = waiters_read, 647 + .llseek = default_llseek, 648 }; 649 650 void dlm_delete_debug_file(struct dlm_ls *ls)
+2 -1
fs/dlm/plock.c
··· 412 .read = dev_read, 413 .write = dev_write, 414 .poll = dev_poll, 415 - .owner = THIS_MODULE 416 }; 417 418 static struct miscdevice plock_dev_misc = {
··· 412 .read = dev_read, 413 .write = dev_write, 414 .poll = dev_poll, 415 + .owner = THIS_MODULE, 416 + .llseek = noop_llseek, 417 }; 418 419 static struct miscdevice plock_dev_misc = {
+3
fs/dlm/user.c
··· 1009 .write = device_write, 1010 .poll = device_poll, 1011 .owner = THIS_MODULE, 1012 }; 1013 1014 static const struct file_operations ctl_device_fops = { ··· 1018 .read = device_read, 1019 .write = device_write, 1020 .owner = THIS_MODULE, 1021 }; 1022 1023 static struct miscdevice ctl_device = { ··· 1031 .open = monitor_device_open, 1032 .release = monitor_device_close, 1033 .owner = THIS_MODULE, 1034 }; 1035 1036 static struct miscdevice monitor_device = {
··· 1009 .write = device_write, 1010 .poll = device_poll, 1011 .owner = THIS_MODULE, 1012 + .llseek = noop_llseek, 1013 }; 1014 1015 static const struct file_operations ctl_device_fops = { ··· 1017 .read = device_read, 1018 .write = device_write, 1019 .owner = THIS_MODULE, 1020 + .llseek = noop_llseek, 1021 }; 1022 1023 static struct miscdevice ctl_device = { ··· 1029 .open = monitor_device_open, 1030 .release = monitor_device_close, 1031 .owner = THIS_MODULE, 1032 + .llseek = noop_llseek, 1033 }; 1034 1035 static struct miscdevice monitor_device = {
+1
fs/ecryptfs/file.c
··· 329 .fsync = ecryptfs_fsync, 330 .fasync = ecryptfs_fasync, 331 .splice_read = generic_file_splice_read, 332 }; 333 334 const struct file_operations ecryptfs_main_fops = {
··· 329 .fsync = ecryptfs_fsync, 330 .fasync = ecryptfs_fasync, 331 .splice_read = generic_file_splice_read, 332 + .llseek = default_llseek, 333 }; 334 335 const struct file_operations ecryptfs_main_fops = {
+1
fs/ecryptfs/miscdev.c
··· 482 .read = ecryptfs_miscdev_read, 483 .write = ecryptfs_miscdev_write, 484 .release = ecryptfs_miscdev_release, 485 }; 486 487 static struct miscdevice ecryptfs_miscdev = {
··· 482 .read = ecryptfs_miscdev_read, 483 .write = ecryptfs_miscdev_write, 484 .release = ecryptfs_miscdev_release, 485 + .llseek = noop_llseek, 486 }; 487 488 static struct miscdevice ecryptfs_miscdev = {
+1
fs/eventfd.c
··· 293 .poll = eventfd_poll, 294 .read = eventfd_read, 295 .write = eventfd_write, 296 }; 297 298 /**
··· 293 .poll = eventfd_poll, 294 .read = eventfd_read, 295 .write = eventfd_write, 296 + .llseek = noop_llseek, 297 }; 298 299 /**
+2 -1
fs/eventpoll.c
··· 674 /* File callbacks that implement the eventpoll file behaviour */ 675 static const struct file_operations eventpoll_fops = { 676 .release = ep_eventpoll_release, 677 - .poll = ep_eventpoll_poll 678 }; 679 680 /* Fast test to see if the file is an evenpoll file */
··· 674 /* File callbacks that implement the eventpoll file behaviour */ 675 static const struct file_operations eventpoll_fops = { 676 .release = ep_eventpoll_release, 677 + .poll = ep_eventpoll_poll, 678 + .llseek = noop_llseek, 679 }; 680 681 /* Fast test to see if the file is an evenpoll file */
+1
fs/fifo.c
··· 151 */ 152 const struct file_operations def_fifo_fops = { 153 .open = fifo_open, /* will set read_ or write_pipefifo_fops */ 154 };
··· 151 */ 152 const struct file_operations def_fifo_fops = { 153 .open = fifo_open, /* will set read_ or write_pipefifo_fops */ 154 + .llseek = noop_llseek, 155 };
+4
fs/fuse/control.c
··· 179 static const struct file_operations fuse_ctl_abort_ops = { 180 .open = nonseekable_open, 181 .write = fuse_conn_abort_write, 182 }; 183 184 static const struct file_operations fuse_ctl_waiting_ops = { 185 .open = nonseekable_open, 186 .read = fuse_conn_waiting_read, 187 }; 188 189 static const struct file_operations fuse_conn_max_background_ops = { 190 .open = nonseekable_open, 191 .read = fuse_conn_max_background_read, 192 .write = fuse_conn_max_background_write, 193 }; 194 195 static const struct file_operations fuse_conn_congestion_threshold_ops = { 196 .open = nonseekable_open, 197 .read = fuse_conn_congestion_threshold_read, 198 .write = fuse_conn_congestion_threshold_write, 199 }; 200 201 static struct dentry *fuse_ctl_add_dentry(struct dentry *parent,
··· 179 static const struct file_operations fuse_ctl_abort_ops = { 180 .open = nonseekable_open, 181 .write = fuse_conn_abort_write, 182 + .llseek = no_llseek, 183 }; 184 185 static const struct file_operations fuse_ctl_waiting_ops = { 186 .open = nonseekable_open, 187 .read = fuse_conn_waiting_read, 188 + .llseek = no_llseek, 189 }; 190 191 static const struct file_operations fuse_conn_max_background_ops = { 192 .open = nonseekable_open, 193 .read = fuse_conn_max_background_read, 194 .write = fuse_conn_max_background_write, 195 + .llseek = no_llseek, 196 }; 197 198 static const struct file_operations fuse_conn_congestion_threshold_ops = { 199 .open = nonseekable_open, 200 .read = fuse_conn_congestion_threshold_read, 201 .write = fuse_conn_congestion_threshold_write, 202 + .llseek = no_llseek, 203 }; 204 205 static struct dentry *fuse_ctl_add_dentry(struct dentry *parent,
+1
fs/fuse/cuse.c
··· 182 .unlocked_ioctl = cuse_file_ioctl, 183 .compat_ioctl = cuse_file_compat_ioctl, 184 .poll = fuse_file_poll, 185 }; 186 187
··· 182 .unlocked_ioctl = cuse_file_ioctl, 183 .compat_ioctl = cuse_file_compat_ioctl, 184 .poll = fuse_file_poll, 185 + .llseek = noop_llseek, 186 }; 187 188
+2
fs/gfs2/file.c
··· 775 .fsync = gfs2_fsync, 776 .lock = gfs2_lock, 777 .flock = gfs2_flock, 778 }; 779 780 #endif /* CONFIG_GFS2_FS_LOCKING_DLM */ ··· 802 .open = gfs2_open, 803 .release = gfs2_close, 804 .fsync = gfs2_fsync, 805 }; 806
··· 775 .fsync = gfs2_fsync, 776 .lock = gfs2_lock, 777 .flock = gfs2_flock, 778 + .llseek = default_llseek, 779 }; 780 781 #endif /* CONFIG_GFS2_FS_LOCKING_DLM */ ··· 801 .open = gfs2_open, 802 .release = gfs2_close, 803 .fsync = gfs2_fsync, 804 + .llseek = default_llseek, 805 }; 806
+1
fs/hppfs/hppfs.c
··· 598 .readdir = hppfs_readdir, 599 .open = hppfs_dir_open, 600 .fsync = hppfs_fsync, 601 }; 602 603 static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf)
··· 598 .readdir = hppfs_readdir, 599 .open = hppfs_dir_open, 600 .fsync = hppfs_fsync, 601 + .llseek = default_llseek, 602 }; 603 604 static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf)
+1
fs/hugetlbfs/inode.c
··· 674 .mmap = hugetlbfs_file_mmap, 675 .fsync = noop_fsync, 676 .get_unmapped_area = hugetlb_get_unmapped_area, 677 }; 678 679 static const struct inode_operations hugetlbfs_dir_inode_operations = {
··· 674 .mmap = hugetlbfs_file_mmap, 675 .fsync = noop_fsync, 676 .get_unmapped_area = hugetlb_get_unmapped_area, 677 + .llseek = default_llseek, 678 }; 679 680 static const struct inode_operations hugetlbfs_dir_inode_operations = {
+1
fs/logfs/dir.c
··· 827 .unlocked_ioctl = logfs_ioctl, 828 .readdir = logfs_readdir, 829 .read = generic_read_dir, 830 };
··· 827 .unlocked_ioctl = logfs_ioctl, 828 .readdir = logfs_readdir, 829 .read = generic_read_dir, 830 + .llseek = default_llseek, 831 };
+1
fs/nfsd/nfsctl.c
··· 137 .write = nfsctl_transaction_write, 138 .read = nfsctl_transaction_read, 139 .release = simple_transaction_release, 140 }; 141 142 static int exports_open(struct inode *inode, struct file *file)
··· 137 .write = nfsctl_transaction_write, 138 .read = nfsctl_transaction_read, 139 .release = simple_transaction_release, 140 + .llseek = default_llseek, 141 }; 142 143 static int exports_open(struct inode *inode, struct file *file)
+1
fs/no-block.c
··· 19 20 const struct file_operations def_blk_fops = { 21 .open = no_blkdev_open, 22 };
··· 19 20 const struct file_operations def_blk_fops = { 21 .open = no_blkdev_open, 22 + .llseek = noop_llseek, 23 };
+1
fs/notify/fanotify/fanotify_user.c
··· 433 .release = fanotify_release, 434 .unlocked_ioctl = fanotify_ioctl, 435 .compat_ioctl = fanotify_ioctl, 436 }; 437 438 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark)
··· 433 .release = fanotify_release, 434 .unlocked_ioctl = fanotify_ioctl, 435 .compat_ioctl = fanotify_ioctl, 436 + .llseek = noop_llseek, 437 }; 438 439 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark)
+1
fs/notify/inotify/inotify_user.c
··· 344 .release = inotify_release, 345 .unlocked_ioctl = inotify_ioctl, 346 .compat_ioctl = inotify_ioctl, 347 }; 348 349
··· 344 .release = inotify_release, 345 .unlocked_ioctl = inotify_ioctl, 346 .compat_ioctl = inotify_ioctl, 347 + .llseek = noop_llseek, 348 }; 349 350
+1
fs/ocfs2/dlmfs/dlmfs.c
··· 612 .poll = dlmfs_file_poll, 613 .read = dlmfs_file_read, 614 .write = dlmfs_file_write, 615 }; 616 617 static const struct inode_operations dlmfs_dir_inode_operations = {
··· 612 .poll = dlmfs_file_poll, 613 .read = dlmfs_file_read, 614 .write = dlmfs_file_write, 615 + .llseek = default_llseek, 616 }; 617 618 static const struct inode_operations dlmfs_dir_inode_operations = {
+1
fs/ocfs2/stack_user.c
··· 625 .read = ocfs2_control_read, 626 .write = ocfs2_control_write, 627 .owner = THIS_MODULE, 628 }; 629 630 static struct miscdevice ocfs2_control_device = {
··· 625 .read = ocfs2_control_read, 626 .write = ocfs2_control_write, 627 .owner = THIS_MODULE, 628 + .llseek = default_llseek, 629 }; 630 631 static struct miscdevice ocfs2_control_device = {
+8
fs/proc/base.c
··· 1151 static const struct file_operations proc_oom_score_adj_operations = { 1152 .read = oom_score_adj_read, 1153 .write = oom_score_adj_write, 1154 }; 1155 1156 #ifdef CONFIG_AUDITSYSCALL ··· 2040 static const struct file_operations proc_fdinfo_file_operations = { 2041 .open = nonseekable_open, 2042 .read = proc_fdinfo_read, 2043 }; 2044 2045 static const struct file_operations proc_fd_operations = { 2046 .read = generic_read_dir, 2047 .readdir = proc_readfd, 2048 }; 2049 2050 /* ··· 2115 static const struct file_operations proc_fdinfo_operations = { 2116 .read = generic_read_dir, 2117 .readdir = proc_readfdinfo, 2118 }; 2119 2120 /* ··· 2347 static const struct file_operations proc_attr_dir_operations = { 2348 .read = generic_read_dir, 2349 .readdir = proc_attr_dir_readdir, 2350 }; 2351 2352 static struct dentry *proc_attr_dir_lookup(struct inode *dir, ··· 2756 static const struct file_operations proc_tgid_base_operations = { 2757 .read = generic_read_dir, 2758 .readdir = proc_tgid_base_readdir, 2759 }; 2760 2761 static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd){ ··· 3094 static const struct file_operations proc_tid_base_operations = { 3095 .read = generic_read_dir, 3096 .readdir = proc_tid_base_readdir, 3097 }; 3098 3099 static const struct inode_operations proc_tid_base_inode_operations = { ··· 3331 static const struct file_operations proc_task_operations = { 3332 .read = generic_read_dir, 3333 .readdir = proc_task_readdir, 3334 };
··· 1151 static const struct file_operations proc_oom_score_adj_operations = { 1152 .read = oom_score_adj_read, 1153 .write = oom_score_adj_write, 1154 + .llseek = default_llseek, 1155 }; 1156 1157 #ifdef CONFIG_AUDITSYSCALL ··· 2039 static const struct file_operations proc_fdinfo_file_operations = { 2040 .open = nonseekable_open, 2041 .read = proc_fdinfo_read, 2042 + .llseek = no_llseek, 2043 }; 2044 2045 static const struct file_operations proc_fd_operations = { 2046 .read = generic_read_dir, 2047 .readdir = proc_readfd, 2048 + .llseek = default_llseek, 2049 }; 2050 2051 /* ··· 2112 static const struct file_operations proc_fdinfo_operations = { 2113 .read = generic_read_dir, 2114 .readdir = proc_readfdinfo, 2115 + .llseek = default_llseek, 2116 }; 2117 2118 /* ··· 2343 static const struct file_operations proc_attr_dir_operations = { 2344 .read = generic_read_dir, 2345 .readdir = proc_attr_dir_readdir, 2346 + .llseek = default_llseek, 2347 }; 2348 2349 static struct dentry *proc_attr_dir_lookup(struct inode *dir, ··· 2751 static const struct file_operations proc_tgid_base_operations = { 2752 .read = generic_read_dir, 2753 .readdir = proc_tgid_base_readdir, 2754 + .llseek = default_llseek, 2755 }; 2756 2757 static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd){ ··· 3088 static const struct file_operations proc_tid_base_operations = { 3089 .read = generic_read_dir, 3090 .readdir = proc_tid_base_readdir, 3091 + .llseek = default_llseek, 3092 }; 3093 3094 static const struct inode_operations proc_tid_base_inode_operations = { ··· 3324 static const struct file_operations proc_task_operations = { 3325 .read = generic_read_dir, 3326 .readdir = proc_task_readdir, 3327 + .llseek = default_llseek, 3328 };
+1
fs/proc/proc_sysctl.c
··· 364 static const struct file_operations proc_sys_file_operations = { 365 .read = proc_sys_read, 366 .write = proc_sys_write, 367 }; 368 369 static const struct file_operations proc_sys_dir_file_operations = {
··· 364 static const struct file_operations proc_sys_file_operations = { 365 .read = proc_sys_read, 366 .write = proc_sys_write, 367 + .llseek = default_llseek, 368 }; 369 370 static const struct file_operations proc_sys_dir_file_operations = {
+1
fs/proc/root.c
··· 179 static const struct file_operations proc_root_operations = { 180 .read = generic_read_dir, 181 .readdir = proc_root_readdir, 182 }; 183 184 /*
··· 179 static const struct file_operations proc_root_operations = { 180 .read = generic_read_dir, 181 .readdir = proc_root_readdir, 182 + .llseek = default_llseek, 183 }; 184 185 /*
+1
fs/proc/task_mmu.c
··· 539 540 const struct file_operations proc_clear_refs_operations = { 541 .write = clear_refs_write, 542 }; 543 544 struct pagemapread {
··· 539 540 const struct file_operations proc_clear_refs_operations = { 541 .write = clear_refs_write, 542 + .llseek = noop_llseek, 543 }; 544 545 struct pagemapread {
+2 -3
fs/read_write.c
··· 124 { 125 loff_t retval; 126 127 - lock_kernel(); 128 switch (origin) { 129 case SEEK_END: 130 offset += i_size_read(file->f_path.dentry->d_inode); ··· 145 retval = offset; 146 } 147 out: 148 - unlock_kernel(); 149 return retval; 150 } 151 EXPORT_SYMBOL(default_llseek); ··· 156 157 fn = no_llseek; 158 if (file->f_mode & FMODE_LSEEK) { 159 - fn = default_llseek; 160 if (file->f_op && file->f_op->llseek) 161 fn = file->f_op->llseek; 162 }
··· 124 { 125 loff_t retval; 126 127 + mutex_lock(&file->f_dentry->d_inode->i_mutex); 128 switch (origin) { 129 case SEEK_END: 130 offset += i_size_read(file->f_path.dentry->d_inode); ··· 145 retval = offset; 146 } 147 out: 148 + mutex_unlock(&file->f_dentry->d_inode->i_mutex); 149 return retval; 150 } 151 EXPORT_SYMBOL(default_llseek); ··· 156 157 fn = no_llseek; 158 if (file->f_mode & FMODE_LSEEK) { 159 if (file->f_op && file->f_op->llseek) 160 fn = file->f_op->llseek; 161 }
+1
fs/romfs/super.c
··· 282 static const struct file_operations romfs_dir_operations = { 283 .read = generic_read_dir, 284 .readdir = romfs_readdir, 285 }; 286 287 static const struct inode_operations romfs_dir_inode_operations = {
··· 282 static const struct file_operations romfs_dir_operations = { 283 .read = generic_read_dir, 284 .readdir = romfs_readdir, 285 + .llseek = default_llseek, 286 }; 287 288 static const struct inode_operations romfs_dir_inode_operations = {
+1
fs/signalfd.c
··· 206 .release = signalfd_release, 207 .poll = signalfd_poll, 208 .read = signalfd_read, 209 }; 210 211 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask,
··· 206 .release = signalfd_release, 207 .poll = signalfd_poll, 208 .read = signalfd_read, 209 + .llseek = noop_llseek, 210 }; 211 212 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask,
+2 -1
fs/squashfs/dir.c
··· 230 231 const struct file_operations squashfs_dir_ops = { 232 .read = generic_read_dir, 233 - .readdir = squashfs_readdir 234 };
··· 230 231 const struct file_operations squashfs_dir_ops = { 232 .read = generic_read_dir, 233 + .readdir = squashfs_readdir, 234 + .llseek = default_llseek, 235 };
+1
fs/timerfd.c
··· 144 .release = timerfd_release, 145 .poll = timerfd_poll, 146 .read = timerfd_read, 147 }; 148 149 static struct file *timerfd_fget(int fd)
··· 144 .release = timerfd_release, 145 .poll = timerfd_poll, 146 .read = timerfd_read, 147 + .llseek = noop_llseek, 148 }; 149 150 static struct file *timerfd_fget(int fd)
+1
fs/ubifs/debug.c
··· 2625 .open = open_debugfs_file, 2626 .write = write_debugfs_file, 2627 .owner = THIS_MODULE, 2628 }; 2629 2630 /**
··· 2625 .open = open_debugfs_file, 2626 .write = write_debugfs_file, 2627 .owner = THIS_MODULE, 2628 + .llseek = default_llseek, 2629 }; 2630 2631 /**
+1
include/linux/fs.h
··· 2462 .release = simple_attr_release, \ 2463 .read = simple_attr_read, \ 2464 .write = simple_attr_write, \ 2465 }; 2466 2467 static inline void __attribute__((format(printf, 1, 2)))
··· 2462 .release = simple_attr_release, \ 2463 .read = simple_attr_read, \ 2464 .write = simple_attr_write, \ 2465 + .llseek = generic_file_llseek, \ 2466 }; 2467 2468 static inline void __attribute__((format(printf, 1, 2)))
+1
ipc/mqueue.c
··· 1219 .flush = mqueue_flush_file, 1220 .poll = mqueue_poll_file, 1221 .read = mqueue_read_file, 1222 }; 1223 1224 static const struct super_operations mqueue_super_ops = {
··· 1219 .flush = mqueue_flush_file, 1220 .poll = mqueue_poll_file, 1221 .read = mqueue_read_file, 1222 + .llseek = default_llseek, 1223 }; 1224 1225 static const struct super_operations mqueue_super_ops = {
+2
ipc/shm.c
··· 298 #ifndef CONFIG_MMU 299 .get_unmapped_area = shm_get_unmapped_area, 300 #endif 301 }; 302 303 static const struct file_operations shm_file_operations_huge = { ··· 306 .fsync = shm_fsync, 307 .release = shm_release, 308 .get_unmapped_area = shm_get_unmapped_area, 309 }; 310 311 int is_file_shm_hugepages(struct file *file)
··· 298 #ifndef CONFIG_MMU 299 .get_unmapped_area = shm_get_unmapped_area, 300 #endif 301 + .llseek = noop_llseek, 302 }; 303 304 static const struct file_operations shm_file_operations_huge = { ··· 305 .fsync = shm_fsync, 306 .release = shm_release, 307 .get_unmapped_area = shm_get_unmapped_area, 308 + .llseek = noop_llseek, 309 }; 310 311 int is_file_shm_hugepages(struct file *file)
+1
kernel/configs.c
··· 66 static const struct file_operations ikconfig_file_ops = { 67 .owner = THIS_MODULE, 68 .read = ikconfig_read_current, 69 }; 70 71 static int __init ikconfig_init(void)
··· 66 static const struct file_operations ikconfig_file_ops = { 67 .owner = THIS_MODULE, 68 .read = ikconfig_read_current, 69 + .llseek = default_llseek, 70 }; 71 72 static int __init ikconfig_init(void)
+1
kernel/gcov/fs.c
··· 561 static const struct file_operations gcov_reset_fops = { 562 .write = reset_write, 563 .read = reset_read, 564 }; 565 566 /*
··· 561 static const struct file_operations gcov_reset_fops = { 562 .write = reset_write, 563 .read = reset_read, 564 + .llseek = noop_llseek, 565 }; 566 567 /*
+1
kernel/kprobes.c
··· 2000 static const struct file_operations fops_kp = { 2001 .read = read_enabled_file_bool, 2002 .write = write_enabled_file_bool, 2003 }; 2004 2005 static int __kprobes debugfs_kprobe_init(void)
··· 2000 static const struct file_operations fops_kp = { 2001 .read = read_enabled_file_bool, 2002 .write = write_enabled_file_bool, 2003 + .llseek = default_llseek, 2004 }; 2005 2006 static int __kprobes debugfs_kprobe_init(void)
+1
kernel/pm_qos_params.c
··· 110 .write = pm_qos_power_write, 111 .open = pm_qos_power_open, 112 .release = pm_qos_power_release, 113 }; 114 115 /* unlocked internal variant */
··· 110 .write = pm_qos_power_write, 111 .open = pm_qos_power_open, 112 .release = pm_qos_power_release, 113 + .llseek = noop_llseek, 114 }; 115 116 /* unlocked internal variant */
+1
kernel/profile.c
··· 555 static const struct file_operations proc_profile_operations = { 556 .read = read_profile, 557 .write = write_profile, 558 }; 559 560 #ifdef CONFIG_SMP
··· 555 static const struct file_operations proc_profile_operations = { 556 .read = read_profile, 557 .write = write_profile, 558 + .llseek = default_llseek, 559 }; 560 561 #ifdef CONFIG_SMP
+2
kernel/trace/blktrace.c
··· 325 .owner = THIS_MODULE, 326 .open = blk_dropped_open, 327 .read = blk_dropped_read, 328 }; 329 330 static int blk_msg_open(struct inode *inode, struct file *filp) ··· 365 .owner = THIS_MODULE, 366 .open = blk_msg_open, 367 .write = blk_msg_write, 368 }; 369 370 /*
··· 325 .owner = THIS_MODULE, 326 .open = blk_dropped_open, 327 .read = blk_dropped_read, 328 + .llseek = default_llseek, 329 }; 330 331 static int blk_msg_open(struct inode *inode, struct file *filp) ··· 364 .owner = THIS_MODULE, 365 .open = blk_msg_open, 366 .write = blk_msg_write, 367 + .llseek = noop_llseek, 368 }; 369 370 /*
+2
kernel/trace/ftrace.c
··· 800 .open = tracing_open_generic, 801 .read = ftrace_profile_read, 802 .write = ftrace_profile_write, 803 }; 804 805 /* used to initialize the real stat files */ ··· 2670 .read = seq_read, 2671 .write = ftrace_graph_write, 2672 .release = ftrace_graph_release, 2673 }; 2674 #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ 2675
··· 800 .open = tracing_open_generic, 801 .read = ftrace_profile_read, 802 .write = ftrace_profile_write, 803 + .llseek = default_llseek, 804 }; 805 806 /* used to initialize the real stat files */ ··· 2669 .read = seq_read, 2670 .write = ftrace_graph_write, 2671 .release = ftrace_graph_release, 2672 + .llseek = seq_lseek, 2673 }; 2674 #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ 2675
+1
kernel/trace/ring_buffer.c
··· 3974 .open = tracing_open_generic, 3975 .read = rb_simple_read, 3976 .write = rb_simple_write, 3977 }; 3978 3979
··· 3974 .open = tracing_open_generic, 3975 .read = rb_simple_read, 3976 .write = rb_simple_write, 3977 + .llseek = default_llseek, 3978 }; 3979 3980
+6
kernel/trace/trace_events.c
··· 932 .open = tracing_open_generic, 933 .read = event_enable_read, 934 .write = event_enable_write, 935 }; 936 937 static const struct file_operations ftrace_event_format_fops = { ··· 945 static const struct file_operations ftrace_event_id_fops = { 946 .open = tracing_open_generic, 947 .read = event_id_read, 948 }; 949 950 static const struct file_operations ftrace_event_filter_fops = { 951 .open = tracing_open_generic, 952 .read = event_filter_read, 953 .write = event_filter_write, 954 }; 955 956 static const struct file_operations ftrace_subsystem_filter_fops = { 957 .open = tracing_open_generic, 958 .read = subsystem_filter_read, 959 .write = subsystem_filter_write, 960 }; 961 962 static const struct file_operations ftrace_system_enable_fops = { 963 .open = tracing_open_generic, 964 .read = system_enable_read, 965 .write = system_enable_write, 966 }; 967 968 static const struct file_operations ftrace_show_header_fops = { 969 .open = tracing_open_generic, 970 .read = show_header, 971 }; 972 973 static struct dentry *event_trace_events_dir(void)
··· 932 .open = tracing_open_generic, 933 .read = event_enable_read, 934 .write = event_enable_write, 935 + .llseek = default_llseek, 936 }; 937 938 static const struct file_operations ftrace_event_format_fops = { ··· 944 static const struct file_operations ftrace_event_id_fops = { 945 .open = tracing_open_generic, 946 .read = event_id_read, 947 + .llseek = default_llseek, 948 }; 949 950 static const struct file_operations ftrace_event_filter_fops = { 951 .open = tracing_open_generic, 952 .read = event_filter_read, 953 .write = event_filter_write, 954 + .llseek = default_llseek, 955 }; 956 957 static const struct file_operations ftrace_subsystem_filter_fops = { 958 .open = tracing_open_generic, 959 .read = subsystem_filter_read, 960 .write = subsystem_filter_write, 961 + .llseek = default_llseek, 962 }; 963 964 static const struct file_operations ftrace_system_enable_fops = { 965 .open = tracing_open_generic, 966 .read = system_enable_read, 967 .write = system_enable_write, 968 + .llseek = default_llseek, 969 }; 970 971 static const struct file_operations ftrace_show_header_fops = { 972 .open = tracing_open_generic, 973 .read = show_header, 974 + .llseek = default_llseek, 975 }; 976 977 static struct dentry *event_trace_events_dir(void)
+1
kernel/trace/trace_stack.c
··· 195 .open = tracing_open_generic, 196 .read = stack_max_size_read, 197 .write = stack_max_size_write, 198 }; 199 200 static void *
··· 195 .open = tracing_open_generic, 196 .read = stack_max_size_read, 197 .write = stack_max_size_write, 198 + .llseek = default_llseek, 199 }; 200 201 static void *
+1
lib/dma-debug.c
··· 590 static const struct file_operations filter_fops = { 591 .read = filter_read, 592 .write = filter_write, 593 }; 594 595 static int dma_debug_fs_init(void)
··· 590 static const struct file_operations filter_fops = { 591 .read = filter_read, 592 .write = filter_write, 593 + .llseek = default_llseek, 594 }; 595 596 static int dma_debug_fs_init(void)
+1
net/atm/proc.c
··· 38 static const struct file_operations proc_atm_dev_ops = { 39 .owner = THIS_MODULE, 40 .read = proc_dev_atm_read, 41 }; 42 43 static void add_stats(struct seq_file *seq, const char *aal,
··· 38 static const struct file_operations proc_atm_dev_ops = { 39 .owner = THIS_MODULE, 40 .read = proc_dev_atm_read, 41 + .llseek = noop_llseek, 42 }; 43 44 static void add_stats(struct seq_file *seq, const char *aal,
+1
net/dccp/probe.c
··· 149 .owner = THIS_MODULE, 150 .open = dccpprobe_open, 151 .read = dccpprobe_read, 152 }; 153 154 static __init int dccpprobe_init(void)
··· 149 .owner = THIS_MODULE, 150 .open = dccpprobe_open, 151 .read = dccpprobe_read, 152 + .llseek = noop_llseek, 153 }; 154 155 static __init int dccpprobe_init(void)
+1
net/ipv4/tcp_probe.c
··· 214 .owner = THIS_MODULE, 215 .open = tcpprobe_open, 216 .read = tcpprobe_read, 217 }; 218 219 static __init int tcpprobe_init(void)
··· 214 .owner = THIS_MODULE, 215 .open = tcpprobe_open, 216 .read = tcpprobe_read, 217 + .llseek = noop_llseek, 218 }; 219 220 static __init int tcpprobe_init(void)
+15 -6
net/mac80211/debugfs.c
··· 36 static const struct file_operations name## _ops = { \ 37 .read = name## _read, \ 38 .open = mac80211_open_file_generic, \ 39 }; 40 41 #define DEBUGFS_ADD(name) \ ··· 102 static const struct file_operations tsf_ops = { 103 .read = tsf_read, 104 .write = tsf_write, 105 - .open = mac80211_open_file_generic 106 }; 107 108 static ssize_t reset_write(struct file *file, const char __user *user_buf, ··· 122 static const struct file_operations reset_ops = { 123 .write = reset_write, 124 .open = mac80211_open_file_generic, 125 }; 126 127 static ssize_t noack_read(struct file *file, char __user *user_buf, ··· 158 static const struct file_operations noack_ops = { 159 .read = noack_read, 160 .write = noack_write, 161 - .open = mac80211_open_file_generic 162 }; 163 164 static ssize_t uapsd_queues_read(struct file *file, char __user *user_buf, ··· 205 static const struct file_operations uapsd_queues_ops = { 206 .read = uapsd_queues_read, 207 .write = uapsd_queues_write, 208 - .open = mac80211_open_file_generic 209 }; 210 211 static ssize_t uapsd_max_sp_len_read(struct file *file, char __user *user_buf, ··· 252 static const struct file_operations uapsd_max_sp_len_ops = { 253 .read = uapsd_max_sp_len_read, 254 .write = uapsd_max_sp_len_write, 255 - .open = mac80211_open_file_generic 256 }; 257 258 static ssize_t channel_type_read(struct file *file, char __user *user_buf, ··· 285 286 static const struct file_operations channel_type_ops = { 287 .read = channel_type_read, 288 - .open = mac80211_open_file_generic 289 }; 290 291 static ssize_t queues_read(struct file *file, char __user *user_buf, ··· 309 310 static const struct file_operations queues_ops = { 311 .read = queues_read, 312 - .open = mac80211_open_file_generic 313 }; 314 315 /* statistics stuff */ ··· 354 static const struct file_operations stats_ ##name## _ops = { \ 355 .read = stats_ ##name## _read, \ 356 .open = mac80211_open_file_generic, \ 357 }; 358 359 #define DEBUGFS_STATS_ADD(name, field) \
··· 36 static const struct file_operations name## _ops = { \ 37 .read = name## _read, \ 38 .open = mac80211_open_file_generic, \ 39 + .llseek = generic_file_llseek, \ 40 }; 41 42 #define DEBUGFS_ADD(name) \ ··· 101 static const struct file_operations tsf_ops = { 102 .read = tsf_read, 103 .write = tsf_write, 104 + .open = mac80211_open_file_generic, 105 + .llseek = default_llseek, 106 }; 107 108 static ssize_t reset_write(struct file *file, const char __user *user_buf, ··· 120 static const struct file_operations reset_ops = { 121 .write = reset_write, 122 .open = mac80211_open_file_generic, 123 + .llseek = noop_llseek, 124 }; 125 126 static ssize_t noack_read(struct file *file, char __user *user_buf, ··· 155 static const struct file_operations noack_ops = { 156 .read = noack_read, 157 .write = noack_write, 158 + .open = mac80211_open_file_generic, 159 + .llseek = default_llseek, 160 }; 161 162 static ssize_t uapsd_queues_read(struct file *file, char __user *user_buf, ··· 201 static const struct file_operations uapsd_queues_ops = { 202 .read = uapsd_queues_read, 203 .write = uapsd_queues_write, 204 + .open = mac80211_open_file_generic, 205 + .llseek = default_llseek, 206 }; 207 208 static ssize_t uapsd_max_sp_len_read(struct file *file, char __user *user_buf, ··· 247 static const struct file_operations uapsd_max_sp_len_ops = { 248 .read = uapsd_max_sp_len_read, 249 .write = uapsd_max_sp_len_write, 250 + .open = mac80211_open_file_generic, 251 + .llseek = default_llseek, 252 }; 253 254 static ssize_t channel_type_read(struct file *file, char __user *user_buf, ··· 279 280 static const struct file_operations channel_type_ops = { 281 .read = channel_type_read, 282 + .open = mac80211_open_file_generic, 283 + .llseek = default_llseek, 284 }; 285 286 static ssize_t queues_read(struct file *file, char __user *user_buf, ··· 302 303 static const struct file_operations queues_ops = { 304 .read = queues_read, 305 + .open = mac80211_open_file_generic, 306 + .llseek = default_llseek, 307 }; 308 309 /* statistics stuff */ ··· 346 static const struct file_operations stats_ ##name## _ops = { \ 347 .read = stats_ ##name## _read, \ 348 .open = mac80211_open_file_generic, \ 349 + .llseek = generic_file_llseek, \ 350 }; 351 352 #define DEBUGFS_STATS_ADD(name, field) \
+2
net/mac80211/debugfs_key.c
··· 32 static const struct file_operations key_ ##name## _ops = { \ 33 .read = key_##name##_read, \ 34 .open = mac80211_open_file_generic, \ 35 } 36 37 #define KEY_FILE(name, format) \ ··· 47 static const struct file_operations key_ ##name## _ops = { \ 48 .read = key_conf_##name##_read, \ 49 .open = mac80211_open_file_generic, \ 50 } 51 52 #define KEY_CONF_FILE(name, format) \
··· 32 static const struct file_operations key_ ##name## _ops = { \ 33 .read = key_##name##_read, \ 34 .open = mac80211_open_file_generic, \ 35 + .llseek = generic_file_llseek, \ 36 } 37 38 #define KEY_FILE(name, format) \ ··· 46 static const struct file_operations key_ ##name## _ops = { \ 47 .read = key_conf_##name##_read, \ 48 .open = mac80211_open_file_generic, \ 49 + .llseek = generic_file_llseek, \ 50 } 51 52 #define KEY_CONF_FILE(name, format) \
+1
net/mac80211/debugfs_netdev.c
··· 121 .read = ieee80211_if_read_##name, \ 122 .write = (_write), \ 123 .open = mac80211_open_file_generic, \ 124 } 125 126 #define __IEEE80211_IF_FILE_W(name) \
··· 121 .read = ieee80211_if_read_##name, \ 122 .write = (_write), \ 123 .open = mac80211_open_file_generic, \ 124 + .llseek = generic_file_llseek, \ 125 } 126 127 #define __IEEE80211_IF_FILE_W(name) \
+2
net/mac80211/debugfs_sta.c
··· 36 static const struct file_operations sta_ ##name## _ops = { \ 37 .read = sta_##name##_read, \ 38 .open = mac80211_open_file_generic, \ 39 } 40 41 #define STA_OPS_RW(name) \ ··· 44 .read = sta_##name##_read, \ 45 .write = sta_##name##_write, \ 46 .open = mac80211_open_file_generic, \ 47 } 48 49 #define STA_FILE(name, field, format) \
··· 36 static const struct file_operations sta_ ##name## _ops = { \ 37 .read = sta_##name##_read, \ 38 .open = mac80211_open_file_generic, \ 39 + .llseek = generic_file_llseek, \ 40 } 41 42 #define STA_OPS_RW(name) \ ··· 43 .read = sta_##name##_read, \ 44 .write = sta_##name##_write, \ 45 .open = mac80211_open_file_generic, \ 46 + .llseek = generic_file_llseek, \ 47 } 48 49 #define STA_FILE(name, field, format) \
+1
net/mac80211/rate.c
··· 145 static const struct file_operations rcname_ops = { 146 .read = rcname_read, 147 .open = mac80211_open_file_generic, 148 }; 149 #endif 150
··· 145 static const struct file_operations rcname_ops = { 146 .read = rcname_read, 147 .open = mac80211_open_file_generic, 148 + .llseek = default_llseek, 149 }; 150 #endif 151
+1
net/mac80211/rc80211_minstrel_debugfs.c
··· 122 .open = minstrel_stats_open, 123 .read = minstrel_stats_read, 124 .release = minstrel_stats_release, 125 }; 126 127 void
··· 122 .open = minstrel_stats_open, 123 .read = minstrel_stats_read, 124 .release = minstrel_stats_release, 125 + .llseek = default_llseek, 126 }; 127 128 void
+2 -1
net/mac80211/rc80211_minstrel_ht_debugfs.c
··· 90 MINSTREL_TRUNC(mi->avg_ampdu_len * 10) % 10); 91 ms->len = p - ms->buf; 92 93 - return 0; 94 } 95 96 static const struct file_operations minstrel_ht_stat_fops = { ··· 98 .open = minstrel_ht_stats_open, 99 .read = minstrel_stats_read, 100 .release = minstrel_stats_release, 101 }; 102 103 void
··· 90 MINSTREL_TRUNC(mi->avg_ampdu_len * 10) % 10); 91 ms->len = p - ms->buf; 92 93 + return nonseekable_open(inode, file); 94 } 95 96 static const struct file_operations minstrel_ht_stat_fops = { ··· 98 .open = minstrel_ht_stats_open, 99 .read = minstrel_stats_read, 100 .release = minstrel_stats_release, 101 + .llseek = no_llseek, 102 }; 103 104 void
+1
net/mac80211/rc80211_pid_debugfs.c
··· 206 .poll = rate_control_pid_events_poll, 207 .open = rate_control_pid_events_open, 208 .release = rate_control_pid_events_release, 209 }; 210 211 void rate_control_pid_add_sta_debugfs(void *priv, void *priv_sta,
··· 206 .poll = rate_control_pid_events_poll, 207 .open = rate_control_pid_events_open, 208 .release = rate_control_pid_events_release, 209 + .llseek = noop_llseek, 210 }; 211 212 void rate_control_pid_add_sta_debugfs(void *priv, void *priv_sta,
+1
net/netfilter/xt_recent.c
··· 567 .write = recent_mt_proc_write, 568 .release = seq_release_private, 569 .owner = THIS_MODULE, 570 }; 571 572 static int __net_init recent_proc_net_init(struct net *net)
··· 567 .write = recent_mt_proc_write, 568 .release = seq_release_private, 569 .owner = THIS_MODULE, 570 + .llseek = seq_lseek, 571 }; 572 573 static int __net_init recent_proc_net_init(struct net *net)
+1
net/nonet.c
··· 22 const struct file_operations bad_sock_fops = { 23 .owner = THIS_MODULE, 24 .open = sock_no_open, 25 };
··· 22 const struct file_operations bad_sock_fops = { 23 .owner = THIS_MODULE, 24 .open = sock_no_open, 25 + .llseek = noop_llseek, 26 };
+1
net/rfkill/core.c
··· 1241 .unlocked_ioctl = rfkill_fop_ioctl, 1242 .compat_ioctl = rfkill_fop_ioctl, 1243 #endif 1244 }; 1245 1246 static struct miscdevice rfkill_miscdev = {
··· 1241 .unlocked_ioctl = rfkill_fop_ioctl, 1242 .compat_ioctl = rfkill_fop_ioctl, 1243 #endif 1244 + .llseek = no_llseek, 1245 }; 1246 1247 static struct miscdevice rfkill_miscdev = {
+1
net/sctp/probe.c
··· 117 .owner = THIS_MODULE, 118 .open = sctpprobe_open, 119 .read = sctpprobe_read, 120 }; 121 122 sctp_disposition_t jsctp_sf_eat_sack(const struct sctp_endpoint *ep,
··· 117 .owner = THIS_MODULE, 118 .open = sctpprobe_open, 119 .read = sctpprobe_read, 120 + .llseek = noop_llseek, 121 }; 122 123 sctp_disposition_t jsctp_sf_eat_sack(const struct sctp_endpoint *ep,
+1
net/socket.c
··· 502 const struct file_operations bad_sock_fops = { 503 .owner = THIS_MODULE, 504 .open = sock_no_open, 505 }; 506 507 /**
··· 502 const struct file_operations bad_sock_fops = { 503 .owner = THIS_MODULE, 504 .open = sock_no_open, 505 + .llseek = noop_llseek, 506 }; 507 508 /**
+2
net/sunrpc/cache.c
··· 1435 .read = read_flush_procfs, 1436 .write = write_flush_procfs, 1437 .release = release_flush_procfs, 1438 }; 1439 1440 static void remove_cache_proc_entries(struct cache_detail *cd) ··· 1636 .read = read_flush_pipefs, 1637 .write = write_flush_pipefs, 1638 .release = release_flush_pipefs, 1639 }; 1640 1641 int sunrpc_cache_register_pipefs(struct dentry *parent,
··· 1435 .read = read_flush_procfs, 1436 .write = write_flush_procfs, 1437 .release = release_flush_procfs, 1438 + .llseek = no_llseek, 1439 }; 1440 1441 static void remove_cache_proc_entries(struct cache_detail *cd) ··· 1635 .read = read_flush_pipefs, 1636 .write = write_flush_pipefs, 1637 .release = release_flush_pipefs, 1638 + .llseek = no_llseek, 1639 }; 1640 1641 int sunrpc_cache_register_pipefs(struct dentry *parent,
+2
net/wireless/debugfs.c
··· 34 static const struct file_operations name## _ops = { \ 35 .read = name## _read, \ 36 .open = cfg80211_open_file_generic, \ 37 }; 38 39 DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d", ··· 103 static const struct file_operations ht40allow_map_ops = { 104 .read = ht40allow_map_read, 105 .open = cfg80211_open_file_generic, 106 }; 107 108 #define DEBUGFS_ADD(name) \
··· 34 static const struct file_operations name## _ops = { \ 35 .read = name## _read, \ 36 .open = cfg80211_open_file_generic, \ 37 + .llseek = generic_file_llseek, \ 38 }; 39 40 DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d", ··· 102 static const struct file_operations ht40allow_map_ops = { 103 .read = ht40allow_map_read, 104 .open = cfg80211_open_file_generic, 105 + .llseek = default_llseek, 106 }; 107 108 #define DEBUGFS_ADD(name) \
+1
samples/kfifo/bytestream-example.c
··· 148 .owner = THIS_MODULE, 149 .read = fifo_read, 150 .write = fifo_write, 151 }; 152 153 static int __init example_init(void)
··· 148 .owner = THIS_MODULE, 149 .read = fifo_read, 150 .write = fifo_write, 151 + .llseek = noop_llseek, 152 }; 153 154 static int __init example_init(void)
+1
samples/kfifo/inttype-example.c
··· 141 .owner = THIS_MODULE, 142 .read = fifo_read, 143 .write = fifo_write, 144 }; 145 146 static int __init example_init(void)
··· 141 .owner = THIS_MODULE, 142 .read = fifo_read, 143 .write = fifo_write, 144 + .llseek = noop_llseek, 145 }; 146 147 static int __init example_init(void)
+1
samples/kfifo/record-example.c
··· 155 .owner = THIS_MODULE, 156 .read = fifo_read, 157 .write = fifo_write, 158 }; 159 160 static int __init example_init(void)
··· 155 .owner = THIS_MODULE, 156 .read = fifo_read, 157 .write = fifo_write, 158 + .llseek = noop_llseek, 159 }; 160 161 static int __init example_init(void)
+1
samples/tracepoints/tracepoint-sample.c
··· 30 31 static const struct file_operations mark_ops = { 32 .open = my_open, 33 }; 34 35 static int __init sample_init(void)
··· 30 31 static const struct file_operations mark_ops = { 32 .open = my_open, 33 + .llseek = noop_llseek, 34 }; 35 36 static int __init sample_init(void)
+6 -3
security/apparmor/apparmorfs.c
··· 88 } 89 90 static const struct file_operations aa_fs_profile_load = { 91 - .write = profile_load 92 }; 93 94 /* .replace file hook fn to load and/or replace policy */ ··· 110 } 111 112 static const struct file_operations aa_fs_profile_replace = { 113 - .write = profile_replace 114 }; 115 116 /* .remove file hook fn to remove loaded policy */ ··· 138 } 139 140 static const struct file_operations aa_fs_profile_remove = { 141 - .write = profile_remove 142 }; 143 144 /** Base file system setup **/
··· 88 } 89 90 static const struct file_operations aa_fs_profile_load = { 91 + .write = profile_load, 92 + .llseek = default_llseek, 93 }; 94 95 /* .replace file hook fn to load and/or replace policy */ ··· 109 } 110 111 static const struct file_operations aa_fs_profile_replace = { 112 + .write = profile_replace, 113 + .llseek = default_llseek, 114 }; 115 116 /* .remove file hook fn to remove loaded policy */ ··· 136 } 137 138 static const struct file_operations aa_fs_profile_remove = { 139 + .write = profile_remove, 140 + .llseek = default_llseek, 141 }; 142 143 /** Base file system setup **/
+1
security/inode.c
··· 53 .read = default_read_file, 54 .write = default_write_file, 55 .open = default_open, 56 }; 57 58 static struct inode *get_inode(struct super_block *sb, int mode, dev_t dev)
··· 53 .read = default_read_file, 54 .write = default_write_file, 55 .open = default_open, 56 + .llseek = noop_llseek, 57 }; 58 59 static struct inode *get_inode(struct super_block *sb, int mode, dev_t dev)
+5
security/smack/smackfs.c
··· 968 static const struct file_operations smk_doi_ops = { 969 .read = smk_read_doi, 970 .write = smk_write_doi, 971 }; 972 973 /** ··· 1032 static const struct file_operations smk_direct_ops = { 1033 .read = smk_read_direct, 1034 .write = smk_write_direct, 1035 }; 1036 1037 /** ··· 1114 static const struct file_operations smk_ambient_ops = { 1115 .read = smk_read_ambient, 1116 .write = smk_write_ambient, 1117 }; 1118 1119 /** ··· 1194 static const struct file_operations smk_onlycap_ops = { 1195 .read = smk_read_onlycap, 1196 .write = smk_write_onlycap, 1197 }; 1198 1199 /** ··· 1259 static const struct file_operations smk_logging_ops = { 1260 .read = smk_read_logging, 1261 .write = smk_write_logging, 1262 }; 1263 /** 1264 * smk_fill_super - fill the /smackfs superblock
··· 968 static const struct file_operations smk_doi_ops = { 969 .read = smk_read_doi, 970 .write = smk_write_doi, 971 + .llseek = default_llseek, 972 }; 973 974 /** ··· 1031 static const struct file_operations smk_direct_ops = { 1032 .read = smk_read_direct, 1033 .write = smk_write_direct, 1034 + .llseek = default_llseek, 1035 }; 1036 1037 /** ··· 1112 static const struct file_operations smk_ambient_ops = { 1113 .read = smk_read_ambient, 1114 .write = smk_write_ambient, 1115 + .llseek = default_llseek, 1116 }; 1117 1118 /** ··· 1191 static const struct file_operations smk_onlycap_ops = { 1192 .read = smk_read_onlycap, 1193 .write = smk_write_onlycap, 1194 + .llseek = default_llseek, 1195 }; 1196 1197 /** ··· 1255 static const struct file_operations smk_logging_ops = { 1256 .read = smk_read_logging, 1257 .write = smk_write_logging, 1258 + .llseek = default_llseek, 1259 }; 1260 /** 1261 * smk_fill_super - fill the /smackfs superblock
+1
sound/core/seq/oss/seq_oss.c
··· 220 .poll = odev_poll, 221 .unlocked_ioctl = odev_ioctl, 222 .compat_ioctl = odev_ioctl_compat, 223 }; 224 225 static int __init
··· 220 .poll = odev_poll, 221 .unlocked_ioctl = odev_ioctl, 222 .compat_ioctl = odev_ioctl_compat, 223 + .llseek = noop_llseek, 224 }; 225 226 static int __init
+2 -1
sound/core/sound.c
··· 184 static const struct file_operations snd_fops = 185 { 186 .owner = THIS_MODULE, 187 - .open = snd_open 188 }; 189 190 #ifdef CONFIG_SND_DYNAMIC_MINORS
··· 184 static const struct file_operations snd_fops = 185 { 186 .owner = THIS_MODULE, 187 + .open = snd_open, 188 + .llseek = noop_llseek, 189 }; 190 191 #ifdef CONFIG_SND_DYNAMIC_MINORS
+1
sound/oss/msnd_pinnacle.c
··· 1117 .unlocked_ioctl = dev_ioctl, 1118 .open = dev_open, 1119 .release = dev_release, 1120 }; 1121 1122 static int reset_dsp(void)
··· 1117 .unlocked_ioctl = dev_ioctl, 1118 .open = dev_open, 1119 .release = dev_release, 1120 + .llseek = noop_llseek, 1121 }; 1122 1123 static int reset_dsp(void)
+1
sound/soc/soc-core.c
··· 223 .open = codec_reg_open_file, 224 .read = codec_reg_read_file, 225 .write = codec_reg_write_file, 226 }; 227 228 static void soc_init_codec_debugfs(struct snd_soc_codec *codec)
··· 223 .open = codec_reg_open_file, 224 .read = codec_reg_read_file, 225 .write = codec_reg_write_file, 226 + .llseek = default_llseek, 227 }; 228 229 static void soc_init_codec_debugfs(struct snd_soc_codec *codec)
+1
sound/soc/soc-dapm.c
··· 1089 static const struct file_operations dapm_widget_power_fops = { 1090 .open = dapm_widget_power_open_file, 1091 .read = dapm_widget_power_read_file, 1092 }; 1093 1094 void snd_soc_dapm_debugfs_init(struct snd_soc_codec *codec)
··· 1089 static const struct file_operations dapm_widget_power_fops = { 1090 .open = dapm_widget_power_open_file, 1091 .read = dapm_widget_power_read_file, 1092 + .llseek = default_llseek, 1093 }; 1094 1095 void snd_soc_dapm_debugfs_init(struct snd_soc_codec *codec)
+1
sound/sound_core.c
··· 165 /* We must have an owner or the module locking fails */ 166 .owner = THIS_MODULE, 167 .open = soundcore_open, 168 }; 169 170 /*
··· 165 /* We must have an owner or the module locking fails */ 166 .owner = THIS_MODULE, 167 .open = soundcore_open, 168 + .llseek = noop_llseek, 169 }; 170 171 /*
+3
virt/kvm/kvm_main.c
··· 1305 .unlocked_ioctl = kvm_vcpu_ioctl, 1306 .compat_ioctl = kvm_vcpu_ioctl, 1307 .mmap = kvm_vcpu_mmap, 1308 }; 1309 1310 /* ··· 1775 .compat_ioctl = kvm_vm_compat_ioctl, 1776 #endif 1777 .mmap = kvm_vm_mmap, 1778 }; 1779 1780 static int kvm_dev_ioctl_create_vm(void) ··· 1869 static struct file_operations kvm_chardev_ops = { 1870 .unlocked_ioctl = kvm_dev_ioctl, 1871 .compat_ioctl = kvm_dev_ioctl, 1872 }; 1873 1874 static struct miscdevice kvm_dev = {
··· 1305 .unlocked_ioctl = kvm_vcpu_ioctl, 1306 .compat_ioctl = kvm_vcpu_ioctl, 1307 .mmap = kvm_vcpu_mmap, 1308 + .llseek = noop_llseek, 1309 }; 1310 1311 /* ··· 1774 .compat_ioctl = kvm_vm_compat_ioctl, 1775 #endif 1776 .mmap = kvm_vm_mmap, 1777 + .llseek = noop_llseek, 1778 }; 1779 1780 static int kvm_dev_ioctl_create_vm(void) ··· 1867 static struct file_operations kvm_chardev_ops = { 1868 .unlocked_ioctl = kvm_dev_ioctl, 1869 .compat_ioctl = kvm_dev_ioctl, 1870 + .llseek = noop_llseek, 1871 }; 1872 1873 static struct miscdevice kvm_dev = {