Lines Matching refs:rec
1248 int rec, num, group; in ldm_frag_add() local
1258 rec = get_unaligned_be16(data + 0x0C); in ldm_frag_add()
1264 if (rec >= num) { in ldm_frag_add()
1265 ldm_error("REC value (%d) exceeds NUM value (%d)", rec, num); in ldm_frag_add()
1283 f->rec = rec; in ldm_frag_add()
1288 if (rec >= f->num) { in ldm_frag_add()
1289 ldm_error("REC value (%d) exceeds NUM value (%d)", rec, f->num); in ldm_frag_add()
1292 if (f->map & (1 << rec)) { in ldm_frag_add()
1293 ldm_error ("Duplicate VBLK, part %d.", rec); in ldm_frag_add()
1297 f->map |= (1 << rec); in ldm_frag_add()
1298 if (!rec) in ldm_frag_add()
1302 memcpy(f->data + VBLK_SIZE_HEAD + rec * size, data, size); in ldm_frag_add()