/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd3.c | 60 static void sort(char **list); 337 * Delete my name from the reply list, 647 * Insert names from the command list into the group. 682 * Remove names on the command list from the group list. 691 /* remove from list */ 714 sort(char **list) argument 718 for (ap = list; *ap != NOSTR; ap++) 720 if (ap-list < 2) 722 qsort((char *) list, (unsigne [all...] |
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 607 * list of a device already attached to another driver. 716 /* add it to the list */ 736 * check to see if the new_name shows up on the compat list before 747 /* parse the coompatible list */ 808 * an entry in the conflict list. 856 free_conflict_list(struct dev_list *list) argument 861 while (list != NULL) { 862 save = list; 863 list = list [all...] |
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd_rcm.c | 102 static boolean_t is_cpu_in_list(cpuid_t cpuid, cpuid_t *list, int len); 300 drd_err("add_cpu_notify: cpu list empty"); 317 * Added CPU capacity, so newcpus is the current list 325 * list is the new CPU list with the CPUs involved in 380 drd_err("del_cpu_request: cpu list empty"); 398 * list of CPUs in the system. 406 * the new CPU list is the old CPU list with the CPUs 481 drd_err("unable to generate resource list"); 901 is_cpu_in_list(cpuid_t cpuid, cpuid_t *list, int len) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 117 /* list changed, try again */ 861 * If entry doesn't exist already, add it to the linear list 862 * after '*last' and to the binary tree list. 863 * If '*last == NULL' then the list is walked till the end. 869 add_dir_entry(char *name, struct dir_entry **list, struct dir_entry **last) argument 873 if ((*list != NULL) && (*last == NULL)) { 875 * walk the list to find last element 877 for (l = *list; l != NULL; l = l->next) 881 if (btree_lookup(*list, name) == NULL) { 883 * not a duplicate, add it to list 1031 char *isa, *list; local [all...] |
H A D | ns_ldap.c | 103 struct dir_entry **list; member in struct:dir_cbdata 356 trace_prt(1, " ldap_match: Requesting list for %s in %s\n", 375 gettext("ldap server can't list map," 406 * list of mount options AND mount location for a particular mount 492 trace_prt(1, "loadmaster_ldap: Requesting list for %s in %s\n", 509 "ldap server can't list map," 563 trace_prt(1, "loaddirect_ldap: Requesting list for %s in %s\n", 576 gettext("ldap server can't list map," 827 getmapkeys_ldap(char *nsmap, struct dir_entry **list, int *error, argument 846 readdir_cbdata.list 902 struct dir_entry **list = temp->list; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fsck.c | 733 * locate the devlist structure in the given list that matches `name'. 734 * If found, the structure is removed from the list, and a pointer to 739 getdev(char *name, struct devlist **list) argument 743 for (lp = NULL, p = *list; p != NULL; lp = p, p = p->nxt) { 752 *list = p->nxt;
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | main.c | 77 struct _match *next; /* Pointer to next item in list */ 91 match_rec_t *list; /* Records for (-I, -N, -T) options */ member in struct:__anon1436 360 * match list. Prepares the matching code for use. 369 match_rec_t *list; local 395 * Scan match list and perform any necessary fixups: 405 for (list = match_state.list; list; list = list 453 match_rec_t *list; local 521 match_rec_t *list; local [all...] |
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 70 output_dtneeded(dt_list * list) argument 73 dt_list *p = list; 1395 * Inserts a new node into the linked list. It is basically for 1396 * generating a simple linked list of DT_NEEDED entries. 1430 * them to link list. 1450 * entries, add them to the dt_needed list. 1520 * list 1723 /* de-allocates the dt_needed link list */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in the 104 * Used to store a list of ports given by the user and maintaining 108 uint16_t *list; /* list containing the ports */ member in struct:__anon112 109 uint_t listsize; /* capacity of the list (number of entries) */ 110 uint_t numports; /* number of ports in the list */ 406 ports.list[i]); 436 ntohs(ports.list[i]), 448 free(ports.list); [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 136 * Free a list of portal of one ESI event. 303 * Extract a list of portal which have an ESI port for an Entity. 307 * return - the list of portals. 317 esi_portal_t *list = NULL; local 350 p->next = list; 351 list = p; 363 return (list); 470 /* put the new event to the list */ 499 /* add each event from the list */ 958 * Append an ESI event to the list, th [all...] |
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_realm.c | 65 * this list of conditions and the following disclaimer. 67 * notice, this list of conditions and the following disclaimer in the 336 char **list = NULL; local 358 list = (char **) calloc(MAX_LIST_ENTRIES, sizeof(char *)); 359 if (list == NULL) { 363 if ((retval = krb5_parse_list(argv[i], LIST_DELIMITER, list))) { 364 free(list); 365 list = NULL; 370 while(list[rparams->subtreecount]!=NULL) 372 rparams->subtree = list; 987 char *list[MAX_LIST_ENTRIES]; local 2087 char **list = NULL; local [all...] |
H A D | kdb5_ldap_services.c | 17 * this list of conditions and the following disclaimer. 19 * notice, this list of conditions and the following disclaimer in the 165 convert_realm_name2dn_list(list, krbcontainer_loc) 166 char **list; 174 if (list == NULL) { 178 for (i = 0; (list[i] != NULL) && (i < MAX_LIST_ENTRIES); i++) { 180 snprintf (temp_str, MAX_DN_CHARS, "cn=%s,%s", list[i], krbcontainer_loc); 184 if (list[i] == NULL) { 189 /* On success, free list node and attach new one */ 190 free (list[ 517 char **list = NULL; local 1363 char **list = NULL; local [all...] |
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | display.c | 67 /* Type of list being displayed */ 149 * list - a stat_list. 152 print_statistics(WINDOW * window, int begin_line, int nlines, void *list) argument 161 total = lt_stat_list_get_gtotal(list); 167 while (i < nlines && lt_stat_list_has_item(list, i)) { 170 const char *reason = lt_stat_list_get_reason(list, i); 171 uint64_t count = lt_stat_list_get_count(list, i); 187 (double)lt_stat_list_get_sum(list, i) / count, 192 (double)lt_stat_list_get_max(list, i), 197 (double)lt_stat_list_get_sum(list, 217 void *list; local 306 void *list; local 503 void *list; local [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_internal.c | 105 uu_die(gettext("entity list pool creation failed: %s\n"), 112 gettext("property group list pool creation failed: %s\n"), 118 uu_die(gettext("property list pool creation failed: %s\n"), 125 gettext("property value list pool creation failed: %s\n"), 251 uu_die(gettext("Unable to create list for bundle services. " 285 uu_die(gettext("Unable to create list for entity property " 306 uu_die(gettext("Unable to create list for service dependents. " 314 uu_die(gettext("Unable to create list for service instances. " 360 uu_die(gettext("Unable to create list for instance " 400 uu_die(gettext("Unable to create list fo 428 find_pgroup(uu_list_t *list, const char *name, const char *type) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 137 static int iscatg(char *list); 556 last->next = dp; /* link list */ 564 iscatg(char *list) argument 573 if (!list) 578 if (pt = strchr(list, ',')) 583 if (!strcasecmp(list, ckcatg[i++])) { 593 list = pt; /* points to next one */
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.h | 40 * ilb_conn_hash_lock: mutex to protect the list in the bucket 83 * conn_next: next conn info (for conn info linked list) 84 * conn_prev: previous conn info (for conn info linked list) 180 * sticky_head: the sticky hash list of this bucket 181 * sticky_lock: mutex to protect the list 206 * list: linked list node 219 list_node_t list; member in struct:ilb_sticky_s
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port.c | 95 * port_sendn() : send an event of type PORT_SOURCE_USER to a list of ports 97 * port_getn() : retrieve a list of events from a port 176 * to send an event to a list of ports. 204 * function retrieves a list of events. 356 * retrieves a list of event structures/slots. 437 * This table contains a list of event sources which need a static 805 * will reduce the size of the list to PORT_MAX_LIST. 972 * This function is able to send an event to a list of event ports. 998 * Scan the list for event port file descriptors and send the 1000 * PORT_SOURCE_USER to every event port in the list 1576 port_copy_event(port_event_t *puevp, port_kevent_t *pkevp, list_t *list) argument 1631 port_copy_event32(port_event32_t *puevp, port_kevent_t *pkevp, list_t *list) argument 1735 port_get_kevent(list_t *list, port_kevent_t *last) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bio.c | 83 static void _sd_pack_pages(struct buf *bp, struct buf *list, sd_addr_t *addr, 85 static void _sd_pack_pages_nopageio(struct buf *bp, struct buf *list, 193 * _sdbc_iobuf_configure - configure a list of io bufs for later use. 260 * _sdbc_iobuf_deconfigure - release all memory allocated for buf list 327 /* Get a buffer, ready for page list i/o */ 400 * _sd_get_hook - get an iob hook from the free list. 450 * _sd_put_hook - put an iob hook back on the free list. 505 * b_forw/b_back will form a doubly linked list of all the buffers 585 * buf pointer to by list to minimize the number of bufs required. 589 * list 595 _sd_pack_pages(struct buf *bp, struct buf *list, sd_addr_t *addr, nsc_off_t offset, nsc_size_t size) argument 708 _sd_pack_pages_nopageio(struct buf *bp, struct buf *list, sd_addr_t *addr, nsc_off_t offset, nsc_size_t size) argument [all...] |
H A D | sd_pcu.c | 105 _sd_cctl_t *list, *prev; local 112 list = sdbc_centry_alloc_blks(_CD_NOHASH, 0, 1, 0); 113 bzero(list->cc_data, CACHE_BLOCK_SIZE); 114 list->anon_next = prev; 115 prev = list; 118 return (list); 272 _sd_cctl_t *list; local 274 list = sdbc_centry_alloc_blks(_CD_NOHASH, 0, 1, 0); 275 bzero(list->cc_data, CACHE_BLOCK_SIZE); 276 list 305 _sd_cctl_t *list = bmp->bmps; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_dual.c | 190 kcf_prov_tried_t *list = NULL; local 199 &prov_mac_mechid, &error, list, 204 if (list != NULL) 205 kcf_free_triedlist(list); 229 if (list != NULL) 230 kcf_free_triedlist(list); 253 if (list != NULL) 254 kcf_free_triedlist(list); 327 /* Add pd to the linked list of providers tried. */ 329 if (kcf_insert_triedlist(&list, p 570 kcf_prov_tried_t *list = NULL; local 1146 kcf_prov_tried_t *list = NULL; local 1539 kcf_prov_tried_t *list = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_callprov.c | 56 kcf_free_triedlist(kcf_prov_tried_t *list) argument 60 while ((l = list) != NULL) { 61 list = list->pt_next; 73 kcf_insert_triedlist(kcf_prov_tried_t **list, kcf_provider_desc_t *pd, argument 86 l->pt_next = *list; 87 *list = l; 184 * Search a mech entry's hardware provider list for the specified 522 * Find the least loaded provider in the list of providers. We do a linear 524 * number of providers in this list [all...] |
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_engine.c | 29 #include <sys/list.h> 376 list_t *list; local 416 list = &d->d_engines; 426 for (audio_engine_t *t = list_head(list); t; t = list_next(list, t)) { 914 * it on the tail of the list. So if we didn't find a 1095 /* reorder our list */
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | dcopy.c | 52 uint_t dl_cnt; /* num entries on list */ 60 /* to track list of channels from this DMA device */ 108 * per channel list of commands actively blocking waiting for 149 static int dcopy_list_init(dcopy_list_t *list, size_t node_size, 151 static void dcopy_list_fini(dcopy_list_t *list); 152 static void dcopy_list_push(dcopy_list_t *list, void *list_node); 153 static void *dcopy_list_pop(dcopy_list_t *list); 218 /* Initialize the list we use to track device register/unregister */ 226 /* Initialize the list we use to track all DMA channels */ 286 dcopy_list_t *list; local 329 dcopy_list_t *list; local 540 dcopy_list_init(dcopy_list_t *list, size_t node_size, offset_t link_offset) argument 554 dcopy_list_fini(dcopy_list_t *list) argument 565 dcopy_list_push(dcopy_list_t *list, void *list_node) argument 578 dcopy_list_pop(dcopy_list_t *list) argument [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_io32.h | 100 uint32_t list; member in struct:drm_buf_free_32 107 int idx; /* Index into the master buffer list */ 114 int count; /* Length of the buffer list */ 120 uint32_t list; /* Buffer information */ member in struct:drm_buf_map_32
|
H A D | drm_sunmod.c | 110 /* initialize the instance list lock */ 240 drm_inst_list_t *list; local 243 list = (drm_inst_list_t *)handle; 244 mstate = &list->disl_state; 865 * Create a DRM entry and add it into the instance list (drm_inst_head). 872 drm_inst_list_t *list; local 875 /* protect the driver list */ 878 list = *plist; 879 while (list) { 880 if (list 908 drm_inst_list_t *list; local 942 drm_inst_list_t *list; local 972 drm_inst_list_t *list; local 986 drm_inst_list_t *list; local [all...] |