Home
last modified time | relevance | path

Searched refs:fops (Results 1 – 200 of 534) sorted by relevance

123

/linux-4.1.27/include/linux/
Dsound.h11 extern int register_sound_special(const struct file_operations *fops, int unit);
12 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct devic…
13 extern int register_sound_mixer(const struct file_operations *fops, int dev);
14 extern int register_sound_midi(const struct file_operations *fops, int dev);
15 extern int register_sound_dsp(const struct file_operations *fops, int dev);
Danon_inodes.h14 const struct file_operations *fops,
16 int anon_inode_getfd(const char *name, const struct file_operations *fops,
Ddebugfs.h52 const struct file_operations *fops);
56 const struct file_operations *fops,
132 const struct file_operations *fops) in debugfs_create_file() argument
139 const struct file_operations *fops, in debugfs_create_file_size() argument
Doprofile.h128 char const * name, const struct file_operations * fops);
131 char const * name, const struct file_operations * fops, int perm);
Dtracefs.h30 const struct file_operations *fops);
Dmiscdevice.h60 const struct file_operations *fops; member
Dfs.h1967 #define fops_get(fops) \ argument
1968 (((fops) && try_module_get((fops)->owner) ? (fops) : NULL))
1969 #define fops_put(fops) \ argument
1970 do { if (fops) module_put((fops)->owner); } while(0)
1976 #define replace_fops(f, fops) \ argument
1980 BUG_ON(!(__file->f_op = (fops))); \
2314 const struct file_operations *fops);
2321 const struct file_operations *fops) in register_chrdev() argument
2323 return __register_chrdev(major, 0, 256, name, fops); in register_chrdev()
Dkexec.h175 struct kexec_file_ops *fops; member
/linux-4.1.27/drivers/media/
Dmedia-devnode.c88 if (!mdev->fops->read) in media_read()
92 return mdev->fops->read(filp, buf, sz, off); in media_read()
100 if (!mdev->fops->write) in media_write()
104 return mdev->fops->write(filp, buf, sz, off); in media_write()
114 if (!mdev->fops->poll) in media_poll()
116 return mdev->fops->poll(filp, poll); in media_poll()
139 return __media_ioctl(filp, cmd, arg, mdev->fops->ioctl); in media_ioctl()
149 return __media_ioctl(filp, cmd, arg, mdev->fops->compat_ioctl); in media_compat_ioctl()
180 if (mdev->fops->open) { in media_open()
181 ret = mdev->fops->open(filp); in media_open()
[all …]
/linux-4.1.27/sound/
Dsound_core.c174 …t sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low… in __sound_insert_unit() argument
210 s->unit_fops=fops; in __sound_insert_unit()
254 static int sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int inde… in sound_insert_unit() argument
264 r = __sound_insert_unit(s, list, fops, index, low, top); in sound_insert_unit()
361 int register_sound_special_device(const struct file_operations *fops, int unit, in register_sound_special_device() argument
422 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, in register_sound_special_device()
428 int register_sound_special(const struct file_operations *fops, int unit) in register_sound_special() argument
430 return register_sound_special_device(fops, unit, NULL); in register_sound_special()
447 int register_sound_mixer(const struct file_operations *fops, int dev) in register_sound_mixer() argument
449 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer()
[all …]
/linux-4.1.27/arch/x86/kernel/
Dmachine_kexec_64.c347 struct kexec_file_ops *fops; in arch_kexec_kernel_image_probe() local
350 fops = kexec_file_loaders[i]; in arch_kexec_kernel_image_probe()
351 if (!fops || !fops->probe) in arch_kexec_kernel_image_probe()
354 ret = fops->probe(buf, buf_len); in arch_kexec_kernel_image_probe()
356 image->fops = fops; in arch_kexec_kernel_image_probe()
369 if (!image->fops || !image->fops->load) in arch_kexec_kernel_image_load()
372 return image->fops->load(image, image->kernel_buf, in arch_kexec_kernel_image_load()
380 if (!image->fops || !image->fops->cleanup) in arch_kimage_file_post_load_cleanup()
383 return image->fops->cleanup(image->image_loader_data); in arch_kimage_file_post_load_cleanup()
389 if (!image->fops || !image->fops->verify_sig) { in arch_kexec_kernel_verify_sig()
[all …]
/linux-4.1.27/fs/
Danon_inodes.c71 const struct file_operations *fops, in anon_inode_getfile() argument
81 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfile()
105 file = alloc_file(&path, OPEN_FMODE(flags), fops); in anon_inode_getfile()
118 module_put(fops->owner); in anon_inode_getfile()
139 int anon_inode_getfd(const char *name, const struct file_operations *fops, in anon_inode_getfd() argument
150 file = anon_inode_getfile(name, fops, priv, flags); in anon_inode_getfd()
Dchar_dev.c244 const struct file_operations *fops) in __register_chrdev() argument
258 cdev->owner = fops->owner; in __register_chrdev()
259 cdev->ops = fops; in __register_chrdev()
349 const struct file_operations *fops; in chrdev_open() local
382 fops = fops_get(p->ops); in chrdev_open()
383 if (!fops) in chrdev_open()
386 replace_fops(filp, fops); in chrdev_open()
538 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init() argument
543 cdev->ops = fops; in cdev_init()
Dblock_dev.c378 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_read_page()
409 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_write_page()
443 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_direct_access()
839 module_put(disk->fops->owner); in bd_start_claiming()
1069 if (disk->fops->revalidate_disk) in revalidate_disk()
1070 ret = disk->fops->revalidate_disk(disk); in revalidate_disk()
1097 const struct block_device_operations *bdops = disk->fops; in check_disk_change()
1168 owner = disk->fops->owner; in __blkdev_get()
1183 if (disk->fops->open) { in __blkdev_get()
1184 ret = disk->fops->open(bdev, mode); in __blkdev_get()
[all …]
/linux-4.1.27/drivers/edac/
Dmce_amd_inj.c203 const struct file_operations *fops; member
205 { .name = "status", .fops = &status_fops },
206 { .name = "misc", .fops = &misc_fops },
207 { .name = "addr", .fops = &addr_fops },
208 { .name = "bank", .fops = &bank_fops },
209 { .name = "flags", .fops = &flags_fops },
210 { .name = "cpu", .fops = &extcpu_fops },
226 dfs_fls[i].fops); in init_mce_inject()
/linux-4.1.27/arch/powerpc/kernel/
Drtas_flash.c662 const struct file_operations fops; member
670 .fops.read = rtas_flash_read_msg,
671 .fops.write = rtas_flash_write,
672 .fops.release = rtas_flash_release,
673 .fops.llseek = default_llseek,
679 .fops.read = rtas_flash_read_num,
680 .fops.write = rtas_flash_write,
681 .fops.release = rtas_flash_release,
682 .fops.llseek = default_llseek,
688 .fops.read = validate_flash_read,
[all …]
/linux-4.1.27/scripts/coccinelle/api/
Dsimple_open.cocci28 identifier fops;
31 struct file_operations fops = {
55 identifier fops;
59 struct file_operations fops = {
/linux-4.1.27/drivers/oprofile/
Doprofilefs.c136 const struct file_operations *fops, int perm, void *priv) in __oprofilefs_create_file() argument
153 inode->i_fop = fops; in __oprofilefs_create_file()
200 char const *name, const struct file_operations *fops) in oprofilefs_create_file() argument
202 return __oprofilefs_create_file(root, name, fops, 0644, NULL); in oprofilefs_create_file()
207 char const *name, const struct file_operations *fops, int perm) in oprofilefs_create_file_perm() argument
209 return __oprofilefs_create_file(root, name, fops, perm, NULL); in oprofilefs_create_file_perm()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-dev.c303 if (!vdev->fops->read) in v4l2_read()
306 ret = vdev->fops->read(filp, buf, sz, off); in v4l2_read()
320 if (!vdev->fops->write) in v4l2_write()
323 ret = vdev->fops->write(filp, buf, sz, off); in v4l2_write()
336 if (!vdev->fops->poll) in v4l2_poll()
339 res = vdev->fops->poll(filp, poll); in v4l2_poll()
351 if (vdev->fops->unlocked_ioctl) { in v4l2_ioctl()
357 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg); in v4l2_ioctl()
376 if (!vdev->fops->get_unmapped_area) in v4l2_get_unmapped_area()
380 ret = vdev->fops->get_unmapped_area(filp, addr, len, pgoff, flags); in v4l2_get_unmapped_area()
[all …]
Dv4l2-device.c240 vdev->fops = &v4l2_subdev_fops; in v4l2_device_register_subdev_nodes()
/linux-4.1.27/drivers/w1/slaves/
Dw1_therm.c111 .fops = &w1_therm_fops,
116 .fops = &w1_therm_fops,
121 .fops = &w1_therm_fops,
126 .fops = &w1_therm_fops,
131 .fops = &w1_therm_fops,
Dw1_bq27000.c92 .fops = &w1_bq27000_fops,
Dw1_ds2423.c139 .fops = &w1_f1d_fops,
Dw1_ds2413.c136 .fops = &w1_f3a_fops,
Dw1_ds2406.c154 .fops = &w1_f12_fops,
Dw1_ds2780.c170 .fops = &w1_ds2780_fops,
Dw1_ds2781.c168 .fops = &w1_ds2781_fops,
Dw1_ds2760.c179 .fops = &w1_ds2760_fops,
Dw1_ds2431.c289 .fops = &w1_f2d_fops,
Dw1_ds2433.c306 .fops = &w1_f23_fops,
/linux-4.1.27/drivers/s390/char/
Dtape_class.c44 const struct file_operations *fops, in register_tape_dev() argument
69 tcd->char_device->owner = fops->owner; in register_tape_dev()
70 tcd->char_device->ops = fops; in register_tape_dev()
Dtape_class.h52 const struct file_operations *fops,
Dsclp_ctl.c125 .fops = &sclp_ctl_fops,
Dvmcp.c188 .fops = &vmcp_fops,
Dhmcdrv_dev.c344 hmcdrv_dev.dev.fops = &hmcdrv_dev_fops; in hmcdrv_dev_init()
/linux-4.1.27/kernel/livepatch/
Dcore.c48 struct ftrace_ops fops; member
327 struct ftrace_ops *fops, in klp_ftrace_handler() argument
333 ops = container_of(fops, struct klp_ops, fops); in klp_ftrace_handler()
358 WARN_ON(unregister_ftrace_function(&ops->fops)); in klp_disable_func()
359 WARN_ON(ftrace_set_filter_ip(&ops->fops, func->old_addr, 1, 0)); in klp_disable_func()
388 ops->fops.func = klp_ftrace_handler; in klp_enable_func()
389 ops->fops.flags = FTRACE_OPS_FL_SAVE_REGS | in klp_enable_func()
398 ret = ftrace_set_filter_ip(&ops->fops, func->old_addr, 0, 0); in klp_enable_func()
405 ret = register_ftrace_function(&ops->fops); in klp_enable_func()
409 ftrace_set_filter_ip(&ops->fops, func->old_addr, 1, 0); in klp_enable_func()
/linux-4.1.27/net/irda/
Dirproc.c45 const struct file_operations *fops; member
75 irda_dirs[i].fops); in irda_proc_register()
/linux-4.1.27/security/
Dinode.c84 const struct file_operations *fops) in securityfs_create_file() argument
92 BUG_ON(!fops); in securityfs_create_file()
133 inode->i_fop = fops; in securityfs_create_file()
/linux-4.1.27/include/media/
Dv4l2-dev.h91 const struct v4l2_file_operations *fops; member
159 return __video_register_device(vdev, type, nr, 1, vdev->fops->owner); in video_register_device()
167 return __video_register_device(vdev, type, nr, 0, vdev->fops->owner); in video_register_device_no_warn()
Dmedia-devnode.h67 const struct media_file_operations *fops; member
Dtea575x.h52 struct v4l2_file_operations fops; member
Dlirc_dev.h139 const struct file_operations *fops; member
/linux-4.1.27/net/batman-adv/
Ddebugfs.c322 const struct file_operations fops; member
338 .fops = { .owner = THIS_MODULE, \
399 .fops = { \
432 &(*bat_debug)->fops); in batadv_debugfs_init()
475 &(*bat_debug)->fops); in batadv_debugfs_add_hardif()
528 dev, &(*bat_debug)->fops); in batadv_debugfs_add_meshif()
/linux-4.1.27/drivers/w1/
Dw1.c181 .fops = &w1_default_fops,
619 struct w1_family_ops *fops; in w1_family_notify() local
622 fops = sl->family->fops; in w1_family_notify()
624 if (!fops) in w1_family_notify()
630 if (fops->add_slave) { in w1_family_notify()
631 err = fops->add_slave(sl); in w1_family_notify()
639 if (fops->groups) { in w1_family_notify()
640 err = sysfs_create_groups(&sl->dev.kobj, fops->groups); in w1_family_notify()
651 if (fops->remove_slave) in w1_family_notify()
652 sl->family->fops->remove_slave(sl); in w1_family_notify()
[all …]
Dw1_family.h78 struct w1_family_ops *fops; member
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_debugfs.c133 const char *name, umode_t mode, const struct file_operations *fops) in armada_debugfs_create() argument
137 de = debugfs_create_file(name, mode, root, minor->dev, fops); in armada_debugfs_create()
139 return drm_add_fake_info_node(minor, de, fops); in armada_debugfs_create()
/linux-4.1.27/net/sunrpc/
Dstats.c244 const struct file_operations *fops) in do_register() argument
250 return proc_create_data(name, 0, sn->proc_net_rpc, fops, data); in do_register()
271 svc_proc_register(struct net *net, struct svc_stat *statp, const struct file_operations *fops) in svc_proc_register() argument
273 return do_register(net, statp->program->pg_name, statp, fops); in svc_proc_register()
/linux-4.1.27/drivers/media/rc/
Dlirc_dev.c180 if (d->fops) { in lirc_cdev_add()
181 cdev_init(cdev, d->fops); in lirc_cdev_add()
261 } else if (!(d->fops && d->fops->read) && !d->rbuf) { in lirc_register_driver()
267 if (!(d->fops && d->fops->read && d->fops->poll && in lirc_register_driver()
268 d->fops->unlocked_ioctl)) { in lirc_register_driver()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_fs.c49 umode_t mode, const struct file_operations *fops, in ipathfs_mknod() argument
70 inode->i_fop = fops; in ipathfs_mknod()
81 const struct file_operations *fops, void *data) in create_file() argument
89 mode, fops, data); in create_file()
/linux-4.1.27/drivers/staging/unisys/include/
Dtimskmod.h132 const struct file_operations *fops) in cdev_alloc_init() argument
139 cdev->ops = fops; in cdev_alloc_init()
/linux-4.1.27/drivers/net/wireless/b43legacy/
Ddebugfs.c47 struct file_operations fops; member
224 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops); in b43legacy_debugfs_read()
290 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops); in b43legacy_debugfs_write()
327 .fops = { \
428 &fops_##name.fops); \ in b43legacy_debugfs_add_device()
/linux-4.1.27/fs/debugfs/
Dinode.c330 const struct file_operations *fops) in debugfs_create_file() argument
348 inode->i_fop = fops ? fops : &debugfs_file_operations; in debugfs_create_file()
385 const struct file_operations *fops, in debugfs_create_file_size() argument
388 struct dentry *de = debugfs_create_file(name, mode, parent, data, fops); in debugfs_create_file_size()
/linux-4.1.27/drivers/char/
Dmspec.c324 .fops = &fetchop_fops
336 .fops = &cached_fops
348 .fops = &uncached_fops
Dmem.c785 const struct file_operations *fops; member
817 if (!dev->fops) in memory_open()
820 filp->f_op = dev->fops; in memory_open()
823 if (dev->fops->open) in memory_open()
824 return dev->fops->open(inode, filp); in memory_open()
Dmisc.c123 new_fops = fops_get(c->fops); in misc_open()
135 new_fops = fops_get(c->fops); in misc_open()
Dbfin-otp.c231 .fops = &bfin_otp_fops,
/linux-4.1.27/block/
Dioctl.c239 if (disk->fops->ioctl) in __blkdev_driver_ioctl()
240 return disk->fops->ioctl(bdev, mode, cmd, arg); in __blkdev_driver_ioctl()
337 if (!disk->fops->getgeo) in blkdev_ioctl()
346 ret = disk->fops->getgeo(bdev, &geo); in blkdev_ioctl()
Dpartition-generic.c380 const struct block_device_operations *bdops = disk->fops; in disk_unlock_native_capacity()
429 if (disk->fops->revalidate_disk) in rescan_partitions()
430 disk->fops->revalidate_disk(disk); in rescan_partitions()
Dcompat_ioctl.c59 if (!disk->fops->getgeo) in compat_hdio_getgeo()
68 ret = disk->fops->getgeo(bdev, &geo); in compat_hdio_getgeo()
750 if (disk->fops->compat_ioctl) in compat_blkdev_ioctl()
751 ret = disk->fops->compat_ioctl(bdev, mode, cmd, arg); in compat_blkdev_ioctl()
Dgenhd.c1304 if (!disk->fops) in get_disk()
1306 owner = disk->fops->owner; in get_disk()
1564 const struct block_device_operations *bdops = disk->fops; in disk_clear_events()
1629 events = disk->fops->check_events(disk, clearing); in disk_check_events()
1785 if (!disk->fops->check_events) in disk_alloc_events()
/linux-4.1.27/drivers/media/dvb-core/
Ddvbdev.c75 if (dvbdev && dvbdev->fops) { in dvb_device_open()
79 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
309 dvbdev->fops = dvbdevfops; in dvb_register_device()
312 memcpy(dvbdevfops, template->fops, sizeof(struct file_operations)); in dvb_register_device()
378 kfree (dvbdev->fops); in dvb_unregister_device()
Ddvbdev.h84 const struct file_operations *fops; member
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_debugfs.h37 const struct file_operations fops; member
Drsi_91x_debugfs.c314 &files->fops); in rsi_init_dbgfs()
/linux-4.1.27/drivers/usb/core/
Dfile.c169 if (class_driver->fops == NULL) in usb_register_dev()
185 usb_minors[minor] = class_driver->fops; in usb_register_dev()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c1065 .fops = &ptlrpc_lprocfs_hp_ratio_fops, in ptlrpc_lprocfs_register_service()
1068 .fops = &ptlrpc_lprocfs_req_history_len_fops, in ptlrpc_lprocfs_register_service()
1071 .fops = &ptlrpc_lprocfs_req_history_max_fops, in ptlrpc_lprocfs_register_service()
1074 .fops = &ptlrpc_lprocfs_threads_min_fops, in ptlrpc_lprocfs_register_service()
1077 .fops = &ptlrpc_lprocfs_threads_max_fops, in ptlrpc_lprocfs_register_service()
1080 .fops = &ptlrpc_lprocfs_threads_started_fops, in ptlrpc_lprocfs_register_service()
1083 .fops = &ptlrpc_lprocfs_timeouts_fops, in ptlrpc_lprocfs_register_service()
1086 .fops = &ptlrpc_lprocfs_nrs_fops, in ptlrpc_lprocfs_register_service()
/linux-4.1.27/arch/blackfin/mach-bf561/
Dcoreb.c60 .fops = &coreb_fops,
/linux-4.1.27/arch/arc/kernel/
Darc_hostlink.c50 .fops = &arc_hl_fops
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_module.c228 static const struct file_operations fops = { variable
247 e = proc_create("debug_level", S_IRUGO | S_IWUSR, rtllib_proc, &fops); in rtllib_init()
/linux-4.1.27/drivers/media/radio/
Dradio-tea5777.h66 struct v4l2_file_operations fops; member
Dradio-tea5777.c570 tea->fops = tea575x_fops; in radio_tea5777_init()
571 tea->fops.owner = owner; in radio_tea5777_init()
572 tea->vd.fops = &tea->fops; in radio_tea5777_init()
Dtea575x.c546 tea->fops = tea575x_fops; in snd_tea575x_init()
547 tea->fops.owner = owner; in snd_tea575x_init()
548 tea->vd.fops = &tea->fops; in snd_tea575x_init()
Dradio-timb.c124 tr->video_dev.fops = &timbradio_fops; in timbradio_probe()
/linux-4.1.27/drivers/gpu/drm/tdfx/
Dtdfx_drv.c60 .fops = &tdfx_driver_fops,
/linux-4.1.27/arch/xtensa/platforms/iss/
Dsimdisk.c265 static const struct file_operations fops = { variable
297 dev->gd->fops = &simdisk_ops; in simdisk_setup()
304 dev->procfile = proc_create_data(tmp, 0644, procdir, &fops, dev); in simdisk_setup()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_module.c268 static const struct file_operations fops = { variable
289 ieee80211_proc, &fops); in ieee80211_debug_init()
/linux-4.1.27/drivers/platform/chrome/
Dcros_ec_dev.c170 static const struct file_operations fops = { variable
184 cdev_init(&ec->cdev, &fops); in ec_device_probe()
/linux-4.1.27/fs/cachefiles/
Dmain.c40 .fops = &cachefiles_daemon_fops,
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_fs.c51 umode_t mode, const struct file_operations *fops, in qibfs_mknod() argument
77 inode->i_fop = fops; in qibfs_mknod()
88 const struct file_operations *fops, void *data) in create_file() argument
96 mode, fops, data); in create_file()
/linux-4.1.27/drivers/gpu/drm/savage/
Dsavage_drv.c63 .fops = &savage_driver_fops,
/linux-4.1.27/drivers/gpu/drm/i810/
Di810_drv.c70 .fops = &i810_driver_fops,
/linux-4.1.27/drivers/net/wireless/b43/
Ddebugfs.c46 struct file_operations fops; member
527 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_read()
588 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_write()
620 .fops = { \
745 &fops_##name.fops); \ in b43_debugfs_add_device()
/linux-4.1.27/drivers/gpu/drm/r128/
Dr128_drv.c75 .fops = &r128_driver_fops,
/linux-4.1.27/drivers/watchdog/
Dwdrtas.c495 .fops = &wdrtas_fops,
509 .fops = &wdrtas_temp_fops,
Dwdt.c537 .fops = &wdt_fops,
551 .fops = &wdt_temp_fops,
Dwdt285.c196 .fops = &watchdog_fops,
Dwdt_pci.c580 .fops = &wdtpci_fops,
594 .fops = &wdtpci_temp_fops,
Dsa1100_wdt.c154 .fops = &sa1100dog_fops,
Dsbc_epx_c3.c170 .fops = &epx_c3_fops,
Dindydog.c166 .fops = &indydog_fops,
Dixp4xx_wdt.c172 .fops = &ixp4xx_wdt_fops,
Dsbc8360.c317 .fops = &sbc8360_fops,
Dm54xx_wdt.c193 .fops = &m54xx_wdt_fops,
Diop_wdt.c224 .fops = &iop_wdt_fops,
Dlantiq_wdt.c186 .fops = &ltq_wdt_fops,
Dpnx833x_wdt.c229 .fops = &pnx833x_wdt_fops,
Dsbc_fitpc2_wdt.c196 .fops = &fitpc2_wdt_fops,
Dmixcomwd.c242 .fops = &mixcomwd_fops,
Driowd.c173 .fops = &riowd_fops
Dwafer5823wdt.c244 .fops = &wafwdt_fops,
Dscx200_wdt.c213 .fops = &scx200_wdt_fops,
Dmtx-1_wdt.c202 .fops = &mtx1_wdt_fops,
Dacquirewdt.c235 .fops = &acq_fops,
Dpcwd_pci.c660 .fops = &pcipcwd_fops,
674 .fops = &pcipcwd_temp_fops,
Dib700wdt.c273 .fops = &ibwdt_fops,
Dks8695_wdt.c235 .fops = &ks8695wdt_fops,
Dpika_wdt.c221 .fops = &pikawdt_fops,
Dadvantechwdt.c234 .fops = &advwdt_fops,
Dcpu5wdt.c212 .fops = &cpu5wdt_fops,
Dgef_wdt.c262 .fops = &gef_wdt_fops,
Dgeodewdt.c215 .fops = &geodewdt_fops,
Dsbc7240_wdt.c228 .fops = &wdt_fops,
Dsb_wdog.c246 .fops = &sbwdog_fops,
Dpcwd_usb.c565 .fops = &usb_pcwd_fops,
579 .fops = &usb_pcwd_temperature_fops,
Drc32434_wdt.c260 .fops = &rc32434_wdt_fops,
Dalim1535_wdt.c376 .fops = &ali_fops,
Dw83877f_wdt.c316 .fops = &wdt_fops,
Dmv64x60_wdt.c253 .fops = &mv64x60_wdt_fops,
Dbcm63xx_wdt.c234 .fops = &bcm63xx_wdt_fops,
Dsbc60xxwdt.c294 .fops = &wdt_fops,
Drdc321x_wdt.c224 .fops = &rdc321x_wdt_fops,
Dsc520_wdt.c348 .fops = &wdt_fops,
Dat91rm9200_wdt.c227 .fops = &at91wdt_fops,
Dbfin_wdt.c343 .fops = &bfin_wdt_fops,
Dar7_wdt.c272 .fops = &ar7_wdt_fops,
Dath79_wdt.c247 .fops = &ath79_wdt_fops,
Deurotechwdt.c385 .fops = &eurwdt_fops,
Dnuc900_wdt.c240 .fops = &nuc900wdt_fops,
Dpcwd.c761 .fops = &pcwd_fops,
775 .fops = &pcwd_temp_fops,
Dxen_wdt.c244 .fops = &xen_wdt_fops,
Dmachzwd.c376 .fops = &zf_fops,
Di6300esb.c330 .fops = &esb_fops,
Dalim7101_wdt.c301 .fops = &wdt_fops,
Dsc1200wdt.c322 .fops = &sc1200wdt_fops,
Dsmsc37b787_wdt.c523 .fops = &wb_smsc_wdt_fops,
Dts72xx_wdt.c387 .fops = &ts72xx_wdt_fops,
Dit8712f_wdt.c359 .fops = &it8712f_wdt_fops,
Dibmasr.c354 .fops = &asr_fops,
Dwdt977.c436 .fops = &wdt977_fops,
Ddw_wdt.c329 .fops = &wdt_fops,
Dw83977f_wdt.c461 .fops = &wdt_fops,
/linux-4.1.27/drivers/staging/speakup/
Ddevsynth.c71 .fops = &synth_fops,
/linux-4.1.27/drivers/gpu/drm/mga/
Dmga_drv.c79 .fops = &mga_driver_fops,
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_dev_backend.c120 .fops = &xenbus_backend_fops,
/linux-4.1.27/fs/tracefs/
Dinode.c390 const struct file_operations *fops) in tracefs_create_file() argument
408 inode->i_fop = fops ? fops : &tracefs_file_operations; in tracefs_create_file()
/linux-4.1.27/lib/
Dtest_firmware.c47 .fops = &test_fw_fops,
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_drv.c94 .fops = &via_driver_fops,
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c215 .fops = &obd_psdev_fops,
340 .fops = &obd_proc_jobid_name_fops},
/linux-4.1.27/arch/um/drivers/
Dmmapper_kern.c99 .fops = &mmapper_fops
Dharddog_kern.c176 .fops = &harddog_fops,
/linux-4.1.27/drivers/gpu/drm/sis/
Dsis_drv.c115 .fops = &sis_driver_fops,
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_drv.c52 .fops = &udl_driver_fops,
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c473 static const struct file_operations fops = { variable
503 .fops = &fops,
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Ddebug.c57 const struct file_operations fops; member
78 dfops = container_of(file->f_op, struct carl9170_debugfs_fops, fops); in carl9170_debugfs_read()
130 dfops = container_of(file->f_op, struct carl9170_debugfs_fops, fops); in carl9170_debugfs_write()
174 .fops = { \
819 &carl_debugfs_##name ## _ops.fops); in carl9170_debugfs_register()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_drv.c95 .fops = &mgag200_driver_fops,
/linux-4.1.27/mm/
Dpage_io.c117 if (disk->fops->swap_slot_free_notify) { in end_swap_bio_read()
125 disk->fops->swap_slot_free_notify(sis->bdev, in end_swap_bio_read()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c524 static const struct file_operations fops = { variable
561 .fops = &fops,
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c248 struct file_operations *fops) in lprocfs_add_simple() argument
253 if (root == NULL || name == NULL || fops == NULL) in lprocfs_add_simple()
256 if (fops->read) in lprocfs_add_simple()
258 if (fops->write) in lprocfs_add_simple()
260 proc = proc_create_data(name, mode, root, fops, data); in lprocfs_add_simple()
322 } else if (list->fops) { in lprocfs_add_vars()
323 if (list->fops->read) in lprocfs_add_vars()
325 if (list->fops->write) in lprocfs_add_vars()
329 list->fops ?: &lprocfs_generic_fops, in lprocfs_add_vars()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-core.c1122 vfd->fops = &vivid_fops; in vivid_create_instance()
1147 vfd->fops = &vivid_fops; in vivid_create_instance()
1171 vfd->fops = &vivid_fops; in vivid_create_instance()
1194 vfd->fops = &vivid_fops; in vivid_create_instance()
1216 vfd->fops = &vivid_fops; in vivid_create_instance()
1234 vfd->fops = &vivid_radio_fops; in vivid_create_instance()
1252 vfd->fops = &vivid_radio_fops; in vivid_create_instance()
/linux-4.1.27/arch/m68k/mvme16x/
Drtc.c153 .fops = &rtc_fops
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-module.c182 .fops = &libcfs_fops,
/linux-4.1.27/drivers/misc/sgi-gru/
Dgruprocfs.c324 const struct file_operations *fops; member
340 p->entry = proc_create(p->name, p->mode, proc_gru, p->fops); in create_proc_file()
/linux-4.1.27/arch/m68k/bvme6000/
Drtc.c163 .fops = &rtc_fops
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_drv.c137 .fops = &cirrus_driver_fops,
/linux-4.1.27/drivers/s390/block/
Ddasd_genhd.c47 gdp->fops = &dasd_device_operations; in dasd_gendisk_alloc()
/linux-4.1.27/drivers/firmware/efi/
Dvars.c313 const struct efivar_operations *fops = __efivars->ops; in check_var_size() local
315 if (!fops->query_variable_store) in check_var_size()
318 return fops->query_variable_store(attributes, size); in check_var_size()
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_drv.c86 .fops = &bochs_fops,
/linux-4.1.27/drivers/acpi/apei/
Derst-dbg.c220 .fops = &erst_dbg_ops,
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_drv.c204 .fops = &ast_fops,
/linux-4.1.27/drivers/net/wireless/libertas/
Ddebugfs.c702 struct file_operations fops; member
765 &files->fops); in lbs_debugfs_init_one()
778 &files->fops); in lbs_debugfs_init_one()
791 &files->fops); in lbs_debugfs_init_one()
/linux-4.1.27/drivers/media/radio/si4713/
Dradio-platform-si4713.c143 .fops = &radio_si4713_fops,
/linux-4.1.27/drivers/sbus/char/
Ddisplay7seg.c168 .fops = &d7s_fops
/linux-4.1.27/drivers/platform/x86/
Ddell-smo8800.c161 smo8800->miscdev.fops = &smo8800_misc_fops; in smo8800_add()
/linux-4.1.27/drivers/fmc/
Dfmc-chardev.c143 fc->misc.fops = &fc_fops; in fc_probe()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_debugfs.c436 const struct file_operations *fops; member
493 file->fops); in bfad_debugfs_init()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c480 static const struct file_operations fops = { variable
513 &fops); in add_res_tree()
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-ci.c228 .fops = &fdtv_ca_fops,
/linux-4.1.27/arch/m68k/emu/
Dnfblock.c134 dev->disk->fops = &nfhd_ops; in nfhd_init_one()
/linux-4.1.27/drivers/misc/cxl/
Dfile.c401 const struct file_operations *fops) in cxl_add_chardev() argument
406 cdev_init(cdev, fops); in cxl_add_chardev()
/linux-4.1.27/drivers/misc/ibmasm/
Dibmasmfs.c154 const struct file_operations *fops, in ibmasmfs_create_file() argument
171 inode->i_fop = fops; in ibmasmfs_create_file()
/linux-4.1.27/drivers/media/pci/ngene/
Dngene-dvb.c103 .fops = &ci_fops,
/linux-4.1.27/drivers/hv/
Dhv_fcopy.c395 .fops = &fcopy_fops,
/linux-4.1.27/drivers/staging/android/
Dsw_sync.c251 .fops = &sw_sync_fops,
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-streams.c89 const struct v4l2_file_operations *fops; member
229 s->vdev.fops = ivtv_stream_info[type].fops; in ivtv_prep_dev()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_drv.c364 .fops = &radeon_driver_old_fops,
596 .fops = &radeon_driver_kms_fops,
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c501 const struct file_operations *fops; member
553 file->fops); in bnad_debugfs_init()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_drv.c261 .fops = &qxl_fops,
/linux-4.1.27/drivers/block/
Dpmem.c166 disk->fops = &pmem_fops; in pmem_alloc()
Dz2ram.c363 z2ram_gendisk->fops = &z2_fops; in z2_init()
/linux-4.1.27/fs/dlm/
Duser.c352 ls->ls_device.fops = &device_fops; in dlm_device_register()
972 .fops = &ctl_device_fops,
985 .fops = &monitor_device_fops,
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlprocfs_status.h54 struct file_operations *fops; member
568 struct file_operations *fops);
881 void *data, struct file_operations *fops) in lprocfs_add_simple() argument
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_drv.c869 static const struct file_operations fops = { variable
924 .fops = &fops,
/linux-4.1.27/drivers/misc/
Dlkdtm.c764 const struct file_operations fops; member
830 NULL, &cur->fops); in lkdtm_module_init()
/linux-4.1.27/arch/s390/crypto/
Dprng.c671 .fops = &prng_sha512_fops,
676 .fops = &prng_tdes_fops,
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_drv.c279 .fops = &rcar_du_fops,
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_drv.c202 .fops = &sti_drm_driver_fops,
/linux-4.1.27/drivers/lguest/
Dlguest_user.c434 .fops = &lguest_fops,
/linux-4.1.27/drivers/staging/android/ion/
Dion_test.c251 testdev->misc.fops = &ion_test_fops; in ion_test_probe()
/linux-4.1.27/drivers/usb/class/
Dusbtmc.c1078 static const struct file_operations fops = { variable
1090 .fops = &fops,
/linux-4.1.27/drivers/staging/goldfish/
Dgoldfish_audio.c265 .fops = &goldfish_audio_fops,

123