Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl09.c23 static char loop_partpath[1026], sys_loop_partpath[1026]; variable
40 sprintf(loop_partpath, "%sp%d", dev_path, part_num); in check_partition()
50 ret = TST_RETRY_FN_EXP_BACKOFF(access(loop_partpath, F_OK), RETVAL_CHECK, 30); in check_partition()
53 loop_partpath); in check_partition()
56 loop_partpath); in check_partition()
Dioctl_loop01.c43 static char loop_partpath[1026], sys_loop_partpath[1026]; variable
67 ret = TST_RETRY_FN_EXP_BACKOFF(access(loop_partpath, F_OK), TST_RETVAL_EQ0, 30); in check_loop_value()
69 tst_res(TPASS, "access %s succeeds", loop_partpath); in check_loop_value()
71 tst_res(TFAIL, "access %s fails", loop_partpath); in check_loop_value()
128 sprintf(loop_partpath, "%sp1", dev_path); in setup()