Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/
H A 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()
/openbmc/linux/drivers/usb/core/
H A 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()
/openbmc/linux/drivers/accel/
H A Ddrm_accel.c165 const struct file_operations *new_fops; in accel_stub_open() local
173 new_fops = fops_get(minor->dev->driver->fops); in accel_stub_open()
174 if (!new_fops) { in accel_stub_open()
179 replace_fops(filp, new_fops); in accel_stub_open()
/openbmc/linux/sound/
H A 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()
/openbmc/linux/sound/core/
H A 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()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_drv.c1033 const struct file_operations *new_fops; in drm_stub_open() local
1043 new_fops = fops_get(minor->dev->driver->fops); in drm_stub_open()
1044 if (!new_fops) { in drm_stub_open()
1049 replace_fops(filp, new_fops); in drm_stub_open()
/openbmc/linux/drivers/media/dvb-core/
H A 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()