tag | line | file | source code |
shm_pages | 16 | include/linux/shm.h | unsigned long *shm_pages; /* array of ptrs to frames -> SHMMAX */ |
shm_pages | 93 | ipc/shm.c | shp->shm_pages = (ulong *) kmalloc (numpages*sizeof(ulong),GFP_KERNEL); |
shm_pages | 94 | ipc/shm.c | if (!shp->shm_pages) { |
shm_pages | 102 | ipc/shm.c | for (i=0; i< numpages; shp->shm_pages[i++] = 0); |
shm_pages | 174 | ipc/shm.c | if (!shp->shm_pages) { |
shm_pages | 179 | ipc/shm.c | if (!(page = shp->shm_pages[i])) |
shm_pages | 189 | ipc/shm.c | kfree_s (shp->shm_pages, numpages * sizeof (ulong)); |
shm_pages | 599 | ipc/shm.c | if (!(shp->shm_pages[idx] & PAGE_PRESENT)) { |
shm_pages | 605 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
shm_pages | 609 | ipc/shm.c | if (shp->shm_pages[idx]) { |
shm_pages | 610 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
shm_pages | 611 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
shm_pages | 615 | ipc/shm.c | swap_free (shp->shm_pages[idx]); |
shm_pages | 619 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
shm_pages | 625 | ipc/shm.c | page = shp->shm_pages[idx]; |
shm_pages | 671 | ipc/shm.c | page = shp->shm_pages[idx]; |
shm_pages | 719 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |