Home
last modified time | relevance | path

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

/openbmc/phosphor-mboxd/test/
H A Dcopy_flash.c31 int rand_fd; in main() local
47 rand_fd = open("/dev/urandom", O_RDONLY); in main()
48 if (rand_fd < 0) { in main()
49 rc = rand_fd; in main()
57 processed = read(rand_fd, src, TEST_SIZE); in main()
/openbmc/hiomapd/test/
H A Dflash_copy.c32 int rand_fd; in main() local
50 rand_fd = open("/dev/urandom", O_RDONLY); in main()
51 if (rand_fd < 0) { in main()
52 rc = rand_fd; in main()
60 processed = read(rand_fd, src, TEST_SIZE); in main()