/linux-master/include/linux/ |
H A D | sound.h | 12 extern int register_sound_special(const struct file_operations *fops, int unit); 13 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev); 14 extern int register_sound_mixer(const struct file_operations *fops, int dev); 15 extern int register_sound_dsp(const struct file_operations *fops, int dev);
|
H A D | anon_inodes.h | 16 const struct file_operations *fops, 19 const struct file_operations *fops, 22 int anon_inode_getfd(const char *name, const struct file_operations *fops, 25 const struct file_operations *fops,
|
H A D | tracefs.h | 31 * @fops: the file operations of the created file 55 * The @fops should be set to the file operations that will be used to create 63 const struct file_operations **fops); 68 * @callback: The callback to get the fops of the file when it is created 92 const struct file_operations *fops);
|
/linux-master/net/core/ |
H A D | failover.c | 50 struct failover_ops *fops; local 58 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); 62 if (fops && fops->slave_pre_register && 63 fops->slave_pre_register(slave_dev, failover_dev)) 66 err = netdev_rx_handler_register(slave_dev, fops->slave_handle_frame, 85 if (fops && fops->slave_register && 86 !fops->slave_register(slave_dev, failover_dev)) 107 struct failover_ops *fops; local 138 struct failover_ops *fops; local 163 struct failover_ops *fops; local [all...] |
/linux-master/fs/ |
H A D | anon_inodes.c | 79 const struct file_operations *fops, 87 if (fops->owner && !try_module_get(fops->owner)) 110 flags & (O_ACCMODE | O_NONBLOCK), fops); 123 module_put(fops->owner); 133 * @fops: [in] file operations for the new file 144 const struct file_operations *fops, 147 return __anon_inode_getfile(name, fops, priv, flags, NULL, false); 158 * @fops: [in] file operations for the new file 179 const struct file_operations *fops, 78 __anon_inode_getfile(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode, bool make_inode) argument 143 anon_inode_getfile(const char *name, const struct file_operations *fops, void *priv, int flags) argument 178 anon_inode_create_getfile(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode) argument 188 __anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode, bool make_inode) argument 234 anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags) argument 267 anon_inode_create_getfd(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode) argument [all...] |
/linux-master/drivers/net/wireless/rsi/ |
H A D | rsi_debugfs.h | 37 const struct file_operations fops; member in struct:rsi_dbg_files
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | device.h | 10 const struct file_operations *fops,
|
/linux-master/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.bpf.c | 71 const void *fops; local 78 fops = &bpf_prog_fops; 81 fops = &bpf_map_fops; 84 fops = &btf_fops; 87 fops = &bpf_link_fops; 93 if (file->f_op != fops)
|
/linux-master/kernel/livepatch/ |
H A D | patch.h | 20 * @fops: registered ftrace ops struct 25 struct ftrace_ops fops; member in struct:klp_ops
|
H A D | patch.c | 42 struct ftrace_ops *fops, 50 ops = container_of(fops, struct klp_ops, fops); 147 WARN_ON(unregister_ftrace_function(&ops->fops)); 148 WARN_ON(ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0)); 186 ops->fops.func = klp_ftrace_handler; 187 ops->fops.flags = FTRACE_OPS_FL_DYNAMIC | 199 ret = ftrace_set_filter_ip(&ops->fops, ftrace_loc, 0, 0); 206 ret = register_ftrace_function(&ops->fops); 210 ftrace_set_filter_ip(&ops->fops, ftrace_lo 40 klp_ftrace_handler(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *fops, struct ftrace_regs *fregs) argument [all...] |
/linux-master/drivers/char/xillybus/ |
H A D | xillybus_class.h | 17 const struct file_operations *fops,
|
/linux-master/drivers/media/mc/ |
H A D | mc-devnode.c | 75 if (!devnode->fops->read) 79 return devnode->fops->read(filp, buf, sz, off); 87 if (!devnode->fops->write) 91 return devnode->fops->write(filp, buf, sz, off); 101 if (!devnode->fops->poll) 103 return devnode->fops->poll(filp, poll); 126 return __media_ioctl(filp, cmd, arg, devnode->fops->ioctl); 136 return __media_ioctl(filp, cmd, arg, devnode->fops->compat_ioctl); 167 if (devnode->fops->open) { 168 ret = devnode->fops [all...] |
/linux-master/drivers/hv/ |
H A D | hv_utils_transport.c | 33 hvt = container_of(file->f_op, struct hvutil_transport, fops); 81 hvt = container_of(file->f_op, struct hvutil_transport, fops); 101 hvt = container_of(file->f_op, struct hvutil_transport, fops); 120 hvt = container_of(file->f_op, struct hvutil_transport, fops); 164 hvt = container_of(file->f_op, struct hvutil_transport, fops); 287 hvt->fops.owner = THIS_MODULE; 288 hvt->fops.read = hvt_op_read; 289 hvt->fops.write = hvt_op_write; 290 hvt->fops.poll = hvt_op_poll; 291 hvt->fops [all...] |
H A D | hv_utils_transport.h | 23 struct file_operations fops; /* file operations */ member in struct:hvutil_transport
|
/linux-master/sound/ |
H A D | sound_core.c | 159 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top) argument 195 s->unit_fops=fops; 239 static int sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, struct device *dev) argument 249 r = __sound_insert_unit(s, list, fops, index, low, top); 336 * @fops: File operations for the driver 347 int register_sound_special_device(const struct file_operations *fops, int unit, argument 408 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, 414 int register_sound_special(const struct file_operations *fops, int unit) argument 416 return register_sound_special_device(fops, unit, NULL); 423 * @fops 433 register_sound_mixer(const struct file_operations *fops, int dev) argument 461 register_sound_dsp(const struct file_operations *fops, int dev) argument [all...] |
/linux-master/drivers/s390/char/ |
H A D | tape_class.h | 40 * fops 53 const struct file_operations *fops,
|
H A D | tape_class.c | 39 * fops 47 const struct file_operations *fops, 72 tcd->char_device->owner = fops->owner; 73 tcd->char_device->ops = fops; 44 register_tape_dev( struct device * device, dev_t dev, const struct file_operations *fops, char * device_name, char * mode_name) argument
|
/linux-master/block/ |
H A D | ioctl.c | 259 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...] |
/linux-master/drivers/media/radio/ |
H A D | radio-tea5777.h | 52 struct v4l2_file_operations fops; member in struct:radio_tea5777
|
/linux-master/arch/arc/kernel/ |
H A D | arc_hostlink.c | 47 .fops = &arc_hl_fops
|
/linux-master/drivers/firmware/efi/ |
H A D | vars.c | 29 const struct efivar_operations *fops; local 32 fops = __efivars->ops; 34 if (!fops->query_variable_store) 37 status = fops->query_variable_store(attributes, size,
|
/linux-master/drivers/misc/cxl/ |
H A D | api.c | 58 const struct file_operations *fops, 67 if (fops->owner && !try_module_get(fops->owner)) 84 flags & (O_ACCMODE | O_NONBLOCK), fops); 97 module_put(fops->owner); 385 #define PATCH_FOPS(NAME) if (!fops->NAME) fops->NAME = afu_fops.NAME 388 struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, argument 410 if (fops) { 419 fops 57 cxl_getfile(const char *name, const struct file_operations *fops, void *priv, int flags) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_debugfs.c | 110 umode_t mode = files->fops->write ? 0644 : 0444; 115 files->fops);
|
/linux-master/arch/s390/lib/ |
H A D | test_unwind.c | 270 struct ftrace_ops *fops, 288 struct ftrace_ops *fops; local 290 fops = kunit_kzalloc(current_test, sizeof(*fops), GFP_KERNEL); 291 fops->func = test_unwind_ftrace_handler; 292 fops->flags = FTRACE_OPS_FL_DYNAMIC | 300 ret = ftrace_set_filter_ip(fops, (unsigned long)test_unwind_ftraced_func, 0, 0); 306 ret = register_ftrace_function(fops); 309 unregister_ftrace_function(fops); 314 ftrace_set_filter_ip(fops, (unsigne 268 test_unwind_ftrace_handler(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *fops, struct ftrace_regs *fregs) argument [all...] |
/linux-master/arch/s390/kernel/ |
H A D | sysinfo.c | 528 const struct file_operations *fops; member in struct:stsi_file 533 {.fops = &stsi_1_1_1_fs_ops, .name = "1_1_1"}, 534 {.fops = &stsi_1_2_1_fs_ops, .name = "1_2_1"}, 535 {.fops = &stsi_1_2_2_fs_ops, .name = "1_2_2"}, 536 {.fops = &stsi_2_2_1_fs_ops, .name = "2_2_1"}, 537 {.fops = &stsi_2_2_2_fs_ops, .name = "2_2_2"}, 538 {.fops = &stsi_3_2_2_fs_ops, .name = "3_2_2"}, 539 {.fops = &stsi_15_1_2_fs_ops, .name = "15_1_2"}, 540 {.fops = &stsi_15_1_3_fs_ops, .name = "15_1_3"}, 541 {.fops [all...] |