Searched refs:bufsize (Results 1 – 6 of 6) sorted by relevance
/trusted-firmware-a/lib/libfdt/ |
A D | fdt_sw.c | 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() [all …]
|
A D | fdt_empty_tree.c | 13 int fdt_create_empty_tree(void *buf, int bufsize) in fdt_create_empty_tree() argument 17 err = fdt_create(buf, bufsize); in fdt_create_empty_tree() 37 return fdt_open_into(buf, buf, bufsize); in fdt_create_empty_tree()
|
A D | fdt_rw.c | 415 int fdt_open_into(const void *fdt, void *buf, int bufsize) in fdt_open_into() argument 442 err = fdt_move(fdt, buf, bufsize); in fdt_open_into() 447 fdt_set_totalsize(buf, bufsize); in fdt_open_into() 455 if (bufsize < newsize) in fdt_open_into() 464 if ((tmp + newsize) > ((char *)buf + bufsize)) in fdt_open_into() 472 fdt_set_totalsize(buf, bufsize); in fdt_open_into()
|
A D | fdt.c | 315 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move() argument 317 if (!can_assume(VALID_INPUT) && bufsize < 0) in fdt_move() 322 if (fdt_totalsize(fdt) > (unsigned int)bufsize) in fdt_move()
|
/trusted-firmware-a/include/lib/libfdt/ |
A D | libfdt.h | 318 int fdt_move(const void *fdt, void *buf, int bufsize); 324 int fdt_check_full(const void *fdt, size_t bufsize); 1420 int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags); 1433 int fdt_create(void *buf, int bufsize); 1435 int fdt_resize(void *fdt, void *buf, int bufsize); 1482 int fdt_create_empty_tree(void *buf, int bufsize); 1483 int fdt_open_into(const void *fdt, void *buf, int bufsize);
|
/trusted-firmware-a/plat/xilinx/common/pm_service/ |
A D | pm_ipi.c | 266 uint32_t calculate_crc(uint32_t *payload, uint32_t bufsize) in calculate_crc() argument 277 for (i = 0U; i < bufsize; i++) { in calculate_crc()
|
Completed in 11 milliseconds