Lines Matching refs:pof_recoffset
41 unsigned long pof_recoffset;/* actual offset inside pof record */ member
107 datlen, boot->pof_recoffset); in pof_handle_data()
117 (boot->pof_recoffset & (POF_BOOT_LOADER_PAGE_SIZE - 1)); in pof_handle_data()
134 (boot->pof_recoffset > POF_BOOT_LOADER_PAGE_SIZE) ? 2 : 0)) < 0) in pof_handle_data()
146 datlen, boot->pof_recoffset); in pof_handle_data()
151 if (boot->pof_recoffset + datlen >= boot->pof_reclen) in pof_handle_data()
159 datlen, boot->pof_recoffset); in pof_handle_data()
217 boot->pof_recoffset = 0; /* no starting offset */ in pof_write_buffer()
245 boot->pof_recoffset += datlen; in pof_write_buffer()
246 if (boot->pof_recoffset >= boot->pof_reclen) { in pof_write_buffer()
250 if (boot->pof_reclen - boot->pof_recoffset < BOOT_BUF_SIZE) in pof_write_buffer()
251 boot->last_error = boot->pof_reclen - boot->pof_recoffset; /* limit size */ in pof_write_buffer()