Home
last modified time | relevance | path

Searched refs:bdata (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/mm/
Dbootmem.c49 bootmem_data_t *bdata = pgdat->bdata; in init_bootmem_core() local
56 bdata->node_bootmem_map = phys_to_virt(mapstart << PAGE_SHIFT); in init_bootmem_core()
57 bdata->node_boot_start = (start << PAGE_SHIFT); in init_bootmem_core()
58 bdata->node_low_pfn = end; in init_bootmem_core()
64 memset(bdata->node_bootmem_map, 0xff, mapsize); in init_bootmem_core()
74 static void __init reserve_bootmem_core(bootmem_data_t *bdata, unsigned long addr, unsigned long si… in reserve_bootmem_core() argument
81 unsigned long sidx = (addr - bdata->node_boot_start)/PAGE_SIZE; in reserve_bootmem_core()
82 unsigned long eidx = (addr + size - bdata->node_boot_start + in reserve_bootmem_core()
94 if ((addr >> PAGE_SHIFT) >= bdata->node_low_pfn) in reserve_bootmem_core()
96 if (end > bdata->node_low_pfn) in reserve_bootmem_core()
[all …]
Dnuma.c15 pg_data_t contig_page_data = { bdata: &contig_bootmem_data };
/linux-2.4.37.9/arch/arm/mm/
Ddiscontig.c29 { bdata: &node_bootmem_data[0] },
30 { bdata: &node_bootmem_data[1] },
31 { bdata: &node_bootmem_data[2] },
32 { bdata: &node_bootmem_data[3] }
Dinit.c519 struct bootmem_data *bdata; in paging_init() local
532 bdata = pgdat->bdata; in paging_init()
540 zone_size[0] = bdata->node_low_pfn - in paging_init()
541 (bdata->node_boot_start >> PAGE_SHIFT); in paging_init()
568 bdata->node_boot_start, zhole_size); in paging_init()
/linux-2.4.37.9/arch/arm/mach-clps711x/
Dmm.c51 { bdata: &node_bootmem_data[0] },
52 { bdata: &node_bootmem_data[1] },
53 { bdata: &node_bootmem_data[2] },
54 { bdata: &node_bootmem_data[3] },
/linux-2.4.37.9/arch/ia64/mm/
Ddiscontig.c43 static bootmem_data_t bdata[NR_NODES] __initdata; variable
67 bdp = &bdata[node]; in build_maps()
120 bdp = &bdata[node]; in find_pernode_space()
151 pg_data_ptr[node]->bdata = &bdata[node]; in find_pernode_space()
220 bdp = BOOT_NODE_DATA(node)->bdata; in discontig_reserve_bootmem()
/linux-2.4.37.9/drivers/isdn/hisax/
Dhfc_pci.c287 hfcpci_empty_fifo(struct BCState *bcs, bzfifo_type * bz, u_char * bdata, int count) in hfcpci_empty_fifo() argument
306 (*(bdata + (zp->z1 - B_SUB_VAL)))) { in hfcpci_empty_fifo()
327 ptr1 = bdata + (zp->z2 - B_SUB_VAL); /* start of data */ in hfcpci_empty_fifo()
333 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo()
418 hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) in hfcpci_empty_fifo_trans() argument
449 ptr1 = bdata + (*z2r - B_SUB_VAL); /* start of data */ in hfcpci_empty_fifo_trans()
455 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans()
480 u_char *bdata; in main_rec_hfcpci() local
487 bdata = ((fifo_area *) (cs->hw.hfcpci.fifos))->b_chans.rxdat_b2; in main_rec_hfcpci()
491 bdata = ((fifo_area *) (cs->hw.hfcpci.fifos))->b_chans.rxdat_b1; in main_rec_hfcpci()
[all …]
/linux-2.4.37.9/arch/sh64/mm/
Dinit.c62 #define START_PFN (NODE_DATA(0)->bdata->node_boot_start >> PAGE_SHIFT)
63 #define MAX_LOW_PFN (NODE_DATA(0)->bdata->node_low_pfn)
/linux-2.4.37.9/arch/sh/mm/
Dinit.c87 #define START_PFN (NODE_DATA(0)->bdata->node_boot_start >> PAGE_SHIFT)
88 #define MAX_LOW_PFN (NODE_DATA(0)->bdata->node_low_pfn)
/linux-2.4.37.9/arch/sh/kernel/
Dpci-sd0001.c287 u8 bdata[4]; in sd0001_read_config_byte() member
298 *val = work.bdata[offset]; in sd0001_read_config_byte()
343 u8 bdata[4]; in sd0001_write_config_byte() member
352 work.bdata[offset] = val; in sd0001_write_config_byte()
Dsetup.c365 NODE_DATA(0)->bdata = &discontig_node_bdata[0]; in setup_arch()
366 NODE_DATA(1)->bdata = &discontig_node_bdata[1]; in setup_arch()
/linux-2.4.37.9/include/linux/
Dmmzone.h160 struct bootmem_data *bdata; member
/linux-2.4.37.9/arch/alpha/mm/
Dnuma.c145 NODE_DATA(nid)->bdata = &plat_node_bdata[nid]; in setup_memory_node()
151 DBGDCONT(" DISCONTIG: NODE_DATA(%d)->bdata is at 0x%p\n", nid, NODE_DATA(nid)->bdata); in setup_memory_node()
/linux-2.4.37.9/arch/x86_64/mm/
Dnuma.c52 NODE_DATA(nodeid)->bdata = &plat_node_bdata[nodeid]; in setup_node_bootmem()
/linux-2.4.37.9/drivers/md/
Draid5.c739 char *bdata; in compute_parity() local
740 bdata = bh_kmap(chosen[i]); in compute_parity()
742 bdata,sh->size); in compute_parity()
856 char *bdata; in handle_stripe() local
857 bdata = bh_kmap(rbh); in handle_stripe()
858 memcpy(bdata, bh->b_data, bh->b_size); in handle_stripe()
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-memory.c207 NODE_DATA(node)->bdata = plat_node_bdata + node; in prom_meminit()
/linux-2.4.37.9/arch/parisc/mm/
Dinit.c280 node_data[i].pg_data.bdata = &bmem_data[i]; in setup_bootmem()