Searched refs:shmdirs (Results 1 – 1 of 1) sorted by relevance
1213 const char *shmdirs[] = { in shm_tmpfile() local1230 for (int i = 0; i < ARRAY_SIZE(shmdirs); i++) { in shm_tmpfile()1231 fd = open(shmdirs[i], O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); in shm_tmpfile()1240 for (int i = 0; i < ARRAY_SIZE(shmdirs); i++) { in shm_tmpfile()1242 snprintf(template, ARRAY_SIZE(template), "%s/shmfd-XXXXXX", shmdirs[i]); in shm_tmpfile()