Lines Matching refs:next_res
942 struct resource *next_res = NULL; in __reserve_region_with_split() local
956 if (!next_res) in __reserve_region_with_split()
958 res = next_res; in __reserve_region_with_split()
959 next_res = NULL; in __reserve_region_with_split()
967 WARN_ON(next_res); in __reserve_region_with_split()
976 next_res = alloc_resource(GFP_ATOMIC); in __reserve_region_with_split()
977 if (!next_res) { in __reserve_region_with_split()
981 next_res->name = name; in __reserve_region_with_split()
982 next_res->start = conflict->end + 1; in __reserve_region_with_split()
983 next_res->end = end; in __reserve_region_with_split()
984 next_res->flags = IORESOURCE_BUSY; in __reserve_region_with_split()