Searched refs:TDIR (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpffs.c | 12 #define TDIR "/tmp/test_bpffs_testdir" macro 47 err = mkdir(TDIR, 0777); in fn() 51 if ((err && errno != EEXIST) && !ASSERT_OK(err, "mkdir " TDIR)) in fn() 54 err = mount("none", TDIR, "tmpfs", 0, NULL); in fn() 58 err = mkdir(TDIR "/fs1", 0777); in fn() 59 if (!ASSERT_OK(err, "mkdir " TDIR "/fs1")) in fn() 61 err = mkdir(TDIR "/fs2", 0777); in fn() 62 if (!ASSERT_OK(err, "mkdir " TDIR "/fs2")) in fn() 65 err = mount("bpf", TDIR "/fs1", "bpf", 0, NULL); in fn() 66 if (!ASSERT_OK(err, "mount bpffs " TDIR "/fs1")) in fn() [all …]
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_v1_hp.sh | 23 TDIR=test$$ 24 [[ -d $CPUSET/$TDIR ]] || mkdir $CPUSET/$TDIR 25 echo 1 > $CPUSET/$TDIR/cpuset.cpus 26 echo 0 > $CPUSET/$TDIR/cpuset.mems 29 echo $TASK > $CPUSET/$TDIR/tasks 31 [[ $NEWCS != "/$TDIR" ]] && { 40 rmdir $CPUSET/$TDIR
|
H A D | test_cpuset_v1_base.sh | 36 TDIR=test$$ 37 [[ -d $CPUSET/$TDIR ]] || mkdir $CPUSET/$TDIR 70 write_test "$CPUSET/$TDIR" "${args[0]}" "${args[1]}" "${args[2]}" 75 rmdir $CPUSET/$TDIR
|