Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/char/
Dmisc.c117 const struct file_operations *new_fops = NULL; in misc_open() local
123 new_fops = fops_get(c->fops); in misc_open()
128 if (!new_fops) { in misc_open()
135 new_fops = fops_get(c->fops); in misc_open()
139 if (!new_fops) in misc_open()
151 replace_fops(file, new_fops); in misc_open()
/linux-4.4.14/drivers/usb/core/
Dfile.c33 const struct file_operations *new_fops; in usb_open() local
36 new_fops = fops_get(usb_minors[iminor(inode)]); in usb_open()
38 if (!new_fops) in usb_open()
41 replace_fops(file, new_fops); in usb_open()
/linux-4.4.14/sound/
Dsound_core.c587 const struct file_operations *new_fops = NULL; in soundcore_open() local
600 new_fops = fops_get(s->unit_fops); in soundcore_open()
601 if (preclaim_oss && !new_fops) { in soundcore_open()
627 new_fops = fops_get(s->unit_fops); in soundcore_open()
630 if (new_fops) { in soundcore_open()
636 replace_fops(file, new_fops); in soundcore_open()
/linux-4.4.14/sound/core/
Dsound.c156 const struct file_operations *new_fops; in snd_open() local
170 new_fops = fops_get(mptr->f_ops); in snd_open()
172 if (!new_fops) in snd_open()
174 replace_fops(file, new_fops); in snd_open()
/linux-4.4.14/drivers/media/dvb-core/
Ddvbdev.c77 const struct file_operations *new_fops; in dvb_device_open() local
79 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
80 if (!new_fops) in dvb_device_open()
83 replace_fops(file, new_fops); in dvb_device_open()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_drv.c844 const struct file_operations *new_fops; in drm_stub_open() local
857 new_fops = fops_get(minor->dev->driver->fops); in drm_stub_open()
858 if (!new_fops) { in drm_stub_open()
863 replace_fops(filp, new_fops); in drm_stub_open()