Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_common.sh72 if [ -e "$mount_point/cpus" ]; then
73 ROD cat "$mount_point/cpus" \> "$path/cpus"
74 ROD cat "$mount_point/mems" \> "$path/mems"
76 ROD cat "$mount_point/cpuset.cpus" \> "$path/cpuset.cpus"
77 ROD cat "$mount_point/cpuset.mems" \> "$path/cpuset.mems"
97 mount_point=`grep -w $subsystem /proc/mounts | grep -w "cgroup" | \
100 if [ -z "$mount_point" ]; then
102 mount_point="/dev/cgroup"
103 tst_resm TINFO "Subsystem $subsystem is not mounted, mounting it at $mount_point"
104 ROD mkdir $mount_point
[all …]
Dcgroup_fj_stress.sh132 start_path="$mount_point/ltp"
Dcgroup_fj_function.sh195 start_path="$mount_point/ltp"
/third_party/glib/gio/
Dgunixmounts.h72 void g_unix_mount_point_free (GUnixMountPoint *mount_point);
74 GUnixMountPoint *g_unix_mount_point_copy (GUnixMountPoint *mount_point);
110 const char * g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point);
112 const char * g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point);
114 const char * g_unix_mount_point_get_fs_type (GUnixMountPoint *mount_point);
116 const char * g_unix_mount_point_get_options (GUnixMountPoint *mount_point);
118 gboolean g_unix_mount_point_is_readonly (GUnixMountPoint *mount_point);
120 gboolean g_unix_mount_point_is_user_mountable (GUnixMountPoint *mount_point);
122 gboolean g_unix_mount_point_is_loopback (GUnixMountPoint *mount_point);
124 gboolean g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point);
[all …]
Dgunixmounts.c474 GUnixMountPoint *mount_point = NULL; in create_unix_mount_point() local
476 mount_point = g_new0 (GUnixMountPoint, 1); in create_unix_mount_point()
477 mount_point->device_path = g_strdup (device_path); in create_unix_mount_point()
478 mount_point->mount_path = g_strdup (mount_path); in create_unix_mount_point()
479 mount_point->filesystem_type = g_strdup (filesystem_type); in create_unix_mount_point()
480 mount_point->options = g_strdup (options); in create_unix_mount_point()
481 mount_point->is_read_only = is_read_only; in create_unix_mount_point()
482 mount_point->is_user_mountable = is_user_mountable; in create_unix_mount_point()
483 mount_point->is_loopback = is_loopback; in create_unix_mount_point()
485 return mount_point; in create_unix_mount_point()
[all …]
Dglocalfile.c1779 GUnixMountPoint *mount_point = NULL; in ignore_trash_mount() local
1789 mount_point = g_unix_mount_point_at (g_unix_mount_get_mount_path (mount), in ignore_trash_mount()
1791 if (mount_point != NULL) in ignore_trash_mount()
1792 mount_options = g_unix_mount_point_get_options (mount_point); in ignore_trash_mount()
1799 g_clear_pointer (&mount_point, g_unix_mount_point_free); in ignore_trash_mount()
/third_party/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct.sh99 mount_point=`grep -w cpuacct /proc/mounts | cut -f 2 | cut -d " " -f2`
100 tst_res TINFO "cpuacct: $mount_point"
101 if [ "$mount_point" = "" ]; then
103 mount_point=/dev/cgroup
106 testpath=$mount_point/ltp_$TST_ID
109 ROD mkdir -p $mount_point
110 ROD mount -t cgroup -o cpuacct none $mount_point
135 umount $mount_point
136 rmdir $mount_point
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh45 umount $mount_point
46 rmdir $mount_point
52 mount_point=$(grep -w cgroup2 /proc/mounts | cut -f 2 | cut -d " " -f2)
53 if ! grep -q pids "$mount_point"/cgroup.controllers; then
58 testpath="$mount_point/ltp_pids_$caseno"
71 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
73 if [ "$mount_point" = "" ]; then
75 mount_point=/dev/cgroup
78 testpath=$mount_point/ltp_pids_$caseno
81 ROD mkdir -p $mount_point
[all …]
/third_party/f2fs-tools/fsck/
Dsload.c78 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr()
80 c.mount_point, path); in set_selinux_xattr()
109 char *mount_path = c.mount_point; in set_perms_and_caps()
115 if (strlen(c.mount_point) == 1 && c.mount_point[0] == '/') in set_perms_and_caps()
298 ERR_MSG("Failed to get android file_contexts\n", c.mount_point); in configure_files()
345 ret = set_selinux_xattr(sbi, c.mount_point, in f2fs_sload()
Dmain.c583 c.mount_point = (char *)optarg; in f2fs_parse_options()
804 if (!c.mount_point) in do_sload()
805 c.mount_point = "/"; in do_sload()
/third_party/e2fsprogs/misc/
De4defrag.c209 static int get_mount_point(const char *devname, char *mount_point, in get_mount_point() argument
244 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
/third_party/f2fs-tools/include/
Df2fs_fs.h428 char *mount_point; member