Searched refs:jrand_seed (Results 1 – 1 of 1) sorted by relevance
110 THREAD_LOCAL unsigned short jrand_seed[3]; variable157 jrand_seed[0] = getpid() ^ (tv.tv_sec & 0xFFFF); in get_random_fd()158 jrand_seed[1] = getppid() ^ (tv.tv_usec & 0xFFFF); in get_random_fd()159 jrand_seed[2] = (tv.tv_sec ^ tv.tv_usec) >> 16; in get_random_fd()204 memcpy(tmp_seed, jrand_seed, sizeof(tmp_seed)); in get_random_bytes()205 jrand_seed[2] = jrand_seed[2] ^ syscall(__NR_gettid); in get_random_bytes()208 memcpy(jrand_seed, tmp_seed, in get_random_bytes()209 sizeof(jrand_seed) - sizeof(unsigned short)); in get_random_bytes()