/dports/editors/jupp/jupp/ |
H A D | vfile.c | 78 if (addr + PGSIZE > vsize(vfile)) { in vflsh() 83 if (addr + PGSIZE > vfile->size) in vflsh() 84 vfile->size = addr + PGSIZE; in vflsh() 134 if (addr + PGSIZE > vsize(vfile)) { in vflshf() 139 if (addr + PGSIZE > vfile->size) in vflshf() 140 vfile->size = addr + PGSIZE; in vflshf() 158 long ofst = (addr & (PGSIZE - 1)); in vlock() 174 if (curvalloc + PGSIZE <= maxvalloc) { in vlock() 177 vp->data = (unsigned char *) mema(PGSIZE, PGSIZE * INC); in vlock() 181 curvalloc += PGSIZE * INC; in vlock() [all …]
|
H A D | config.h | 68 #define PGSIZE PAGE_SIZE macro 70 #define PGSIZE 4096 macro 72 #define SEGSIZ PGSIZE 74 #define ILIMIT (PGSIZE*1024)
|
/dports/editors/joe/joe-4.6/joe/ |
H A D | vfile.c | 54 if (addr + PGSIZE > vfile->size) in vflsh() 55 vfile->size = addr + PGSIZE; in vflsh() 97 vfile->size = addr + PGSIZE; in vflshf() 134 vp->data = mema(PGSIZE, PGSIZE * INC); in vlock() 138 curvalloc += PGSIZE * INC; in vlock() 210 mset(vp->data, 0, PGSIZE); in vlock() 313 curvalloc -= PGSIZE; 322 if ((curvalloc -= PGSIZE) 335 if ((curvalloc -= PGSIZE) 550 x = PGSIZE - (addr & (PGSIZE - 1)); [all …]
|
H A D | vfile.h | 208 ( (v)->left!=PGSIZE ? ( ++(v)->left, (int)(unsigned char)*(--(v)->bufp) ) : _vrgetc(v) ) 324 (v)->addr==((a)&~(PGSIZE-1)) ? \ 325 (v)->vpage1[(a)&(PGSIZE-1)] \ 341 (v)->addr==((a)&~(PGSIZE-1)) ? \ 345 (v)->vpage1[(a)&(PGSIZE-1)]=(c) \
|
H A D | types.h | 180 #define PGSIZE 1024 macro 182 #define ILIMIT (PGSIZE*96L) 193 #define PGSIZE (1<<LPGSIZE) macro 195 #define SEGSIZ PGSIZE 200 #define ILIMIT (PGSIZE*NPAGES)
|
/dports/emulators/riscv-isa-sim/riscv-isa-sim-4f12984/riscv/ |
H A D | devices.cc | 97 if (size == 0 || size % PGSIZE != 0) in mem_t() 113 auto n = std::min(PGSIZE - (addr % PGSIZE), reg_t(len)); in load_store() 129 reg_t ppn = addr >> PGSHIFT, pgoff = addr % PGSIZE; in contents() 132 auto res = (char*)calloc(PGSIZE, 1); in contents()
|
H A D | mmu.cc | 71 reg_t paddr = walk(addr, type, mode, virt, hlvx) | (addr & (PGSIZE-1)); in translate() 148 if (tracer.interested_in_range(paddr, paddr + PGSIZE, LOAD)) in load_slow_path() 177 if (tracer.interested_in_range(paddr, paddr + PGSIZE, STORE)) in store_slow_path() 208 if (pmp_homogeneous(paddr & ~reg_t(PGSIZE - 1), PGSIZE)) { in refill_tlb()
|
/dports/devel/ga/ga-5.8/global/testing/unit-tests/ |
H A D | ga_pgroup_create.c | 14 #define PGSIZE 4 macro 19 int p_Geven, p_Godd, list[PGSIZE], p_size, *list_even=NULL, *list_odd=NULL, even, odd; in main() 30 for(i=0; i<PGSIZE; i++) in main()
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/kfs/ |
H A D | pagefile.c | 57 #define PGSIZE ( 1U << PGBITS ) macro 62 void *page = calloc ( PGSIZE, 1 ); in KPageMemNew() 73 void *page = malloc ( PGSIZE ); in KPageMemMake() 247 rc = KFileReadAll ( self -> backing, pos -= PGSIZE, page, PGSIZE, & num_read ); in KPageBackingRead() 258 if ( num_read < PGSIZE ) in KPageBackingRead() 328 rc = KFileWriteAll ( self -> backing, pos -= PGSIZE, page, PGSIZE, & num_writ ); in KPageBackingWrite() 335 if ( num_writ == PGSIZE ) in KPageBackingWrite() 562 return PGSIZE; in KPageConstSize() 589 * bytes = PGSIZE; in KPageAccessRead() 622 * bytes = PGSIZE; in KPageAccessUpdate() [all …]
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/kfs/ |
H A D | pagefile.c | 57 #define PGSIZE ( 1U << PGBITS ) macro 62 void *page = calloc ( PGSIZE, 1 ); in KPageMemNew() 73 void *page = malloc ( PGSIZE ); in KPageMemMake() 247 rc = KFileReadAll ( self -> backing, pos -= PGSIZE, page, PGSIZE, & num_read ); in KPageBackingRead() 258 if ( num_read < PGSIZE ) in KPageBackingRead() 328 rc = KFileWriteAll ( self -> backing, pos -= PGSIZE, page, PGSIZE, & num_writ ); in KPageBackingWrite() 335 if ( num_writ == PGSIZE ) in KPageBackingWrite() 562 return PGSIZE; in KPageConstSize() 589 * bytes = PGSIZE; in KPageAccessRead() 622 * bytes = PGSIZE; in KPageAccessUpdate() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/kernel/vm/ |
H A D | TransporterCallback.cpp | 160 static const Uint32 PGSIZE = 32768; member 163 return PGSIZE - offsetof(SendBufferPage, m_data); in max_data_bytes() 546 (total_send_buffer + SendBufferPage::PGSIZE - 1)/SendBufferPage::PGSIZE; in allocate_send_buffers() 551 new unsigned char[UintPtr(send_buffer_pages * SendBufferPage::PGSIZE)]; in allocate_send_buffers() 555 << send_buffer_pages * SendBufferPage::PGSIZE in allocate_send_buffers() 564 (SendBufferPage *)(m_send_buffer_memory + i * SendBufferPage::PGSIZE); in allocate_send_buffers() 569 m_tot_send_buffer_memory = SendBufferPage::PGSIZE * send_buffer_pages; in allocate_send_buffers() 579 m_tot_used_buffer_memory += SendBufferPage::PGSIZE; in alloc_page() 593 m_tot_used_buffer_memory -= SendBufferPage::PGSIZE; in release_page()
|
/dports/lang/yap/yap-6.2.2/packages/udi/ |
H A D | rtree.h | 27 #define PGSIZE 196 macro 28 #define MAXCARD (int)((PGSIZE-(2*sizeof(int)))/ sizeof(struct Branch))
|
/dports/comms/xastir/Xastir-Release-2.1.8/src/rtree/ |
H A D | index.h | 37 #define PGSIZE 512 macro 75 #define MAXCARD (int)((PGSIZE-(2*sizeof(int))) / sizeof(struct Branch))
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/klib/ |
H A D | btree.c | 47 #define LNSIZE ( ( PGSIZE - 2 ) / 8 ) 74 #define BRSIZE ( ( PGSIZE - 2 - 4 ) / 12 ) 105 (( PGSIZE - 12 - 256 * sizeof(SearchWindow) - \ 328 assert ( hdr -> key_bytes < PGSIZE ); in make_entry() 331 ord -> key = PGSIZE - hdr -> key_bytes; in make_entry() 359 if ( size > PGSIZE ) in leaf_node_full() 495 right -> key_prefix = PGSIZE - right -> key_bytes; in split_leaf() 510 off = PGSIZE - ( left -> key_bytes += (uint16_t) ksize ); in split_leaf() 518 left -> key_prefix = PGSIZE - left -> key_bytes; in split_leaf() 706 if ( size > PGSIZE ) in branch_node_full() [all …]
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/klib/ |
H A D | btree.c | 47 #define LNSIZE ( ( PGSIZE - 2 ) / 8 ) 74 #define BRSIZE ( ( PGSIZE - 2 - 4 ) / 12 ) 105 (( PGSIZE - 12 - 256 * sizeof(SearchWindow) - \ 328 assert ( hdr -> key_bytes < PGSIZE ); in make_entry() 331 ord -> key = PGSIZE - hdr -> key_bytes; in make_entry() 359 if ( size > PGSIZE ) in leaf_node_full() 495 right -> key_prefix = PGSIZE - right -> key_bytes; in split_leaf() 510 off = PGSIZE - ( left -> key_bytes += (uint16_t) ksize ); in split_leaf() 518 left -> key_prefix = PGSIZE - left -> key_bytes; in split_leaf() 706 if ( size > PGSIZE ) in branch_node_full() [all …]
|
/dports/security/trousers/trousers-0.3.14_3/src/tspi/ |
H A D | tsp_policy.c | 29 #define PGSIZE sysconf(_SC_PAGESIZE) macro 30 #define PGOFFSET (PGSIZE - 1)
|
/dports/emulators/riscv-isa-sim/riscv-isa-sim-4f12984/spike_main/ |
H A D | spike.cc | 167 size += base0 % PGSIZE; in make_mems() 168 base -= base0 % PGSIZE; in make_mems() 169 if (size % PGSIZE != 0) in make_mems() 170 size += PGSIZE - size % PGSIZE; in make_mems() 178 base0, base0 + size0 - 1, long(PGSIZE / 1024), base, base + size - 1); in make_mems()
|
/dports/graphics/pgplot/pgplot/src/ |
H A D | pgsize.f | 2 SUBROUTINE PGSIZE (WIDTH, HEIGHT, SHIFTX, SHIFTY, DUMMY) subroutine
|
/dports/security/samhain-server/samhain-4.4.3/src/ |
H A D | dnmalloc.c | 2387 #define PGSIZE malloc_getpagesize macro 2424 #define CHUNKINFOPAGE (PGSIZE / LINKEDLSTELS / MINCHUNKSIZE) 2430 #define AMOUNTHASH ((HEAPMAXSIZE_HALF / PGSIZE) * CHUNKINFOPAGE * 2) 2499 mprot = mprotect(hashtb, (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2511 hashtable = (chunkinfoptr *) (((char*)hashtb) + PGSIZE); in dnmalloc_init() 2515 mprot = mprotect((void*)((char*)hashtb+HASHTABLESIZE+PGSIZE), (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2554 mprot = mprotect(newcireg, PGSIZE, PROT_NONE); in cireg_extend() 2564 newcireg = ((char*)newcireg)+PGSIZE; in cireg_extend() 2663 unmapme = (void *) ((char*)freeme - PGSIZE); in freeciregion() 2666 munmap(unmapme, CIREGSIZE+(2*PGSIZE)); in freeciregion() [all …]
|
/dports/security/samhain-client/samhain-4.4.3/src/ |
H A D | dnmalloc.c | 2387 #define PGSIZE malloc_getpagesize macro 2424 #define CHUNKINFOPAGE (PGSIZE / LINKEDLSTELS / MINCHUNKSIZE) 2430 #define AMOUNTHASH ((HEAPMAXSIZE_HALF / PGSIZE) * CHUNKINFOPAGE * 2) 2499 mprot = mprotect(hashtb, (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2511 hashtable = (chunkinfoptr *) (((char*)hashtb) + PGSIZE); in dnmalloc_init() 2515 mprot = mprotect((void*)((char*)hashtb+HASHTABLESIZE+PGSIZE), (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2554 mprot = mprotect(newcireg, PGSIZE, PROT_NONE); in cireg_extend() 2564 newcireg = ((char*)newcireg)+PGSIZE; in cireg_extend() 2663 unmapme = (void *) ((char*)freeme - PGSIZE); in freeciregion() 2666 munmap(unmapme, CIREGSIZE+(2*PGSIZE)); in freeciregion() [all …]
|
/dports/security/samhain/samhain-4.4.3/src/ |
H A D | dnmalloc.c | 2387 #define PGSIZE malloc_getpagesize macro 2424 #define CHUNKINFOPAGE (PGSIZE / LINKEDLSTELS / MINCHUNKSIZE) 2430 #define AMOUNTHASH ((HEAPMAXSIZE_HALF / PGSIZE) * CHUNKINFOPAGE * 2) 2499 mprot = mprotect(hashtb, (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2511 hashtable = (chunkinfoptr *) (((char*)hashtb) + PGSIZE); in dnmalloc_init() 2515 mprot = mprotect((void*)((char*)hashtb+HASHTABLESIZE+PGSIZE), (size_t) PGSIZE, PROT_NONE); in dnmalloc_init() 2554 mprot = mprotect(newcireg, PGSIZE, PROT_NONE); in cireg_extend() 2564 newcireg = ((char*)newcireg)+PGSIZE; in cireg_extend() 2663 unmapme = (void *) ((char*)freeme - PGSIZE); in freeciregion() 2666 munmap(unmapme, CIREGSIZE+(2*PGSIZE)); in freeciregion() [all …]
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/interfaces/klib/ |
H A D | btree.h | 48 #define PGSIZE ( 1U << PGBITS ) macro
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/interfaces/klib/ |
H A D | btree.h | 48 #define PGSIZE ( 1U << PGBITS ) macro
|
/dports/devel/libassa/libassa-3.5.1/assa/ |
H A D | Socket.cpp | 37 const int ASSA::Socket::PGSIZE = 4096; member in ASSA::Socket 316 char buf[PGSIZE]; in ignore() 317 while ((b = read (buf, PGSIZE))) { in ignore()
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/include/transporter/ |
H A D | TransporterRegistry.hpp | 484 static const Uint32 PGSIZE = 32768; member 487 return PGSIZE - offsetof(SendBufferPage, m_data); in max_data_bytes()
|