/external/perfetto/src/traced/probes/filesystem/ |
D | fs_mount_unittest.cc | 40 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/ |
D | mountsnoop.py | 335 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))
|
D | inject_example.txt | 8 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/ |
D | power_IdleSuspend.py | 33 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/ |
D | lxc_config_unittest.py | 64 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
|
D | zygote.py | 78 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/ |
D | README | 23 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/ |
D | binfmt_misc_lib.sh | 33 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts) 53 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
|
/external/linux-kselftest/tools/testing/selftests/pstore/ |
D | pstore_post_reboot_tests | 23 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/ |
D | closures.c | 314 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/ |
D | closures.c | 342 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/ |
D | fixfiles | 48 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/ |
D | control | 18 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/ |
D | cgroup_fj_common.sh | 97 mount_point=`grep -w $subsystem /proc/mounts | grep -w "cgroup" | \ 125 if grep -q "$mount_point" /proc/mounts; then
|
/external/ltp/testcases/commands/eject/ |
D | eject-tests.sh | 26 if grep -q "$CD_DRIVE" /proc/mounts; then 100 if grep -q "$CD_DRIVE" /proc/mounts; then
|
/external/ltp/testcases/kernel/tracing/dynamic_debug/ |
D | dynamic_debug01.sh | 33 if grep -q debugfs /proc/mounts ; then 35 DEBUGFS_PATH=$(awk '/debugfs/{print $2}' /proc/mounts)
|
/external/linux-kselftest/tools/testing/selftests/kexec/ |
D | kexec_common_lib.sh | 9 SECURITYFS=$(grep "securityfs" /proc/mounts | awk '{print $2}') 48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
|
/external/autotest/client/tests/cgroup/ |
D | cgroup_common.py | 321 mounts = [] 326 mounts.append(line) 333 for mount in mounts:
|
/external/ltp/runtest/ |
D | fs_bind | 1 #DESCRIPTION:Bind mounts and shared subtrees
|
/external/wpa_supplicant_8/src/utils/ |
D | wpa_debug.c | 130 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/ |
D | smack_common.sh | 32 grep -q $smackfsdir /proc/mounts
|
/external/ltp/testcases/kernel/controllers/ |
D | cgroup_lib.sh | 18 mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
|
/external/autotest/client/site_tests/platform_CryptohomeNonDirs/ |
D | control | 7 PURPOSE = "Tests Cryptohome's protection against non-directory mounts."
|
/external/linux-kselftest/tools/testing/selftests/ftrace/ |
D | ftracetest | 125 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/ |
D | liststorage.py | 218 mounts = read_file("/proc/mounts", host).splitlines() 220 for line in mounts:
|