Lines Matching defs:to
50 * b + 16KB X86 setup block (copy, used for hold data pointed to)
54 * Useful metadata extends from b - 8KB through to b + 32 KB
60 X86_SETUP_OFFSET = -0x1000, /* setup offset relative to base */
61 CMDLINE_OFFSET = -0x2000, /* cmdline offset relative to base */
62 X86_KERNEL_OFFSET = 0x4000, /* kernel offset relative to base */
103 char *cmd, *to, *end;
112 for (to = buf, end = buf + maxlen - UUID_STR_LEN - 1; *from; from++) {
113 if (to >= end)
117 strcpy(to, uuid);
118 to += UUID_STR_LEN;
121 *to++ = *from;
124 *to = '\0';
125 len = to - buf;
136 * scan_part() - Scan a kernel partition to see if has a ChromeOS header
141 * @blk: Block device to scan
142 * @partnum: Partition number to scan
143 * @info: Please to put partition info
197 * @bflow: Bootflow to update
198 * @buf: Buffer to use
199 * @size: Size of buffer and number of bytes to read thereinto
200 * @start: Start offset to read from on disk
201 * @before_base: Number of bytes to read before the bootloader base
214 log_debug("Reading info to %lx, blk=%s, size=%lx, blocks=%lx\n",
255 * @bflow: Bootflow to update
287 /* Work out how many bytes to read before the bootloader base */
290 /* Read the cmdline through to the end of the bootloader */
334 log_debug("Reading body to %lx, blk=%s, size=%lx, blocks=%lx\n",