/external/ltp/testcases/kernel/fs/fs_bind/ |
D | fs_bind_lib.sh | 155 local mounts 166 mounts=$( sed '1!G;h;$!d' /proc/mounts \ 169 [ -z "$mounts" ] && break 170 echo $mounts | xargs umount 2>/dev/null 217 local mounts 221 mounts=$( awk -v tmp="$TST_TMPDIR/$FS_BIND_SANDBOX/" ' 225 ' /proc/mounts ) 226 if [ -n "$mounts" ]; then 227 tst_res TFAIL "There are still mounts in the sandbox:\n$mounts"
|
/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/libchrome-gestures/src/ |
D | trace_marker.cc | 73 FILE* mounts = setmntent("/proc/mounts", "r"); in FindDebugfs() local 74 if (mounts == NULL) in FindDebugfs() 78 struct mntent* entry = getmntent(mounts); in FindDebugfs() 80 fclose(mounts); in FindDebugfs() 88 fclose(mounts); in FindDebugfs()
|
/external/bcc/tools/ |
D | mountsnoop.py | 361 def print_event(mounts, umounts, parent, cpu, data, size): argument 366 mounts[event.pid] = { 376 mounts[event.pid]['source'] = event.union.str 378 mounts[event.pid]['target'] = event.union.str 380 mounts[event.pid]['type'] = event.union.str 383 mounts[event.pid]['data'] = event.union.str 399 syscall = mounts.pop(event.pid) 443 mounts = {} 458 functools.partial(print_event, mounts, umounts, args.parent_process))
|
/external/autotest/client/site_tests/power_IdleSuspend/ |
D | power_IdleSuspend.py | 34 mounts = () variable in power_IdleSuspend 38 self.mounts = [] 54 self.mounts.append(mount_path) 60 self.mounts.append('/sys/power/state') 112 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
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-multivhost/ |
D | minimal-http-server.c | 137 info.mounts = &mount_localhost1; in main() 147 info.mounts = &mount_localhost2; in main() 160 info.mounts = &mount_localhost3; in main()
|
/external/linux-kselftest/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 15 FILE *mounts; in find_resctrl_mount() local 18 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount() 19 if (!mounts) { in find_resctrl_mount() 23 while (!feof(mounts)) { in find_resctrl_mount() 24 if (!fgets(line, 256, mounts)) in find_resctrl_mount() 38 fclose(mounts); in find_resctrl_mount() 45 fclose(mounts); in find_resctrl_mount()
|
/external/libwebsockets/plugins/deaddrop/ |
D | README.md | 15 ## Required mounts 17 To use deaddrop meaningfully, all the mounts and the ws protocol must be 42 As a plugin, you can configure the mounts and pvos per-vhost easily in JSON. 46 The mountpoints would look something like this (added to vhost/mounts)
|
/external/ltp/testcases/kernel/fs/binfmt_misc/ |
D | binfmt_misc_lib.sh | 31 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts) 51 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
|
/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/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/libwebsockets/minimal-examples/http-server/minimal-http-server-tls-80/ |
D | minimal-http-server-tls-80.c | 109 info.mounts = &mount80; in main() 118 info.mounts = &mount; in main()
|
/external/selinux/policycoreutils/scripts/ |
D | fixfiles | 48 …grep " $i " /proc/self/mounts | awk '{print $4}' | grep -E --silent '(^|,)seclabel(,|$)' && echo $i 50 …grep " $i " /proc/self/mounts | grep -v "context=" | grep -E --silent '(ext[234]| ext4dev | gfs2 |… 58 grep " $i " /proc/self/mounts | awk '{print $4}' | grep -E --silent '(^|,)rw(,|$)' && echo $i 65 grep " $i " /proc/self/mounts | awk '{print $4}' | grep -E --silent '(^|,)ro(,|$)' && echo $i
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-tls-mem/ |
D | minimal-http-server-tls-mem.c | 429 info.mounts = &mount; in main() 443 info.mounts = &mount; in main()
|
/external/ltp/testcases/commands/eject/ |
D | eject-tests.sh | 25 if grep -q "$CD_DRIVE" /proc/mounts; then 99 if grep -q "$CD_DRIVE" /proc/mounts; then
|
/external/ltp/testcases/kernel/tracing/dynamic_debug/ |
D | dynamic_debug01.sh | 28 if grep -q debugfs /proc/mounts ; then 30 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/libwebsockets/lib/core-net/ |
D | vhost.c | 578 const struct lws_http_mount *mounts; in lws_create_vhost() local 875 vh->http.mount_list = info->mounts; in lws_create_vhost() 917 mounts = info->mounts; in lws_create_vhost() 918 while (mounts) { in lws_create_vhost() 921 mount_protocols[mounts->origin_protocol], in lws_create_vhost() 922 mounts->origin ? mounts->origin : "none", in lws_create_vhost() 923 mounts->mountpoint); in lws_create_vhost() 925 mounts = mounts->mount_next; in lws_create_vhost()
|
/external/libffi/src/ |
D | closures.c | 617 open_temp_exec_file_mnt (const char *mounts) in open_temp_exec_file_mnt() argument 622 if (mounts != last_mounts) in open_temp_exec_file_mnt() 627 last_mounts = mounts; in open_temp_exec_file_mnt() 629 if (mounts) in open_temp_exec_file_mnt() 630 last_mntent = setmntent (mounts, "r"); in open_temp_exec_file_mnt()
|
/external/ltp/testcases/kernel/security/smack/ |
D | smack_common.sh | 32 grep -q $smackfsdir /proc/mounts
|
/external/cronet/build/ |
D | install-chroot.sh | 270 mounts="$(awk '$2 != "/" && $2 !~ "^/boot" && $2 !~ "^/home" && 279 if [ -n "${mounts}" ]; then 287 j=1; for m in ${mounts}; do 317 j=1; for m in ${mounts}; do 784 ! egrep -qs '/var/lib/[^/]*chroot/.*/chroot' /proc/mounts; then
|
/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/angle/build/ |
D | install-chroot.sh | 270 mounts="$(awk '$2 != "/" && $2 !~ "^/boot" && $2 !~ "^/home" && 279 if [ -n "${mounts}" ]; then 287 j=1; for m in ${mounts}; do 317 j=1; for m in ${mounts}; do 784 ! egrep -qs '/var/lib/[^/]*chroot/.*/chroot' /proc/mounts; then
|
/external/ltp/lib/newlib_tests/ |
D | test_zero_hugepage.sh | 16 if grep -q -E '^proc /proc(/sys)? proc ro' /proc/mounts; then
|