Lines Matching refs:resource_node

56 static struct resource_node * __init alloc_resources(struct ebda_pci_rsrc *curr)  in alloc_resources()
58 struct resource_node *rs; in alloc_resources()
65 rs = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in alloc_resources()
187 struct resource_node *new_io = NULL; in ibmphp_rsrc_init()
188 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init()
189 struct resource_node *new_pfmem = NULL; in ibmphp_rsrc_init()
445 struct resource_node *res = NULL; in update_resources()
487 static void fix_me(struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me()
545 struct resource_node *res; in fix_resources()
575 int ibmphp_add_resource(struct resource_node *res) in ibmphp_add_resource()
577 struct resource_node *res_cur; in ibmphp_add_resource()
578 struct resource_node *res_prev; in ibmphp_add_resource()
581 struct resource_node *res_start = NULL; in ibmphp_add_resource()
757 int ibmphp_remove_resource(struct resource_node *res) in ibmphp_remove_resource()
760 struct resource_node *res_cur = NULL; in ibmphp_remove_resource()
761 struct resource_node *res_prev; in ibmphp_remove_resource()
762 struct resource_node *mem_cur; in ibmphp_remove_resource()
917 static struct range_node *find_range(struct bus_node *bus_cur, struct resource_node *res) in find_range()
952 int ibmphp_check_resource(struct resource_node *res, u8 bridge) in ibmphp_check_resource()
956 struct resource_node *res_prev; in ibmphp_check_resource()
957 struct resource_node *res_cur = NULL; in ibmphp_check_resource()
1342 struct resource_node *res_cur; in ibmphp_remove_bus()
1343 struct resource_node *res_tmp; in ibmphp_remove_bus()
1428 struct resource_node *res = NULL; in remove_ranges()
1479 int ibmphp_find_resource(struct bus_node *bus, u32 start_address, struct resource_node **res, int f… in ibmphp_find_resource()
1481 struct resource_node *res_cur = NULL; in ibmphp_find_resource()
1556 struct resource_node *res_cur; in ibmphp_free_resources()
1557 struct resource_node *res_tmp; in ibmphp_free_resources()
1665 struct resource_node *pfmem_cur; in once_over()
1666 struct resource_node *pfmem_prev; in once_over()
1667 struct resource_node *mem; in once_over()
1690 mem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in once_over()
1709 int ibmphp_add_pfmem_from_mem(struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem()
1758 struct resource_node *res; in ibmphp_print_test()
1913 struct resource_node *io; in update_bridge_ranges()
1914 struct resource_node *mem; in update_bridge_ranges()
1915 struct resource_node *pfmem; in update_bridge_ranges()
1995 io = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()
2043 mem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()
2094 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()