Home
last modified time | relevance | path

Searched refs:mounts (Results 1 – 25 of 105) sorted by relevance

12345

/external/perfetto/src/traced/probes/filesystem/
Dfs_mount_unittest.cc40 std::multimap<BlockDeviceID, std::string> mounts = ParseMounts(); in TEST() local
43 EXPECT_THAT(mounts, Contains(Pair(buf.st_dev, "/proc"))); in TEST()
57 std::multimap<BlockDeviceID, std::string> mounts = in TEST() local
62 EXPECT_THAT(mounts, Contains(Pair(dev_stat.st_dev, "/dev"))); in TEST()
63 EXPECT_THAT(mounts, Contains(Pair(root_stat.st_dev, "/"))); in TEST()
/external/bcc/tools/
Dmountsnoop.py335 def print_event(mounts, umounts, cpu, data, size): argument
340 mounts[event.pid] = {
348 mounts[event.pid]['source'] = event.union.str
350 mounts[event.pid]['target'] = event.union.str
352 mounts[event.pid]['type'] = event.union.str
355 mounts[event.pid]['data'] = event.union.str
369 syscall = mounts.pop(event.pid)
400 mounts = {}
413 functools.partial(print_event, mounts, umounts))
Dinject_example.txt8 As a simple example, let's say you wanted to fail all mounts. As of 4.17 we can
42 only btrfs mounts:
113 fail our mounts half the time:
140 Fails btrfs mounts only
/external/autotest/client/site_tests/power_IdleSuspend/
Dpower_IdleSuspend.py33 mounts = () variable in power_IdleSuspend
37 self.mounts = []
53 self.mounts.append(mount_path)
59 self.mounts.append('/sys/power/state')
109 for mount in self.mounts:
/external/autotest/site_utils/lxc/
Dlxc_config_unittest.py64 self.assertEqual(len(config), len(container.mounts))
93 self.assertEqual(len(config), len(container.mounts))
107 self.mounts = []
128 self.mounts.append(self.MountConfig(src, dst, ro))
142 return mount in self.mounts
Dzygote.py78 self.mounts = []
202 self.mounts.append(lxc_utils.BindMount.create(
208 self.mounts.append(
220 for mount in self.mounts:
263 self.mounts.append(lxc_utils.BindMount.from_existing(
267 self.mounts.append(lxc_utils.BindMount.from_existing(
/external/ltp/testcases/kernel/fs/fs_bind/
DREADME23 Note that bind mounts are not recursive. To get a recursive bind mount
26 Another limitation of simple bind mounts is they cannot propagate future binds:
42 to mnt2. Shared subtrees allow propagation whereas bind mounts do not.
76 testing functionality of different types of mounts, different combinations,
90 Basic tests of bind and move mounts are part of the test_fs_bind.sh test
98 common setup, creating, and comparing mounts.
134 stderr was non-empty. mounts.*, files.*, and dirs.* files will be left for
/external/ltp/testcases/kernel/fs/binfmt_misc/
Dbinfmt_misc_lib.sh33 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
53 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
/external/linux-kselftest/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests23 mount_info=`grep pstore /proc/mounts`
30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
/external/python/cpython2/Modules/_ctypes/libffi/src/
Dclosures.c314 open_temp_exec_file_mnt (const char *mounts) in open_temp_exec_file_mnt() argument
319 if (mounts != last_mounts) in open_temp_exec_file_mnt()
324 last_mounts = mounts; in open_temp_exec_file_mnt()
326 if (mounts) in open_temp_exec_file_mnt()
327 last_mntent = setmntent (mounts, "r"); in open_temp_exec_file_mnt()
/external/libffi/src/
Dclosures.c342 open_temp_exec_file_mnt (const char *mounts) in open_temp_exec_file_mnt() argument
347 if (mounts != last_mounts) in open_temp_exec_file_mnt()
352 last_mounts = mounts; in open_temp_exec_file_mnt()
354 if (mounts) in open_temp_exec_file_mnt()
355 last_mntent = setmntent (mounts, "r"); in open_temp_exec_file_mnt()
/external/selinux/policycoreutils/scripts/
Dfixfiles48 grep " $i " /proc/self/mounts | awk '{print $4}' | egrep --silent '(^|,)seclabel(,|$)' && echo $i
50 …grep " $i " /proc/self/mounts | grep -v "context=" | egrep --silent '(ext[234]| ext4dev | gfs2 | x…
58 grep " $i " /proc/self/mounts | awk '{print $4}' | egrep --silent '(^|,)rw(,|$)' && echo $i
65 grep " $i " /proc/self/mounts | awk '{print $4}' | egrep --silent '(^|,)ro(,|$)' && echo $i
/external/autotest/client/site_tests/platform_CryptohomeMigrateKey/
Dcontrol18 keys. It first mounts and unmounts a vault using an old key, then migrates from
19 an old key to a new key, and finally mounts and unmounts using the new key.
/external/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_common.sh97 mount_point=`grep -w $subsystem /proc/mounts | grep -w "cgroup" | \
125 if grep -q "$mount_point" /proc/mounts; then
/external/ltp/testcases/commands/eject/
Deject-tests.sh26 if grep -q "$CD_DRIVE" /proc/mounts; then
100 if grep -q "$CD_DRIVE" /proc/mounts; then
/external/ltp/testcases/kernel/tracing/dynamic_debug/
Ddynamic_debug01.sh33 if grep -q debugfs /proc/mounts ; then
35 DEBUGFS_PATH=$(awk '/debugfs/{print $2}' /proc/mounts)
/external/linux-kselftest/tools/testing/selftests/kexec/
Dkexec_common_lib.sh9 SECURITYFS=$(grep "securityfs" /proc/mounts | awk '{print $2}')
48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
/external/autotest/client/tests/cgroup/
Dcgroup_common.py321 mounts = []
326 mounts.append(line)
333 for mount in mounts:
/external/ltp/runtest/
Dfs_bind1 #DESCRIPTION:Bind mounts and shared subtrees
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c130 int mounts, trace_fd; in wpa_debug_open_linux_tracing() local
135 mounts = open("/proc/mounts", O_RDONLY); in wpa_debug_open_linux_tracing()
136 if (mounts < 0) { in wpa_debug_open_linux_tracing()
141 buflen = read(mounts, buf, sizeof(buf) - 1); in wpa_debug_open_linux_tracing()
142 close(mounts); in wpa_debug_open_linux_tracing()
/external/ltp/testcases/kernel/security/smack/
Dsmack_common.sh32 grep -q $smackfsdir /proc/mounts
/external/ltp/testcases/kernel/controllers/
Dcgroup_lib.sh18 mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
/external/autotest/client/site_tests/platform_CryptohomeNonDirs/
Dcontrol7 PURPOSE = "Tests Cryptohome's protection against non-directory mounts."
/external/linux-kselftest/tools/testing/selftests/ftrace/
Dftracetest125 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
127 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
/external/autotest/client/cros/
Dliststorage.py218 mounts = read_file("/proc/mounts", host).splitlines()
220 for line in mounts:

12345