Searched refs:PAGE_SIZE (Results 1 - 25 of 194) sorted by relevance

12345678

/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-sel-table.s10 .space PAGE_SIZE-16
19 .space PAGE_SIZE
22 .space PAGE_SIZE /* some duplicate classes */
H A Dobjc-block-trampolines.mm81 uint8_t blocks[ PAGE_SIZE - TRAMPOLINE_PAGE_PAIR_HEADER_SIZE ]
85 uint8_t trampolines[PAGE_SIZE];
137 uint32_t slotsPerPagePair = PAGE_SIZE / slotSize;
198 assert(sizeof(TrampolineBlockPagePair) == 2*PAGE_SIZE);
203 assert(a1a2_tramphead() % PAGE_SIZE == 0);
204 assert(a1a2_tramphead() + PAGE_SIZE == a1a2_trampend());
205 assert(a2a3_tramphead() % PAGE_SIZE == 0);
206 assert(a2a3_tramphead() + PAGE_SIZE == a2a3_trampend());
217 result = vm_allocate(mach_task_self(), &dataAddress, PAGE_SIZE * 2,
224 vm_address_t codeAddress = dataAddress + PAGE_SIZE;
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/vmx/
H A Dvmx_shims.c42 ret = kmem_alloc_kobject(kernel_map, (vm_offset_t *)&pptr, PAGE_SIZE);
44 bzero(pptr, PAGE_SIZE);
57 kmem_free(kernel_map, (vm_offset_t)va, PAGE_SIZE);
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/hosts/
H A Di386bsd.h8 #ifdef PAGE_SIZE
9 #define NBPG PAGE_SIZE
/macosx-10.9.5/xnu-2422.115.4/tools/tests/superpages/
H A Dmeasure_tlbs.c28 mach_vm_size_t size = SUPERPAGE_ROUND_UP(pages*PAGE_SIZE); /* allocate full superpages */
40 sum += data[p*PAGE_SIZE];
49 data[p*PAGE_SIZE] = run & 0xFF;
55 sum += data[p*PAGE_SIZE];
62 for (run = 0; run < RUNS1/PAGE_SIZE; run++) {
63 for (i = 0; i<pages*PAGE_SIZE; i++) {
68 for (run = 0; run < RUNS1/PAGE_SIZE; run++) {
69 for (i = 0; i<pages*PAGE_SIZE; i++) {
83 p2 = p % (pages*PAGE_SIZE/NODE_SIZE);
92 p2 = p % (pages*PAGE_SIZE/NODE_SIZ
[all...]
H A Dtestsp.c108 for (i=0; i<size/PAGE_SIZE; i++) {
109 if ((ret = check_r(addr+i*PAGE_SIZE, PAGE_SIZE, res))) {
138 for (i=0; i<size/PAGE_SIZE; i++) {
139 if ((ret = check_w(addr+i*PAGE_SIZE, PAGE_SIZE))) {
221 mach_vm_size_t size = 2*PAGE_SIZE; /* will be rounded up to some superpage size */
288 mach_vm_size_t size = PAGE_SIZE; /* != 2 MB */
313 kr = mach_vm_deallocate(mach_task_self(), addr + PAGE_SIZE, size);
334 for (i=0; i<SUPERPAGE_SIZE/PAGE_SIZE;
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/ipc/
H A Dipc_table.c111 (index < num) && (size < PAGE_SIZE);
121 for (incrsize = PAGE_SIZE; index < num;) {
132 if (incrsize < (PAGE_SIZE << 3))
181 if (size < PAGE_SIZE)
205 if (size < PAGE_SIZE)
/macosx-10.9.5/xnu-2422.115.4/osfmk/x86_64/
H A Dboot_pt.c49 [0] = ((uint64_t)(PAGE_SIZE) | PML4_PROT),
50 [KERNEL_PML4_INDEX] = ((uint64_t)(PAGE_SIZE) | PML4_PROT),
56 [0] = ((uint64_t)(2*PAGE_SIZE) | PDPT_PROT),
57 [1] = ((uint64_t)(3*PAGE_SIZE) | PDPT_PROT),
58 [2] = ((uint64_t)(4*PAGE_SIZE) | PDPT_PROT),
59 [3] = ((uint64_t)(5*PAGE_SIZE) | PDPT_PROT),
H A Dcopyio.c300 lop = (unsigned int)(PAGE_SIZE - (snk64 & (PAGE_SIZE - 1))); /* Assume sink smallest */
302 if (lop > (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))))
303 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); /* No, source is smaller */
311 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1)));
313 lop = (unsigned int)(PAGE_SIZE - (snk64 & (PAGE_SIZE
[all...]
H A Dlowmem_vectors.c76 lowglo lowGlo __attribute__ ((aligned(PAGE_SIZE))) = {
H A Dpmap.c271 ps = PAGE_SIZE;
637 _vm_object_allocate((vm_object_size_t)NPML4PGS * PAGE_SIZE, &kpml4obj_object_store);
640 _vm_object_allocate((vm_object_size_t)NPDPTPGS * PAGE_SIZE, &kpdptobj_object_store);
643 _vm_object_allocate((vm_object_size_t)NPDEPGS * PAGE_SIZE, &kptobj_object_store);
721 vaddr += PAGE_SIZE;
722 vsize -= PAGE_SIZE;
732 pmap_anchor_zone = zinit(PAGE_SIZE, task_max, PAGE_SIZE, "pagetable anchors");
757 vaddr += PAGE_SIZE;
861 PMAP_ZINFO_PALLOC(kernel_pmap, bootstrap_wired_pages * PAGE_SIZE);
[all...]
/macosx-10.9.5/xnu-2422.115.4/libsyscall/mach/
H A Dmach_init.c75 vm_size_t vm_page_size = PAGE_SIZE;
90 *out_page_size = PAGE_SIZE;
/macosx-10.9.5/xnu-2422.115.4/bsd/vm/
H A Dvnode_pager.c366 for (offset = upl_offset; isize; isize -= PAGE_SIZE, offset += PAGE_SIZE) {
379 ubc_upl_abort_range(upl, offset, PAGE_SIZE, UPL_ABORT_FREE_ON_EMPTY);
385 ubc_upl_commit_range(upl, offset, PAGE_SIZE, UPL_COMMIT_FREE_ON_EMPTY);
387 f_offset += PAGE_SIZE;
397 base_index = upl_offset / PAGE_SIZE;
399 for (pg_index = (upl_offset + isize) / PAGE_SIZE; pg_index > base_index;) {
413 isize = ((pg_index + 1) - base_index) * PAGE_SIZE;
428 f_offset += PAGE_SIZE;
429 offset += PAGE_SIZE;
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/i386/
H A Dmem.c172 size= PAGE_SIZE;
178 c = min(PAGE_SIZE - o, uio_curriovlen(uio));
180 kmem_free(kernel_map, where, PAGE_SIZE);
210 MALLOC(devzerobuf, caddr_t,PAGE_SIZE, M_TEMP, M_WAITOK);
211 bzero(devzerobuf, PAGE_SIZE);
217 c = min(uio_curriovlen(uio), PAGE_SIZE);
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Ddtrace_ptss.h75 #define DTRACE_PTSS_ENTRIES_PER_PAGE (PAGE_SIZE / DTRACE_PTSS_SCRATCH_SPACE_PER_THREAD)
H A Dpipe.h81 #define SMALL_PIPE_SIZE PAGE_SIZE
92 #define PIPENPAGES (BIG_PIPE_SIZE / PAGE_SIZE + 1)
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace_alloc.c90 if (PAGE_SIZE < 16*1024)
93 dtrace_alloc_max = PAGE_SIZE;
/macosx-10.9.5/dcerpc-58/dcerpc/rpcd/
H A Ddsm_p.h132 # define PAGE_SIZE 512 /* length of system page */ macro
135 # define PAGE_SIZE 4096 macro
136 #elif !defined(PAGE_SIZE)
137 # define PAGE_SIZE 1024 /* length of system page */ macro
202 unsigned char page_contents[PAGE_SIZE];
H A Ddsm.c200 if (dcethread_write(fd,&fhdr,PAGE_SIZE) != PAGE_SIZE) SIGNAL(dsm_err_file_io_error); /* write hdr */
269 if (dcethread_read(fd,&fhdr,PAGE_SIZE) != PAGE_SIZE) SIGNAL(dsm_err_file_io_error); /* read hdr */
291 dsh->map->loc = PAGE_SIZE; /* at starts at the second page */
292 dsh->map->size = dsh->pages*PAGE_SIZE; /* it's this many bytes long */
396 if ((ROUND_UP(fp->loc, PAGE_SIZE) - fp->loc) >= UNIT) { /* if at least unit left in page */
526 sp = ROUND_DOWN(p->loc,PAGE_SIZE); /* file location of start of containing page */
527 ep = ROUND_DOWN(p->loc+p->size+PREHEADER-1,PAGE_SIZE); /* and of start of end page */
632 || dcethread_read(dsh->fd,&hdr,PAGE_SIZE) !
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/
H A Dvm_compressor_pager.c206 assert(pager_page_size == PAGE_SIZE);
405 if ((uint32_t)(offset/PAGE_SIZE) != (offset/PAGE_SIZE)) {
422 if (offset / PAGE_SIZE > pager->cpgr_num_slots) {
461 cur_offset += PAGE_SIZE) {
516 if ((uint32_t)(new_size/PAGE_SIZE) != (new_size/PAGE_SIZE)) {
531 pager->cpgr_num_slots = (uint32_t)(new_size/PAGE_SIZE);
586 page_num = (uint32_t)(offset/PAGE_SIZE);
587 if (page_num != (offset/PAGE_SIZE)) {
[all...]
/macosx-10.9.5/ntfs-83/kext/
H A Dntfs_bitmap.c131 len = PAGE_SIZE - pos;
147 ofs += PAGE_SIZE;
155 len = PAGE_SIZE;
/macosx-10.9.5/xnu-2422.115.4/osfmk/mach/i386/
H A Dvm_param.h104 #define PAGE_SIZE I386_PGBYTES macro
106 #define PAGE_MASK (PAGE_SIZE - 1)
263 ((addr) < (VM_MAX_USER_PAGE_ADDRESS + PAGE_SIZE))
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dgdt.c67 __attribute__((aligned(PAGE_SIZE))) = {
H A Dpmap_x86_common.c383 PMAP_UPDATE_TLBS(pmap, vaddr, vaddr + PAGE_SIZE);
606 pmap_ledger_credit(pmap, task_ledgers.wired_mem, PAGE_SIZE);
612 pmap_ledger_debit(pmap, task_ledgers.wired_mem, PAGE_SIZE);
668 PMAP_UPDATE_TLBS(pmap, vaddr, vaddr + PAGE_SIZE);
677 pmap_ledger_debit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
678 pmap_ledger_debit(pmap, task_ledgers.phys_footprint, PAGE_SIZE);
697 PAGE_SIZE);
725 pmap_ledger_debit(pmap, task_ledgers.wired_mem, PAGE_SIZE);
816 pmap_ledger_credit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
817 pmap_ledger_credit(pmap, task_ledgers.phys_footprint, PAGE_SIZE);
[all...]
H A Dphys.c100 bzero_phys((addr64_t)i386_ptob(pn), PAGE_SIZE);
115 assert(offset + len <= PAGE_SIZE);
140 assert((((uintptr_t)dst & PAGE_MASK) + dst_offset + len) <= PAGE_SIZE);
141 assert((((uintptr_t)src & PAGE_MASK) + src_offset + len) <= PAGE_SIZE);
162 assert((dst_offset + len) <= PAGE_SIZE);
180 assert((src_offset + len) <= PAGE_SIZE);

Completed in 192 milliseconds

12345678