Home
last modified time | relevance | path

Searched refs:shm_file (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/ipc/
H A Dshm.c55 struct file *shm_file; member
289 if (shp->shm_file != sfd->file) { in __shm_open()
324 struct file *shm_file; in shm_destroy() local
326 shm_file = shp->shm_file; in shm_destroy()
327 shp->shm_file = NULL; in shm_destroy()
331 if (!is_file_hugepages(shm_file)) in shm_destroy()
332 shmem_lock(shm_file, 0, shp->mlock_user); in shm_destroy()
334 user_shm_unlock(i_size_read(file_inode(shm_file)), in shm_destroy()
336 fput(shm_file); in shm_destroy()
1162 struct file *shm_file; shmctl_do_lock() local
[all...]
/kernel/linux/linux-6.6/ipc/
H A Dshm.c55 struct file *shm_file; member
287 if (shp->shm_file != sfd->file) { in __shm_open()
330 struct file *shm_file; in shm_destroy() local
332 shm_file = shp->shm_file; in shm_destroy()
333 shp->shm_file = NULL; in shm_destroy()
337 if (!is_file_hugepages(shm_file)) in shm_destroy()
338 shmem_lock(shm_file, 0, shp->mlock_ucounts); in shm_destroy()
339 fput(shm_file); in shm_destroy()
779 shp->shm_file in newseg()
1172 struct file *shm_file; shmctl_do_lock() local
[all...]

Completed in 3 milliseconds