Home
last modified time | relevance | path

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

/busybox-1.35.0/miscutils/
Dtime.c122 # define pagesize BB_ARCH_FIXED_PAGESIZE macro
123 # define ptok(pagesize, pages) ptok(pages) argument
125 static unsigned long ptok(const unsigned pagesize, const unsigned long pages) in ptok() argument
130 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 pagesize
192 unsigned pagesize = bb_getpagesize(); in summarize() local
254 (ptok(pagesize, (UL) resp->ru.ru_idrss) + in summarize()
255 ptok(pagesize, (UL) resp->ru.ru_isrss)) / cpu_ticks); in summarize()
[all …]
Dhexedit.c34 IF_VARIABLE_ARCH_PAGESIZE(unsigned pagesize;)
35 #define G_pagesize cached_pagesize(G.pagesize)
204 unsigned pagesize; in move_mapping_further() local
209 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 …]
/busybox-1.35.0/util-linux/
Dmkswap.c117 unsigned pagesize; in mkswap_main() local
131 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()
/busybox-1.35.0/archival/
Drpm.c87 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()