Lines Matching refs:resource_node
72 static struct resource_node * __init alloc_resources (struct ebda_pci_rsrc *curr) in alloc_resources()
74 struct resource_node *rs; in alloc_resources()
81 rs = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in alloc_resources()
207 struct resource_node *new_io = NULL; in ibmphp_rsrc_init()
208 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init()
209 struct resource_node *new_pfmem = NULL; in ibmphp_rsrc_init()
467 struct resource_node *res = NULL; in update_resources()
509 static void fix_me (struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me()
567 struct resource_node *res; in fix_resources()
597 int ibmphp_add_resource (struct resource_node *res) in ibmphp_add_resource()
599 struct resource_node *res_cur; in ibmphp_add_resource()
600 struct resource_node *res_prev; in ibmphp_add_resource()
603 struct resource_node *res_start = NULL; in ibmphp_add_resource()
779 int ibmphp_remove_resource (struct resource_node *res) in ibmphp_remove_resource()
782 struct resource_node *res_cur = NULL; in ibmphp_remove_resource()
783 struct resource_node *res_prev; in ibmphp_remove_resource()
784 struct resource_node *mem_cur; in ibmphp_remove_resource()
939 static struct range_node *find_range (struct bus_node *bus_cur, struct resource_node *res) in find_range()
974 int ibmphp_check_resource (struct resource_node *res, u8 bridge) in ibmphp_check_resource()
978 struct resource_node *res_prev; in ibmphp_check_resource()
979 struct resource_node *res_cur = NULL; in ibmphp_check_resource()
1364 struct resource_node *res_cur; in ibmphp_remove_bus()
1365 struct resource_node *res_tmp; in ibmphp_remove_bus()
1450 struct resource_node *res = NULL; in remove_ranges()
1501 int ibmphp_find_resource (struct bus_node *bus, u32 start_address, struct resource_node **res, int … in ibmphp_find_resource()
1503 struct resource_node *res_cur = NULL; in ibmphp_find_resource()
1578 struct resource_node *res_cur; in ibmphp_free_resources()
1579 struct resource_node *res_tmp; in ibmphp_free_resources()
1690 struct resource_node *pfmem_cur; in once_over()
1691 struct resource_node *pfmem_prev; in once_over()
1692 struct resource_node *mem; in once_over()
1717 mem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in once_over()
1737 int ibmphp_add_pfmem_from_mem (struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem()
1790 struct resource_node *res; in ibmphp_print_test()
1947 struct resource_node *io; in update_bridge_ranges()
1948 struct resource_node *mem; in update_bridge_ranges()
1949 struct resource_node *pfmem; in update_bridge_ranges()
2030 io = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()
2080 mem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()
2133 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()