Lines Matching refs:buf_ptr
499 int buf_ptr;
533 buf_ptr = 0;
544 memcpy(buf + buf_ptr, data, len);
555 params->external_offset + buf_ptr);
558 buf_ptr);
561 buf_ptr += ALIGN(len, align_size);
575 debug("External data size %x\n", buf_ptr);
602 if (write(fd, buf, buf_ptr) != buf_ptr) {
665 int buf_ptr;
672 buf_ptr = fdtdec_get_int(fdt, node, FIT_DATA_POSITION_PROP, -1);
673 if (buf_ptr != -1) {
675 data = old_fdt + buf_ptr;
677 buf_ptr = fdtdec_get_int(fdt, node, FIT_DATA_OFFSET_PROP, -1);
678 if (buf_ptr != -1) {
680 data = old_fdt + data_base + buf_ptr;