Home
last modified time | relevance | path

Searched refs:line_elements (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/hal/tools/
H A Dhal-storage-cleanup-all-mountpoints.c87 char **line_elements; in do_cleanup() local
96 line_elements = g_strsplit (lines[i], "\t", 6); in do_cleanup()
97 if (g_strv_length (line_elements) == 6) { in do_cleanup()
101 printf (" devfile = '%s'\n", line_elements[0]); in do_cleanup()
102 printf (" uid = '%s'\n", line_elements[1]); in do_cleanup()
103 printf (" session id = '%s'\n", line_elements[2]); in do_cleanup()
104 printf (" fs = '%s'\n", line_elements[3]); in do_cleanup()
105 printf (" options = '%s'\n", line_elements[4]); in do_cleanup()
106 printf (" mount_point = '%s'\n", line_elements[5]); in do_cleanup()
112 mount_point = line_elements[5]; in do_cleanup()
[all …]
H A Dhal-storage-cleanup-mountpoint.c89 char **line_elements; in do_cleanup() local
98 line_elements = g_strsplit (lines[i], "\t", 6); in do_cleanup()
99 if (g_strv_length (line_elements) == 6) { in do_cleanup()
102 printf (" devfile = '%s'\n", line_elements[0]); in do_cleanup()
103 printf (" uid = '%s'\n", line_elements[1]); in do_cleanup()
104 printf (" session id = '%s'\n", line_elements[2]); in do_cleanup()
105 printf (" fs = '%s'\n", line_elements[3]); in do_cleanup()
106 printf (" options = '%s'\n", line_elements[4]); in do_cleanup()
107 printf (" mount_point = '%s'\n", line_elements[5]); in do_cleanup()
110 if (strcmp (line_elements[5], mount_point) == 0) { in do_cleanup()
[all …]
H A Dhal-storage-shared.c352 char **line_elements; in handle_unmount() local
363 line_elements = g_strsplit (lines[i], "\t", 6); in handle_unmount()
364 if (g_strv_length (line_elements) == 6) { in handle_unmount()
367 printf (" devfile = '%s'\n", line_elements[0]); in handle_unmount()
368 printf (" uid = '%s'\n", line_elements[1]); in handle_unmount()
369 printf (" session id = '%s'\n", line_elements[2]); in handle_unmount()
370 printf (" fs = '%s'\n", line_elements[3]); in handle_unmount()
371 printf (" options = '%s'\n", line_elements[4]); in handle_unmount()
372 printf (" mount_point = '%s'\n", line_elements[5]); in handle_unmount()
375 if (strcmp (line_elements[0], device) == 0) { in handle_unmount()
[all …]
/titanic_44/usr/src/cmd/hal/hald/
H A Dutil.c1046 char **line_elements; in hal_util_is_mounted_by_hald() local
1053 line_elements = g_strsplit (lines[i], "\t", 6); in hal_util_is_mounted_by_hald()
1054 if (g_strv_length (line_elements) == 6) { in hal_util_is_mounted_by_hald()
1065 if (strcmp (line_elements[5], mount_point) == 0) { in hal_util_is_mounted_by_hald()
1072 g_strfreev (line_elements); in hal_util_is_mounted_by_hald()