Searched refs:fops (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/drivers/media/
H A Dmedia-devnode.c87 if (!mdev->fops->read)
91 return mdev->fops->read(filp, buf, sz, off);
99 if (!mdev->fops->write)
103 return mdev->fops->write(filp, buf, sz, off);
113 if (!mdev->fops->poll)
115 return mdev->fops->poll(filp, poll);
122 if (!mdev->fops->ioctl)
128 return mdev->fops->ioctl(filp, cmd, arg);
157 if (mdev->fops->open) {
158 ret = mdev->fops
[all...]
/drivers/s390/char/
H A Dtape_class.h40 * fops
53 const struct file_operations *fops,
H A Dtape_class.c37 * fops
45 const struct file_operations *fops,
70 tcd->char_device->owner = fops->owner;
71 tcd->char_device->ops = fops;
42 register_tape_dev( struct device * device, dev_t dev, const struct file_operations *fops, char * device_name, char * mode_name) argument
/drivers/media/video/
H A Dv4l2-dev.c276 if (!vdev->fops->read)
281 ret = vdev->fops->read(filp, buf, sz, off);
293 if (!vdev->fops->write)
298 ret = vdev->fops->write(filp, buf, sz, off);
309 if (!vdev->fops->poll)
314 ret = vdev->fops->poll(filp, poll);
325 if (vdev->fops->unlocked_ioctl) {
329 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
332 } else if (vdev->fops->ioctl) {
362 ret = vdev->fops
[all...]
/drivers/gpu/drm/tdfx/
H A Dtdfx_drv.c58 .fops = &tdfx_driver_fops,
/drivers/w1/
H A Dw1_family.h58 struct w1_family_ops *fops; member in struct:w1_family
/drivers/oprofile/
H A Doprofilefs.c144 struct dentry *root, char const *name, const struct file_operations *fops,
158 inode->i_fop = fops;
204 char const *name, const struct file_operations *fops)
206 return __oprofilefs_create_file(sb, root, name, fops, 0644, NULL);
211 char const *name, const struct file_operations *fops, int perm)
213 return __oprofilefs_create_file(sb, root, name, fops, perm, NULL);
143 __oprofilefs_create_file(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops, int perm, void *priv) argument
203 oprofilefs_create_file(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops) argument
210 oprofilefs_create_file_perm(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops, int perm) argument
/drivers/xen/xenfs/
H A Dsuper.c43 const struct file_operations *fops,
60 inode->i_fop = fops;
40 xenfs_create_file(struct super_block *sb, struct dentry *parent, const char *name, const struct file_operations *fops, void *data, int mode) argument
/drivers/gpu/drm/i810/
H A Di810_drv.c69 .fops = &i810_driver_fops,
/drivers/gpu/drm/r128/
H A Dr128_drv.c77 .fops = &r128_driver_fops,
/drivers/gpu/drm/savage/
H A Dsavage_drv.c60 .fops = &savage_driver_fops,
/drivers/staging/speakup/
H A Ddevsynth.c71 .fops = &synth_fops,
/drivers/w1/slaves/
H A Dw1_therm.c76 .fops = &w1_therm_fops,
81 .fops = &w1_therm_fops,
86 .fops = &w1_therm_fops,
91 .fops = &w1_therm_fops,
H A Dw1_bq27000.c98 .fops = &w1_bq27000_fops,
/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c68 .fops = &xenbus_backend_fops,
/drivers/usb/core/
H A Dfile.c177 if (class_driver->fops == NULL)
193 usb_minors[minor] = class_driver->fops;
/drivers/gpu/drm/mga/
H A Dmga_drv.c81 .fops = &mga_driver_fops,
/drivers/gpu/drm/sis/
H A Dsis_drv.c112 .fops = &sis_driver_fops,
/drivers/gpu/drm/via/
H A Dvia_drv.c93 .fops = &via_driver_fops,
/drivers/infiniband/hw/ipath/
H A Dipath_fs.c49 umode_t mode, const struct file_operations *fops,
70 inode->i_fop = fops;
81 const struct file_operations *fops, void *data)
90 mode, fops, data);
48 ipathfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, const struct file_operations *fops, void *data) argument
79 create_file(const char *name, umode_t mode, struct dentry *parent, struct dentry **dentry, const struct file_operations *fops, void *data) argument
/drivers/media/dvb/dvb-core/
H A Ddvbdev.h105 const struct file_operations *fops; member in struct:dvb_device
H A Ddvbdev.c75 if (dvbdev && dvbdev->fops) {
81 file->f_op = fops_get(dvbdev->fops);
229 dvbdev->fops = dvbdevfops;
232 memcpy(dvbdevfops, template->fops, sizeof(struct file_operations));
288 kfree (dvbdev->fops);
/drivers/net/wireless/b43legacy/
H A Ddebugfs.c47 struct file_operations fops; member in struct:b43legacy_debugfs_fops
230 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
296 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
333 .fops = { \
434 &fops_##name.fops); \
/drivers/char/
H A Dmspec.c325 .fops = &fetchop_fops
337 .fops = &cached_fops
349 .fops = &uncached_fops
/drivers/s390/block/
H A Ddasd_genhd.c48 gdp->fops = &dasd_device_operations;

Completed in 2926 milliseconds

1234567891011>>