Lines Matching defs:time

72 	__u64 prev_time;		/* SENSITIVE Previous time stamp */
102 /* LSB of time stamp to process */
121 * variations (2nd derivation of time is
167 * @delta_masked [in] Masked time delta to process
239 * 1st derivative of the jitter measurement (time delta)
240 * 2nd derivative of the jitter measurement (delta of time deltas)
241 * 3rd derivative of the jitter measurement (delta of delta of time deltas)
246 * @current_delta [in] Jitter time delta
261 * Insert the result of the comparison of two back-to-back time
317 __u64 time = 0;
322 jent_get_nstime(&time);
325 * We fold the time value as much as possible to ensure that as many
326 * bits of the time stamp are included as possible.
329 shuffle ^= time & mask;
330 time = time >> bits;
342 * execution time jitter
344 * This function injects the individual bits of the time value into the
348 * time [in] time stamp to be injected
349 * stuck [in] Is the time stamp identified as stuck?
354 static int jent_condition_data(struct rand_data *ec, __u64 time, int stuck)
369 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl),
439 * This is the heart of the entropy generation: calculate time deltas and
440 * use the CPU jitter in the time deltas. The jitter is injected into the
453 __u64 time = 0;
457 /* Invoke one noise source before time measurement to add variations */
461 * Get time stamp and calculate time delta to previous
464 jent_get_nstime(&time);
465 current_delta = jent_delta(ec->prev_time, time);
466 ec->prev_time = time;
667 __u64 time = 0;
674 jent_get_nstime(&time);
675 ec.prev_time = time;
676 jent_condition_data(&ec, time, 0);
680 if (!time || !time2)
682 delta = jent_delta(time, time2);
727 if (!(time2 > time))
731 lowdelta = time2 - time;
749 * we allow up to three times the time running backwards.
759 * Variations of deltas of time must on average be larger
767 * Ensure that we have variations in the time stamp below 10 for at