Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/
Dmisc.c127 const struct file_operations *new_fops = NULL; in misc_open() local
135 new_fops = fops_get(iter->fops); in misc_open()
139 if (!new_fops) { in misc_open()
148 new_fops = fops_get(iter->fops); in misc_open()
151 if (!new_fops) in misc_open()
163 replace_fops(file, new_fops); in misc_open()
/linux-6.12.1/drivers/usb/core/
Dfile.c36 const struct file_operations *new_fops; in usb_open() local
39 new_fops = fops_get(usb_minors[iminor(inode)]); in usb_open()
41 if (!new_fops) in usb_open()
44 replace_fops(file, new_fops); in usb_open()
/linux-6.12.1/drivers/accel/
Ddrm_accel.c162 const struct file_operations *new_fops; in accel_stub_open() local
170 new_fops = fops_get(minor->dev->driver->fops); in accel_stub_open()
171 if (!new_fops) { in accel_stub_open()
176 replace_fops(filp, new_fops); in accel_stub_open()
/linux-6.12.1/sound/
Dsound_core.c538 const struct file_operations *new_fops = NULL; in soundcore_open() local
551 new_fops = fops_get(s->unit_fops); in soundcore_open()
552 if (preclaim_oss && !new_fops) { in soundcore_open()
578 new_fops = fops_get(s->unit_fops); in soundcore_open()
582 if (!new_fops) in soundcore_open()
589 replace_fops(file, new_fops); in soundcore_open()
/linux-6.12.1/sound/core/
Dsound.c147 const struct file_operations *new_fops; in snd_open() local
159 new_fops = fops_get(mptr->f_ops); in snd_open()
161 if (!new_fops) in snd_open()
163 replace_fops(file, new_fops); in snd_open()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_drv.c1031 const struct file_operations *new_fops; in drm_stub_open() local
1041 new_fops = fops_get(minor->dev->driver->fops); in drm_stub_open()
1042 if (!new_fops) { in drm_stub_open()
1047 replace_fops(filp, new_fops); in drm_stub_open()
/linux-6.12.1/drivers/media/dvb-core/
Ddvbdev.c101 const struct file_operations *new_fops; in dvb_device_open() local
103 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
104 if (!new_fops) in dvb_device_open()
107 replace_fops(file, new_fops); in dvb_device_open()