/third_party/glib/gio/ |
D | gmount.c | 132 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 …]
|
D | gunixmount.c | 75 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 …]
|
D | gmount.h | 81 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 …]
|
D | gwin32mount.c | 69 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 …]
|
D | gunixvolume.c | 48 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 …]
|
D | gio-tool-mount.c | 333 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 …]
|
D | gunixvolumemonitor.c | 151 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/ |
D | tacl_xattr.sh | 91 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/ |
D | tomoyo_filesystem_test.c | 50 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/ |
D | fs_bind21.sh | 19 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 …]
|
D | fs_bind11.sh | 21 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
|
D | fs_bind03.sh | 21 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
|
D | fs_bind09.sh | 21 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
|
D | fs_bind07.sh | 21 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/ |
D | fs_bind_rbind33.sh | 19 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 …]
|
D | fs_bind_rbind11.sh | 21 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
|
D | fs_bind_rbind38.sh | 18 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
|
D | fs_bind_rbind03.sh | 21 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
|
D | fs_bind_rbind19.sh | 20 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
|
D | fs_bind_rbind27.sh | 21 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
|
D | fs_bind_rbind07.sh | 21 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/ |
D | volumemonitor.c | 6 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/ |
D | fs_bind_cloneNS06.sh | 19 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/ |
D | Makefile.am | 70 $(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/ |
D | fs_bind_regression.sh | 17 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
|