Home
last modified time | relevance | path

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

1234

/external/perfetto/src/traced/probes/filesystem/
Dfs_mount_unittest.cc41 std::multimap<BlockDeviceID, std::string> mounts = ParseMounts(); in TEST() local
44 EXPECT_THAT(mounts, Contains(Pair(buf.st_dev, "/proc"))); in TEST()
58 std::multimap<BlockDeviceID, std::string> mounts = in TEST() local
63 EXPECT_THAT(mounts, Contains(Pair(dev_stat.st_dev, "/dev"))); in TEST()
64 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/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/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/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/syzkaller/dashboard/config/
Dupstream.sysctl14 # This is to restrict effects of recursive exponential mounts, for details see
15 # "mnt: Add a per mount namespace limit on the number of mounts" commit.
/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/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.sh44 if grep -q "$CD_DRIVE" /proc/mounts; then
118 if grep -q "$CD_DRIVE" /proc/mounts; then
/external/ltp/testcases/kernel/tracing/dynamic_debug/
Ddynamic_debug01.sh50 if grep -q debugfs /proc/mounts ; then
52 DEBUGFS_PATH=$(awk '/debugfs/{print $2}' /proc/mounts)
/external/autotest/client/tests/cgroup/
Dcgroup_common.py321 mounts = []
326 mounts.append(line)
333 for mount in mounts:
/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/runtest/
Dfs_bind1 #DESCRIPTION:Bind mounts and shared subtrees
/external/ltp/testcases/kernel/controllers/
Dcgroup_lib.sh18 mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
/external/ltp/testcases/kernel/security/smack/
Dsmack_common.sh32 grep -q $smackfsdir /proc/mounts
/external/linux-kselftest/tools/testing/selftests/ftrace/
Dftracetest119 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
121 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
/external/syzkaller/pkg/report/testdata/gvisor/report/
D112 pkg/sentry/fs/mounts.go:352 +0x500 fp=0xc420c6f148 sp=0xc420c6f078 pc=0x631560
14 pkg/sentry/fs/mounts.go:437 +0x71 fp=0xc420c6f1b0 sp=0xc420c6f148 pc=0x631601
77 pkg/sentry/fs/mounts.go:352 +0x500 fp=0xc420c6f148 sp=0xc420c6f078 pc=0x631560
79 pkg/sentry/fs/mounts.go:437 +0x71 fp=0xc420c6f1b0 sp=0xc420c6f148 pc=0x631601
/external/autotest/client/cros/
Dliststorage.py216 mounts = read_file("/proc/mounts", host).splitlines()
218 for line in mounts:
/external/autotest/client/site_tests/platform_CryptohomeNonDirs/
Dcontrol7 PURPOSE = "Tests Cryptohome's protection against non-directory mounts."

1234