Searched defs:op_probability (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib-fs/
H A Dfs-randomfail.c22 unsigned int op_probability[FS_OP_COUNT]; member in struct:randomfail_fs
79 fs->op_probability[op] = num;
88 fs->op_probability[op] = num;
241 if (fs->op_probability[op] == 0)
243 if ((unsigned int)i_rand_limit(100 * divider) <= fs->op_probability[op]) {

Completed in 11 milliseconds