Home
last modified time | relevance | path

Searched refs:new_fops (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/
Dmisc.c105 const struct file_operations *new_fops = NULL; in misc_open() local
111 new_fops = fops_get(c->fops); in misc_open()
116 if (!new_fops) { in misc_open()
123 new_fops = fops_get(c->fops); in misc_open()
127 if (!new_fops) in misc_open()
139 replace_fops(file, new_fops); in misc_open()
/kernel/linux/linux-5.10/drivers/usb/core/
Dfile.c37 const struct file_operations *new_fops; in usb_open() local
40 new_fops = fops_get(usb_minors[iminor(inode)]); in usb_open()
42 if (!new_fops) in usb_open()
45 replace_fops(file, new_fops); in usb_open()
/kernel/linux/linux-5.10/sound/
Dsound_core.c541 const struct file_operations *new_fops = NULL; in soundcore_open() local
554 new_fops = fops_get(s->unit_fops); in soundcore_open()
555 if (preclaim_oss && !new_fops) { in soundcore_open()
581 new_fops = fops_get(s->unit_fops); in soundcore_open()
584 if (new_fops) { in soundcore_open()
590 replace_fops(file, new_fops); in soundcore_open()
/kernel/linux/linux-5.10/sound/core/
Dsound.c142 const struct file_operations *new_fops; in snd_open() local
156 new_fops = fops_get(mptr->f_ops); in snd_open()
158 if (!new_fops) in snd_open()
160 replace_fops(file, new_fops); in snd_open()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_drv.c1001 const struct file_operations *new_fops; in drm_stub_open() local
1011 new_fops = fops_get(minor->dev->driver->fops); in drm_stub_open()
1012 if (!new_fops) { in drm_stub_open()
1017 replace_fops(filp, new_fops); in drm_stub_open()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvbdev.c106 const struct file_operations *new_fops; in dvb_device_open() local
108 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
109 if (!new_fops) in dvb_device_open()
112 replace_fops(file, new_fops); in dvb_device_open()