Lines Matching refs:accounts
131 int accounts, branches, seed, tellers, history;
136 accounts = branches = history = tellers = 0;
143 if ((accounts = atoi(optarg)) <= 0)
196 accounts = accounts == 0 ? ACCOUNTS : accounts;
203 (long)accounts, (long)branches,
210 accounts, branches, history, tellers, verbose);
214 tp_run(dbenv, ntxns, accounts, branches, tellers, verbose);
243 a1 = "[-fv] [-a accounts] [-b branches]\n";
290 * Initialize the database to the specified number of accounts, branches,
294 tp_populate(env, accounts, branches, history, tellers, verbose)
296 int accounts, branches, history, tellers, verbose;
312 (void)dbp->set_h_nelem(dbp, (u_int32_t)accounts);
321 populate(dbp, idnum, balance, accounts, "account");
322 idnum += accounts;
329 printf("Populated accounts: %ld - %ld\n",
401 hpopulate(dbp, history, accounts, branches, tellers);
442 hpopulate(dbp, history, accounts, branches, tellers)
444 int history, accounts, branches, tellers;
461 hrec.aid = random_id(ACCOUNT, accounts, branches, tellers);
462 hrec.bid = random_id(BRANCH, accounts, branches, tellers);
463 hrec.tid = random_id(TELLER, accounts, branches, tellers);
490 random_id(type, accounts, branches, tellers)
492 int accounts, branches, tellers;
497 num = accounts;
506 min += accounts;
515 tp_run(dbenv, n, accounts, branches, tellers, verbose)
517 int n, accounts, branches, tellers, verbose;
570 accounts, branches, tellers, verbose)) != 0)
599 tp_txn(dbenv, adb, bdb, tdb, hdb, accounts, branches, tellers, verbose)
602 int accounts, branches, tellers, verbose;
620 account = random_id(ACCOUNT, accounts, branches, tellers);
621 branch = random_id(BRANCH, accounts, branches, tellers);
622 teller = random_id(TELLER, accounts, branches, tellers);