Home
last modified time | relevance | path

Searched refs:pseg (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/sys/uvm/
Duvm_pager.c76 #define UVM_PSEG_FULL(pseg) ((pseg)->use == (1 << MAX_PAGER_SEGS) - 1) argument
77 #define UVM_PSEG_EMPTY(pseg) ((pseg)->use == 0) argument
78 #define UVM_PSEG_INUSE(pseg,id) (((pseg)->use & (1 << (id))) != 0) argument
116 uvm_pseg_init(struct uvm_pseg *pseg) in uvm_pseg_init() argument
118 KASSERT(pseg->start == 0); in uvm_pseg_init()
119 KASSERT(pseg->use == 0); in uvm_pseg_init()
120 pseg->start = (vaddr_t)km_alloc(MAX_PAGER_SEGS * MAXBSIZE, in uvm_pseg_init()
135 struct uvm_pseg *pseg; in uvm_pseg_get() local
141 for (pseg = &psegs[0]; pseg != &psegs[PSEG_NUMSEGS]; pseg++) { in uvm_pseg_get()
142 if (UVM_PSEG_FULL(pseg)) in uvm_pseg_get()
[all …]
/openbsd/src/gnu/lib/libiberty/src/
Dalloca.c416 long size, pseg, this_segment, stack; in i00afunc() local
438 pseg = ssptr->sspseg; in i00afunc()
452 if (pseg == 0) in i00afunc()
454 stkl = stkl - pseg; in i00afunc()
457 pseg = ssptr->sspseg; in i00afunc()
468 while (pseg != 0) in i00afunc()
471 fprintf (stderr, "%011o %011o\n", pseg, size); in i00afunc()
473 stkl = stkl - pseg; in i00afunc()
476 pseg = ssptr->sspseg; in i00afunc()
/openbsd/src/gnu/usr.bin/texinfo/lib/
Dalloca.c421 long size, pseg, this_segment, stack; in i00afunc() local
443 pseg = ssptr->sspseg; in i00afunc()
457 if (pseg == 0) in i00afunc()
459 stkl = stkl - pseg; in i00afunc()
462 pseg = ssptr->sspseg; in i00afunc()
473 while (pseg != 0) in i00afunc()
476 fprintf (stderr, "%011o %011o\n", pseg, size); in i00afunc()
478 stkl = stkl - pseg; in i00afunc()
481 pseg = ssptr->sspseg; in i00afunc()
/openbsd/src/lib/libkvm/
Dkvm_sparc64.c105 uint64_t *pseg, *pdir, *ptbl; in _kvm_kvatop() local
132 pseg = (uint64_t *)(u_long)cpup->segmapoffset; in _kvm_kvatop()
134 _kvm_pa2off(kd, (u_long)&pseg[va_to_seg(va)])) != sizeof(pdir)) { in _kvm_kvatop()
/openbsd/src/sys/dev/ic/
Dtrm.c965 struct SGentry *pseg; in trm_DataOutPhase0() local
1042 pseg = &pSRB->SegmentX[pSRB->SRBSGIndex]; in trm_DataOutPhase0()
1050 if (TempSRBXferredLength >= pseg->length) in trm_DataOutPhase0()
1051 TempSRBXferredLength -= pseg->length; in trm_DataOutPhase0()
1060 pseg->length -= in trm_DataOutPhase0()
1065 pseg->address += in trm_DataOutPhase0()
1070 pseg++; in trm_DataOutPhase0()
1103 struct SGentry *pseg; in trm_DataInPhase0() local
1145 pseg = &pSRB->SegmentX[pSRB->SRBSGIndex]; in trm_DataInPhase0()
1154 pseg->length) { in trm_DataInPhase0()
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/config/
Dtc-z80.c510 parse_exp2 (const char *s, expressionS *op, segT *pseg) in parse_exp2() argument
537 *pseg = reg_section; in parse_exp2()
577 *pseg = expression (op); in parse_exp2()
Dtc-xtensa.c9993 segT *pseg, in cache_literal_section() argument
10000 if (*pseg != 0) in cache_literal_section()
10028 *pseg = seg; in cache_literal_section()