Searched refs:PAGESIZE (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-current/external/cddl/osnet/sys/sys/
H A Dparam.h39 #define PAGESIZE PAGE_SIZE macro
41 #define PAGESIZE getpagesize() macro
H A Dsystm.h72 #define PAGESIZE PAGE_SIZE macro
73 #define PAGEOFFSET (PAGESIZE - 1)
/netbsd-current/external/gpl2/libmalloc/dist/
H A Dgetpagesize.h34 #ifdef PAGESIZE
35 #define getpagesize() PAGESIZE
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dtypes.d50 static immutable size_t PAGESIZE;
63 PAGESIZE = info.dwPageSize;
64 assert(PAGESIZE < int.max);
70 PAGESIZE = cast(size_t)sysconf(_SC_PAGESIZE);
H A Dfiber.d603 // the PAGESIZE is still 4k, however on AArch64 it is 16k.
626 this( void function() fn, size_t sz = PAGESIZE * defaultStackPages,
627 size_t guardPageSize = PAGESIZE ) nothrow
654 this( void delegate() dg, size_t sz = PAGESIZE * defaultStackPages,
655 size_t guardPageSize = PAGESIZE ) nothrow
970 // adjust alloc size to a multiple of PAGESIZE
971 sz += PAGESIZE - 1;
972 sz -= sz % PAGESIZE;
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dgetpagesize.c41 # ifdef PAGESIZE
42 # define GNU_OUR_PAGESIZE PAGESIZE
43 # else /* no PAGESIZE */
60 # endif /* PAGESIZE */
/netbsd-current/external/bsd/openldap/dist/tests/scripts/
H A Dtest025-limits761 PAGESIZE="$SLAPD_PAGE_SIZE"
762 if test "$PAGESIZE" -le 0 ; then
772 PAGESIZE=5
776 echo "Testing regular search limits with pagedResults control (page size $PAGESIZE)"
782 -E '!pr='$PAGESIZE'/noprompt' '(objectClass=*)' >$SEARCHOUT 2>&1
806 -E '!pr='$PAGESIZE'/noprompt' '(objectClass=*)' > $SEARCHOUT 2>&1
850 -E '!pr='$PAGESIZE'/noprompt' '(objectClass=*)' > $SEARCHOUT 2>&1
879 -E '!pr='$PAGESIZE'/noprompt' '(objectClass=*)' > $SEARCHOUT 2>&1
912 -E '!pr='$PAGESIZE'/noprompt' '(objectClass=*)' > $SEARCHOUT 2>&1
952 -E '!pr='$PAGESIZE'/nopromp
[all...]
/netbsd-current/external/gpl2/lvm2/dist/test/
H A Dt-pvcreate-usage.sh13 PAGESIZE=$(getconf PAGESIZE)
92 #check_pv_field_ $dev1 pe_start $(($(getconf PAGESIZE)/1024))".00k"
110 if [ $PAGESIZE -eq 65536 ] ; then
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/impl/conservative/
H A Dgc.d648 if (size <= PAGESIZE / 2)
651 auto psz = psize / PAGESIZE;
652 auto newsz = (size + PAGESIZE - 1) / PAGESIZE;
689 alloc_size = newsz * PAGESIZE;
756 if (psize < PAGESIZE)
759 auto psz = psize / PAGESIZE;
760 auto minsz = (minsize + PAGESIZE - 1) / PAGESIZE;
761 auto maxsz = (maxsize + PAGESIZE
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/
H A Dos.d128 // (req_size + PAGESIZE) is allocated, and the pointer is rounded up
129 // to PAGESIZE alignment, there will be space for a void* at the end
130 // after PAGESIZE bytes used by the GC.
136 const size_t PAGE_MASK = PAGESIZE - 1;
141 p = cast(byte *) malloc(nbytes + PAGESIZE);
142 q = p + ((PAGESIZE - ((cast(size_t) p & PAGE_MASK))) & PAGE_MASK);
H A Dpooltable.d171 enum PAGESIZE = 4096;
247 pool.baseAddr = cast(byte*)(i++ * NPAGES * PAGESIZE);
248 pool.topAddr = pool.baseAddr + NPAGES * PAGESIZE;
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/
H A Dgc.d665 psize = psz * PAGESIZE;
670 if (size <= PAGESIZE / 2 || alwaysMalloc)
712 alloc_size = newsz * PAGESIZE;
788 debug (MEMSTOMP) memset(pool.baseAddr + (pagenum + psz) * PAGESIZE, 0xF0, sz * PAGESIZE);
797 return (psz + sz) * PAGESIZE;
902 auto size = npages * PAGESIZE;
1350 stats.freeSize += PAGESIZE;
1352 stats.usedSize += PAGESIZE;
1369 const bitbase = pn * PAGESIZE / 1
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/
H A Dos.d174 // (req_size + PAGESIZE) is allocated, and the pointer is rounded up
175 // to PAGESIZE alignment, there will be space for a void* at the end
176 // after PAGESIZE bytes used by the GC.
183 const size_t PAGE_MASK = PAGESIZE - 1;
188 p = cast(byte *) malloc(nbytes + PAGESIZE);
191 q = p + ((PAGESIZE - ((cast(size_t) p & PAGE_MASK))) & PAGE_MASK);
H A Dpooltable.d186 enum PAGESIZE = 4096;
262 pool.baseAddr = cast(byte*)(i++ * NPAGES * PAGESIZE);
263 pool.topAddr = pool.baseAddr + NPAGES * PAGESIZE;
/netbsd-current/external/gpl3/gdb/dist/sim/arm/
H A Darmvirt.c49 #undef PAGESIZE /* Cleanup system headers. */ macro
51 #define PAGESIZE 64 * 1024 macro
79 pageptr = (ARMword *) malloc (PAGESIZE);
115 pageptr = (ARMword *) malloc (PAGESIZE);
/netbsd-current/external/gpl3/gdb.old/dist/sim/arm/
H A Darmvirt.c47 #define PAGESIZE 64 * 1024 macro
75 pageptr = (ARMword *) malloc (PAGESIZE);
111 pageptr = (ARMword *) malloc (PAGESIZE);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dlifetime.d32 PAGESIZE = 4096,
33 BIGLENGTHMASK = ~(PAGESIZE - 1),
39 MAXMEDSIZE = (PAGESIZE / 2) - MEDPAD
226 The allocated block looks like this for blocks < PAGESIZE:
302 else if (info.size < PAGESIZE)
375 if (info.size < PAGESIZE)
408 if (info.size < PAGESIZE)
820 else if (info.size < PAGESIZE)
857 if (info.size >= PAGESIZE && curcapacity != 0)
910 else if (info.size < PAGESIZE)
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dlifetime.d36 PAGESIZE = 4096,
37 BIGLENGTHMASK = ~(PAGESIZE - 1),
43 MAXMEDSIZE = (PAGESIZE / 2) - MEDPAD
238 The allocated block looks like this for blocks < PAGESIZE:
314 else if (info.size < PAGESIZE)
387 if (info.size < PAGESIZE)
801 else if (info.size < PAGESIZE)
838 if (info.size >= PAGESIZE && curcapacity != 0)
891 else if (info.size < PAGESIZE)
1301 if (size < PAGESIZE)
[all...]
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu.c1401 ASSERT3U(db->db_size, >=, PAGESIZE);
1413 for (copied = 0; copied < tocpy; copied += PAGESIZE) {
1415 thiscpy = MIN(PAGESIZE, tocpy - copied);
1420 bufoff += PAGESIZE;
1459 ASSERT3U(db->db_size, >=, PAGESIZE);
1471 for (copied = 0; copied < tocpy; copied += PAGESIZE) {
1473 thiscpy = MIN(PAGESIZE, tocpy - copied);
1478 bufoff += PAGESIZE;
1516 ASSERT3U(db->db_size, >=, PAGESIZE);
1528 for (copied = 0; copied < tocpy; copied += PAGESIZE) {
[all...]
H A Dzfs_vnops.c541 for (start &= PAGEMASK; len > 0; start += PAGESIZE) {
543 int nbytes = imin(PAGESIZE - off, len);
593 for (start = uio->uio_loffset; len > 0; start += PAGESIZE) {
594 int bytes = MIN(PAGESIZE, len);
603 if (bytes != PAGESIZE && error == 0)
604 bzero(va + bytes, PAGESIZE - bytes);
639 * NOTE: We will always "break up" the IO into PAGESIZE uiomoves when
660 for (start &= PAGEMASK; len > 0; start += PAGESIZE) {
662 uint64_t bytes = MIN(PAGESIZE - off, len);
742 for (start &= PAGEMASK; len > 0; start += PAGESIZE) {
[all...]

Completed in 420 milliseconds

12