Searched refs:pagesize (Results 1 – 4 of 4) sorted by relevance
122 # define pagesize BB_ARCH_FIXED_PAGESIZE macro123 # define ptok(pagesize, pages) ptok(pages) argument125 static unsigned long ptok(const unsigned pagesize, const unsigned long pages) in ptok() argument130 if (pages > (LONG_MAX / pagesize)) { /* Could overflow. */ in ptok()132 return tmp * pagesize; /* then larger. */ in ptok()135 tmp = pages * pagesize; /* Larger first, */ in ptok()138 #undef pagesize192 unsigned pagesize = bb_getpagesize(); in summarize() local254 (ptok(pagesize, (UL) resp->ru.ru_idrss) + in summarize()255 ptok(pagesize, (UL) resp->ru.ru_isrss)) / cpu_ticks); in summarize()[all …]
34 IF_VARIABLE_ARCH_PAGESIZE(unsigned pagesize;)35 #define G_pagesize cached_pagesize(G.pagesize)204 unsigned pagesize; in move_mapping_further() local209 pagesize = G_pagesize; /* constant on most arches */ in move_mapping_further()211 if (pos >= pagesize) { in move_mapping_further()214 G.offset += pagesize; in move_mapping_further()216 G.offset -= pagesize; in move_mapping_further()219 pos -= pagesize; in move_mapping_further()220 } while (pos >= pagesize); in move_mapping_further()228 unsigned pagesize; in move_mapping_lower() local[all …]
117 unsigned pagesize; in mkswap_main() local131 pagesize = bb_getpagesize(); in mkswap_main()132 len -= pagesize; in mkswap_main()148 hdr->last_page = (uoff_t)len / pagesize; in mkswap_main()168 xlseek(fd, pagesize - 10, SEEK_SET); in mkswap_main()
87 IF_VARIABLE_ARCH_PAGESIZE(unsigned pagesize;)88 #define G_pagesize cached_pagesize(G.pagesize)361 INIT_PAGESIZE(G.pagesize); in rpm_main()528 INIT_PAGESIZE(G.pagesize); in rpm2cpio_main()