• Home
  • Raw
  • Download

Lines Matching refs:conflict

267 	struct resource *conflict;  in request_resource_conflict()  local
270 conflict = __request_resource(root, new); in request_resource_conflict()
272 return conflict; in request_resource_conflict()
284 struct resource *conflict; in request_resource() local
286 conflict = request_resource_conflict(root, new); in request_resource()
287 return conflict ? -EBUSY : 0; in request_resource()
661 struct resource *conflict; in reallocate_resource() local
685 conflict = __request_resource(root, old); in reallocate_resource()
686 BUG_ON(conflict); in reallocate_resource()
835 struct resource *conflict; in insert_resource_conflict() local
838 conflict = __insert_resource(parent, new); in insert_resource_conflict()
840 return conflict; in insert_resource_conflict()
855 struct resource *conflict; in insert_resource() local
857 conflict = insert_resource_conflict(parent, new); in insert_resource()
858 return conflict ? -EBUSY : 0; in insert_resource()
877 struct resource *conflict; in insert_resource_expand_to_fit() local
879 conflict = __insert_resource(root, new); in insert_resource_expand_to_fit()
880 if (!conflict) in insert_resource_expand_to_fit()
882 if (conflict == root) in insert_resource_expand_to_fit()
886 if (conflict->start < new->start) in insert_resource_expand_to_fit()
887 new->start = conflict->start; in insert_resource_expand_to_fit()
888 if (conflict->end > new->end) in insert_resource_expand_to_fit()
889 new->end = conflict->end; in insert_resource_expand_to_fit()
891 printk("Expanded resource %s due to conflict with %s\n", new->name, conflict->name); in insert_resource_expand_to_fit()
993 struct resource *conflict; in __reserve_region_with_split() local
1009 conflict = __request_resource(parent, res); in __reserve_region_with_split()
1010 if (!conflict) { in __reserve_region_with_split()
1019 if (conflict->start <= res->start && in __reserve_region_with_split()
1020 conflict->end >= res->end) { in __reserve_region_with_split()
1027 if (conflict->start > res->start) { in __reserve_region_with_split()
1029 res->end = conflict->start - 1; in __reserve_region_with_split()
1030 if (conflict->end < end) { in __reserve_region_with_split()
1037 next_res->start = conflict->end + 1; in __reserve_region_with_split()
1043 res->start = conflict->end + 1; in __reserve_region_with_split()
1169 struct resource *conflict; in __request_region_locked() local
1175 conflict = __request_resource(parent, res); in __request_region_locked()
1176 if (!conflict) in __request_region_locked()
1183 if (conflict->desc == IORES_DESC_DEVICE_PRIVATE_MEMORY) { in __request_region_locked()
1185 conflict->name, conflict, res); in __request_region_locked()
1187 if (conflict != parent) { in __request_region_locked()
1188 if (!(conflict->flags & IORESOURCE_BUSY)) { in __request_region_locked()
1189 parent = conflict; in __request_region_locked()
1193 if (conflict->flags & flags & IORESOURCE_MUXED) { in __request_region_locked()
1494 struct resource *conflict, **ptr; in devm_request_resource() local
1502 conflict = request_resource_conflict(root, new); in devm_request_resource()
1503 if (conflict) { in devm_request_resource()
1505 new, conflict->name, conflict); in devm_request_resource()