Home
last modified time | relevance | path

Searched refs:PGOFSET (Results 1 – 25 of 84) sorted by relevance

1234

/original-bsd/sys/sparc/include/
H A Dparam.h40 #define PGOFSET (NBPG-1) /* byte offset into page */ macro
95 #define btoc(x) (((unsigned)(x) + PGOFSET) >> PGSHIFT)
/original-bsd/sys/pmax/pmax/
H A Dvm_machdep.c226 off = (int)addr & PGOFSET;
257 sz = round_page(bp->b_bcount + ((int)addr & PGOFSET));
258 kva = (vm_offset_t)((int)addr & ~PGOFSET);
/original-bsd/include/
H A Dpagsiz.h10 #define PGOFSET 511 macro
/original-bsd/sys/i386/i386/
H A Dvm_machdep.c306 addr2 = (addr2 + NBPG) & ~PGOFSET;
346 off = (int)addr & PGOFSET;
375 npf = btoc(round_page(bp->b_bcount + ((int)addr & PGOFSET)));
376 kva = (vm_offset_t)((int)addr & ~PGOFSET);
H A Dmem.c65 o = (int)uio->uio_offset & PGOFSET;
66 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
/original-bsd/sys/hp300/hp300/
H A Dmem.c68 o = (int)uio->uio_offset & PGOFSET;
69 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
H A Dsys_machdep.c127 addr = (caddr_t)((int)addr & ~PGOFSET);
138 (pa == 0 || ((int)addr & PGOFSET) == 0)) {
H A Dvm_machdep.c246 off = (int)addr & PGOFSET;
276 npf = btoc(round_page(bp->b_bcount + ((int)addr & PGOFSET)));
277 kva = (vm_offset_t)((int)addr & ~PGOFSET);
H A Dpte.h117 ((kvtopte(va)->pg_pfnum << PGSHIFT) | ((int)(va) & PGOFSET))
/original-bsd/sys/luna68k/luna68k/
H A Dmem.c73 o = (int)uio->uio_offset & PGOFSET;
74 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
H A Dsys_machdep.c130 addr = (caddr_t)((int)addr & ~PGOFSET);
141 (pa == 0 || ((int)addr & PGOFSET) == 0)) {
H A Dvm_machdep.c237 off = (int)addr & PGOFSET;
267 npf = btoc(round_page(bp->b_bcount + ((int)addr & PGOFSET)));
268 kva = (vm_offset_t)((int)addr & ~PGOFSET);
H A Dpte.h119 ((kvtopte(va)->pg_pfnum << PGSHIFT) | ((int)(va) & PGOFSET))
/original-bsd/sys/sparc/sparc/
H A Dcache.c177 baseoff = (int)base & PGOFSET;
178 i = (baseoff + len + PGOFSET) >> PGSHIFT;
/original-bsd/sys/vax/vax/
H A Dmem.c56 o = (int)uio->uio_offset & PGOFSET;
57 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
H A Dvm_machdep.c134 c = *(char *)&vmmap[(int)addr & PGOFSET];
148 *(char *)&vmmap[(int)addr & PGOFSET] = val;
/original-bsd/sys/i386/include/
H A Dpmap.h133 #define vtophys(va) (i386_ptob(vtopte(va)->pg_pfnum) | ((int)(va) & PGOFSET))
138 #define avtophys(va) (i386_ptob(avtopte(va)->pg_pfnum) | ((int)(va) & PGOFSET))
/original-bsd/sys/tahoe/tahoe/
H A Dmem.c57 o = (int)uio->uio_offset & PGOFSET;
58 c = (u_int)(NBPG - ((int)iov->iov_base & PGOFSET));
H A Dvm_machdep.c140 uncache(&vmmap[(int)addr & PGOFSET]);
141 c = *(char *)&vmmap[(int)addr & PGOFSET];
155 *(char *)&vmmap[(int)addr & PGOFSET] = val;
443 return ((pte->pg_pfnum << PGSHIFT) + (v & PGOFSET));
/original-bsd/lib/libkvm/
H A Dkvm_mips.c104 offset = va & PGOFSET;
174 offset = va & PGOFSET;
/original-bsd/sys/tahoe/include/
H A Dpte.h83 #define kvtophys(x) ((kvtopte(x)->pg_pfnum << PGSHIFT) | ((int)(x) & PGOFSET))
/original-bsd/sys/vax/include/
H A Dpte.h76 #define kvtophys(x) ((kvtopte(x)->pg_pfnum << PGSHIFT) | ((int)(x) & PGOFSET))
H A Dparam.h24 #define PGOFSET (NBPG-1) /* byte offset into page */ macro
/original-bsd/sys/vax/stand/
H A Duba.c36 o = (int)io->i_ma & PGOFSET;
/original-bsd/old/adb/adb.hp300/
H A Daccess.c209 return (ptob(pte.pg_pfnum) + (oldaddr & PGOFSET));
341 *(int *)&pte, addr, ptob(pte.pg_pfnum) + (oldaddr & PGOFSET));
343 return (ptob(pte.pg_pfnum) + (oldaddr & PGOFSET));

1234