Home
last modified time | relevance | path

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

/Linux-v5.4/arch/um/drivers/
Drandom.c32 static int random_fd = -1; variable
55 n = os_read_file(random_fd, &data, sizeof(data)); in rng_dev_read()
76 add_sigio_fd(random_fd); in rng_dev_read()
85 ignore_sigio_fd(random_fd); in rng_dev_read()
86 deactivate_fd(random_fd, RANDOM_IRQ); in rng_dev_read()
130 random_fd = err; in rng_init()
132 err = um_request_irq(RANDOM_IRQ, random_fd, IRQ_READ, random_interrupt, in rng_init()
137 sigio_broken(random_fd, 1); in rng_init()
149 os_close_file(random_fd); in rng_init()
150 random_fd = -1; in rng_init()
[all …]