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(shp->shm_pages); |
shm_pages | 607 | ipc/shm.c | if (!(shp->shm_pages[idx] & PAGE_PRESENT)) { |
shm_pages | 613 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
shm_pages | 617 | ipc/shm.c | if (shp->shm_pages[idx]) { |
shm_pages | 618 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
shm_pages | 619 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
shm_pages | 623 | ipc/shm.c | swap_free (shp->shm_pages[idx]); |
shm_pages | 627 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
shm_pages | 633 | ipc/shm.c | page = shp->shm_pages[idx]; |
shm_pages | 679 | ipc/shm.c | page = shp->shm_pages[idx]; |
shm_pages | 727 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |