Home
last modified time | relevance | path

Searched refs:registration_lock (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/target/
H A Dtarget_core_pr.c175 spin_lock(&pr_tmpl->registration_lock); in target_check_scsi2_reservation_conflict()
177 spin_unlock(&pr_tmpl->registration_lock); in target_check_scsi2_reservation_conflict()
1069 spin_lock(&pr_tmpl->registration_lock); in __core_scsi3_add_registration()
1073 spin_unlock(&pr_tmpl->registration_lock); in __core_scsi3_add_registration()
1091 spin_lock(&pr_tmpl->registration_lock); in __core_scsi3_add_registration()
1097 spin_unlock(&pr_tmpl->registration_lock); in __core_scsi3_add_registration()
1159 spin_lock(&pr_tmpl->registration_lock); in __core_scsi3_locate_pr_reg()
1174 spin_unlock(&pr_tmpl->registration_lock); in __core_scsi3_locate_pr_reg()
1188 spin_unlock(&pr_tmpl->registration_lock); in __core_scsi3_locate_pr_reg()
1191 spin_unlock(&pr_tmpl->registration_lock); in __core_scsi3_locate_pr_reg()
[all...]
H A Dtarget_core_device.c769 spin_lock_init(&dev->t10_pr.registration_lock); in target_alloc_device()
H A Dtarget_core_configfs.c1946 spin_lock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()
1966 spin_unlock(&dev->t10_pr.registration_lock); in target_pr_res_pr_registered_i_pts_show()
/linux/drivers/video/fbdev/core/
H A Dfb_procfs.c11 mutex_lock(&registration_lock); in fb_seq_start()
18 mutex_unlock(&registration_lock); in fb_seq_stop()
H A Dfbmem.c33 DEFINE_MUTEX(registration_lock);
47 mutex_lock(&registration_lock); in get_fb_info()
51 mutex_unlock(&registration_lock); in get_fb_info()
577 mutex_lock(&registration_lock); in register_framebuffer()
579 mutex_unlock(&registration_lock); in register_framebuffer()
604 mutex_lock(&registration_lock); in unregister_framebuffer()
606 mutex_unlock(&registration_lock); in unregister_framebuffer()
/linux/drivers/parport/
H A Dshare.c52 static DEFINE_MUTEX(registration_lock);
165 /* caller has exclusive registration_lock */ in attach_driver_chain()
188 /* caller has exclusive registration_lock */ in detach_driver_chain()
293 mutex_lock(&registration_lock); in __parport_register_driver()
297 mutex_unlock(&registration_lock); in __parport_register_driver()
332 mutex_lock(&registration_lock); in parport_unregister_driver()
335 mutex_unlock(&registration_lock); in parport_unregister_driver()
518 mutex_lock(&registration_lock); in parport_announce_port()
535 mutex_unlock(&registration_lock); in parport_announce_port()
562 mutex_lock(&registration_lock); in parport_remove_port()
[all...]
/linux/drivers/fwctl/
H A Dmain.c201 guard(rwsem_read)(&uctx->fwctl->registration_lock); in fwctl_fops_ioctl()
213 guard(rwsem_read)(&fwctl->registration_lock); in fwctl_fops_open()
248 scoped_guard(rwsem_read, &fwctl->registration_lock) { in fwctl_fops_release()
309 init_rwsem(&fwctl->registration_lock); in _alloc_device()
379 guard(rwsem_write)(&fwctl->registration_lock); in fwctl_unregister()
/linux/include/linux/
H A Dfwctl.h80 struct rw_semaphore registration_lock; member
/linux/include/target/
H A Dtarget_core_base.h400 spinlock_t registration_lock; member