/original-bsd/sys/sparc/sparc/ |
H A D | vaddrs.h | 44 #define TIMERREG_VA (IODEV_0 + 0*NBPG) 45 #define ZS0_VA (IODEV_0 + 1*NBPG) 46 #define ZS1_VA (IODEV_0 + 2*NBPG) 47 #define AUXREG_VA (IODEV_0 + 3*NBPG) 48 #define IODEV_BASE (IODEV_0 + 4*NBPG)
|
H A D | cache.c | 78 ls = NBPG; in cache_flush_context() 109 ls = NBPG; 139 i = NBPG >> cacheinfo.c_l2linesize; 189 for (; --i >= 0; p += NBPG)
|
/original-bsd/old/1kfix/ |
H A D | 1kfix.c | 17 char zeroes[NBPG]; 39 if ((round(x.a_text,NBPG) & CLOFSET) == 0) { 46 lseek(io, NBPG, 0); 82 y.a_text -= NBPG; 83 y.a_data += NBPG; 90 y.a_text = round(x.a_text, NBPG) - NBPG; 91 y.a_data += NBPG; 103 write(io, zeroes, round(x.a_text, NBPG) - x.a_text);
|
/original-bsd/sys/i386/include/ |
H A D | param.h | 28 #define NBPG 4096 /* bytes/page */ macro 29 #define PGOFSET (NBPG-1) /* byte offset into page */ 31 #define NPTEPG (NBPG/(sizeof (struct pte))) 33 #define NBPDR (1024*NBPG) /* bytes/page dir */ 95 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) 115 #define i386_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) 116 #define i386_trunc_page(x) ((unsigned)(x) & ~(NBPG-1))
|
/original-bsd/sys/pmax/include/ |
H A D | param.h | 31 #define NBPG 4096 /* bytes/page */ macro 32 #define PGOFSET (NBPG-1) /* byte offset into page */ 34 #define NPTEPG (NBPG/4) 58 #define KERNELSTACK (UADDR+UPAGES*NBPG) /* top of kernel stack */ 95 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) 113 #define pmax_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) 114 #define pmax_trunc_page(x) ((unsigned)(x) & ~(NBPG-1))
|
/original-bsd/usr.bin/gcore/ |
H A D | md-sparc.c | 41 char buffer[NBPG]; 43 (void)lseek(fd, (off_t)-NBPG, SEEK_END); 44 for (; ssize > 0; ssize -= NBPG) { 45 (void)read(fd, buffer, NBPG); 46 (void)write(fd, buffer, NBPG); 47 (void)lseek(fd, (off_t)-2 * NBPG, SEEK_CUR); 135 if (s < -NBPG) 145 ssize += NBPG; 146 s += NBPG;
|
H A D | gcore.c | 204 char buffer[NBPG]; 209 if (cc != NBPG) { 221 cc = write(fd, buffer, NBPG); 222 if (cc != NBPG) 225 addr += NBPG; 237 char buffer[NBPG]; 241 if (cc != NBPG) 243 bzero(buffer, NBPG); 244 cc = write(fd, buffer, NBPG); 245 if (cc != NBPG) [all …]
|
/original-bsd/sys/news3400/include/ |
H A D | param.h | 32 #define NBPG 4096 /* bytes/page */ macro 33 #define PGOFSET (NBPG-1) /* byte offset into page */ 35 #define NPTEPG (NBPG/4) 59 #define KERNELSTACK (UADDR+UPAGES*NBPG) /* top of kernel stack */ 96 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) 114 #define pmax_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) 115 #define pmax_trunc_page(x) ((unsigned)(x) & ~(NBPG-1))
|
/original-bsd/sys/luna68k/include/ |
H A D | param.h | 34 #define NBPG 4096 /* bytes/page */ macro 35 #define PGOFSET (NBPG-1) /* byte offset into page */ 37 #define NPTEPG (NBPG/(sizeof (struct pte))) 95 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) 113 #define luna_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) 114 #define luna_trunc_page(x) ((unsigned)(x) & ~(NBPG-1))
|
/original-bsd/sys/hp300/include/ |
H A D | param.h | 31 #define NBPG 4096 /* bytes/page */ macro 32 #define PGOFSET (NBPG-1) /* byte offset into page */ 34 #define NPTEPG (NBPG/(sizeof (struct pte))) 92 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) 113 #define hp300_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) 114 #define hp300_trunc_page(x) ((unsigned)(x) & ~(NBPG-1))
|
/original-bsd/sys/luna68k/luna68k/ |
H A D | pmap_bootstrap.c | 95 nextpa += kstsize * NBPG; 98 nextpa += nptpages * NBPG; 100 nextpa += NBPG; 102 nextpa += NBPG; 104 nextpa += UPAGES * NBPG; 200 protopte += NBPG; 220 protoste += NBPG; 221 protopte += NBPG; 266 protopte += NBPG; 284 protopte += NBPG; [all …]
|
H A D | sys_machdep.c | 117 (req & ~CC_EXTPURGE) != CC_PURGE && len > 2*NBPG) 121 len != 16 && len != NBPG) 131 inc = NBPG; 156 } else if (inc == NBPG) { 168 else if (inc == NBPG) 178 else if (inc == NBPG)
|
H A D | mem.c | 74 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET)); 75 c = min(c, (u_int)(NBPG - o)); 79 (vm_offset_t)&vmmap[NBPG]); 112 #if CLBYTES == NBPG
|
/original-bsd/sys/hp300/hp300/ |
H A D | pmap_bootstrap.c | 105 nextpa += kstsize * NBPG; 113 nextpa += NBPG; 115 nextpa += NBPG; 117 nextpa += UPAGES * NBPG; 212 protopte += NBPG; 230 protoste += NBPG; 231 protopte += NBPG; 278 protopte += NBPG; 294 protopte += NBPG; 308 protopte += NBPG; [all …]
|
H A D | sys_machdep.c | 114 (req & ~CC_EXTPURGE) != CC_PURGE && len > 2*NBPG) 118 len != 16 && len != NBPG) 128 inc = NBPG; 153 } else if (inc == NBPG) { 165 else if (inc == NBPG) 175 else if (inc == NBPG)
|
H A D | mem.c | 69 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET)); 70 c = min(c, (u_int)(NBPG - o)); 74 (vm_offset_t)&vmmap[NBPG]); 107 #if CLBYTES == NBPG
|
/original-bsd/sys/tahoe/include/ |
H A D | param.h | 26 #define NBPG 1024 /* bytes/page */ macro 27 #define PGOFSET (NBPG-1) /* byte offset into page */ 29 #define NPTEPG (NBPG/(sizeof (struct pte))) 100 #define btoc(x) ((((unsigned)(x)+NBPG-1) >> PGSHIFT))
|
/original-bsd/sys/vax/vax/ |
H A D | vm_machdep.c | 28 pte += (sizeof (struct user) + NBPG - 1) / NBPG; 72 a += NBPG; 173 from += NBPG; 174 to += NBPG; 175 size -= NBPG;
|
H A D | Locore.c | 46 int intstack[3*NBPG]; 195 char Sysbase[6*NPTEPG*NBPG]; 201 struct pte Ioamap[MAXNIOA][IOAMAPSIZ/NBPG]; 204 char umem[NUBA][512*NBPG]; 221 char CADDR1[NBPG]; 223 char CADDR2[NBPG]; 225 char vmmap[NBPG]; 238 char kmembase[100*NBPG]; 243 struct pte Nfsiomap[MAXPHYS/NBPG+1]; 244 char nfsiobuf[MAXPHYS+NBPG];
|
/original-bsd/sys/i386/i386/ |
H A D | vm_machdep.c | 67 (void)vm_map_pageable(&p2->p_vmspace->vm_map, addr, addr+NBPG, FALSE); 69 pmap_enter(&p2->p_vmspace->vm_pmap, (vm_offset_t)kstack+i*NBPG, 70 pmap_extract(kernel_pmap, ((int)p2->p_addr)+i*NBPG), 201 from += NBPG; 202 to += NBPG; 203 size -= NBPG; 272 pde = (struct pde *)((u_int)u.u_procp->p_p0br + u.u_procp->p_szpt * NBPG); 280 cnt = btop(addr-0xfe000000+count+NBPG-1); 306 addr2 = (addr2 + NBPG) & ~PGOFSET;
|
/original-bsd/include/ |
H A D | pagsiz.h | 9 #define NBPG 512 macro 13 #define PAGSIZ (NBPG*CLSIZE)
|
/original-bsd/lib/libkvm/ |
H A D | kvm_mips.c | 111 return (NBPG - offset); 114 va >= VM_MIN_KERNEL_ADDRESS + vm->Sysmapsize * NBPG) 118 return (NBPG - offset); 131 return (NBPG - offset); 176 return (NBPG - offset);
|
/original-bsd/sys/vax/include/ |
H A D | param.h | 23 #define NBPG 512 /* bytes/page */ macro 24 #define PGOFSET (NBPG-1) /* byte offset into page */ 26 #define NPTEPG (NBPG/(sizeof (struct pte)))
|
/original-bsd/sys/vax/if/ |
H A D | if_uba.c | 57 nclbytes = roundup(nmr * NBPG, MCLBYTES); 125 uballoc(ifu->iff_uban, ifrw->ifrw_addr, nmr*NBPG + ifu->iff_hlen, 218 for (i = 0; i < MCLBYTES/NBPG; i++) { 223 cp += NBPG; 225 pp += NBPG; 333 for (i = 0; i < MCLBYTES/NBPG; i++) 363 i *= MCLBYTES/NBPG; 364 for (t = 0; t < MCLBYTES/NBPG; t++) {
|
/original-bsd/sys/tahoe/tahoe/ |
H A D | vm_machdep.c | 34 pte += (sizeof (struct user) + NBPG - 1) / NBPG; 38 mtpr(TBIS, vaddr + sizeof (struct user) + NBPG - 1); 78 a += NBPG; 186 from += NBPG; 187 to += NBPG; 188 size -= NBPG;
|