Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/hal/tools/
H A Dhal-storage-closetray.c92 char **given_options; in main() local
140 given_options = g_strsplit (closetray_options, "\t", 0); in main()
141 for (i = g_strv_length (given_options) - 1; i >= 0; --i) { in main()
142 if (strlen (given_options[i]) > 0) in main()
144 given_options[i] = NULL; in main()
148 for (i = 0; given_options[i] != NULL; i++) { in main()
149 char *given = given_options[i]; in main()
155 g_strfreev (given_options); in main()
H A Dhal-storage-unmount.c91 char **given_options; in main() local
145 given_options = g_strsplit (unmount_options, "\t", 0); in main()
146 for (i = g_strv_length (given_options) - 1; i >= 0; --i) { in main()
147 if (strlen (given_options[i]) > 0) in main()
149 given_options[i] = NULL; in main()
156 for (i = 0; given_options[i] != NULL; i++) { in main()
157 char *given = given_options[i]; in main()
167 g_strfreev (given_options); in main()
H A Dhal-storage-eject.c94 char **given_options; in main() local
142 given_options = g_strsplit (eject_options, "\t", 0); in main()
143 for (i = g_strv_length (given_options) - 1; i >= 0; --i) { in main()
144 if (strlen (given_options[i]) > 0) in main()
146 given_options[i] = NULL; in main()
150 for (i = 0; given_options[i] != NULL; i++) { in main()
151 char *given = given_options[i]; in main()
157 g_strfreev (given_options); in main()
H A Dhal-storage-mount.c460 char **given_options; local
570 given_options = g_strsplit (mount_options, "\t", 0);
571 for (i = g_strv_length (given_options) - 1; i >= 0; --i) {
572 if (strlen (given_options[i]) > 0)
574 given_options[i] = NULL;
583 for (i = 0; i < (int) g_strv_length (given_options); i++) {
584 if (strcmp (given_options[i], "ro") == 0) {
593 for (i = 0; i < (int) g_strv_length (given_options); i++) {
594 if (strcmp (given_options[i], "remount") == 0) {
721 for (i = 0; given_options[i] != NULL; i++)
[all …]