Lines Matching refs:rec
432 struct bi_record *rec; in find_bootinfo() local
435 rec = (struct bi_record *)_ALIGN((ulong)__bss_start+(1<<20)-1,(1<<20)); in find_bootinfo()
436 if ( rec->tag != BI_FIRST ) { in find_bootinfo()
442 rec = (struct bi_record *)_ALIGN((ulong)__bss_start+0x10000+(1<<20)-1,(1<<20)); in find_bootinfo()
443 if ( rec->tag != BI_FIRST ) in find_bootinfo()
446 return rec; in find_bootinfo()
449 void parse_bootinfo(struct bi_record *rec) in parse_bootinfo() argument
451 if (rec == NULL || rec->tag != BI_FIRST) in parse_bootinfo()
453 while (rec->tag != BI_LAST) { in parse_bootinfo()
454 ulong *data = rec->data; in parse_bootinfo()
455 switch (rec->tag) { in parse_bootinfo()
457 memcpy(cmd_line, (void *)data, rec->size - in parse_bootinfo()
483 rec->size - sizeof(struct bi_record)); in parse_bootinfo()
486 rec = (struct bi_record *)((ulong)rec + rec->size); in parse_bootinfo()