Searched refs:fops (Results 1 - 25 of 696) sorted by last modified time

1234567891011>>

/linux-master/drivers/scsi/
H A Dsd.c3894 gd->fops = &sd_fops;
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.c718 .fops = &isst_if_char_driver_ops,
/linux-master/drivers/soc/mediatek/
H A Dmtk-svs.c865 const struct file_operations *fops; member in struct:svs_dentry
887 svs_entries[i].fops);
911 svsb_entries[i].fops);
/linux-master/drivers/md/
H A Ddm.c475 if (!bdev->bd_disk->fops->ioctl)
478 r = bdev->bd_disk->fops->ioctl(bdev, mode, cmd, arg);
2131 md->disk->fops = &dm_blk_dops;
2365 md->disk->fops = &dm_rq_blk_dops;
3228 const struct pr_ops *ops = dev->bdev->bd_disk->fops->pr_ops;
3288 const struct pr_ops *ops = dev->bdev->bd_disk->fops->pr_ops;
3331 const struct pr_ops *ops = dev->bdev->bd_disk->fops->pr_ops;
3365 const struct pr_ops *ops = dev->bdev->bd_disk->fops->pr_ops;
3408 ops = bdev->bd_disk->fops->pr_ops;
3422 const struct pr_ops *ops = dev->bdev->bd_disk->fops
[all...]
/linux-master/block/
H A Dbdev.c652 if (bdev->bd_disk->fops->release)
653 bdev->bd_disk->fops->release(bdev->bd_disk);
661 if (disk->fops->open) {
662 ret = disk->fops->open(disk, mode);
881 if (!try_module_get(disk->fops->owner))
926 module_put(disk->fops->owner);
1078 module_put(disk->fops->owner);
H A Dioctl.c259 if (disk->fops->ioctl)
260 return disk->fops->ioctl(bdev, mode, cmd,
286 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops;
304 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops;
322 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops;
340 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops;
358 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops;
401 if (bdev->bd_disk->fops->set_read_only) {
402 ret = bdev->bd_disk->fops->set_read_only(bdev, n);
419 if (!disk->fops
[all...]
H A Dblk-core.c625 disk->fops->submit_bio(bio);
937 if (disk && disk->fops->poll_bio)
938 ret = disk->fops->poll_bio(bio, iob, flags);
/linux-master/virt/kvm/
H A Dkvm_main.c6285 const struct file_operations *fops; local
6294 fops = &vm_stat_fops;
6296 fops = &vm_stat_readonly_fops;
6299 (void *)(long)pdesc->desc.offset, fops);
6305 fops = &vcpu_stat_fops;
6307 fops = &vcpu_stat_readonly_fops;
6310 (void *)(long)pdesc->desc.offset, fops);
/linux-master/include/linux/
H A Dblkdev.h151 const struct block_device_operations *fops; member in struct:gendisk
H A Dfs.h2530 #define fops_get(fops) \
2531 (((fops) && try_module_get((fops)->owner) ? (fops) : NULL))
2532 #define fops_put(fops) \
2533 do { if (fops) module_put((fops)->owner); } while(0)
2536 * fops must be non-NULL, pinned down *and* module dependencies
2539 #define replace_fops(f, fops) \
2543 BUG_ON(!(__file->f_op = (fops))); \
2746 register_chrdev(unsigned int major, const char *name, const struct file_operations *fops) argument
[all...]
/linux-master/fs/bcachefs/
H A Dthread_with_file.c23 const struct file_operations *fops,
30 if (fops->read && fops->write)
32 else if (fops->read)
34 else if (fops->write)
51 file = anon_inode_getfile(name, fops, thr, fd_flags);
22 bch2_run_thread_with_file(struct thread_with_file *thr, const struct file_operations *fops, int (*fn)(void *)) argument
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c275 const struct file_operations *fops);
1845 const struct file_operations *fops,
1863 if (fops)
1864 inode->i_fop = fops;
1875 const struct file_operations *fops)
1885 inode = ffs_sb_make_inode(sb, data, fops, NULL, &ffs->file_perms);
1844 ffs_sb_make_inode(struct super_block *sb, void *data, const struct file_operations *fops, const struct inode_operations *iops, struct ffs_file_perms *perms) argument
1873 ffs_sb_create_file(struct super_block *sb, const char *name, void *data, const struct file_operations *fops) argument
/linux-master/drivers/usb/class/
H A Dcdc-wdm.c823 .fops = &wdm_fops,
/linux-master/drivers/android/
H A Dbinder.c6505 .fops = &state_fops,
6511 .fops = &stats_fops,
6517 .fops = &transactions_fops,
6523 .fops = &transaction_log_fops,
6529 .fops = &transaction_log_fops,
6544 binder_device->miscdev.fops = &binder_fops;
6587 db_entry->fops);
/linux-master/fs/fuse/
H A Dcuse.c607 .fops = &cuse_channel_fops,
/linux-master/drivers/net/
H A Dtun.c3549 .fops = &tun_fops,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c1633 .fops = &vmwgfx_driver_fops,
/linux-master/kernel/trace/
H A Dtrace_events.c2344 const struct file_operations **fops)
2347 *fops = &ftrace_subsystem_filter_fops;
2350 *fops = &ftrace_system_enable_fops;
2480 const struct file_operations **fops)
2487 *fops = &ftrace_event_format_fops;
2500 *fops = &ftrace_enable_fops;
2506 *fops = &ftrace_event_filter_fops;
2515 *fops = &event_trigger_fops;
2525 *fops = &ftrace_event_id_fops;
2533 *fops
2343 system_callback(const char *name, umode_t *mode, void **data, const struct file_operations **fops) argument
2479 event_callback(const char *name, umode_t *mode, void **data, const struct file_operations **fops) argument
3824 events_callback(const char *name, umode_t *mode, void **data, const struct file_operations **fops) argument
[all...]
/linux-master/fs/tracefs/
H A Devent_inode.c488 * @fops: The fops of the file to be created.
493 * set up with @data upon open. The file operations will be set to @fops.
502 const struct file_operations *fops)
509 return lookup_file(ei, dentry, mode, attr, data, fops);
555 const struct file_operations *fops; local
562 if (entry->callback(name, &mode, &data, &fops) <= 0)
565 result = lookup_file_dentry(dentry, ei, i, mode, data, fops);
578 const struct file_operations *fops; local
630 r = entry->callback(name, &mode, &cdata, &fops);
499 lookup_file_dentry(struct dentry *dentry, struct eventfs_inode *ei, int idx, umode_t mode, void *data, const struct file_operations *fops) argument
[all...]
/linux-master/drivers/platform/x86/
H A Dtoshiba_acpi.c3314 dev->miscdev.fops = &toshiba_acpi_fops;
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c320 vfd_enc->fops = &mtk_vcodec_fops;
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c429 vfd_dec->fops = &mtk_vcodec_fops;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_drv.c2933 .fops = &amdgpu_driver_kms_fops,
2960 .fops = &amdgpu_driver_kms_fops,
/linux-master/drivers/accel/ivpu/
H A Divpu_drv.c402 .fops = &ivpu_fops,
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c2167 misc->fops = &sev_fops;

Completed in 394 milliseconds

1234567891011>>