Home
last modified time | relevance | path

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

12345678

/external/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_lib.sh155 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/
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/libchrome-gestures/src/
Dtrace_marker.cc73 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/
Dmountsnoop.py361 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/
Dpower_IdleSuspend.py34 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/
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
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-multivhost/
Dminimal-http-server.c137 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/
Dresctrlfs.c15 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/
DREADME.md15 ## 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/
Dbinfmt_misc_lib.sh31 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
51 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
/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/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/libwebsockets/minimal-examples/http-server/minimal-http-server-tls-80/
Dminimal-http-server-tls-80.c109 info.mounts = &mount80; in main()
118 info.mounts = &mount; in main()
/external/selinux/policycoreutils/scripts/
Dfixfiles48 …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/
Dminimal-http-server-tls-mem.c429 info.mounts = &mount; in main()
443 info.mounts = &mount; in main()
/external/ltp/testcases/commands/eject/
Deject-tests.sh25 if grep -q "$CD_DRIVE" /proc/mounts; then
99 if grep -q "$CD_DRIVE" /proc/mounts; then
/external/ltp/testcases/kernel/tracing/dynamic_debug/
Ddynamic_debug01.sh28 if grep -q debugfs /proc/mounts ; then
30 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/libwebsockets/lib/core-net/
Dvhost.c578 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/
Dclosures.c617 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/
Dsmack_common.sh32 grep -q $smackfsdir /proc/mounts
/external/cronet/build/
Dinstall-chroot.sh270 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/
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/angle/build/
Dinstall-chroot.sh270 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/
Dtest_zero_hugepage.sh16 if grep -q -E '^proc /proc(/sys)? proc ro' /proc/mounts; then

12345678