Home
last modified time | relevance | path

Searched refs:mount_point (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh19 if ! [ -e "$mount_point/memory.limit_in_bytes" ]; then
20 tst_brk TBROK "$mount_point must be mounted before calling memcg_require_memsw"
22 if ! [ -e "$mount_point/memory.memsw.limit_in_bytes" ]; then
29 if [ ! -e "$mount_point/memory.use_hierarchy" ]; then
30 tst_brk TBROK "$mount_point must be mounted before calling memcg_require_hierarchy_disabled"
32 if [ "$(cat "$mount_point/memory.use_hierarchy")" -eq 1 ]; then
85 mount_point=$(cgroup_get_mountpoint "memory")
99 orig_memory_use_hierarchy=$(cat "$mount_point/memory.use_hierarchy")
101 tst_res TINFO "cat $mount_point failed"
105 echo 0 > "$mount_point/memory.use_hierarchy" 2>/dev/null
[all …]
Dmemcg_force_empty.sh53 EXPECT_FAIL echo 1 \> "$mount_point/memory.force_empty"
/third_party/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct.sh97 mount_point=`grep -w cpuacct /proc/mounts | cut -f 2 | cut -d " " -f2`
98 tst_res TINFO "cpuacct: $mount_point"
99 if [ "$mount_point" = "" ]; then
101 mount_point=/dev/cgroup
104 testpath=$mount_point/ltp_$TST_ID
107 ROD mkdir -p $mount_point
108 ROD mount -t cgroup -o cpuacct none $mount_point
133 umount $mount_point
134 rmdir $mount_point
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_common.sh48 if [ -e "$mount_point/cpus" ]; then
49 ROD cat "$mount_point/cpus" \> "$path/cpus"
50 ROD cat "$mount_point/mems" \> "$path/mems"
52 ROD cat "$mount_point/cpuset.cpus" \> "$path/cpuset.cpus"
53 ROD cat "$mount_point/cpuset.mems" \> "$path/cpuset.mems"
61 mount_point=$(cgroup_get_mountpoint "$subsystem")
Dcgroup_fj_function.sh120 echo $pid > "$mount_point/$task_list" 2> /dev/null
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_4.sh7 mount_point="$2"
34 echo $pid > "$mount_point/$task_list" 2> /dev/null
35 echo $$ > "$mount_point/$task_list" 2> /dev/null
Dmemcg_regression_test.sh65 mount_point=$(cgroup_get_mountpoint "memory")
198 for pid in $(cat "$mount_point/$task_list"); do
203 echo $pid > "$mount_point/$task_list" 2> /dev/null
225 ./memcg_test_4.sh "$cgroup_version" "$mount_point" "$test_path"
/third_party/f2fs-tools/fsck/
Dsload.c80 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr()
82 c.mount_point, path); in set_selinux_xattr()
112 char *mount_path = c.mount_point; in set_perms_and_caps()
118 if (strlen(c.mount_point) == 1 && c.mount_point[0] == '/') in set_perms_and_caps()
373 ret = set_selinux_xattr(sbi, c.mount_point, in f2fs_sload()
Dmain.c735 c.mount_point = (char *)optarg; in f2fs_parse_options()
1057 if (!c.mount_point) in do_sload()
1058 c.mount_point = "/"; in do_sload()
/third_party/rust/crates/nix/test/
Dtest_mount.rs176 let mount_point = tempfile::tempdir().unwrap(); in test_mount_bind() localVariable
180 mount_point.path(), in test_mount_bind()
191 .open(mount_point.path().join(file_name)) in test_mount_bind()
195 umount(mount_point.path()) in test_mount_bind()
/third_party/glib/patch/
Dbackport-Add-lock-in-_g_get_unix_mount_points-around-fsent-functions.patch21 GUnixMountPoint *mount_point;
56 return_list = g_list_prepend (return_list, mount_point);
Dbackport-g_get_unix_mount_points-reduce-syscalls-inside-loop.patch46 mount_point = create_unix_mount_point (fstab->fs_spec,
/third_party/f2fs-tools/include/
Df2fs_fs.h550 char *mount_point; member