Home
last modified time | relevance | path

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

12345678910

/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_lib.sh159 local mounts
170 mounts=$( sed '1!G;h;$!d' /proc/mounts \
173 [ -z "$mounts" ] && break
174 echo $mounts | xargs umount 2>/dev/null
221 local mounts
225 mounts=$( awk -v tmp="$TST_TMPDIR/$FS_BIND_SANDBOX/" '
229 ' /proc/mounts )
230 if [ -n "$mounts" ]; then
231 tst_res TFAIL "There are still mounts in the sandbox:\n$mounts"
/third_party/glib/gio/
Dgunixvolumemonitor.c48 GList *mounts; member
81 g_list_free_full (monitor->mounts, g_object_unref); in g_unix_volume_monitor_finalize()
96 g_list_free_full (monitor->mounts, g_object_unref); in g_unix_volume_monitor_dispose()
97 monitor->mounts = NULL; in g_unix_volume_monitor_dispose()
109 return g_list_copy_deep (monitor->mounts, (GCopyFunc) g_object_ref, NULL); in get_mounts()
306 for (l = monitor->mounts; l != NULL; l = l->next) in find_mount_by_mountpath()
393 monitor->mounts = g_list_remove (monitor->mounts, mount); in update_mounts()
410 monitor->mounts = g_list_prepend (monitor->mounts, mount); in update_mounts()
Dgio-tool-mount.c605 list_mounts (GList *mounts, in list_mounts() argument
620 for (c = 0, l = mounts; l != NULL; l = l->next, c++) in list_mounts()
708 GList *l, *mounts; in list_volumes() local
802 mounts = g_list_prepend (NULL, mount); in list_volumes()
803 list_mounts (mounts, indent + 2, FALSE); in list_volumes()
804 g_list_free (mounts); in list_volumes()
904 GList *drives, *volumes, *mounts; in list_monitor_items() local
917 mounts = g_volume_monitor_get_mounts (volume_monitor); in list_monitor_items()
918 list_mounts (mounts, 0, TRUE); in list_monitor_items()
919 g_list_free_full (mounts, g_object_unref); in list_monitor_items()
[all …]
Dgio-tool-monitor.c33 static gboolean mounts; variable
46 { "mounts", 'm', 0, G_OPTION_ARG_NONE, &mounts,
237 (mounts ? G_FILE_MONITOR_WATCH_MOUNTS : 0); in handle_monitor()
/third_party/glib/gio/completion/
Dgio51 # List volumes and mounts
52 local mounts=( )
55 # Do not care about local mounts
58 # Use only matching mounts
59 [[ "$mount" =~ ^"$cur" && "$mount" != "$cur" ]] && mounts+=("$mount")
90 COMPREPLY=("${files[@]}" "${mounts[@]}")
94 COMPREPLY=("${mounts[@]} ${names[@]}")
/third_party/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()
/third_party/glib/gio/tests/
Dvolumemonitor.c138 GList *mounts, *l; in test_mounts() local
140 mounts = g_volume_monitor_get_mounts (monitor); in test_mounts()
142 for (l = mounts; l; l = l->next) in test_mounts()
158 g_list_free_full (mounts, g_object_unref); in test_mounts()
/third_party/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)
/third_party/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)
/third_party/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()
/third_party/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
/third_party/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()
/third_party/ltp/testcases/commands/eject/
Deject-tests.sh26 if grep -q "$CD_DRIVE" /proc/mounts; then
100 if grep -q "$CD_DRIVE" /proc/mounts; then
/third_party/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)
/third_party/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()
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh52 mount_point=$(grep -w cgroup2 /proc/mounts | cut -f 2 | cut -d " " -f2)
71 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
93 if grep -q cgroup2 /proc/mounts; then
/third_party/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()
/third_party/ltp/testcases/kernel/security/smack/
Dsmack_common.sh32 grep -q $smackfsdir /proc/mounts
/third_party/ltp/testcases/kernel/controllers/
Dcgroup_lib.sh18 mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
/third_party/ltp/lib/newlib_tests/
Dtest_zero_hugepage.sh16 if grep -q -E '^proc /proc(/sys)? proc ro' /proc/mounts; then
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-proxy/
Dminimal-http-server-proxy.c65 info.mounts = &mount; in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-mimetypes/
Dminimal-http-server-mimetypes.c77 info.mounts = &mount; in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server/
Dminimal-http-server.c70 info.mounts = &mount; in main()

12345678910