Home
last modified time | relevance | path

Searched refs:shm_clist (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Dshm.h14 struct list_head shm_clist; member
21 #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist)
/linux-6.1.9/ipc/
Dshm.c75 struct list_head shm_clist; member
253 if (!list_empty(&shp->shm_clist)) { in shm_clist_rm()
265 list_del_init(&shp->shm_clist); in shm_clist_rm()
420 if (!list_empty(&shp->shm_clist)) in shm_try_destroy_orphaned()
447 if (list_empty(&task->sysvshm.shm_clist)) { in exit_shm()
452 shp = list_first_entry(&task->sysvshm.shm_clist, struct shmid_kernel, in exit_shm()
453 shm_clist); in exit_shm()
480 list_del_init(&shp->shm_clist); in exit_shm()
499 list_del_init(&shp->shm_clist); in exit_shm()
790 list_add(&shp->shm_clist, &current->sysvshm.shm_clist); in newseg()