/titanic_44/usr/src/cmd/hal/tools/ |
H A D | hal-storage-cleanup-mountpoint.c | 49 do_cleanup (const char *mount_point) in do_cleanup() argument 110 if (strcmp (line_elements[5], mount_point) == 0) { in do_cleanup() 132 printf ("Found entry for mount point '%s' in /media/.hal-mtab", mount_point); in do_cleanup() 158 if (g_rmdir (mount_point) != 0) { in do_cleanup() 174 char *mount_point; in main() local 180 mount_point = getenv ("HALD_CLEANUP"); in main() 181 if (mount_point == NULL) in main() 185 printf ("in hal-storage-cleanup-mountpoint for mount point '%s'\n", mount_point); in main() 187 do_cleanup (mount_point); in main()
|
H A D | hal-storage-mount.c | 123 invalid_mount_point (const char *mount_point) in invalid_mount_point() argument 126 fprintf (stderr, "The mount point '%s' is invalid\n", mount_point); in invalid_mount_point() 131 mount_point_not_available (const char *mount_point) in mount_point_not_available() argument 134 fprintf (stderr, "The mount point '%s' is already occupied\n", mount_point); in mount_point_not_available() 392 device_is_mounted (const char *device, char **mount_point) in device_is_mounted() argument 405 while (((entry = mtab_next (handle, mount_point)) != NULL) && (ret == FALSE)) { in device_is_mounted() 456 char mount_point[256]; local 535 if (strlen (fgets (mount_point, sizeof (mount_point), stdin)) > 0) 536 mount_point [strlen (mount_point) - 1] = '\0'; 542 if (!g_utf8_validate (mount_point, -1, &end)) [all …]
|
H A D | hal-storage-shared.c | 95 mtab_next (gpointer handle, char **mount_point) in mtab_next() argument 104 #error TODO: set *mount_point to g_strdup()-ed value if mount_point!=NULL in mtab_next() 109 if (mount_point != NULL) { in mtab_next() 110 *mount_point = g_strdup (mnt.mnt_mountp); in mtab_next() 122 if (mount_point != NULL) { in mtab_next() 123 *mount_point = g_strdup (mnt->mnt_dir); in mtab_next() 159 fstab_next (gpointer handle, char **mount_point) in fstab_next() argument 167 if (mount_point != NULL && fstab != NULL) { in fstab_next() 168 *mount_point = fstab->fs_file; in fstab_next() 181 if (mount_point != NULL && mnt != NULL) { in fstab_next() [all …]
|
H A D | hal-storage-cleanup-all-mountpoints.c | 98 char *mount_point; in do_cleanup() local 112 mount_point = line_elements[5]; in do_cleanup() 115 if (g_rmdir (mount_point) == 0) { in do_cleanup() 118 printf ("Removed mount_point '%s'", mount_point); in do_cleanup()
|
H A D | hal-storage-shared.h | 42 char *mtab_next (gpointer handle, char **mount_point); 46 char *fstab_next (gpointer handle, char **mount_point); 76 const char *auth_used, const char *mount_point, const char *device, const char *options);
|
/titanic_44/usr/src/cmd/stat/common/ |
H A D | mnt.c | 119 free(nfs->mount_point); in build_mnt_list() 127 free(ufs->mount_point); in build_mnt_list() 150 item->mount_point = in build_mnt_list()
|
H A D | dsr.h | 51 char *mount_point; member
|
/titanic_44/usr/src/cmd/rmvolmgr/ |
H A D | vold.c | 139 char *mount_point, 637 char *mount_point; in create_notify_files() local 656 mount_point = aa[ai]->aa_mountpoint; in create_notify_files() 676 mount_point = "none"; in create_notify_files() 723 mount_point, in create_notify_files() 737 char *mount_point, in create_one_notify_file() argument 767 dprintf("\tcreate_one_notify_file(): mount_point = %s\n", mount_point); in create_one_notify_file() 829 mount_point, in create_one_notify_file() 836 mount_point, in create_one_notify_file()
|
H A D | rmm_common.c | 314 const char *mount_point = NULL; in rmm_print_nicknames_one() local 337 ((mount_point = libhal_volume_get_mount_point(v)) != NULL) && in rmm_print_nicknames_one() 338 (strlen(mount_point) > 0)) { in rmm_print_nicknames_one() 339 (void) printf("%s%s", comma ? "," : "", mount_point); in rmm_print_nicknames_one() 1240 char *mount_point = NULL; in rmm_get_mnttab_mount_point() local 1248 mount_point = strdup(mnt.mnt_mountp); in rmm_get_mnttab_mount_point() 1253 return (mount_point); in rmm_get_mnttab_mount_point()
|
/titanic_44/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 1434 char *mount_point = (char *) data1; in devinfo_storage_cleanup_mountpoint_cb() local 1436 HAL_INFO (("Cleaned up mount point '%s'", mount_point)); in devinfo_storage_cleanup_mountpoint_cb() 1437 g_free (mount_point); in devinfo_storage_cleanup_mountpoint_cb() 1451 char *mount_point; in devinfo_storage_mnttab_event() local 1509 mount_point = g_strdup (hal_device_property_get_string (d, "volume.mount_point")); in devinfo_storage_mnttab_event() 1510 if (mount_point == NULL || strlen (mount_point) == 0) { in devinfo_storage_mnttab_event() 1511 g_free (mount_point); in devinfo_storage_mnttab_event() 1524 if (hal_util_is_mounted_by_hald (mount_point)) { in devinfo_storage_mnttab_event() 1528 HAL_INFO (("Cleaning up '%s'", mount_point)); in devinfo_storage_mnttab_event() 1530 extra_env[0] = g_strdup_printf ("HALD_CLEANUP=%s", mount_point); in devinfo_storage_mnttab_event() [all …]
|
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | setup.c | 105 if (mount_point != NULL) { in read_super_block() 106 fd = open(mount_point, O_RDONLY); in read_super_block() 183 if (mount_point != NULL) { in flush_fs() 184 fd = open(mount_point, O_RDONLY); in flush_fs() 247 (((mount_point == NULL) && (sblock.fs_rolled != FS_ALL_ROLLED)) || in logsetup() 248 ((mount_point != NULL) && !mflag))) { in logsetup() 298 (sblock.fs_clean == FSSTABLE) && (mount_point != NULL))) in logsetup() 450 mount_point = NULL; in check_mount_state() 454 corefs = which_corefs(mount_point); in check_mount_state()
|
H A D | fsck.h | 354 char *mount_point; /* if mounted, this is where */ variable
|
H A D | utilities.c | 63 caddr_t mount_point = NULL; variable 1068 if (mount_point == NULL) { in mounted() 1069 mount_point = strdup(mntent->mnt_mountp); in mounted() 1070 if (mount_point == NULL) { in mounted()
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 72 static char mount_point[MAXPATHLEN + 1]; variable 308 if ((realpath(argv[optind+1], mount_point) == NULL) || in main() 309 (stat(mount_point, &st) == -1)) { in main() 315 err(EX_MNT, gettext("can't mount on %s"), mount_point); in main()
|
/titanic_44/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 612 const char *mount_point; in libhal_volume_policy_should_be_visible() local 644 mount_point = libhal_volume_get_mount_point (volume); in libhal_volume_policy_should_be_visible() 648 if (mount_point == NULL) in libhal_volume_policy_should_be_visible() 649 mount_point = target_mount_point; in libhal_volume_policy_should_be_visible() 656 if (mount_point != NULL) { in libhal_volume_policy_should_be_visible() 658 if (strcmp (mount_point, fhs23_toplevel_mount_points[i]) == 0) in libhal_volume_policy_should_be_visible() 732 char *mount_point; /* NULL iff !is_mounted */ member 835 libhal_free_string (vol->mount_point); in libhal_volume_free() 1156 LIBHAL_PROP_EXTRACT_STRING ("volume.mount_point", vol->mount_point); in libhal_volume_from_udi() 1654 return volume->mount_point; in libhal_volume_get_mount_point()
|
/titanic_44/usr/src/cmd/hal/hald/ |
H A D | util.h | 107 gboolean hal_util_is_mounted_by_hald (const char *mount_point);
|
H A D | util.c | 997 hal_util_is_mounted_by_hald (const char *mount_point) in hal_util_is_mounted_by_hald() argument 1065 if (strcmp (line_elements[5], mount_point) == 0) { in hal_util_is_mounted_by_hald()
|
/titanic_44/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 924 mount_pt->mount_point); in show_disk() 927 mount_pt->mount_point); in show_disk()
|