Home
last modified time | relevance | path

Searched refs:cfs_rand (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/lustre/lnet/libcfs/
Dprng.c74 unsigned int cfs_rand(void) in cfs_rand() function
81 EXPORT_SYMBOL(cfs_rand);
117 tmp ^= cfs_rand(); in cfs_get_random_bytes()
125 *p = cfs_rand() ^ tmp; in cfs_get_random_bytes()
132 tmp ^= cfs_rand(); in cfs_get_random_bytes()
Dfail.c63 if (cfs_fail_val < 2 || cfs_rand() % cfs_fail_val > 0) in __cfs_fail_check_set()
/drivers/staging/lustre/lnet/lnet/
Dnet_fault.c172 rule->dr_drop_time = cfs_time_shift(cfs_rand() % in lnet_drop_rule_add()
175 rule->dr_drop_at = cfs_rand() % attr->u.drop.da_rate; in lnet_drop_rule_add()
279 rule->dr_drop_at = cfs_rand() % attr->u.drop.da_rate; in lnet_drop_rule_reset()
281 rule->dr_drop_time = cfs_time_shift(cfs_rand() % in lnet_drop_rule_reset()
317 cfs_time_seconds(cfs_rand() % in drop_rule_match()
332 cfs_rand() % attr->u.drop.da_rate; in drop_rule_match()
485 cfs_time_seconds(cfs_rand() % in delay_rule_match()
500 cfs_rand() % attr->u.delay.la_rate; in delay_rule_match()
772 rule->dl_delay_time = cfs_time_shift(cfs_rand() % in lnet_delay_rule_add()
775 rule->dl_delay_at = cfs_rand() % attr->u.delay.la_rate; in lnet_delay_rule_add()
[all …]
Drouter.c284 offset = cfs_rand() % (len + 1); in lnet_add_route_to_rnet()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs.h72 unsigned int cfs_rand(void);
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c535 int rand = cfs_rand() & MGC_TIMEOUT_RAND_CENTISEC; in mgc_requeue_thread()