Home
last modified time | relevance | path

Searched refs:shmem_lock (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
H A Dsmc.c24 * @shmem_lock: Lock to protect access to Tx/Rx shared memory area
31 struct mutex shmem_lock; member
84 mutex_init(&scmi_info->shmem_lock); in smc_chan_setup()
109 mutex_lock(&scmi_info->shmem_lock); in smc_send_message()
116 mutex_unlock(&scmi_info->shmem_lock); in smc_send_message()
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dsmc.c46 * @shmem_lock: Lock to protect access to Tx/Rx shared memory area.
60 struct mutex shmem_lock; member
93 mutex_init(&scmi_info->shmem_lock); in smc_channel_lock_init()
112 mutex_lock(&scmi_info->shmem_lock); in smc_channel_lock_acquire()
120 mutex_unlock(&scmi_info->shmem_lock); in smc_channel_lock_release()
/kernel/linux/linux-5.10/include/linux/
H A Dshmem_fs.h68 extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
/kernel/linux/linux-6.6/include/linux/
H A Dshmem_fs.h94 extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
/kernel/linux/linux-5.10/ipc/
H A Dshm.c332 shmem_lock(shm_file, 0, shp->mlock_user); in shm_destroy()
1206 err = shmem_lock(shm_file, 1, user); in shmctl_do_lock()
1217 shmem_lock(shm_file, 0, shp->mlock_user); in shmctl_do_lock()
/kernel/linux/linux-6.6/ipc/
H A Dshm.c338 shmem_lock(shm_file, 0, shp->mlock_ucounts); in shm_destroy()
1216 err = shmem_lock(shm_file, 1, ucounts); in shmctl_do_lock()
1227 shmem_lock(shm_file, 0, shp->mlock_ucounts); in shmctl_do_lock()
/kernel/linux/linux-5.10/mm/
H A Dshmem.c2233 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock() function
4171 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock() function
/kernel/linux/linux-6.6/mm/
H A Dshmem.c2360 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock() function
4746 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock() function

Completed in 17 milliseconds