/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_dataset.c | 613 zjni_Collection_t *list = ((zjni_ArrayCallbackData_t *)data)->list; local 632 (*env)->CallBooleanMethod(env, ((zjni_Object_t *)list)->object, 633 ((zjni_Collection_t *)list)->method_add, bean); 648 zjni_Collection_t *list = ((zjni_ArrayCallbackData_t *)data)->list; local 667 (*env)->CallBooleanMethod(env, ((zjni_Object_t *)list)->object, 668 ((zjni_Collection_t *)list)->method_add, bean); 688 /* Create an array list to hold the children */ 690 zjni_DatasetSet_t *list local 745 zjni_DatasetSet_t *list = &list_obj; local [all...] |
H A D | libzfs_jni_pool.c | 991 /* Create an array list for the vdevs */ 1031 /* Add child to child vdev list */ 1051 zjni_Collection_t *list = ((zjni_ArrayCallbackData_t *)data)->list; local 1059 /* Add bean to list */ 1060 (*env)->CallBooleanMethod(env, ((zjni_Object_t *)list)->object, 1061 ((zjni_Collection_t *)list)->method_add, bean);
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 527 be_node_list_t *list = be_nodes; local 530 while (list != NULL) { 531 be_dataset_list_t *datasets = list->be_node_datasets; 533 be_make_root_ds(list->be_rpool, list->be_node_name, ds_path, 565 be_make_root_ds(list->be_rpool, 600 list = list->be_next_node;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 232 port_state(devctl_hdl_t hdl, nvlist_t *list, 926 nvlist_t *list = NULL; local 954 if ((rv = setup_for_devctl_cmd(ap_id, &hdl, &list, 0)) != 990 if ((rv = port_state(hdl, list, &rstate, &ostate)) != 1117 cleanup_after_devctl_cmd(hdl, list); 1966 port_state(devctl_hdl_t hdl, nvlist_t *list, argument 1971 if (devctl_ap_getstate(hdl, list, &devctl_ap_state) == -1) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 593 device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) argument 600 if (devctl_ap_getstate(hdl, list, &devctl_ap_state) == -1) { 1225 nvlist_t *list = NULL; local 1253 if ((rv = setup_for_devctl_cmd(ap_id, &hdl, &list, 0)) != 1258 if ((rv = device_connected(hdl, list, &ostate)) != 1271 cleanup_after_devctl_cmd(hdl, list); 1276 cleanup_after_devctl_cmd(hdl, list); 1280 if ((rv = reset_device(hdl, list)) != CFGA_USB_OK) { 1378 cleanup_after_devctl_cmd(hdl, list); 1420 if ((rv = reset_device(hdl, list)) ! [all...] |
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 110 struct listdata_s **list; member in struct:poller_s 240 if (pollbase.list[i]->req_num == *req_num) { 241 ASSERT(pollbase.list[i]->status == PENDING); 243 pollbase.list[i]->status = ARRIVED; 244 pollbase.list[i]->fd = fd; 245 pollbase.list[i]->datalen = payloadsize - prlen; 257 while (pollbase.list[i]->status == ARRIVED) 283 ASSERT(pollbase.list[index]->req_num == req_num); 285 while (pollbase.list[index]->status == PENDING && 292 ASSERT(pollbase.list[inde [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 329 in_addrlist (struct addrinfo *thisaddr, struct addrlist *list) argument 332 for (i = 0; i < list->naddrs; i++) { 333 if (thisaddr->ai_addrlen == list->addrs[i].ai->ai_addrlen 334 && !memcmp(thisaddr->ai_addr, list->addrs[i].ai->ai_addr,
|
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 19 * notice, this list of conditions and the following disclaimer. 22 * notice, this list of conditions and the following disclaimer in 382 * Trys to find the prompt with the lookingfor id in the prompt list 868 prompt_list *list; local 875 for (list = (prompt_list *)*h; list != NULL; list = next) { 876 if (list->prompt) 877 utils->free(list->prompt); 878 next = list [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 53 * This struct saves a link list of processes that have non-zero exit 82 struct jobsave *list; member in struct:back_save 215 * return next on link list of jobsave free list 233 jp->next = bck.list; 234 bck.list = jp; 329 /* move to top of job list */ 837 * list the given job 839 * flag JOB_NFLAG for list only jobs marked for notification 1099 for(jp=bck.list; j [all...] |
H A D | parse.c | 57 static Shnode_t *list(Lex_t*,int); 93 * write out entities for each item in the list 296 * Make a node corresponding to a command list 448 * increase reference count for each stack in function list when flag>0 449 * decrease reference count for each stack in function list when flag<=0 470 * list 471 * list & [ cmd ] 472 * list [ ; cmd ] 481 left = list(lexp,flag); 523 * list 529 static Shnode_t *list(Lex_t *lexp, register int flag) function [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 978 dladm_find_setbits32(uint32_t mask, uint32_t *list, uint32_t *cnt) argument 984 list[c++] = 1 << i; 990 dladm_free_args(dladm_arg_list_t *list) argument 992 if (list != NULL) { 993 free(list->al_buf); 994 free(list); 1001 dladm_arg_list_t *list; local 1012 list = malloc(sizeof (dladm_arg_list_t)); 1013 if (list == NULL) 1016 list [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_consume.c | 676 * probedata are added to a single list by the probedata consumer 907 * Populate the ProbeData list of Java data elements in advance so we 921 * list of Java probedata elements in that case. 988 * with a list of values, one from each aggregation. If a printa() format 2334 uu_list_t *list = jc->dtjj_consumer->dtjc_request_list; local 2341 while (!dtj_list_empty(list)) { 2342 r = uu_list_first(list); 2343 uu_list_remove(list, r); 2407 * dtrace_sleep(). Check the request list every time we wake up
|
H A D | dtrace_jni.c | 391 * Add the compiled program to a list of programs the API expects to enable. 1499 "Could not allocate process list"); 1520 "Failed to add process to process list"); 1547 "Could not allocate process list"); 1561 "Failed to add process to process list"); 1576 * param list: an empty list to populate (this function empties the list if it 1578 * param filter: a ProbeDescription instance; the list will include only probes 1583 jobject obj, jobject list, jobjec 1582 Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbes(JNIEnv *env, jobject obj, jobject list, jobject filter) argument 1589 Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbeDetail(JNIEnv *env, jobject obj, jobject list, jobject filter) argument 1596 dtj_list_probes(JNIEnv *env, jobject obj, jobject list, jobject filter, dtrace_probe_f *func) argument 1764 Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbes(JNIEnv *env, jobject obj, jobject list, jobject program) argument 1771 Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbeDetail( JNIEnv *env, jobject obj, jobject list, jobject program) argument 1779 dtj_list_compiled_probes(JNIEnv *env, jobject obj, jobject list, jobject program, dtrace_probe_f *func) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 480 * For the section handle passed add to list all the segment names found. 484 add_segs_for_section(picl_nodehdl_t section, fru_strlist_t *list) argument 493 fru_destroy_strlist(list); 499 int total_space = list->num + num_segments; 501 list->strs = realloc(list->strs, 502 (sizeof (*(list->strs)) * (total_space))); 503 if (list->strs == NULL) { 523 if (list->num >= total_space) { 527 list 545 fpt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 491 * For the section handle passed add to list all the segment names found. 495 add_segs_for_section(picl_nodehdl_t section, fru_strlist_t *list) argument 504 fru_destroy_strlist(list); 510 int total_space = list->num + num_segments; 512 list->strs = realloc(list->strs, 513 (sizeof (*(list->strs)) * (total_space))); 514 if (list->strs == NULL) { 534 if (list->num >= total_space) { 538 list 556 fpt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 91 GlhHashNode *next; /* The next in the list of nodes within the */ 93 GlhLineSeg *head; /* The list of sub-strings which make up a line */ 96 /* the time-ordered list of history lines. */ 115 GlhHashNode *lines; /* The list of history lines which fall in this bucket */ 124 FreeList *node_mem; /* A free-list of GlhHashNode structures */ 137 GlhLineNode *next; /* The next youngest line in the list */ 138 GlhLineNode *prev; /* The next oldest line in the list */ 148 * Encapsulate the time-ordered list of historical lines. 152 GlhLineNode *head; /* The oldest line in the list */ 153 GlhLineNode *tail; /* The newest line in the list */ 176 GlhLineList list; /* A time ordered list of history lines */ member in struct:GlHistory [all...] |
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 133 list_append_ent(void *ent, void **list, uint_t cnt, void (*free_ent)()) argument 137 if (!(new_l = realloc(list, sizeof (*list) * (cnt + 1)))) { 138 list_free_all(free_ent, list); 526 * Return a list of valid mechanisms ranked by sequence in the NIS+ 534 * The list of mechanisms are gauranteed to be valid ones installed 537 * This implementation returns copies of the "master" list. The "master" 538 * list will updated if the file is modified. 545 * 'mechs' is the "master" list of valid mechanisms from 547 * 'mechs_no_dups' is the "master" list o [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 79 void display_io_cards(struct io_card *list); 612 * Print out all the io cards in the list. Also print the column 616 display_io_cards(struct io_card *list) argument 621 if (list == NULL) 636 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libbc/libc/yp/ |
H A D | yp_prot.h | 188 struct ypmaplist *list; member in struct:ypresp_maplist
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | crypt.c | 440 char *list; local 453 list = policy->cp_deny; 456 list = policy->cp_allow; 464 lasts = list;
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 41 * all non-global zones matching the list of zone brands passed in. 43 * z_make_brand_list - return a zoneBrandList_t object describing the list 46 * z_global_only - Determine if the global zone is only zone on the spec list 52 * z_on_zone_spec - Determine if named zone is on the zone_spec list 56 * z_set_zone_spec - Set list of zones on which actions will be performed 60 * z_verify_zone_spec - Verify list of zones on which actions will be performed 75 * brand list passed in. 306 /* ignore empty list */ 312 /* free each entry in the zone list */ 330 /* free handle to the list */ 1667 z_is_zone_brand_in_list(char *zoneName, zoneBrandList_t *list) argument [all...] |
/illumos-gate/usr/src/common/unicode/ |
H A D | u8_textprep.c | 333 * this will validate against the list of characters if required and 337 u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum) argument 424 for (p = (uchar_t **)list, i = 0; p[i]; i++) {
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | yp_prot.h | 195 struct ypmaplist *list; member in struct:ypresp_maplist
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_config.c | 87 nscd_cfg_list_t **list, 98 if (list == NULL) { 100 (me, "invalid argument: list = %p\n", list); 104 *list = NULL; 146 ret->list = (nscd_cfg_id_t **)p; 150 ret->list[i] = (nscd_cfg_id_t *)&pl[i]; 153 ret->list[i] = (nscd_cfg_id_t *)&sl[i]; 156 ret->list[i] = &l[i]; 159 *list 86 _nscd_cfg_get_list( nscd_cfg_list_t **list, nscd_cfg_list_type_t type) argument 165 _nscd_cfg_get_param_desc_list( nscd_cfg_param_desc_list_t **list) argument 325 nscd_cfg_id_t *list[2] = { _nscd_cfg_nsw_db, NULL}; local [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 38 static mutex_t mod_lock; /* protects module list */ 39 static module_t *module_head; /* linked list of modules */ 359 * Hold module and link module into module list 389 * Unlink the module from list 411 * not care (list == NULL). 416 nvlist_t *client_props, rcm_info_t **list) 423 if (list == NULL) { 494 /* link info at end of list */ 495 if (*list) { 496 tmp = *list; 414 add_busy_rsrc_to_list(char *alias, pid_t pid, int state, int seq_num, char *modname, const char *infostr, const char *errstr, nvlist_t *client_props, rcm_info_t **list) argument 544 rsrc_client_find(char *modname, pid_t pid, client_t **list) argument 563 rsrc_client_add(client_t *client, client_t **list) argument 574 rsrc_client_remove(client_t *client, client_t **list) argument 601 rsrc_clients_free(client_t *list) argument 934 rsrc_client_action_list(client_t *list, int cmd, void *arg) argument [all...] |