Lines Matching refs:bufsize
109 int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags) in fdt_create_with_flags() argument
115 if (bufsize < hdrsize) in fdt_create_with_flags()
121 memset(buf, 0, bufsize); in fdt_create_with_flags()
134 fdt_set_totalsize(fdt, bufsize); in fdt_create_with_flags()
143 int fdt_create(void *buf, int bufsize) in fdt_create() argument
145 return fdt_create_with_flags(buf, bufsize, 0); in fdt_create()
148 int fdt_resize(void *fdt, void *buf, int bufsize) in fdt_resize() argument
155 if (bufsize < 0) in fdt_resize()
165 if ((headsize + tailsize) > (unsigned)bufsize) in fdt_resize()
169 newtail = (char *)buf + bufsize - tailsize; in fdt_resize()
181 fdt_set_totalsize(buf, bufsize); in fdt_resize()
183 fdt_set_off_dt_strings(buf, bufsize); in fdt_resize()