Home
last modified time | relevance | path

Searched refs:f_mutex (Results 1 – 4 of 4) sorted by relevance

/linux/fs/lockd/
H A Dsvclock.c268 mutex_unlock(&file->f_mutex); in nlmsvc_free_block()
279 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block()
293 mutex_lock(&file->f_mutex); in nlmsvc_traverse_blocks()
304 mutex_unlock(&file->f_mutex); in nlmsvc_traverse_blocks()
310 mutex_unlock(&file->f_mutex); in nlmsvc_traverse_blocks()
474 mutex_lock(&file->f_mutex); in nlmsvc_lock()
569 mutex_unlock(&file->f_mutex); in nlmsvc_lock()
697 mutex_lock(&file->f_mutex); in nlmsvc_cancel_blocked()
699 mutex_unlock(&file->f_mutex); in nlmsvc_cancel_blocked()
H A Dsvcsubs.c163 mutex_lock(&file->f_mutex); in nlm_lookup_file()
165 mutex_unlock(&file->f_mutex); in nlm_lookup_file()
178 mutex_init(&file->f_mutex); in nlm_lookup_file()
H A Dlockd.h205 struct mutex f_mutex; /* avoid concurrent access */ member
/linux/drivers/scsi/
H A Dsg.c145 struct mutex f_mutex; /* protect against changes in this fd */ member
643 mutex_lock(&sfp->f_mutex); in sg_write()
652 mutex_unlock(&sfp->f_mutex); in sg_write()
1027 mutex_lock(&sfp->f_mutex); in sg_ioctl_common()
1031 mutex_unlock(&sfp->f_mutex); in sg_ioctl_common()
1038 mutex_unlock(&sfp->f_mutex); in sg_ioctl_common()
1273 mutex_lock(&sfp->f_mutex); in sg_mmap()
1292 mutex_unlock(&sfp->f_mutex); in sg_mmap()
1771 mutex_lock(&sfp->f_mutex); in sg_start_req()
1780 mutex_unlock(&sfp->f_mutex); in sg_start_req()
[all …]