Home
last modified time | relevance | path

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

/linux-2.4.37.9/mm/
Dshmem.c41 #define ENTRIES_PER_PAGEPAGE (ENTRIES_PER_PAGE*ENTRIES_PER_PAGE) macro
44 #define SHMEM_MAX_INDEX (SHMEM_NR_DIRECT + (ENTRIES_PER_PAGEPAGE/2) * (ENTRIES_PER_PAGE+1))
330 if (len <= ENTRIES_PER_PAGEPAGE/2 + SHMEM_NR_DIRECT) { in shmem_truncate_indirect()
335 len -= ENTRIES_PER_PAGEPAGE/2 + SHMEM_NR_DIRECT; in shmem_truncate_indirect()
336 BUG_ON(len > ENTRIES_PER_PAGEPAGE*ENTRIES_PER_PAGE/2); in shmem_truncate_indirect()
338 baseidx -= baseidx % ENTRIES_PER_PAGEPAGE; in shmem_truncate_indirect()
340 ENTRIES_PER_PAGE/2 + baseidx/ENTRIES_PER_PAGEPAGE; in shmem_truncate_indirect()
342 baseidx += ENTRIES_PER_PAGEPAGE/2 + SHMEM_NR_DIRECT; in shmem_truncate_indirect()