Lines Matching refs:mem_end

1981 static void __init *make_room(unsigned long *mem_start, unsigned long *mem_end,  in make_room()  argument
1987 while ((*mem_start + needed) > *mem_end) { in make_room()
2002 *mem_end = chunk + room; in make_room()
2011 #define dt_push_token(token, mem_start, mem_end) do { \ argument
2012 void *room = make_room(mem_start, mem_end, 4, 4); \
2038 unsigned long *mem_end) in scan_dt_build_strings() argument
2050 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2079 scan_dt_build_strings(child, mem_start, mem_end); in scan_dt_build_strings()
2085 unsigned long *mem_end) in scan_dt_build_struct() argument
2094 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct()
2098 room = *mem_end - *mem_start; in scan_dt_build_struct()
2105 if (l >= *mem_end - *mem_start) in scan_dt_build_struct()
2106 namep = make_room(mem_start, mem_end, l+1, 1); in scan_dt_build_struct()
2161 dt_push_token(OF_DT_PROP, mem_start, mem_end); in scan_dt_build_struct()
2162 dt_push_token(l, mem_start, mem_end); in scan_dt_build_struct()
2163 dt_push_token(soff, mem_start, mem_end); in scan_dt_build_struct()
2166 valp = make_room(mem_start, mem_end, l, 4); in scan_dt_build_struct()
2183 dt_push_token(OF_DT_PROP, mem_start, mem_end); in scan_dt_build_struct()
2184 dt_push_token(4, mem_start, mem_end); in scan_dt_build_struct()
2185 dt_push_token(soff, mem_start, mem_end); in scan_dt_build_struct()
2186 valp = make_room(mem_start, mem_end, 4, 4); in scan_dt_build_struct()
2194 scan_dt_build_struct(child, mem_start, mem_end); in scan_dt_build_struct()
2198 dt_push_token(OF_DT_END_NODE, mem_start, mem_end); in scan_dt_build_struct()
2204 unsigned long mem_start, mem_end, room; in flatten_device_tree() local
2222 mem_end = mem_start + room; in flatten_device_tree()
2231 hdr = make_room(&mem_start, &mem_end, in flatten_device_tree()
2234 rsvmap = make_room(&mem_start, &mem_end, sizeof(mem_reserve_map), 8); in flatten_device_tree()
2242 namep = make_room(&mem_start, &mem_end, 16, 1); in flatten_device_tree()
2248 scan_dt_build_strings(root, &mem_start, &mem_end); in flatten_device_tree()
2255 scan_dt_build_struct(root, &mem_start, &mem_end); in flatten_device_tree()
2256 dt_push_token(OF_DT_END, &mem_start, &mem_end); in flatten_device_tree()