Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 131) sorted by relevance

123456

/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_states.c109 char *results = (char *)NULL; in _z_make_zone_running() local
143 ret = z_ExecCmdArray(&status, &results, (char *)NULL, in _z_make_zone_running()
153 free(results); in _z_make_zone_running()
163 results == NULL ? "" : "\n", in _z_make_zone_running()
164 results == NULL ? "" : results); in _z_make_zone_running()
166 free(results); in _z_make_zone_running()
170 free(results); in _z_make_zone_running()
199 ret = z_ExecCmdArray(&status, &results, (char *)NULL, in _z_make_zone_running()
209 free(results); in _z_make_zone_running()
220 results == NULL ? "" : "\n", in _z_make_zone_running()
[all …]
H A Dzones_locks.c153 char *results = (char *)NULL; in _z_acquire_lock() local
220 r = _z_zone_exec(&status, &results, (char *)NULL, PKGADM_CMD, in _z_acquire_lock()
232 results ? results : ""); in _z_acquire_lock()
235 if (results) { in _z_acquire_lock()
236 free(results); in _z_acquire_lock()
248 if (results == (char *)NULL) { in _z_acquire_lock()
254 p = _z_strGetToken((char *)NULL, results, 0, "\n"); in _z_acquire_lock()
261 results); in _z_acquire_lock()
265 free(results); in _z_acquire_lock()
701 char *results = (char *)NULL; in _z_release_lock() local
[all …]
/titanic_41/usr/src/cmd/hotplug/
H A Dhotplug.c297 hp_node_t results = NULL; in cmd_online() local
328 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_ONLINE, &results); in cmd_online()
337 if (results != NULL) { in cmd_online()
338 (void) hp_traverse(results, NULL, error_cb); in cmd_online()
339 hp_fini(results); in cmd_online()
357 hp_node_t results = NULL; in cmd_offline() local
390 rv = hp_set_state(root, flags, DDI_HP_CN_STATE_OFFLINE, &results); in cmd_offline()
394 if (results != NULL) { in cmd_offline()
395 (void) hp_traverse(results, NULL, error_cb); in cmd_offline()
396 hp_fini(results); in cmd_offline()
[all …]
/titanic_41/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c165 nvlist_t *results = NULL; in door_server() local
196 rv = cmd_getinfo(args, &results); in door_server()
199 rv = cmd_changestate(args, &results); in door_server()
203 rv = cmd_private(cmd, args, &results); in door_server()
218 if (results != NULL) { in door_server()
225 if (nvlist_add_uint64(results, HPD_SEQNUM, seqnum) != 0) { in door_server()
232 if (nvlist_pack(results, &buf, &len, in door_server()
243 nvlist_free(results); in door_server()
258 if (results != NULL) in door_server()
259 nvlist_free(results); in door_server()
[all …]
H A Dhotplugd_impl.c169 ddi_hp_property_t results; in private_options() local
183 (void) memset(&results, 0, sizeof (ddi_hp_property_t)); in private_options()
184 results.buf_size = HP_PRIVATE_BUF_SZ; in private_options()
185 results.nvlist_buf = (char *)calloc(1, HP_PRIVATE_BUF_SZ); in private_options()
186 if (results.nvlist_buf == NULL) { in private_options()
199 &prop, &results)) in private_options()
204 &prop, &results)) in private_options()
214 unpack_properties(&results, &values); in private_options()
220 free_properties(&results); in private_options()
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout.c57 static int layout_diskset(request_t *request, dlist_t *results);
59 static int process_request(devconfig_t *request, dlist_t **results);
60 static int process_qos_request(devconfig_t *request, dlist_t **results);
61 static int process_hsp_request(devconfig_t *request, dlist_t **results);
92 static int collect_modified_disks(devconfig_t *request, dlist_t *results);
125 dlist_t *results = NULL; in get_layout() local
149 results = dlist_append(subres, results, AT_TAIL); in get_layout()
158 results = dlist_append(subres, results, AT_TAIL); in get_layout()
166 error = layout_diskset(request, results); in get_layout()
329 dlist_t **results) in process_request() argument
[all …]
H A Dlayout_mirror.c53 dlist_t **results);
60 dlist_t **results);
70 dlist_t **results);
81 dlist_t **results);
91 dlist_t **results);
99 dlist_t **results);
108 dlist_t **results);
116 dlist_t **results);
166 dlist_t **results) in layout_mirror() argument
217 *results = dlist_append(item, *results, AT_TAIL); in layout_mirror()
[all …]
H A Dlayout_mirror.h43 dlist_t **results);
47 dlist_t **results);
H A Dlayout_concat.h42 dlist_t **results);
53 dlist_t **results);
H A Dlayout_stripe.h42 dlist_t **results);
54 dlist_t **results);
H A Dlayout_concat.c116 dlist_t **results) in layout_concat() argument
277 *results = dlist_append(item, *results, AT_TAIL); in layout_concat()
528 dlist_t **results) in populate_explicit_concat() argument
576 *results = dlist_append(item, *results, AT_TAIL); in populate_explicit_concat()
/titanic_41/usr/src/uts/common/idmap/
H A Didmap_kapi.c431 idmap_ids_res results; in kidmap_getuidbysid() local
451 bzero(&results, sizeof (idmap_ids_res)); in kidmap_getuidbysid()
458 (caddr_t)&results) == 0) { in kidmap_getuidbysid()
460 if (results.retcode != IDMAP_SUCCESS) { in kidmap_getuidbysid()
461 status = results.retcode; in kidmap_getuidbysid()
463 } else if (results.ids.ids_len >= 1 && in kidmap_getuidbysid()
464 results.ids.ids_val[0].id.idtype == IDMAP_UID) { in kidmap_getuidbysid()
465 status = results.ids.ids_val[0].retcode; in kidmap_getuidbysid()
466 *uid = results.ids.ids_val[0].id.idmap_id_u.uid; in kidmap_getuidbysid()
472 results.ids.ids_val[0].direction); in kidmap_getuidbysid()
[all …]
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/t/
H A Dgmatch.t44 { pattern => 'a', results => [ 1, 0, 0, 0, 0, 0 ] },
45 { pattern => '*', results => [ 1, 1, 1, 1, 1, 1 ] },
46 { pattern => '?', results => [ 1, 0, 1, 0, 1, 0 ] },
47 { pattern => '??', results => [ 0, 1, 0, 1, 0, 0 ] },
48 { pattern => '[a-z]*', results => [ 1, 1, 1, 1, 0, 0 ] },
49 { pattern => '[!a-z]*', results => [ 0, 0, 0, 0, 1, 1 ] },
50 { pattern => '[0-9]*', results => [ 0, 0, 0, 0, 1, 1 ] },
51 { pattern => '[!0-9]*', results => [ 1, 1, 1, 1, 0, 0 ] },
56 if (gmatch($strs[$i], $t->{pattern}) == $t->{results}[$i]) {
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mh.c443 mhd_status_res_t results; in meta_status_own() local
444 mhd_error_t *mhep = &results.status; in meta_status_own()
463 (void) memset(&results, 0, sizeof (results)); in meta_status_own()
486 if (mhd_status_1(&args, &results, hp->clientp) != RPC_SUCCESS) { in meta_status_own()
495 assert(results.results.results_len == ndev); in meta_status_own()
497 mhd_drive_status_t *resp = &results.results.results_val[i]; in meta_status_own()
517 xdr_free(xdr_mhd_status_res_t, (char *)&results); in meta_status_own()
656 mhd_list_res_t results; in meta_list_drives() local
657 mhd_error_t *mhep = &results.status; in meta_list_drives()
667 (void) memset(&results, 0, sizeof (results)); in meta_list_drives()
[all …]
/titanic_41/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c64 nvlist_t *results; in hp_init() local
87 rv = i_hp_call_hotplugd(args, &results); in hp_init()
93 if ((rv == 0) && (results != NULL)) { in hp_init()
94 rv = i_hp_parse_results(results, &root, NULL); in hp_init()
95 nvlist_free(results); in hp_init()
511 nvlist_t *results; in hp_set_state() local
566 rv = i_hp_call_hotplugd(args, &results); in hp_set_state()
572 if ((rv == 0) && (results != NULL)) { in hp_set_state()
573 rv = i_hp_parse_results(results, &root, NULL); in hp_set_state()
574 nvlist_free(results); in hp_set_state()
[all …]
/titanic_41/usr/src/lib/librcm/
H A Dlibrcm_event.c173 struct door_result *results; member
200 if (cook->results == NULL) { in add_door_result()
201 cook->results = result; in add_door_result()
203 struct door_result *tmp = cook->results; in add_door_result()
221 tmp = cook->results; in free_door_result()
237 cook->results = tmp->next; in free_door_result()
396 struct door_result *tmp = cookie->results; in revoke_event_service()
398 cookie->results = tmp->next; in revoke_event_service()
401 tmp = cookie->results; in revoke_event_service()
/titanic_41/usr/src/tools/onbld/Checks/
H A DDbLookups.py110 results = {}
117 results[str(cr)] = self.__illbug(cr)
124 if cr in results:
127 return results
H A DComments.py116 results = bugdb.lookup(bugs.keys())
125 if crid not in results:
135 synopsis = results[crid]["synopsis"]
/titanic_41/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtest.pl54 %results = ();
542 $results{$dtrace} = {
715 foreach $key (keys %results) {
716 my $passed = $results{$key}{"passed"};
717 my $bypassed = $results{$key}{"bypassed"};
718 my $failed = $results{$key}{"failed"};
719 my $total = $results{$key}{"total"};
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPTemplateRegistry.java401 ServiceLocationEnumeration results = null; in findVersionedURL() local
427 results = in findVersionedURL()
446 if (!results.hasMoreElements()) { in findVersionedURL()
458 while (results.hasMoreElements()) { in findVersionedURL()
459 ServiceURL surl = (ServiceURL)results.nextElement(); in findVersionedURL()
/titanic_41/usr/src/test/os-tests/doc/
H A DREADME20 3. Test results
54 3. Test results
57 the end of each test, and a results summary is printed at the end of the run.
58 The results summary includes the location of the complete logs, which is of the
/titanic_41/usr/src/test/zfs-tests/doc/
H A DREADME20 3. Test results
62 to be written to the console only for tests that do not pass and the results
72 3. Test results
75 end of each test, and a results summary is printed at the end of the run. The
76 results summary includes the location of the complete logs, which is of the
/titanic_41/usr/src/lib/libadutils/common/
H A Daddisc.c447 ad_subnet_t *results; in find_subnets() local
494 if ((results = calloc(n + 1, sizeof (ad_subnet_t))) == NULL) { in find_subnets()
515 (void) snprintf(results[i].subnet, sizeof (ad_subnet_t), in find_subnets()
522 return (results); in find_subnets()
610 char **results; in subnets_to_DNs() local
616 results = calloc(i + 1, sizeof (char *)); in subnets_to_DNs()
617 if (results == NULL) in subnets_to_DNs()
621 (void) asprintf(&results[i], "CN=%s,CN=Subnets,CN=Sites,%s", in subnets_to_DNs()
623 if (results[i] == NULL) { in subnets_to_DNs()
625 free(results[j]); in subnets_to_DNs()
[all …]
/titanic_41/usr/src/test/util-tests/doc/
H A DREADME22 4. Test results
60 4. Test results
63 the end of each test, and a results summary is printed at the end of the run.
64 The results summary includes the location of the complete logs, which is of the
/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c937 refd_door_res_t **results, in encode_res() argument
944 *results = malloc(sizeof (refd_door_res_t) + *size); in encode_res()
945 if (*results == NULL) { in encode_res()
948 (*results)->xdr_len = *size; in encode_res()
949 *size = sizeof (refd_door_res_t) + (*results)->xdr_len; in encode_res()
950 xdrmem_create(&xdrs, (caddr_t)((*results)->xdr_res), in encode_res()
951 (*results)->xdr_len, XDR_ENCODE); in encode_res()
953 (*results)->res_status = EINVAL; in encode_res()
955 return ((*results)->res_status); in encode_res()
957 (*results)->res_status = 0; in encode_res()
[all …]

123456