Lines Matching defs:err
66 int err; \
67 if ((err = _fdt_rw_check_header(fdt)) != 0) \
68 return err; \
93 int err;
94 err = _fdt_splice(fdt, p, oldn * sizeof(*p), newn * sizeof(*p));
95 if (err)
96 return err;
106 int err;
108 if ((err = _fdt_splice(fdt, p, oldlen, newlen)))
109 return err;
120 int err;
122 if ((err = _fdt_splice(fdt, p, 0, newlen)))
123 return err;
135 int err;
143 err = _fdt_splice_string(fdt, len);
144 if (err)
145 return err;
154 int err;
159 err = _fdt_splice_mem_rsv(fdt, re, 0, 1);
160 if (err)
161 return err;
171 int err;
178 err = _fdt_splice_mem_rsv(fdt, re, 1, 0);
179 if (err)
180 return err;
188 int err;
194 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
196 return err;
208 int err;
220 err = _fdt_splice_struct(fdt, *prop, 0, proplen);
221 if (err)
222 return err;
234 int err;
244 err = _fdt_splice_struct(fdt, namep, FDT_TAGALIGN(oldlen+1),
246 if (err)
247 return err;
257 int err;
261 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop);
262 if (err == -FDT_ERR_NOTFOUND)
263 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
264 if (err)
265 return err;
275 int err, oldlen, newlen;
282 err = _fdt_splice_struct(fdt, prop->data,
285 if (err)
286 return err;
290 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
291 if (err)
292 return err;
319 int err;
341 err = _fdt_splice_struct(fdt, nh, 0, nodelen);
342 if (err)
343 return err;
397 int err;
421 err = fdt_move(fdt, buf, bufsize);
422 if (err)
423 return err;