/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 260 nss_cfgparam_t *list; member in struct:nss_cfglist 285 * The policy components initial parameter list 341 cfg[i].list = libc_malloc( 343 if (cfg[i].list == NULL) { 345 libc_free(cfg[i].list); 365 /* find the name'd component list - create it if non-existent */ 437 next = comp->list; 454 next = (nss_cfgparam_t *)libc_realloc(comp->list, nsize); 461 comp->list = next; 463 next = comp->list [all...] |
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 118 * list of support services needed 211 * list of properties that are related to security flavors. 225 /* structure for list of securities */ 236 * we have a dynamic list of legal conversions. 330 * Walk the current list of security flavors and return true if it is 347 * go through the list of securitymodes and add them to the 348 * group's list of security optionsets. We also keep a list of 372 /* add to the security list if it isn't there already */ 392 * to allocate at the end of the list 1078 get_rootnames(seconfig_t *sec, char *list, int *count) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | log_sysevent.c | 587 * sysevent_add_attr - Add new attribute element to an event attribute list 588 * If attribute list is NULL, start a new list. 671 * sysevent_free_attr - Free an attribute list not associated with an 681 * sysevent_attach_attributes - Attach an attribute list to an event buffer. 704 * sysevent_detach_attributes - Detach but don't free attribute list from the 782 /* Check if attribute list exists */ 817 * Associated with each channel is a hashed list of the current subscriptions 819 * list of possible subclasses and an array of subscriber ids. Subscriptions 1222 /* Update the subclass list */ 1866 sysevent_attr_list_t *list = (sysevent_attr_list_t *)attr_list; local [all...] |
H A D | modsysfile.c | 54 struct hwc_class *hcl_head; /* head of list of classes */ 55 static kmutex_t hcl_lock; /* for accessing list of classes */ 67 static struct sysparam *sysparam_hd; /* head of parameters list */ 68 static struct sysparam *sysparam_tl; /* tail of parameters list */ 81 static struct psm_mach *pmach_head; /* head of list of classes */ 102 struct par_list **pl; /* parsed parent list */ 1547 * Free a list of specs 1550 hwc_free_spec_list(struct hwc_spec *list) argument 1552 while (list) { 1553 struct hwc_spec *tmp = list; [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dbuf.c | 74 * LRU cache of dbufs. The dbuf cache maintains a list of dbufs that 1037 * the buffer, we just traverse the active dbuf list for the dnode. 1830 * where this dirty record may be put on a list. 2277 * in the hash table *and* added to the dbufs list. 2280 * dn_dbufs list. 3190 dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx) argument 3194 while (dr = list_head(list)) { 3199 * The dbufs for all dnodes are put back on the list 3211 list_remove(list, dr);
|
H A D | dmu_objset.c | 694 * the list of those undergoing eviction, and finally frees the objset. 1029 dmu_objset_sync_dnodes(list_t *list, list_t *newlist, dmu_tx_t *tx) argument 1033 while (dn = list_head(list)) { 1044 list_remove(list, dn); 1111 list_t *list; local 1168 * We must create the list here because it uses the 1178 list = &DMU_META_DNODE(os)->dn_dirty_records[txgoff]; 1179 while (dr = list_head(list)) { 1181 list_remove(list, dr); 1307 list_t *list local [all...] |
H A D | zil.c | 93 * a single list in the zl_itxg[] that uses a high txg: ZILTEST_TXG 934 * is less than the limit or the total list size is less than 2X the limit. 1178 list_t *list; local 1183 list = &itxs->i_sync_list; 1184 while ((itx = list_head(list)) != NULL) { 1185 list_remove(list, itx); 1193 list = &ian->ia_list; 1194 while ((itx = list_head(list)) != NULL) { 1195 list_remove(list, itx); 1199 list_destroy(list); [all...] |
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet.c | 63 #include <sys/list.h> 231 * Walk the list of physical interfaces on the machine, for each 1009 list_t *list; local 1028 * Walk the address list to see if the address belongs to our 1032 list = (addr->iap_family == AF_INET) ? 1034 for (ifaddr = list_head(list); 1036 ifaddr = list_next(list, ifaddr)) { 1177 list_t *list; local 1198 list = &ips->ips_str_list; 1199 for (ipnet = list_head(list); ipne 1682 list_t *list; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 652 /* Add this structure to fcsm global linked list */ 867 * removes the fcsm structure from global linked list 915 * from the list, which will cause fcsm_port_head to point 916 * to what would have been the next structure on the list. 1200 /* Remove from the fcsm state structure from global linked list */ 1629 fc_hba_list_t *list; local 1638 list = kmem_zalloc(fcio->fcio_olen, KM_SLEEP); 1640 if (ddi_copyin(fcio->fcio_obuf, list, fcio->fcio_olen, mode)) { 1644 list->version = FC_HBA_LIST_VERSION; 1646 if (fcio->fcio_olen < MAXPATHLEN * list [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 459 DPRINTF((DI_TRACE, "next node on per driver list:" 500 append_node_list(struct node_list **headp, struct node_list *list) argument 505 *headp = list; 509 if (list == NULL) /* a minor optimization */ 516 tmp->next = list; 520 prepend_node_list(struct node_list **headp, struct node_list *list) argument 524 if (list == NULL) 528 *headp = list; 533 while (list->next) 534 list 565 insert_node_list(struct node_list **headp, struct node_list *list, di_node_t parent) argument 1449 int list = DI_PROP_DRV_LIST; local 2828 struct di_prom_prop *list; /* linked list of prop */ member in struct:di_prom_handle 2856 di_prom_prop_free(struct di_prom_prop *list) argument [all...] |
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 96 * evthandler_lock: this protects the event handler list. It is obtained 159 static evt_handler_t *evt_handlers; /* Event handler list */ 216 * register an event handler by adding it to the list 248 * add handler to the handler list 279 * unlink handler from handler list 303 * Unlink this handler from the linked list 1423 * This function adds a property to the property list of a node and adds 1511 * Add prop to beginning of list 1544 * This function deletes the specified property from the property list 1944 * update parent's child list t 2546 append_entry_to_list(prop_list_t *el, prop_list_t *list) argument 2575 free_list(prop_list_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 133 static struct io_card *io_card_list = NULL; /* The head of the IO card list */ 1018 * Inserts an io_card structure into the list. 1130 * print the bank id and add the bank handle in the bank list 1131 * return the head of the bank list 1199 * find the memory bank and add the bank handle in the bank list 1200 * return the head of the bank list 1243 * so list memory banks instead 1518 * callback function to print segment, add the bank in the list and 1519 * return the bank list 1569 * search children to find memory-segment and set up the bank list 2418 picldiag_display_io_cards(struct io_card *list) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 130 static struct io_card *io_card_list = NULL; /* The head of the IO card list */ 1051 * Inserts an io_card structure into the list. 1160 * print the bank id and add the bank handle in the bank list 1161 * return the head of the bank list 1229 * find the memory bank and add the bank handle in the bank list 1230 * return the head of the bank list 1273 * so list memory banks instead 1535 * callback function to print segment, add the bank in the list and 1536 * return the bank list 1586 * search children to find memory-segment and set up the bank list 2396 picldiag_display_io_cards(struct io_card *list) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 121 static struct io_card *io_card_list = NULL; /* The head of the IO card list */ 935 * Inserts an io_card structure into the list. 1038 * print the bank id and add the bank handle in the bank list 1039 * return the head of the bank list 1107 * find the memory bank and add the bank handle in the bank list 1108 * return the head of the bank list 1151 * so list memory banks instead 1425 * callback function to print segment, add the bank in the list and 1426 * return the bank list 1476 * search children to find memory-segment and set up the bank list 2008 picldiag_display_io_cards(struct io_card *list) argument [all...] |
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg.c | 149 #define LIST_OBJ_TO_EL(list, obj) \ 150 ((void *)((char *)(obj) + (list)->offset)) 4232 * Object list maintennance routines 4235 raid_list_create(raid_list_t *list, size_t offset) argument 4237 list->head = NULL; 4238 list->tail = NULL; 4239 list->offset = offset; 4243 raid_list_head(raid_list_t *list) argument 4245 return (list->head); 4249 raid_list_next(raid_list_t *list, voi argument 4257 raid_list_insert_tail(raid_list_t *list, void *obj) argument 4276 raid_list_remove(raid_list_t *list, void *obj) argument 4300 raid_list_remove_head(raid_list_t *list) argument 4311 raid_list_find(raid_list_t *list, raid_obj_id_t obj_id) argument 4367 raid_list_t *list; local 4382 raid_list_t *list; local 4396 raid_list_t *list; local 4406 raid_list_destroy(raid_list_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 147 * linked list of cfga_stat_data structs - used for 156 * linked list of arrays. Each array represents a bunch 174 int *countp; /* Total number of list and stat structures */ 175 stat_data_list_t *sdl; /* Linked list of stat structures */ 176 array_list_t *al; /* Linked list of arrays of list structures */ 194 * Lock to protect list of libraries 672 int nstat, list, prefilter; local 710 list = 0; 715 list [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 1256 /* loop thru each linked list in the table and free */ 1763 cfga_list_data_t *list = NULL; local 1770 ap_list_err = config_list_ext(1, p, &list, &nlist, NULL, 1773 free(list); 1777 (void) memcpy(data, list, sizeof (cfga_list_data_t)); 1778 free(list); 1789 cfga_list_data_t *list = NULL; local 1827 list = (cfga_list_data_t *)malloc(sizeof (cfga_list_data_t)); 1828 if (list == NULL) { 1832 if ((rc = get_cfgadm_state(list, loc 2013 cfga_list_data_t *list = NULL; local 2146 cfga_list_data_t *list = NULL; local 3682 cfga_list_data_t *list = NULL; local 4806 cfga_list_data_t *list = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 11 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 171 FreeHostnameList(char *list[]) argument 174 for (i = 0; i <= MAXMAX_GATEWAY && list[i] != NULL; i++) 175 Free(&list[i]); 1733 { "list", "List the current environment variables", 1808 int export; /* 1 -> export with default list of variables */ 2474 * On successful return, hostname_list points to a list of hosts (last one being 2541 perror("telnet: copying hostname from list"); 3182 * Search for an address of desired type in the IP address list [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 79 #define SHELP_LIST "list [-a] [<object-type> [<class>] <object-name>]" 101 /* delimiter used for list of values */ 123 { CMD_LIST, "list", SHELP_LIST }, 356 "list ", 392 "list ", 393 "list loc ", 394 "list enm ", 395 "list ncp ", 396 "list wlan ", 397 "list 532 add_stuff(WordCompletion *cpl, const char *line1, const char **list, int word_end) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 224 tg_type_t *tgn_fraglist; /* type fragment list */ 1427 tg_type_t **list; local 1430 list = &node->tgn_typelist; 1432 list = &node->tgn_fraglist; 1436 * First, search for this type in the type list. 1438 for (tp = *list; tp != NULL; tp = tp->tgt_next) { 1444 tp->tgt_next = *list; 1451 *list = tp; 1636 * add the type to the type list of the destination node. 1744 * If this was from a to-do list, i 1975 tg_type_t **list; local [all...] |
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 78 * This is the list of operations 213 static int list(); 309 if (paths == 0) /* no path-list */ 775 /* just before returning, save next free node from the list */ 797 gettext("%s: [-E] [-H | -L] path-list predicate-list\n"), cmdname); 1074 (void) list(name, statb); 1271 * In this situation, process the argument list by 1397 * Get space for variable length argument list 1661 list(fil function [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 328 * The list of monitors can be updated while operations are in 332 * current accessors, and deconstructing the list when it is exhausted. 341 * when feml_refc becomes zero, the list is destroyed. 401 * Before freeing the list, we need to release the 2909 * The list is constructed with the appropriate type of guard to 2929 * Duplicate a list. Copy the original list to the clone. 2933 * math right, the clone list should be big enough to old the original. 2947 * Now that we've copied the old list (orig) to the new list (clon 2968 struct fem_list *list; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 59 #include <sys/list.h> 103 * To avoid wasting memory, make a linked list of memory chunks. 891 * locate end of linked list and add a chunk at the end 950 while (dcp) { /* traverse the linked list */ 1030 * The size of the memory list may be much larger than the 1524 dcmn_err3((CE_CONT, "build_vhci list\n")); 1571 dcmn_err3((CE_CONT, "build_phci list for vhci at offset: 0x%x\n", 1620 * snapshotted will be added to per-driver list. 1633 * Copy the devnames array, so we have a list of drivers in the snapshot. 1683 * Snapshot per-driver node list 3041 di_getprop_add(int list, int dyn, struct di_state *st, struct dev_info *dip, int (*prop_op)(), char *name, dev_t devt, int aflags, int alen, caddr_t aval, di_off_t off, di_off_t **off_pp) argument 3168 di_getprop(int list, struct ddi_prop **pprop, di_off_t *off_p, struct di_state *st, struct dev_info *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 308 printmemlist(char *title, struct memlist *list) argument 315 while (list) { 317 (uint32_t)(list->ml_address >> 32), 318 (uint32_t)list->ml_address, 319 (uint32_t)(list->ml_size >> 32), 320 (uint32_t)(list->ml_size)); 321 list = list->ml_next; 1098 * memory gets deducted from the PROM's physical memory list. 1420 * Copy physinstalled list int [all...] |
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 17 * notice, this list of conditions and the following disclaimer. 19 * notice, this list of conditions and the following disclaimer in the 122 static void arcmsr_init_list_head(struct list_head *list); 173 * list element's "address+length". The Intel IOP331 can not use 177 ARCMSR_MAX_SG_ENTRIES, /* scatter/gather list count */ 193 1, /* scatter/gather list count */ 1776 /* map stor port SG list to our iop SG List. */ 3032 arcmsr_init_list_head(struct list_head *list) argument 3034 list->next = list; [all...] |