Lines Matching refs:recorded
63 static struct record *recorded;
363 if (recorded[i].needed &&
364 !test_one(cli, nfs, fnum, &recorded[i])) return i;
389 recorded = SMB_MALLOC_ARRAY(struct record, numops);
392 recorded[n].conn = random() % NCONNECTIONS;
393 recorded[n].fstype = random() % NUMFSTYPES;
394 recorded[n].f = random() % NFILES;
395 recorded[n].start = LOCKBASE + ((unsigned)random() % (LOCKRANGE-1));
396 recorded[n].len = 1 +
397 random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
398 recorded[n].start *= RANGE_MULTIPLE;
399 recorded[n].len *= RANGE_MULTIPLE;
400 recorded[n].r1 = random() % 100;
401 recorded[n].r2 = random() % 100;
402 recorded[n].needed = True;
421 recorded[i].needed = False;
428 recorded[i].needed = True;
431 memmove(&recorded[i], &recorded[i+1],
432 (m-i)*sizeof(recorded[0]));
454 recorded[i].r1,
455 recorded[i].r2,
456 recorded[i].conn,
457 recorded[i].fstype,
458 recorded[i].f,
459 recorded[i].start,
460 recorded[i].len,
461 recorded[i].needed);