Home
last modified time | relevance | path

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

1234567

/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))
/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
/external/libwebsockets/plugins/
Dserver-status.js197 if (jso.i.contexts[ci].vhosts[n].mounts) {
201 for (m = 0; m < jso.i.contexts[ci].vhosts[n].mounts.length; m++) {
203 s = s + "<span class=\"m1\">" + san(jso.i.contexts[ci].vhosts[n].mounts[m].mountpoint) +
205 san(jso.i.contexts[ci].vhosts[n].mounts[m].origin) +
207 if (parseInt(san(jso.i.contexts[ci].vhosts[n].mounts[m].cache_max_age), 10))
209 san(jso.i.contexts[ci].vhosts[n].mounts[m].cache_max_age) +
211 san(jso.i.contexts[ci].vhosts[n].mounts[m].cache_reuse) +
213 san(jso.i.contexts[ci].vhosts[n].mounts[m].cache_revalidate) +
215 san(jso.i.contexts[ci].vhosts[n].mounts[m].cache_intermediaries);
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-multivhost/
Dminimal-http-server.c136 info.mounts = &mount_localhost1; in main()
146 info.mounts = &mount_localhost2; in main()
156 info.mounts = &mount_localhost3; in main()
/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/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/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/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/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/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/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/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.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/libwebsockets/lib/core-net/
Dvhost.c471 const struct lws_http_mount *mounts; in lws_create_vhost() local
708 vh->http.mount_list = info->mounts; in lws_create_vhost()
733 mounts = info->mounts; in lws_create_vhost()
734 while (mounts) { in lws_create_vhost()
737 mount_protocols[mounts->origin_protocol], in lws_create_vhost()
738 mounts->origin, mounts->mountpoint); in lws_create_vhost()
740 mounts = mounts->mount_next; in lws_create_vhost()
/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/ltp/testcases/kernel/security/smack/
Dsmack_common.sh32 grep -q $smackfsdir /proc/mounts
/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/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()

1234567