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

1234567891011>>

/drivers/media/
H A Dmedia-devnode.c86 if (!mdev->fops->read)
90 return mdev->fops->read(filp, buf, sz, off);
98 if (!mdev->fops->write)
102 return mdev->fops->write(filp, buf, sz, off);
112 if (!mdev->fops->poll)
114 return mdev->fops->poll(filp, poll);
121 if (!mdev->fops->ioctl)
127 return mdev->fops->ioctl(filp, cmd, arg);
156 if (mdev->fops->open) {
157 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.c275 if (!vdev->fops->read)
280 ret = vdev->fops->read(filp, buf, sz, off);
292 if (!vdev->fops->write)
297 ret = vdev->fops->write(filp, buf, sz, off);
308 if (!vdev->fops->poll)
313 ret = vdev->fops->poll(filp, poll);
324 if (vdev->fops->unlocked_ioctl) {
328 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
331 } else if (vdev->fops->ioctl) {
361 ret = vdev->fops
[all...]
/drivers/gpu/drm/tdfx/
H A Dtdfx_drv.c58 .fops = &tdfx_driver_fops,
/drivers/w1/
H A Dw1_family.h59 struct w1_family_ops *fops; member in struct:w1_family
/drivers/oprofile/
H A Doprofilefs.c136 struct dentry *root, char const *name, const struct file_operations *fops,
150 inode->i_fop = fops;
196 char const *name, const struct file_operations *fops)
198 return __oprofilefs_create_file(sb, root, name, fops, 0644, NULL);
203 char const *name, const struct file_operations *fops, int perm)
205 return __oprofilefs_create_file(sb, root, name, fops, perm, NULL);
135 __oprofilefs_create_file(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops, int perm, void *priv) argument
195 oprofilefs_create_file(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops) argument
202 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.c90 .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.c114 .fops = &sis_driver_fops,
/drivers/gpu/drm/udl/
H A Dudl_drv.c85 .fops = &udl_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
224 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
290 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
327 .fops = { \
428 &fops_##name.fops); \
/drivers/char/
H A Dmspec.c324 .fops = &fetchop_fops
336 .fops = &cached_fops
348 .fops = &uncached_fops

Completed in 559 milliseconds

1234567891011>>