Lines Matching refs:rec
137 struct bi_record *rec; in make_bi_recs() local
151 rec = (struct bi_record *)addr; in make_bi_recs()
152 rec->tag = BI_FIRST; in make_bi_recs()
153 rec->size = sizeof(struct bi_record); in make_bi_recs()
154 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs()
156 rec->tag = BI_BOOTLOADER_ID; in make_bi_recs()
157 sprintf( (char *)rec->data, name); in make_bi_recs()
158 rec->size = sizeof(struct bi_record) + strlen(name) + 1; in make_bi_recs()
159 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs()
161 rec->tag = BI_MACHTYPE; in make_bi_recs()
162 rec->data[0] = mach; in make_bi_recs()
163 rec->data[1] = 1; in make_bi_recs()
164 rec->size = sizeof(struct bi_record) + 2 * sizeof(unsigned long); in make_bi_recs()
165 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs()
168 rec->tag = BI_SYSMAP; in make_bi_recs()
169 rec->data[0] = (unsigned long)(&__sysmap_begin); in make_bi_recs()
170 rec->data[1] = sysmap_size; in make_bi_recs()
171 rec->size = sizeof(struct bi_record) + 2 * in make_bi_recs()
173 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs()
176 rec->tag = BI_LAST; in make_bi_recs()
177 rec->size = sizeof(struct bi_record); in make_bi_recs()
178 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs()