Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/sparc64/kernel/
Diommu_common.c18 int i, pgcount; in verify_lengths() local
34 pgcount = 0; in verify_lengths()
44 pgcount += ((end - start) >> IO_PAGE_SHIFT); in verify_lengths()
47 if (pgcount != npages) { in verify_lengths()
50 npages, pgcount); in verify_lengths()
/linux-2.4.37.9/mm/
Dmemory.c541 int pgcount, err; in map_user_kiobuf() local
551 pgcount = (va + len + PAGE_SIZE - 1)/PAGE_SIZE - va/PAGE_SIZE; in map_user_kiobuf()
553 if (!pgcount) BUG(); in map_user_kiobuf()
554 err = expand_kiobuf(iobuf, pgcount); in map_user_kiobuf()
565 err = get_user_pages(current, mm, va, pgcount, in map_user_kiobuf()
574 while (pgcount--) { in map_user_kiobuf()
578 flush_dcache_page(iobuf->maplist[pgcount]); in map_user_kiobuf()