Home
last modified time | relevance | path

Searched refs:mount (Results 1 – 25 of 660) sorted by relevance

12345678910>>...27

/third_party/glib/gio/
Dgmount.c132 g_mount_get_root (GMount *mount) in g_mount_get_root() argument
136 g_return_val_if_fail (G_IS_MOUNT (mount), NULL); in g_mount_get_root()
138 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_root()
140 return (* iface->get_root) (mount); in g_mount_get_root()
156 g_mount_get_default_location (GMount *mount) in g_mount_get_default_location() argument
161 g_return_val_if_fail (G_IS_MOUNT (mount), NULL); in g_mount_get_default_location()
163 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_default_location()
167 file = (* iface->get_default_location) (mount); in g_mount_get_default_location()
169 file = (* iface->get_root) (mount); in g_mount_get_default_location()
185 g_mount_get_name (GMount *mount) in g_mount_get_name() argument
[all …]
Dgunixmount.c75 GUnixMount *mount; in G_DEFINE_TYPE_WITH_CODE() local
77 mount = G_UNIX_MOUNT (object); in G_DEFINE_TYPE_WITH_CODE()
79 if (mount->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE()
80 g_object_unref (mount->volume_monitor); in G_DEFINE_TYPE_WITH_CODE()
82 if (mount->volume) in G_DEFINE_TYPE_WITH_CODE()
83 _g_unix_volume_unset_mount (mount->volume, mount); in G_DEFINE_TYPE_WITH_CODE()
86 g_object_unref (mount->icon); in G_DEFINE_TYPE_WITH_CODE()
87 g_object_unref (mount->symbolic_icon); in G_DEFINE_TYPE_WITH_CODE()
88 g_free (mount->name); in G_DEFINE_TYPE_WITH_CODE()
89 g_free (mount->device_path); in G_DEFINE_TYPE_WITH_CODE()
[all …]
Dgmount.h81 void (* changed) (GMount *mount);
82 void (* unmounted) (GMount *mount);
86 GFile * (* get_root) (GMount *mount);
87 char * (* get_name) (GMount *mount);
88 GIcon * (* get_icon) (GMount *mount);
89 char * (* get_uuid) (GMount *mount);
90 GVolume * (* get_volume) (GMount *mount);
91 GDrive * (* get_drive) (GMount *mount);
92 gboolean (* can_unmount) (GMount *mount);
93 gboolean (* can_eject) (GMount *mount);
[all …]
Dgwin32mount.c69 GWin32Mount *mount; in G_DEFINE_TYPE_WITH_CODE() local
71 mount = G_WIN32_MOUNT (object); in G_DEFINE_TYPE_WITH_CODE()
73 if (mount->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE()
74 g_object_unref (mount->volume_monitor); in G_DEFINE_TYPE_WITH_CODE()
76 if (mount->volume) in G_DEFINE_TYPE_WITH_CODE()
77 _g_win32_volume_unset_mount (mount->volume, mount); in G_DEFINE_TYPE_WITH_CODE()
81 if (mount->icon != NULL) in G_DEFINE_TYPE_WITH_CODE()
82 g_object_unref (mount->icon); in G_DEFINE_TYPE_WITH_CODE()
83 if (mount->symbolic_icon != NULL) in G_DEFINE_TYPE_WITH_CODE()
84 g_object_unref (mount->symbolic_icon); in G_DEFINE_TYPE_WITH_CODE()
[all …]
Dgunixvolume.c48 GUnixMount *mount; /* owned by volume monitor */ member
79 if (volume->mount) in G_DEFINE_TYPE_WITH_CODE()
80 _g_unix_mount_unset_volume (volume->mount, volume); in G_DEFINE_TYPE_WITH_CODE()
155 if (volume->mount) in _g_unix_volume_disconnected()
157 _g_unix_mount_unset_volume (volume->mount, volume); in _g_unix_volume_disconnected()
158 volume->mount = NULL; in _g_unix_volume_disconnected()
164 GUnixMount *mount) in _g_unix_volume_set_mount() argument
166 if (volume->mount == mount) in _g_unix_volume_set_mount()
169 if (volume->mount) in _g_unix_volume_set_mount()
170 _g_unix_mount_unset_volume (volume->mount, volume); in _g_unix_volume_set_mount()
[all …]
Dgio-tool-mount.c333 mount (GFile *file) in mount() function
381 GMount *mount; in unmount() local
389 mount = g_file_find_enclosing_mount (file, NULL, &error); in unmount()
390 if (mount == NULL) in unmount()
400 …g_mount_unmount_with_operation (mount, flags, mount_op, NULL, unmount_done_cb, g_object_ref (file)… in unmount()
437 GMount *mount; in eject() local
445 mount = g_file_find_enclosing_mount (file, NULL, &error); in eject()
446 if (mount == NULL) in eject()
456 g_mount_eject_with_operation (mount, flags, mount_op, NULL, eject_done_cb, g_object_ref (file)); in eject()
611 GMount *mount; in list_mounts() local
[all …]
Dgunixvolumemonitor.c151 GUnixMount *mount; in get_mount_for_mount_path() local
159 mount = _g_unix_mount_new (NULL, mount_entry, NULL); in get_mount_for_mount_path()
163 return G_MOUNT (mount); in get_mount_for_mount_path()
308 GUnixMount *mount = l->data; in find_mount_by_mountpath() local
310 if (_g_unix_mount_has_mount_path (mount, mount_path)) in find_mount_by_mountpath()
311 return mount; in find_mount_by_mountpath()
373 GUnixMount *mount; in update_mounts() local
389 mount = find_mount_by_mountpath (monitor, g_unix_mount_get_mount_path (mount_entry)); in update_mounts()
390 if (mount) in update_mounts()
392 _g_unix_mount_unmounted (mount); in update_mounts()
[all …]
/third_party/ltp/testcases/kernel/fs/acl/
Dtacl_xattr.sh91 mount | grep ext2
95 mkdir -m 777 tacl/mount-ext2
96 mount -t ext3 -o defaults,acl,user_xattr /dev/loop0 tacl/mount-ext2
107 mkdir -m 777 tacl/mount-ext2
108 mount -t ext2 -o defaults,acl,user_xattr /dev/loop0 tacl/mount-ext2
118 chmod 777 tacl/mount-ext2
125 if [ ! -e tacl/mount-ext2/shared ]
127 mkdir -p -m 777 tacl/mount-ext2/shared
134 mkdir $CUR_PATH/tacl/mount-ext2/shared/team1
135 touch $CUR_PATH/tacl/mount-ext2/shared/team1/file1
[all …]
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c50 if (mount(source, target, filesystemtype, 0, NULL)) { in mount2()
181 if (mount("dev\tname", "/", "fs\tname", 0, NULL) == EOF && in main()
190 if (mount("dev\tname", "/", "fs\tname", 0, NULL) == EOF && in main()
199 if (mount("dev\tname", "/", "fs\tname", 0, NULL) == EOF && in main()
209 if (mount("dev\tname", "/", "fs\tname", 0, NULL) == EOF && in main()
218 if (mount(NULL, "/", "tmpfs", 0, NULL)) in main()
224 if (mount(NULL, "/", "tmpfs", 0, NULL)) in main()
229 if (mount("anydev", "/", "tmpfs", 0, NULL)) in main()
236 if (mount(NULL, "/", "tmpfs", 0, NULL)) in main()
243 if (mount(NULL, NULL, "tmpfs", 0, NULL)) in main()
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
Dfs_bind21.sh19 EXPECT_PASS mount --bind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-rshared dir2
23 EXPECT_PASS mount --bind dir2 dir3
24 EXPECT_PASS mount --make-rslave dir3
25 EXPECT_PASS mount --make-rshared dir3
27 EXPECT_PASS mount --bind dir3 dir4
28 EXPECT_PASS mount --make-rslave dir4
30 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1/x
33 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/x/a
[all …]
Dfs_bind11.sh21 EXPECT_PASS mount --bind parent2 share2
22 EXPECT_PASS mount --bind share1 parent1/child1
23 EXPECT_PASS mount --bind "$FS_BIND_DISK1" share1
24 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
25 EXPECT_PASS mount --make-rslave parent1/child1
26 EXPECT_PASS mount --make-rslave parent2
32 EXPECT_PASS mount --bind parent1/child1 parent2/child2
35 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/a
39 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent2/child2/b
45 EXPECT_PASS mount --bind "$FS_BIND_DISK4" share1/c
Dfs_bind03.sh21 EXPECT_PASS mount --bind parent1/child1 share1
22 EXPECT_PASS mount --bind "$FS_BIND_DISK1" parent1/child1
23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
24 EXPECT_PASS mount --bind share2 parent2
25 EXPECT_PASS mount --make-rslave parent2
31 EXPECT_PASS mount --bind parent1/child1 share1
32 EXPECT_PASS mount --bind parent1/child1 parent2/child2
36 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/a
41 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent2/child2/b
Dfs_bind09.sh21 EXPECT_PASS mount --bind parent2 share2
22 EXPECT_PASS mount --bind share1 parent1/child1
23 EXPECT_PASS mount --bind "$FS_BIND_DISK1" share1
24 EXPECT_PASS mount --make-rslave parent1/child1
28 EXPECT_PASS mount --bind parent1/child1 parent2/child2
31 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent1/child1/a
35 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent2/child2/b
39 EXPECT_PASS mount --bind "$FS_BIND_DISK4" share1/c
Dfs_bind07.sh21 EXPECT_PASS mount --bind parent1 share1
22 EXPECT_PASS mount --bind "$FS_BIND_DISK1" parent1/child1
25 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
26 EXPECT_PASS mount --bind share2 parent2
27 EXPECT_PASS mount --make-rslave parent2
31 EXPECT_PASS mount --bind parent1/child1 parent2/child2
35 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent1/child1/a
38 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent2/child2/b
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
Dfs_bind_rbind33.sh19 EXPECT_PASS mount --rbind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-share dir2
23 EXPECT_PASS mount --rbind dir2 dir3
24 EXPECT_PASS mount --make-rslave dir3
25 EXPECT_PASS mount --make-share dir3
27 EXPECT_PASS mount --rbind dir3 dir4
28 EXPECT_PASS mount --make-rslave dir4
30 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
34 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
[all …]
Dfs_bind_rbind11.sh21 EXPECT_PASS mount --rbind parent2 share2
22 EXPECT_PASS mount --rbind share1 parent1/child1
23 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" share1
24 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
25 EXPECT_PASS mount --make-rslave parent1/child1
26 EXPECT_PASS mount --make-rslave parent2
33 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
37 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent1/child1/a
42 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" parent2/child2/b
49 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" share1/c
Dfs_bind_rbind38.sh18 EXPECT_PASS mount --rbind share1 parent1/child1
19 EXPECT_PASS mount --rbind share2 parent2/child2
20 EXPECT_PASS mount --make-rslave parent1/child1
21 EXPECT_PASS mount --make-rslave parent2/child2
23 EXPECT_PASS mount --bind "$FS_BIND_DISK1" share1
25 EXPECT_PASS mount --rbind parent1 parent2
30 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share1/a
33 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/b
36 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent2/child1/c
Dfs_bind_rbind03.sh21 EXPECT_PASS mount --rbind parent1/child1 share1
22 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
23 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
24 EXPECT_PASS mount --rbind share2 parent2
25 EXPECT_PASS mount --make-rslave parent2
31 EXPECT_PASS mount --rbind parent1/child1 share1
32 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
36 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent1/child1/a
41 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child2/b
Dfs_bind_rbind19.sh20 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" share1
21 EXPECT_PASS mount --rbind share1 parent1
22 EXPECT_PASS mount --rbind share2 parent2
23 EXPECT_PASS mount --make-rslave parent2
26 EXPECT_PASS mount --rbind parent1 parent2
28 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1
31 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/a
35 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" share1/b
Dfs_bind_rbind27.sh21 EXPECT_PASS mount --bind share1 parent1/child1
22 EXPECT_PASS mount --bind share2 parent2
23 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
24 EXPECT_PASS mount --make-rslave parent1/child1
25 EXPECT_PASS mount --make-rslave parent2
27 EXPECT_PASS mount --rbind parent1 parent2
33 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1/a
38 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child1/b
Dfs_bind_rbind07.sh21 EXPECT_PASS mount --rbind parent1 share1
22 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
26 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
27 EXPECT_PASS mount --rbind share2 parent2
28 EXPECT_PASS mount --make-rslave parent2
33 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
38 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1/a
42 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child2/b
/third_party/glib/gio/tests/
Dvolumemonitor.c6 do_mount_tests (GDrive *drive, GVolume *volume, GMount *mount) in do_mount_tests() argument
13 name = g_mount_get_name (mount); in do_mount_tests()
17 v = g_mount_get_volume (mount); in do_mount_tests()
22 d = g_mount_get_drive (mount); in do_mount_tests()
27 uuid = g_mount_get_uuid (mount); in do_mount_tests()
32 g_assert (m == mount); in do_mount_tests()
43 GMount *mount; in do_volume_tests() local
55 mount = g_volume_get_mount (volume); in do_volume_tests()
56 if (mount != NULL) in do_volume_tests()
58 do_mount_tests (drive, volume, mount); in do_volume_tests()
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dfs_bind_cloneNS06.sh19 EXPECT_PASS mount --rbind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-rshared dir2
23 EXPECT_PASS mount --rbind dir2 dir3
24 EXPECT_PASS mount --make-rslave dir3
25 EXPECT_PASS mount --make-rshared dir3
27 EXPECT_PASS mount --rbind dir3 dir4
28 EXPECT_PASS mount --make-rslave dir4
32 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
36 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
[all …]
/third_party/ntfs-3g/src/
DMakefile.am70 $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
71 $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
74 $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
75 $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.lowntfs-3g.8"
78 $(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
79 $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_regression.sh17 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir
28 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
29 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
30 EXPECT_PASS mount --rbind dir1 dir2
46 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
47 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
48 EXPECT_PASS mount --move dir1 dir2

12345678910>>...27