Home
last modified time | relevance | path

Searched refs:space (Results 1 – 14 of 14) sorted by relevance

/sys/amd64/include/
Dpmap.h62 void PMap_DestroyAS(AS *space);
64 void PMap_LoadAS(AS *space);
65 void PMap_Dump(AS *space);
67 uintptr_t PMap_Translate(AS *space, uintptr_t va);
/sys/amd64/
Dpmap.c116 PMap_DestroyAS(AS *space) in PMap_DestroyAS() argument
121 PageEntry pte = space->root->entries[i]; in PMap_DestroyAS()
157 PAlloc_Release(space); in PMap_DestroyAS()
182 PMap_LoadAS(AS *space) in PMap_LoadAS() argument
184 write_cr3(DMVA2PA((uint64_t)space->root)); in PMap_LoadAS()
185 currentAS[THISCPU()] = space; in PMap_LoadAS()
220 PMap_Translate(AS *space, uintptr_t va) in PMap_Translate() argument
223 PageTable *table = space->root; in PMap_Translate()
278 PMapLookupEntry(AS *space, uint64_t va, PageEntry **entry, int size) in PMapLookupEntry() argument
281 PageTable *table = space->root; in PMapLookupEntry()
[all …]
Dkernel.lds161 /* Align here to ensure that the .bss section occupies space up to
/sys/kern/
Dthread.c120 thr->space = proc->space; in Thread_Create()
165 thr->space = oldThr->space; in Thread_UThreadCreate()
174 PMap_AllocMap(thr->space, thr->ustack, MEM_USERSPACE_STKLEN, PTE_W); in Thread_UThreadCreate()
339 kprintf("space %016llx\n", thr->space); in Thread_Dump()
Dprocess.c71 proc->space = PMap_NewAS(); in Process_Create()
72 if (proc->space == NULL) { in Process_Create()
122 PMap_DestroyAS(proc->space); in Process_Destroy()
262 kprintf("space %016llx\n", proc->space); in Process_Dump()
Dloader.c136 AS *as = thr->space; in Loader_Load()
227 PMap_LoadAS(thr->space); // Reload CR3 in Loader_LoadInit()
Dsched.c178 PMap_LoadAS(newthr->space); in Sched_Switch()
Dsyscall.c155 argstart = (char *)DMPA2VA(PMap_Translate(thr->space, MEM_USERSPACE_STKTOP - PGSIZE)); in Syscall_Spawn()
183 status = PMap_AllocMap(cur->space, addr, len, PTE_W); in Syscall_MMap()
204 PMap_Unmap(cur->space, addr, len /= PGSIZE); in Syscall_MUnmap()
/sys/include/
Dthread.h33 AS *space; member
67 AS *space; member
/lib/liblwip/src/include/lwip/
Dtcp_impl.h197 #define TCP_EVENT_SENT(pcb,space,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument
198 LWIP_EVENT_SENT, NULL, space, ERR_OK)
219 #define TCP_EVENT_SENT(pcb,space,ret) \
222 (ret) = (pcb)->sent((pcb)->callback_arg,(pcb),(space)); \
/lib/liblwip/doc/
Dcontrib.txt19 4. one space between keyword and opening bracket.
20 5. no space between function and opening bracket.
21 6. one space and no newline before opening curly braces of a block.
/lib/liblwip/src/core/
Dtcp_out.c423 u16_t space; in tcp_write() local
432 space = mss_local - (last_unsent->len + unsent_optlen); in tcp_write()
449 LWIP_ASSERT("inconsistent oversize vs. space", oversize_used <= space); in tcp_write()
454 space -= oversize_used; in tcp_write()
467 if ((pos < len) && (space > 0) && (last_unsent->len > 0)) { in tcp_write()
468 u16_t seglen = space < len - pos ? space : len - pos; in tcp_write()
476 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write()
/lib/liblwip/
DUPGRADING69 space is used for later calls to tcp_write.
DCHANGELOG388 since the linker cannot do this automatically to save space.
419 allocated larger than needed and the space is used for later calls to
1312 behavior, with with ip address string not ended by a '\0', a space or a
2391 re-used the input pbuf even if that didn't have enough space to include the
2392 link headers. Now the space is tested and a new pbuf is allocated for the
2596 * udp.c: Only try and use pbuf_header() to make space for headers if
2796 * inet.c: Disabled the added summing routine to preserve code space.