/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl.c | 264 * own list of hotplugged boards to scan. 291 /* *Mutex used to protect the soft state list */ 311 * Linked list of all syctrl soft state structures. 552 /* create the fault list kstat */ 682 /* Prime the board list. */ 750 * Now add this soft state structure to the front of the linked list 1109 fhc_bd_t *list; local 1115 list = fhc_bdlist_lock(slot); 1116 if ((slot != -1) && (list == NULL)) { 1123 list 1145 fhc_bd_t *list; local 2171 fhc_bd_t *list; local 2896 fhc_bd_t *list; local 3114 struct sysctrl_soft_state *list; local 3149 struct sysctrl_soft_state *list; local 3183 update_key_state(struct sysctrl_soft_state *list) argument 3236 struct sysctrl_soft_state *list; local [all...] |
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 881 * Define the mem_nodes based on the modified boot memory list, 927 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 940 for (elem = 0; elem < nelems; list++, elem++) { 941 base = list->addr; 942 len = list->size; 1315 * (which would break page free list assumptions), and 0 otherwise. 1339 if (md_get_prop_val(md, cpu0, "mmu-page-size-list", &szc_mask)) 1352 * if mmu-page-size-list does not contain it, so 256M pages must fall
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 642 "sbd:%s: failed to alloc board list %d", 1346 sbd_board_t *list = sbp; local 1359 FREESTRUCT(list, sbd_board_t, max_boards); 1432 * Simple mutex for covering handle list ops as it is only 1522 * Locate the handle in the board's reference list. 2811 * Return a list of the dip's of devices that are
|
/illumos-gate/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 416 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 1590 dr_common_unit_t **list, **wp; local 1608 /* allocate list storage. */ 1610 list = kmem_zalloc(len, KM_SLEEP); 1613 *list++ = (dr_common_unit_t *)(uintptr_t)len; 1626 /* populate list */ 1627 for (wp = list, unum = 0; unum < nunits; unum++) { 1646 * are grouped together in the device list, and 1661 /* calculate number of units in list, return result and list pointer */ 1662 *devnum = wp - list; 1667 dr_dev_clean_up(dr_handle_t *hp, dr_common_unit_t **list, int devnum) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 474 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 492 for (elem = 0; elem < nelems; list++, elem++) { 493 low = list->addr; 494 high = low + list->size; 1130 * list we are using here, and hide the details of the list 1308 * Remove the request from the list
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_device_util.c | 88 dlist_t **list); 98 dlist_t **list); 519 * the device's nvpair attribute list. This function 555 * FUNCTION: disk_get_slices(dm_descriptor_t disk, dlist_t **list) 559 * OUTPUT: *list - a pointer to list to hold the results. 573 dlist_t **list) 580 *list = 0; 587 error = disk_get_virtual_slices(disk, list); 613 *list 571 disk_get_slices( dm_descriptor_t disk, dlist_t **list) argument 628 get_virtual_slices( dlist_t **list) argument 1173 disk_get_virtual_slices( dm_descriptor_t disk, dlist_t **list) argument 1823 group_similar_hbas( dlist_t *hbas, dlist_t **list) argument 2026 hba_group_usable_disks( dm_descriptor_t hba, dlist_t **list) argument 2689 slice_get_hbas( dm_descriptor_t slice, dlist_t **list) argument 2728 disk_get_associated_desc( dm_descriptor_t disk, dm_desc_type_t assoc_type, char *assoc_type_str, dlist_t **list) argument 2784 disk_get_hbas( dm_descriptor_t disk, dlist_t **list) argument 2810 disk_get_paths( dm_descriptor_t disk, dlist_t **list) argument 2835 disk_get_aliases( dm_descriptor_t disk, dlist_t **list) argument 2911 dlist_t *list = NULL; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 389 int onList; /* True if on the 'ldapCon' list */ 412 * Rlock list 419 * Unlock list 422 * (2) Insert/delete structure(s) on/from list 423 * Wlock list 427 * Unlock list 627 /* Must be unused, unbound, and not on the 'ldapCon' list */ 874 /* Probably first call; try to set up the connection list */ 1038 /* Create connection for each server on the list */ 1061 /* Insert at end of list */ 1084 find_connection_from_list(__nis_ldap_conn_t *list, LDAPURLDesc *ludpp, int *stat) argument [all...] |
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 39 #include <sys/list.h> 78 SKD_DMA_SG_LIST_LENGTH, /* s/g list length */ 381 * list for the specified capability. 622 * Name: skd_blkdev_preop_sg_list, builds the S/G list from info 896 * on the free list. If it is non-empty send what we got. 3211 /* Free list is in order starting with the 0th entry. */ 3264 /* Free list is in order starting with the 0th entry. */ 3344 * Name: skd_cons_sg_list, allocates the S/G list. 3348 * ret_dma_addr - S/G list DMA pointer. 3350 * Returns: A list o 3621 skd_list_skreq(skd_device_t *skdev, int list) argument 3673 skd_list_skmsg(skd_device_t *skdev, int list) argument [all...] |
/illumos-gate/usr/src/lib/libshare/smb/ |
H A D | libshare_smb.c | 815 * access list handling. Should eventually 1675 smb_shrlist_t list; local 1682 while (smb_share_list(offset, &list) == NERR_Success) { 1683 if (list.sl_cnt == 0) 1686 for (i = 0; i < list.sl_cnt; i++) { 1687 res = smb_add_transient(handle, &(list.sl_shares[i])); 1691 offset += list.sl_cnt; 2367 * The properties are given as a list of name-value pair.
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_share.c | 990 smb_shr_list(int offset, smb_shrlist_t *list) argument 996 bzero(list, sizeof (smb_shrlist_t)); 1005 bcopy(si, &list->sl_shares[n], sizeof (smb_share_t)); 1011 list->sl_cnt = n; 1954 * Transfer queued items to the local list so that 2011 * Flush all remaining items from the specified list/queue. 2164 * Tokenizes the command string and returns the list of tokens in an array. 2374 nvlist_t *list; local 2382 if ((rc = nvlist_alloc(&list, NV_UNIQUE_NAME, 0)) != 0) 2386 nvlist_free(list); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 138 static struct targetaddr *targetaddr_list; /* list of IP addresses to probe */ 164 static char *gw_list[MAXMAX_GWS]; /* list of gateways as user enters */ 262 struct addrinfo *ai_dst = NULL; /* addrinfo host list */ 756 * Build the target IP address list. Use command line options and 809 * to be linked with others, forming a global targetaddr list. Each targetaddr 1014 * Given the list of gateways, extends the list with its mirror image. This is 1039 * Given IP address or hostname, return addrinfo list. 1114 union any_in_addr *list; local 1124 list [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/ |
H A D | nfsstat.c | 1037 struct myrec *list, *mrp, *pmrp; local 1059 list = NULL; 1069 * Iterate through the list of paths the user gave and see 1115 mrp->next = list; 1116 list = mrp; 1127 for (pmrp = 0, mrp = list; mrp; mrp = mrp->next) { 1133 list = mrp->next; 1147 for (mrp = list; mrp; mrp = mrp->next) {
|
/illumos-gate/usr/src/cmd/man/ |
H A D | man.c | 114 * to form a list of lists for this processing. 158 static int list = 0; variable 277 list++; 464 * do not add it to the manpage list. 1171 if (list) /* -l option fall through */ 1202 if (list) { 1342 * If a duplicate is not found, add it to the dupnode list and return 0. 1375 * head of the list. Since all entries are guaranteed to be unique 1398 * Traverse the section vector in the man_node and the section list 1524 * Free a linked list o [all...] |
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 57 * list each is checked for identical records for which percentage certainty are 76 * /-------------\ | fru | -> | list | -> | list | 404 * merge two lists into one, by comparing enties in new and moving into list if 409 merge_name_list(name_list_t **list, name_list_t *new, int add_pct) argument 414 rt = *list; 417 lp = *list; 422 if (lp == *list) 446 lp != *list) { 454 lp = *list; 959 print_name(name_list_t *list, char *padding, int *np, int pct, int full) argument 1073 print_name_list(name_list_t *list, char *label, int limit, int pct, void (func1)(int, char *), int full) argument 1130 asru_same_status(name_list_t *list) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 454 uint64_t ms_bootpages; /* Pages on the bootpages list */ 531 /* Initialize vnode hash list and queue */ 889 uint_t list = 0; local 898 'i', MDB_OPT_SETBITS, (1 << 0), &list, 899 'a', MDB_OPT_SETBITS, (1 << 1), &list, 900 'v', MDB_OPT_SETBITS, (1 << 2), &list, NULL) != argc) 903 if (!list) 904 list = 1; 906 for (i = 0; list; i++, list >> [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 538 * Push a snapshot entry onto the list of pools in the snapshot. 552 * Push onto the list of pools 580 * snapshot list when it is no longer required. 614 * Return the nvpair with the supplied name from the supplied list. 616 * NULL is returned if the name cannot be found in the list. 3481 pool_knl_nvlist_add_value(nvlist_t *list, const char *name, argument 3504 if (nvlist_add_uint64(list, nv_name, uval) != 0) { 3513 if (nvlist_add_int64(list, nv_name, ival) != 0) { 3527 if (nvlist_add_byte_array(list, nv_name, dval_b, 3537 if (nvlist_add_byte(list, nv_nam [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 792 fc_tgt_hba_list_t *list = (fc_tgt_hba_list_t *)obuf; local 799 list->numPorts = (fctio->fctio_olen - 802 list->version = FCT_HBA_LIST_VERSION; 803 count = fct_get_port_list((char *)list->port_wwn, 804 list->numPorts); 809 if (count > list->numPorts) { 813 list->numPorts = count;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | contract.c | 61 * list of events, a list of listeners, and a list of listeners who are 65 * simultaneously; the list linkage used by a queue is determined by 79 * Each process has a list of contracts it owns, p_ct_held; a pointer 87 * A process contract has a list of member processes and a list of 90 * There is a system-wide list of all contracts, as well as per-type 132 * owner or regent) list of contracts, ct_ctlist, is protected by 169 #include <sys/list 1759 cte_queue_create(ct_equeue_t *q, ct_listnum_t list, int maxinf, int dynamic) argument [all...] |
H A D | sunndi.c | 895 * add the node to the per-driver list and INITCHILD it 975 * list. 1151 * Single thread entry into per-driver list 1161 * release the per-driver list 1171 * Attempt to enter driver list 1524 /* remove this cookie from the list */ 1612 * search the cookie list for the event name and return 1729 /* add this callback structure to the list */ 1793 /* remove from callback linked list */ 2000 ndi_event_cookie_t *list; local 2026 ndi_event_cookie_t *list; local 2054 ndi_event_cookie_t *list; local 2081 ndi_event_cookie_t *list; local 2108 ndi_event_cookie_t *list; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 308 /* add entry to mount list */ 1202 * Check mount requests, add to mounted list if ok 1482 mntlist_new(host, rpath); /* add entry to mount list */ 1780 * Determine whether an access list grants rights to a particular host. 1782 * Names in the access list may be either hosts or netgroups; they're 1806 /* If no access list - then it's unrestricted */ 1828 * If the list name has a '-' prepended then a match of 1863 "list entry: %s", 1876 "invalid access list " 1900 * If the list nam 2309 int list = 0; /* Set when "ro", "rw" is found */ local 2668 int list = 0; /* Set when "ro", "rw" is found */ local [all...] |
/illumos-gate/usr/src/cmd/prctl/ |
H A D | prctl.c | 72 /* Structures for list of resource controls */ 146 static prctl_value_t *store_value_entry(rctlblk_t *rblk, prctl_list_t *list); 180 " -i idtype of operand list\n" 197 " -i idtype of operand list\n"; 619 /* validate for list mode */ 620 /* -p is not valid in list mode */ 1119 * Store resource controls for the given name in a linked list. 1131 prctl_list_t *list = NULL; local 1172 if ((list = store_list_entry(rctlname)) == NULL) { 1177 if (store_value_entry(rblk1, list) 1265 store_value_entry(rctlblk_t *rblk, prctl_list_t *list) argument [all...] |
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.c | 1046 acevals_to_aent(acevals_t *vals, aclent_t *dest, ace_list_t *list, argument 1058 if ((list->hasmask) && (list->acl_mask != vals->mask) && 1086 ace_list_to_aent(ace_list_t *list, aclent_t **aclentp, int *aclcnt, argument 1094 if ((list->seen & (USER_OBJ | GROUP_OBJ | OTHER_OBJ)) != 1099 if ((! list->hasmask) && (list->numusers + list->numgroups > 0)) { 1104 resultcount = 3 + list->numusers + list [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 147 * the name list and see if we find a matching guid. If so, replace 212 * Add the given configuration to the list of known devices. 226 * device, add it to the list of names to translate, but don't do 268 * list of known pools. 306 * so, then we do nothing. Otherwise, add it to the list of known 328 * At this point we've successfully added our config to the list of 429 * Convert our list of pools into the definitive set of configurations. We 432 * pass to fix up any incorrect paths, and then add it to the main list to 728 * known list of vdev GUID -> path mappings. 820 * Add this pool to the list o 1496 nvlist_t **list; local [all...] |
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_xmit.c | 45 #include <sys/list.h> 161 list_insert_tail(&ac->tid_q, &tid->list); 168 list_insert_tail(&txq->axq_acq, &ac->list); 217 list_t list; local 218 list_create(&list, sizeof (struct ath_buf), 235 list_insert_tail(&list, bf); 236 arn_tx_send_ht_normal(sc, txq, tid, &list); 295 list_t list; local 296 list_create(&list, sizeof (struct ath_buf), 305 list_insert_tail(&list, b 363 list_t list, list_pending; local 799 list_t list; local 1084 arn_tx_send_ht_normal(struct arn_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, list_t *list) argument 1108 arn_tx_txqaddbuf(struct arn_softc *sc, struct ath_txq *txq, list_t *list) argument [all...] |