/src/sys/arch/playstation2/dev/ |
spd.c | 84 struct spd_attach_args spa; local in function:spd_attach 110 spa.spa_slot = SPD_HDD; 111 spa.spa_product_name = __spd_table[SPD_HDD].name; 112 config_found(self, &spa, spd_print, CFARGS_NONE); 114 spa.spa_slot = SPD_NIC; 115 spa.spa_product_name = __spd_table[SPD_NIC].name; 116 config_found(self, &spa, spd_print, CFARGS_NONE); 124 struct spd_attach_args *spa = aux; local in function:spd_print 127 aprint_normal("%s at %s", __spd_table[spa->spa_slot].name, pnp);
|
wdc_spd.c | 166 struct spd_attach_args *spa = aux; local in function:wdc_spd_match 170 if (spa->spa_slot != SPD_HDD) 187 struct spd_attach_args *spa = aux; local in function:wdc_spd_attach 192 aprint_normal(": %s\n", spa->spa_product_name);
|
if_smap.c | 138 struct spd_attach_args *spa = aux; local in function:smap_match 140 if (spa->spa_slot != SPD_NIC) 149 struct spd_attach_args *spa = aux; local in function:smap_attach 163 printf(": %s\n", spa->spa_product_name);
|
/src/sys/dev/ |
smbios.c | 125 paddr_t spa, epa, curpa; local in function:smbios_map_memory 128 spa = trunc_page(pa); 131 va = uvm_km_alloc(kernel_map, epa - spa, 0, UVM_KMF_VAONLY); 136 for (curpa = spa, curva = va; curpa < epa; curpa += PAGE_SIZE, curva += PAGE_SIZE) { 141 return (void *)(uintptr_t)(va + (pa - spa));
|
/src/sys/arch/riscv/sifive/ |
fu540_ccache.c | 114 const paddr_t spa = rounddown2(pa, sc->sc_line_size); local in function:fu540_ccache_cache_wbinv_range 119 for (paddr_t fpa = spa; fpa < epa; fpa += sc->sc_line_size) {
|
/src/sys/uvm/ |
uvm_pglist.c | 305 paddr_t pa, off, spa, amask, bmask, rlo, rhi; local in function:uvm_pglistalloc_contig_aggressive 340 spa = pa & amask; 356 rlo = MAX(rlo, spa & bmask); 381 while (spa > rlo) { 384 * Examine pages before spa in groups of acnt. 390 pg = PHYS_TO_VM_PAGE(spa - alignment + ptoa(i)); 398 spa -= alignment; 406 if (spa + ptoa(num) > rhi) { 410 pg = PHYS_TO_VM_PAGE(spa + ptoa(run)); 425 pg = PHYS_TO_VM_PAGE(spa + ptoa(i)) [all...] |
/src/sys/netatalk/ |
aarp.c | 350 struct at_addr spa, tpa, ma; local in function:at_aarpinput 388 memcpy(&spa.s_net, ea->aarp_spnet, sizeof(spa.s_net)); 410 tpa.s_net = spa.s_net = AA_SAT(aa)->sat_addr.s_net; 413 spa.s_node = ea->aarp_spnode; 421 if (spa.s_net == ma.s_net && spa.s_node == ma.s_node) { 444 AARPTAB_LOOK(aat, spa); 448 * Someone's probing for spa, deallocate the one we've 461 sat.sat_addr = spa; [all...] |
/src/sys/arch/riscv/riscv/ |
pmap_machdep.c | 427 paddr_t spa = MEGAPAGE_TRUNC(pa); local in function:pmap_kenter_range 435 l1_pte[sidx] = PA_TO_PTE(spa) | PTE_KERN | PTE_HARDWIRED | PTE_RW; 436 spa += NBSEG;
|
/src/sys/arch/evbarm/fdt/ |
fdt_machdep.c | 418 const paddr_t spa = KERN_VTOPHYS((vaddr_t)__start__init_memory); local in function:initarm 420 const paddr_t spg = atop(spa); 424 "loading in freelist %d\n", spa, epa, VM_FREELIST_DEFAULT);
|
/src/sys/arch/arm/acpi/ |
acpi_machdep.c | 177 paddr_t spa, epa, curpa; local in function:acpi_md_OsMapMemory 180 spa = trunc_page(pa); 183 va = uvm_km_alloc(kernel_map, epa - spa, 0, UVM_KMF_VAONLY); 187 const int pmapflags = acpi_md_pmapflags(spa); 191 for (curpa = spa, curva = va; curpa < epa; curpa += PAGE_SIZE, curva += PAGE_SIZE) 195 *vap = (void *)(va + (pa - spa));
|
/src/sys/arch/hppa/hppa/ |
mainbus.c | 189 vaddr_t pa, spa, epa; local in function:mbus_add_mapping 204 spa = pa & HPPA_FLEX_MASK; 205 epa = spa + HPPA_FLEX_SIZE; /* may wrap to 0... */ 207 size -= uimin(size, HPPA_FLEX_SIZE - (pa - spa)); 216 DPRINTF(("%s: adding flex=%x %lx-%lx, ", __func__, flex, spa, 221 while (spa != epa) { 222 DPRINTF(("%s: kenter 0x%lx-0x%lx", __func__, spa, 224 for (; spa != epa; spa += PAGE_SIZE) 225 pmap_kenter_pa(spa, spa [all...] |
/src/sys/arch/sun3/sun3x/ |
pmap.c | 3573 u_long spa, len; local in function:pmap_kcore_hdr 3581 spa = avail_mem[i].pmem_start; 3582 spa = m68k_trunc_page(spa); 3583 len = avail_mem[i].pmem_end - spa; 3585 sh->ram_segs[i].start = spa;
|
/src/sys/netinet/ |
sctp_usrreq.c | 3034 struct sctp_setprim *spa; local in function:sctp_optsset 3040 spa = sopt->sopt_data; 3053 stcb = sctp_findassociation_ep_asocid(inp, spa->ssp_assoc_id); 3060 (struct sockaddr *)&spa->ssp_addr, 3071 net = sctp_findnet(stcb, (struct sockaddr *)&spa->ssp_addr);
|