Searched refs:tmpcount (Results 1 - 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tinjpage.c | 321 static int tmpcount; variable 326 snprintf(buf, sizeof buf, TMPDIR "~poison%d",tmpcount++); in tempfd() 339 snprintf(buf, PATHBUFLEN, TMPDIR "~poison%d", tmpcount++); in playfile() 381 snprintf(fn, 30, TMPDIR "~test%d", tmpcount++); in do_file_clean() 815 snprintf(buf, PATHBUFLEN, "%s/test%d", hugetlbfsdir, tmpcount++); in file_backed_hugepage() 831 page = alloc_shm_hugepage(&tmpcount, HPS); in shm_hugepage() 835 free_shm_hugepage(tmpcount, page); in shm_hugepage() 836 tmpcount++; in shm_hugepage()
|
H A D | tsimpleinj.c | 66 static int tmpcount; in tempfd() local 69 snprintf(buf,30,"/tmp/test%d.XXXXXXXX",tmpcount++); in tempfd()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tinjpage.c | 321 static int tmpcount; variable 326 snprintf(buf, sizeof buf, TMPDIR "~poison%d",tmpcount++); in tempfd() 339 snprintf(buf, PATHBUFLEN, TMPDIR "~poison%d", tmpcount++); in playfile() 381 snprintf(fn, 30, TMPDIR "~test%d", tmpcount++); in do_file_clean() 815 snprintf(buf, PATHBUFLEN, "%s/test%d", hugetlbfsdir, tmpcount++); in file_backed_hugepage() 831 page = alloc_shm_hugepage(&tmpcount, HPS); in shm_hugepage() 835 free_shm_hugepage(tmpcount, page); in shm_hugepage() 836 tmpcount++; in shm_hugepage()
|
H A D | tsimpleinj.c | 66 static int tmpcount; in tempfd() local 69 snprintf(buf,30,"/tmp/test%d.XXXXXXXX",tmpcount++); in tempfd()
|
Completed in 3 milliseconds