Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/
Dmisc.c105 const struct file_operations *new_fops = NULL; in misc_open() local
113 new_fops = fops_get(iter->fops); in misc_open()
117 if (!new_fops) { in misc_open()
126 new_fops = fops_get(iter->fops); in misc_open()
129 if (!new_fops) in misc_open()
141 replace_fops(file, new_fops); in misc_open()
/linux-6.1.9/sound/
Dsound_core.c537 const struct file_operations *new_fops = NULL; in soundcore_open() local
550 new_fops = fops_get(s->unit_fops); in soundcore_open()
551 if (preclaim_oss && !new_fops) { in soundcore_open()
577 new_fops = fops_get(s->unit_fops); in soundcore_open()
581 if (!new_fops) in soundcore_open()
588 replace_fops(file, new_fops); in soundcore_open()
/linux-6.1.9/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()
/linux-6.1.9/sound/core/
Dsound.c148 const struct file_operations *new_fops; in snd_open() local
162 new_fops = fops_get(mptr->f_ops); in snd_open()
164 if (!new_fops) in snd_open()
166 replace_fops(file, new_fops); in snd_open()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_drv.c1000 const struct file_operations *new_fops; in drm_stub_open() local
1010 new_fops = fops_get(minor->dev->driver->fops); in drm_stub_open()
1011 if (!new_fops) { in drm_stub_open()
1016 replace_fops(filp, new_fops); in drm_stub_open()
/linux-6.1.9/drivers/media/dvb-core/
Ddvbdev.c95 const struct file_operations *new_fops; in dvb_device_open() local
97 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
98 if (!new_fops) in dvb_device_open()
101 replace_fops(file, new_fops); in dvb_device_open()