/linux-master/include/media/ |
H A D | v4l2-dev.h | 229 * @fops: pointer to &struct v4l2_file_operations for the video device 269 const struct v4l2_file_operations *fops; member in struct:video_device 383 return __video_register_device(vdev, type, nr, 1, vdev->fops->owner); 410 return __video_register_device(vdev, type, nr, 0, vdev->fops->owner);
|
H A D | media-devnode.h | 61 * @fops: pointer to struct &media_file_operations with media device ops 79 const struct media_file_operations *fops; member in struct:media_devnode
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | cxl_hw.c | 121 struct file_operations *fops, int *fd) 123 return cxl_get_fd(ctx_cookie, fops, fd); 120 cxlflash_get_fd(void *ctx_cookie, struct file_operations *fops, int *fd) argument
|
H A D | backend.h | 40 struct file * (*get_fd)(void *ctx_cookie, struct file_operations *fops,
|
/linux-master/drivers/edac/ |
H A D | debugfs.c | 107 * @fops: file operations of this file 111 void *data, const struct file_operations *fops) 116 return debugfs_create_file(name, mode, parent, data, fops); 110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
|
H A D | edac_module.h | 74 void *data, const struct file_operations *fops); 90 void *data, const struct file_operations *fops) { return NULL; } 89 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
|
/linux-master/include/rdma/ |
H A D | uverbs_types.h | 141 * completion_channel), we use fops, name and flags for fd creation. 148 const struct file_operations *fops; member in struct:uverbs_obj_fd_type 168 .fops = _fops, \
|
/linux-master/drivers/usb/core/ |
H A D | file.c | 127 if (class_driver->fops == NULL) 139 usb_minors[minor] = class_driver->fops;
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | debugfs.c | 107 const struct file_operations *fops = ops ? ops : &fops_regval; local 115 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | device.c | 39 const struct file_operations *fops, 48 cdev_init(cdev, fops); 38 hfi1_cdev_init(int minor, const char *name, const struct file_operations *fops, struct cdev *cdev, struct device **devp, bool user_accessible, struct kobject *parent) argument
|
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | inject.c | 696 const struct file_operations *fops; member in struct:dfs_node 699 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR }, 700 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR }, 701 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR }, 702 { .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR }, 703 { .name = "ipid", .fops = &ipid_fops, .perm = S_IRUSR | S_IWUSR }, 704 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR }, 705 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR }, 706 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR }, 707 { .name = "README", .fops [all...] |
/linux-master/kernel/ |
H A D | kexec_file.c | 54 const struct kexec_file_ops * const *fops; local 57 for (fops = &kexec_file_loaders[0]; *fops && (*fops)->probe; ++fops) { 58 ret = (*fops)->probe(buf, buf_len); 60 image->fops = *fops; 70 if (!image->fops || !image->fops [all...] |
/linux-master/include/media/drv-intf/ |
H A D | tea575x.h | 38 struct v4l2_file_operations fops; member in struct:snd_tea575x
|
/linux-master/fs/cachefiles/ |
H A D | main.c | 39 .fops = &cachefiles_daemon_fops,
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_debugfs.h | 41 const struct file_operations *fops; member in struct:intel_gt_debugfs_file
|
/linux-master/include/linux/ |
H A D | miscdevice.h | 82 const struct file_operations *fops; member in struct:miscdevice
|
H A D | debugfs.h | 77 const struct file_operations *fops); 80 const struct file_operations *fops); 84 const struct file_operations *fops, 211 const struct file_operations *fops) 219 const struct file_operations *fops) 226 const struct file_operations *fops, 209 debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument 216 debugfs_create_file_unsafe(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument 224 debugfs_create_file_size(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size) argument
|
/linux-master/security/ |
H A D | inode.c | 87 * @fops: a pointer to a struct file_operations that should be used for 109 const struct file_operations *fops, 159 inode->i_fop = fops; 186 * @fops: a pointer to a struct file_operations that should be used for 202 const struct file_operations *fops) 204 return securityfs_create_dentry(name, mode, parent, data, fops, NULL); 107 securityfs_create_dentry(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, const struct inode_operations *iops) argument 200 securityfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
|
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds250x.c | 225 .fops = &w1_eprom_fops, 230 .fops = &w1_eprom_fops, 235 .fops = &w1_eprom_fops, 240 .fops = &w1_eprom_fops,
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cnv_dbgfs.c | 279 const struct file_operations *fops; local 283 fops = &qat_cnv_fops; 286 fops = &qat_cnv_no_comp_fops; 292 data, fops);
|
/linux-master/kernel/bpf/ |
H A D | trampoline.c | 152 tr->fops = kzalloc(sizeof(struct ftrace_ops), GFP_KERNEL); 153 if (!tr->fops) { 158 tr->fops->private = tr; 159 tr->fops->ops_func = bpf_tramp_ftrace_ops_func; 180 ret = unregister_ftrace_direct(tr->fops, (long)old_addr, false); 195 ret = modify_ftrace_direct(tr->fops, (long)new_addr); 197 ret = modify_ftrace_direct_nolock(tr->fops, (long)new_addr); 213 if (!tr->fops) 219 ftrace_set_filter_ip(tr->fops, (unsigned long)ip, 0, 1); 220 ret = register_ftrace_direct(tr->fops, (lon [all...] |
/linux-master/fs/ |
H A D | char_dev.c | 253 * @fops: file operations associated with this devices 270 const struct file_operations *fops) 284 cdev->owner = fops->owner; 285 cdev->ops = fops; 375 const struct file_operations *fops; local 408 fops = fops_get(p->ops); 409 if (!fops) 412 replace_fops(filp, fops); 542 * can call cdev fops callbacks at any time, even if this function fails. 575 * or runnable, however any cdevs already open will remain and their fops 268 __register_chrdev(unsigned int major, unsigned int baseminor, unsigned int count, const char *name, const struct file_operations *fops) argument 658 cdev_init(struct cdev *cdev, const struct file_operations *fops) argument [all...] |
H A D | file_table.c | 340 const struct file_operations *fops) 350 file = alloc_file(&path, flags, fops); 362 const struct file_operations *fops) 378 file_init_path(file, &path, fops); 384 const struct file_operations *fops) 386 struct file *f = alloc_file(&base->f_path, flags, fops); 338 alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, const char *name, int flags, const struct file_operations *fops) argument 359 alloc_file_pseudo_noaccount(struct inode *inode, struct vfsmount *mnt, const char *name, int flags, const struct file_operations *fops) argument 383 alloc_file_clone(struct file *base, int flags, const struct file_operations *fops) argument
|
/linux-master/drivers/net/netdevsim/ |
H A D | hwstats.c | 334 const struct file_operations fops; member in struct:nsim_dev_hwstats_fops 351 struct nsim_dev_hwstats_fops, fops); 386 .fops = { \ 437 &nsim_dev_hwstats_l3_enable_fops.fops); 439 &nsim_dev_hwstats_l3_disable_fops.fops); 441 &nsim_dev_hwstats_l3_fail_fops.fops);
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 23 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
|