/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 89 /* The local list of the directory servers' root DSEs. */ 90 dir_server_list_t *list; member in struct:__anon4011 95 * the initialization of the list. 197 * In this mode libsldap will check the local, process private list of root DSEs 850 /* Get the whole list of naming contexts residing on the server */ 1488 * This function destroys the local list of root DSEs. The input parameter is 1489 * a pointer to the list to be erased. 1501 /* Destroy the old list */ 1535 * This function cancels the Standalone mode and destroys the list of root DSEs. 1544 if (!dir_servers.list) { [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 136 static void free_name_list(struct name_list *list, int free_name); 137 static int insert_alias_list(struct name_list **list, 145 * frees a list of paths from devfs_get_prom_name_list 168 char **list; local 194 /* deal with list of names */ 199 if ((list = (char **)calloc(count + 1, sizeof (char *))) == NULL) { 207 if ((list[i] = (char *)malloc(len)) == NULL) { 209 free(list); 212 (void) snprintf(list[i], len, "%s", ptr); 218 *prom_list = list; 237 char **list; local 879 process_bootdev(const char *bootdevice, const char *default_root, struct boot_dev ***list) argument 1062 struct name_list *list; local 1630 struct name_list *list; local 1829 free_name_list(struct name_list *list, int free_name) argument 1848 insert_alias_list(struct name_list **list, char *alias_name) argument [all...] |
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 551 char **list = NULL; local 581 if ((rc = cfg_get_section(cfg, &list, section)) <= 0) { 589 strcpy(buf, list[i]); 594 free(list[j]); 595 free(list); 607 free(list[i]); 609 free(list); 613 if ((rc = cfg_get_section(cfg, &list, section)) <= 0) { 631 strcpy(buf, list[i]); 643 free(list[ 3128 cfg_get_section(CFGFILE *cfg, char ***list, const char *section) argument 3205 char **list; local 3331 cfg_get_srtdsec(CFGFILE *cfg, char ***list, const char *section, const char *field) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_util.c | 120 /* Global list pools */ 310 "Failed method list creation"); 319 "Failed field list creation"); 476 dtj_throw_out_of_memory(jenv, "failed class list creation"); 550 * descriptions list with any 1298 uu_list_t *list; local 1304 list = uu_list_create(g_pointer_pool, NULL, 1306 return (list); 1345 uu_list_t *list; local 1351 list 1412 dtj_list_clear(uu_list_t *list, dtj_value_destroy_f *value_destroy, void *arg) argument 1434 dtj_list_destroy(uu_list_t *list, dtj_value_destroy_f *value_destroy, void *arg) argument 1442 dtj_pointer_list_clear(uu_list_t *list, dtj_value_destroy_f *value_destroy, void *arg) argument 1459 dtj_pointer_list_destroy(uu_list_t *list, dtj_value_destroy_f *value_destroy, void *arg) argument 1467 dtj_string_list_clear(uu_list_t *list) argument 1473 dtj_string_list_destroy(uu_list_t *list) argument 1479 dtj_list_empty(uu_list_t *list) argument 1485 dtj_list_add(uu_list_t *list, void *value) argument 1491 dtj_pointer_list_add(uu_list_t *list, void *p) argument 1511 dtj_pointer_list_first(uu_list_t *list) argument 1522 dtj_pointer_list_last(uu_list_t *list) argument 1533 dtj_string_list_add(uu_list_t *list, const char *s) argument 1553 dtj_string_list_first(uu_list_t *list) argument 1564 dtj_string_list_last(uu_list_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 451 get_seg_list_from_ds(fru_nodehdl_t node, fru_strlist_t *list) argument 459 /* get a list of all segments */ 468 list->num = 0; 469 list->strs = (char **)malloc(sizeof (*(list->strs)) * raw_list.num); 470 if (list->strs == NULL) { 477 list->strs[list->num] 479 list->num++; 482 list 789 fru_destroy_strlist(fru_strlist_t *list) argument 829 fru_list_segments(fru_nodehdl_t container, fru_strlist_t *list) argument 987 fru_list_elems_in(fru_nodehdl_t container, const char *seg_name, fru_strlist_t *list) argument 2127 fru_get_registry(fru_strlist_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 42 * list of service routines. 80 * The services list 125 * pointing to the first element of a double-linked list of callback. 146 struct _svc_user_fd_node *list; member in struct:_svc_user_fd_head 171 * On insertion, we use the linked list created by (first_free, 204 * To free an Id, we set the cell as free and insert its address in the list 218 * To get a free cell, we just have to take it from the free linked list and 285 node = svc_userfds[fd].list; 334 * list (ie. first element is not NULL) 357 node = svc_userfds[one_fd].list; [all...] |
/illumos-gate/usr/src/lib/libpam/ |
H A D | pam_framework.c | 1446 /* new head of list */ 1449 /* adding to end of list */ 1508 char **list = 0; local 1528 if ((list = calloc(length + 1, sizeof (char *))) == NULL) { 1545 list[length++] = tenv; 1548 list[length] = NULL; 1553 /* free the partially constructed list */ 1554 if (list) { 1556 while (list[length] != NULL) { 1557 free(list[lengt [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 133 void display_io_cards(struct io_card *list); 168 * get a list of failed HW. We use the tree flag to allow the same code 588 /* insert this card in the list to be displayed later */ 798 /* now attach this prom node to the board list */ 799 /* Insert this node at the end of the list */ 814 * Print out all the io cards in the list. Also print the column 818 display_io_cards(struct io_card *list) argument 825 if (list == NULL) 853 for (p = list; p != NULL; p = p -> next) { 1189 * Get a list o [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 199 * Private method for searching the plugin list for the correct 295 /* No matching plugins found in the built-in list */ 350 /* Get the function list */ 380 /* walk the list to find the tail */ 2224 /* Now add the new name to the list */ 2241 * If we are just adding to an existing list of altNames, 2273 * Search a list of attributes for one that matches the given type. 2274 * Return a pointer into the attribute list. This does not 2276 * given list. 2368 * Given an already allocated attribute list, inser 2517 free_entrylist(conf_entrylist_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 435 CERTCertList *list; local 457 list = PK11_ListCertsInSlot(slot); 458 if (list) { 459 node = CERT_LIST_HEAD(list); 460 while (!CERT_LIST_END(node, list)) { 538 *certlist = list; 540 CERT_DestroyCertList(list); 616 /* Get the optional returned certificate list */ 638 * Build a list of matching certs. 645 * a list o [all...] |
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 250 * http_set_cipher_list - Change the list of ciphers that can be used. 252 * ret = http_set_cipher_list(handle, list); 255 * list - List of ciphers that can be used. 262 http_set_cipher_list(const char *list) argument 266 if (list != NULL) { 267 list = strdup(list); 268 if (list == NULL) { 275 cipher_list = (char *)list; 1813 /* set cipher list i [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | tlan.c | 265 * dev The device structure with the list 277 struct TLanList *list; local 282 list = &tx_ring[i]; 283 list->cStat = TLAN_CSTAT_UNUSED; 284 /* list->buffer[0].address = 0; */ 285 list->buffer[0].address = virt_to_bus(txb + 287 list->buffer[2].count = 0; 288 list->buffer[2].address = 0; 289 list->buffer[9].address = 0; 290 /* list [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | xfs.h | 269 * Is is used to manage a doubly linked list of all blocks at the same 276 xfs_dablk_t forw; /* previous block in list */ 277 xfs_dablk_t back; /* following block in list */ 461 xfs_dir2_sf_entry_t list[1]; /* shortform entries */ member in struct:xfs_dir2_sf 516 xfs_agino_t di_next_unlinked;/* agi unlinked list ptr */ 519 xfs_bmbt_rec_32_t di_bmx[1]; /* extent list */
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 15 * notice, this list of conditions and the following disclaimer. 18 * notice, this list of conditions and the following disclaimer in 215 * NBU and EBS may not send us the correct file list containing hardlinks 282 * selections list 538 * in restore list. We use the file 639 * fh_info for the file in restore list. We 994 char **sels; /* list of files desired */ 995 char **exls; /* list of files not wanted */ 1004 char *list = NULL; local 1044 exls = &list; 1526 exact_find(char *name, char **list) argument [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_config.h | 41 * the object in the associated configuration list. 70 nscd_cfg_id_t **list; member in struct:__anon1000 74 * type of configuration list 292 * the list of nscd config param descriptions at 297 nscd_cfg_param_desc_t **list; member in struct:__anon1005 569 nscd_cfg_param_desc_list_t **list);
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 160 static list_t lwps; /* list of lwps/processes */ 161 static list_t users; /* list of users */ 162 static list_t tasks; /* list of tasks */ 163 static list_t projects; /* list of projects */ 164 static list_t zones; /* list of zones */ 165 static list_t lgroups; /* list of lgroups */ 226 * Queries the memory virtual and rss size for each member of a list. 230 list_getsize(list_t *list) argument 307 for (id = list->l_head; id != NULL; id = id->id_next) { 351 * A routine to display the contents of the list o 354 list_print(list_t *list) argument 625 list_add_lwp(list_t *list, pid_t pid, id_t lwpid) argument 645 list_remove_lwp(list_t *list, lwp_info_t *lwp) argument 663 list_clear(list_t *list) argument 690 list_update(list_t *list, lwp_info_t *lwp) argument 1078 list_refresh(list_t *list) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | ntp.h | 158 struct list { struct 182 #define NTP_MAXLIST 5 /* max size of selection list */ 183 #define NTP_MAXSTRA 2 /* max number of strata in selection list */
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 68 * list structure 111 * sp entries are not added to this list. the ia_list may 136 * top of dat.conf. a list of these lines are saved during the 574 datadm_enqueue_entry(datadm_list_t *list, datadm_entry_t *entry) argument 576 if (list->dl_head == NULL) { 577 list->dl_head = entry; 578 list->dl_tail = entry; 579 list->dl_count = 1; 581 list->dl_tail->de_next = entry; 582 list 592 datadm_walk_list(datadm_list_t *list, int (*func)(datadm_entry_t *, void *), void *arg) argument 612 datadm_free_list(datadm_list_t *list, void (*free_func)(datadm_entry_t *)) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_request.c | 159 * The cache is implemented as a list of these structs: 187 * avail_specs_list is a list of device spec_t 194 * unavail_specs_list is a list of device spec_t 213 dlist_t **list); 228 dlist_t *list, 234 dlist_t *list, 337 * SIDEEFFECT: The devconfig_t's list of available and unavailable 373 * SIDEEFFECT: The devconfig_t's list of available and unavailable 913 * Check if the slice appears in the known slice list, 958 * the list o 1830 dlist_t *list = NULL; local 1889 convert_usernames_to_specs( char **specs, dlist_t **list) argument 2004 get_request_avail_spec_list( devconfig_t *request, dlist_t **list) argument 2058 get_request_unavail_spec_list( devconfig_t *request, dlist_t **list) argument 2119 get_default_avail_spec_list( defaults_t *alldefaults, char *dsname, dlist_t **list) argument 2204 get_default_unavail_spec_list( defaults_t *alldefaults, char *dsname, dlist_t **list) argument 2441 avail_list_includes_device_name( dlist_t *list, char *device_name, boolean_t check_aliases, boolean_t *includes) argument 2490 unavail_list_includes_device_name( dlist_t *list, char *device_name, boolean_t check_aliases, boolean_t *includes) argument [all...] |
H A D | layout_slice.c | 50 dlist_t *list, 108 * list to track resized slices 121 * list to of usedslice_t to track slices that have been 131 * list of slices reserved to be used for explicit 137 * list of slices needing to be removed (zeroed out) prior to 173 * PURPOSE: Choosen a slice from the list of those available. 191 * the lists are examined in order, the first non-empty list is 192 * chosen. If there are several possibilities in the chosen list, 224 * indexes into the list array: 232 dlist_t *list[ local 2245 get_reserved_slices( dlist_t **list) argument 2308 get_slices_to_remove( dlist_t **list) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/xml/ |
H A D | xml_convert.c | 505 dlist_t *list = devconfig_get_components(global); local 517 list = dlist_remove_equivalent_item( 518 list, NULL, compare_is_a_diskset, &removed); 527 /* Append named disk set to disk set list */ 934 * specified in the element_t list (which should 1509 * Validate and add the given name to the list of available devices in 1513 * the devconfig_t whose available device list to modify 1546 * Validate and add the given name to the list of unavailable devices 1550 * the devconfig_t whose unavailable device list to modify
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 117 * of mdb_sespec_t's: the t_idle list (IDLE state) and the t_active list 118 * (ACTIVE, ARMED, and ERROR states). Each mdb_sespec_t maintains a list of 126 * IDLE: on t_idle list, se_data == NULL, se_errno != 0, se_ctor not called 127 * ACTIVE: on t_active list, se_data valid, se_errno == 0, se_ctor called 128 * ARMED: on t_active list, se_data valid, se_errno == 0, se_ctor called 129 * ERROR: on t_active list, se_data valid, se_errno != 0, se_ctor called 748 * For the given sespec, scan its list of vespecs for ones that are marked 769 * Prune each sespec on the active list of temporary vespecs. This function 785 * and then move the sespec from the active list t 2007 mdb_tgt_sespec_insert(mdb_tgt_t *t, const mdb_se_ops_t *ops, mdb_list_t *list) argument [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 51 * Contains a list of strings to be used to store ANSI-C style string. 82 * gettext_head : Head of linked list containing [d]gettext(). 83 * gettext_tail : Tail of linked list containing [d]gettext(). 84 * textdomain_head : Head of linked list containing textdomain(). 85 * textdomain_tail : Tail of linked list containing textdomain(). 88 * Each domain contains two linked list. 92 * If -s option is not used, textdomain_head is empty list and 106 * def_dom contains default domain linked list and 115 * This linked list contains a list o 1313 isduplicate(struct element_st *list, struct strlist_st *str) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | files.c | 145 * object input file list. 160 * to the files input descriptor list. 194 * Add the new input section to the files input section list and 419 str_cap(Ofl_desc *ofl, char *pstr, ofl_flag_t flags, Xword tag, Caplist *list) argument 435 for (ALIST_TRAVERSE(list->cl_val, idx, capstr)) { 445 if ((capstr = alist_append(&list->cl_val, NULL, 454 for (ALIST_TRAVERSE(list->cl_val, idx, capstr)) { 1017 * is used, although it will be sparsely populated, as the list provides 1275 * list as we will be creating our own replacement sections later (ie. 1340 * should not be added to the output section list eithe [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uustat.c | 1003 pid_t pid, list[MAXLOCKS]; local 1011 list[i] = -1; 1032 if (list[i] == pid) 1034 if (list[i] == -1) { 1035 list[i] = pid; 1047 if( list[i] == -1) 1049 (void) sprintf(&buf[strlen(buf)], "%d ", list[i]);
|