/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_descrip.c | 43 * The Obsolete MD list is protected by the obs_list_lock. 105 * Machine descriptions that have users are put on this list 180 * MD obsolete list managment functions 281 * stow it in the obsolete MD list and update the current MD reference 283 * The obsolete list contains one MD per generation. If the firmware 415 MDP(("MD: adding to obs list %ld\n", 626 * MD is in the obsolete list 820 * Failed to allocate the list : Return value -1 828 mde_cookie_t **list) 833 *list 824 md_alloc_scan_dag(md_t *ptr, mde_cookie_t startnode, char *node_name, char *dag, mde_cookie_t **list) argument 855 md_free_scan_dag(md_t *ptr, mde_cookie_t **list) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 377 prom_memlist_t *list, /* base of array */ 387 for (i = 0; i < nelems; list++, i++) { 388 highp = (list->addr + list->size - 1) >> PAGESHIFT; 391 sumpages += (list->size >> PAGESHIFT); 399 * Copy a memory list. Used in startup() to copy boot's 444 * Comapct contiguous memory list elements 613 struct memlist *list, /* pointer to start of installed list */ 621 for (; list; lis 376 installed_top_size_memlist_array( prom_memlist_t *list, size_t nelems, pfn_t *topp, pgcnt_t *sumpagesp) argument 612 installed_top_size( struct memlist *list, pfn_t *topp, pgcnt_t *sumpagesp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_ib.c | 618 ib_ino_info_t *list = ib_p->ib_ino_lst; local 620 for (; list->ino_next_p != ino_p; list = list->ino_next_p) 622 list->ino_next_p = ino_p->ino_next_p; 671 /* do NOT modify the link list until after the busy wait */ 720 * removes pci_ispec_t from the ino's link list. 742 /* do NOT modify the link list until after the busy wait */ 784 /* search the link list for ih_p */ 792 /* remove ih_p from the link list an [all...] |
/illumos-gate/usr/src/uts/intel/io/heci/ |
H A D | heci_init.c | 16 * notice, this list of conditions, and the following disclaimer, 60 #include <sys/list.h> 108 * heci_initialize_list - Sets up a queue list. 110 * @list: An instance of our list structure 114 heci_initialize_list(struct io_heci_list *list, argument 117 /* initialize our queue list */ 118 LIST_INIT_HEAD(&list->heci_cb.cb_list); 119 list->status = 0; 120 list 154 heci_flush_list(struct io_heci_list *list, struct heci_file_private *file_ext) argument [all...] |
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sundep.c | 112 * Process the physical installed list for boot. 121 struct memlist *list, /* pointer to start of installed list */ 131 for (; list; list = list->ml_next) { 133 highp = (list->ml_address + list->ml_size - 1) >> PAGESHIFT; 136 sumpages += btop(list->ml_size); 146 struct memlist *list, /* pointe 120 installed_top_size_ex( struct memlist *list, pfn_t *high_pfn, pgcnt_t *pgcnt, int *ranges) argument 145 installed_top_size( struct memlist *list, pfn_t *high_pfn, pgcnt_t *pgcnt) argument [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 100 " [-u allow:user-list | deny:user-list] (who's allowed to use)\n" 105 " (list form)\n" 119 " lpforms -f form-name -A list\n" 242 action = set_action(list_alert, "\"-A list\""); 535 * Parse the user allow/deny list (if any). 787 static int list ( char * , void (*)() ); 794 static int list(); 811 return (list(form, _list_form)); 824 return (list(for 842 list ( function [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | validate.c | 177 register char **list, local 182 && (list = dashos(prs->request->options)) 184 for (pl = list ; *pl; pl++) 197 freelist (list); 233 * of course, that the allow list is correct. That is, the 234 * allow list lists forms that have already been checked against 267 * listed in the printer's alias list. 392 * Construct a list of printers based on the destination 395 * See if the list becomes empty. 406 * Start with a list o 911 register char **list; local 924 char **list; local 955 char **list = NULL; local [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/ |
H A D | postreverse.c | 54 * list if supplied) 70 * are compared against a page list before being printed, 222 fprintf(stderr, "Usage: %s [ -o list ] [ -r ] [ filename ]\n", name); 228 * int **ParsePageList(char *list) 230 * to integers. This array will contain all numbers in the list including 231 * those int the range #-#. The list returned is NULL terminated. 232 * It uses 2 passes to build the list. pass 1 counts the # of ints and 233 * allocates the space, and pass 2 fills in the list. 236 ParsePageList(char *list) argument 241 if (list [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout.c | 78 * slices is the list of modified slices on the disk 87 * modified_disks is a list of moddisk_t structs 307 * results - pointer to a list of resulting volumes 319 * Resulting volumes are appended to the results list. 394 * results - pointer to a list of resulting volumes 402 * Resulting volumes are appended to the results list. 439 * results - pointer to the list of composed result volumes 491 * devices - a list of devconfig_t devices 565 * SIDEEFFECTS: adds an entry to the _modified_disks list which tracks 572 * PURPOSE: Adds the input disk to the list o 720 dlist_t *list = NULL; local 1091 add_to_hsp_list( dlist_t *list) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mhd.h | 73 mhioc_resv_key_t *list; member in struct:mhioc_key_list 85 caddr32_t list; member in struct:mhioc_key_list32 104 mhioc_resv_desc_t *list; member in struct:mhioc_resv_desc_list 116 caddr32_t list; member in struct:mhioc_resv_desc_list32
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 59 mdb_list_t pn_list; /* list entry, must be first */ 68 mdb_list_t pr_nodes; /* list of members */ 580 int destroy = 0, list = 0; local 591 'l', MDB_OPT_SETBITS, TRUE, &list, 607 if (list) 616 if ((destroy || cmode != NULL || list || rfile != NULL || 626 if (list) 743 " -l list all synthetic types\n" 754 " ::typedef \"struct list { struct list *l_nex [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockparams.c | 33 #include <sys/list.h> 54 * never be hooked onto the global sockparams list. Ephemeral entries are 67 * Global sockparams list (populated via soconfig(1M)). 357 * Look for a matching sockparams entry on the given list. 358 * The caller must hold the associated list lock. 361 sockparams_find(list_t *list, int family, int type, int protocol, argument 366 for (sp = list_head(list); sp != NULL; sp = list_next(list, sp)) { 391 * All ephemeral entries are on list (sp_ephem_list). If there is an 392 * entry on the list tha 766 sockparams_filter_cleanup_impl(sof_entry_t *ent, list_t *list) argument 800 sockparams_new_filter_impl(sof_entry_t *ent, list_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 793 dump_nvlist(nvlist_t *list, int indent) argument 802 if (list == NULL) { 806 while ((elem = nvlist_next_nvpair(list, elem)) != NULL) {
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsar_clnt.c | 942 * Enumerate the list of accounts (i.e. SIDs). Use the handle returned 948 * is available. The list of accounts will be returned in accounts. 949 * This list is dynamically allocated using malloc, it should be freed 1015 * Enumerate the list of trusted domains. Use the handle returned from 1029 smb_trusted_domains_t *list) 1035 if (list == NULL) 1040 bzero(list, sizeof (smb_trusted_domains_t)); 1062 lsar_set_trusted_domains(arg.enum_buf, list); 1073 smb_trusted_domains_t *list) 1079 if (list 1028 lsar_enum_trusted_domains(mlsvc_handle_t *lsa_handle, DWORD *enum_context, smb_trusted_domains_t *list) argument 1072 lsar_enum_trusted_domains_ex(mlsvc_handle_t *lsa_handle, DWORD *enum_context, smb_trusted_domains_t *list) argument 1282 lsar_set_trusted_domains_ex(struct mslsa_EnumTrustedDomainBufEx *enum_buf, smb_trusted_domains_t *list) argument 1313 lsar_set_trusted_domains(struct mslsa_EnumTrustedDomainBuf *enum_buf, smb_trusted_domains_t *list) argument [all...] |
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 272 * beName - The name of the BE to list (optional) 275 * the return code and a list of Dicts or NULL. 287 be_node_list_t *list = NULL; local 303 if ((ret = be_list(beName, &list)) != BE_SUCCESS) { 307 for (be = list; be != NULL; be = be->be_next_node) { 390 if (list != NULL) 391 be_free_list(list); 1052 return ("Unable to append a dictionary to a list "
|
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 65 static boolean_t list = B_FALSE; variable 89 list = B_TRUE; 134 if ((argc < 1 && !list) || Doff && Don || list && (set || exec) || 153 } else if (list) { 324 " (report, set or list process privileges)\n", command, 635 " list\n", command, *argv);
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 105 * If NULL a list of all BEs will be returned. 106 * be_nodes - A reference pointer to the list of BEs. The list 144 * Description: Sort BE node list 146 * pointer to address of list head 152 * node list sorted by name 202 * If NULL a list of all BEs will be returned. 203 * be_nodes - A reference pointer to the list of BEs. The list 291 * Description: Frees up all the data allocated for the list o 304 be_node_list_t *list = be_nodes; local [all...] |
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv.c | 53 * Concatenate a NULL terminated list of strings into 82 eplist_t *list; local 84 list = (eplist_t *)malloc(sizeof (eplist_t)); 85 (void) memset(list, 0, sizeof (eplist_t)); 87 list->next = list; 88 list->prev = list; 89 list->item = NULL; 91 return (list); 95 add_item(void *item, eplist_t *list) argument 166 add_bent(eplist_t *list, char *comm, char *cmd, char *name, char *val) argument 175 get_var(char *name, eplist_t *list) argument 190 print_var(char *name, eplist_t *list) argument 206 print_vars(eplist_t *list) argument 247 set_var(char *name, char *val, eplist_t *list) argument 279 proc_var(char *name, eplist_t *list) argument 619 eplist_t *list, *e; local [all...] |
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 201 add_segs_for_section(section_t *section, fru_strlist_t *list) argument 225 list->strs = realloc(list->strs, sizeof (char *) 226 * (list->num + num_segment)); 238 list->strs[(list->num)++] = tmp; 249 frt_get_seg_list(fru_treehdl_t handle, fru_strlist_t *list) argument 288 list->strs = rc_list.strs; 289 list->num = rc_list.num;
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 484 * max_present(list) 490 max_present(attrlist *list) argument 492 while (list != NULL) 493 if (list->type == ATTR_MAX && list->data.val_i != -1) 496 list = list->next; 503 * Adds or updates attribute 'item' in ldap_attrs list to value 1082 * other errors might need to be added to this list, for
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softObjectUtil.c | 38 * Add an object to the session's object list. 41 * that lock after adding the object to the session's object list. 50 /* Insert the new object in front of session's object list. */ 83 * Free the storage allocated to the extra attribute list. 96 * (in the boolean attribute mask field and extra attribute list) 125 * that new struct to the extra attribute list 209 * extra attribute list) from the new object back to the original 211 * attribute list of the original object. 225 * Create a new object struct, and add it to the session's object list. 294 /* Add the new object to the session's object list 1159 insert_into_list(soft_object_t **list, soft_object_t **end_of_list, soft_object_t *objp) argument 1229 delete_all_objs_in_list(soft_object_t *list) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 107 papiAttributeListFree(papi_attribute_t **list) argument 109 if (list != NULL) { 112 for (i = 0; list[i] != NULL; i++) 113 papiAttributeFree(list[i]); 115 free(list); 240 papiAttributeListAddValue(papi_attribute_t ***list, int flgs, argument 249 if ((list == NULL) || (name == NULL)) 260 attribute = papiAttributeListFind(*list, name); 269 /* if we don't have one, create it and add it to the list */ 272 list_append(list, attribut 300 papiAttributeListAddString(papi_attribute_t ***list, int flags, char *name, char *string) argument 310 papiAttributeListAddInteger(papi_attribute_t ***list, int flags, char *name, int integer) argument 320 papiAttributeListAddBoolean(papi_attribute_t ***list, int flags, char *name, char boolean) argument 330 papiAttributeListAddRange(papi_attribute_t ***list, int flags, char *name, int lower, int upper) argument 341 papiAttributeListAddResolution(papi_attribute_t ***list, int flags, char *name, int xres, int yres, papi_resolution_unit_t units) argument 355 papiAttributeListAddDatetime(papi_attribute_t ***list, int flags, char *name, time_t datetime) argument 366 papiAttributeListAddCollection(papi_attribute_t ***list, int flags, char *name, papi_attribute_t **collection) argument 377 papiAttributeListAddMetadata(papi_attribute_t ***list, int flags, char *name, papi_metadata_t metadata) argument 388 papiAttributeListDelete(papi_attribute_t ***list, char *name) argument 405 papiAttributeListFind(papi_attribute_t **list, char *name) argument 419 papiAttributeListGetNext(papi_attribute_t **list, void **iter) argument 437 papiAttributeListGetValue(papi_attribute_t **list, void **iter, char *name, papi_attribute_value_type_t type, papi_attribute_value_t **value) argument 477 papiAttributeListGetString(papi_attribute_t **list, void **iter, char *name, char **vptr) argument 495 papiAttributeListGetInteger(papi_attribute_t **list, void **iter, char *name, int *vptr) argument 513 papiAttributeListGetBoolean(papi_attribute_t **list, void **iter, char *name, char *vptr) argument 531 papiAttributeListGetRange(papi_attribute_t **list, void **iter, char *name, int *min, int *max) argument 551 papiAttributeListGetResolution(papi_attribute_t **list, void **iter, char *name, int *x, int *y, papi_resolution_unit_t *units) argument 573 papiAttributeListGetDatetime(papi_attribute_t **list, void **iter, char *name, time_t *dt) argument 592 papiAttributeListGetCollection(papi_attribute_t **list, void **iter, char *name, papi_attribute_t ***collection) argument 611 papiAttributeListGetMetadata(papi_attribute_t **list, void **iter, char *name, papi_metadata_t *vptr) argument 685 _add_attribute_value(papi_attribute_value_t ***list, papi_attribute_value_type_t type, papi_attribute_value_type_t dtype, char **parts) argument 753 _papiAttributeFromStrings(papi_attribute_t ***list, int flags, char *key, char **values) argument 799 _parse_attribute_list(papi_attribute_t ***list, int flags, char *string) argument 1015 is_in_list(char *value, char **list) argument 1029 copy_attribute(papi_attribute_t ***list, papi_attribute_t *attribute) argument 1063 split_and_copy_attributes(char **list, papi_attribute_t **attributes, papi_attribute_t ***in, papi_attribute_t ***out) argument [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_ldap.c | 43 #include <list.h> 158 static NSL_RESULT _checkAttributes(char **list); 168 static int _attrInList(char *attr, const char **list); 171 uchar_t *objectDN, char ***list); 172 static void _freeList(char ***list); 185 * depending on the request's attribute list. A null list indicates 190 * If a URI is given in the attribute list and it is different to 202 * char **attrList - pointer to a list of attribute key values 204 * not already exist then this list contain 1068 _checkAttributes(char **list) argument 1995 _attrInList(char *attr, const char **list) argument 2088 _getCurrentKVPValues(LDAP *ld, uchar_t *objectDN, char ***list) argument 2188 _freeList(char ***list) argument [all...] |
/illumos-gate/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 335 nd_seq_search(char *key, char **list, uint_t nelem) argument 338 if (strcmp(key, list[i]) == 0) 344 * This function takes a single string list and splits it into 350 nd_split_list(nd_hdl_t *nhdl, char *list, char *delim, char ***arr, argument 356 tmpstr = strdup(list); 367 (*arr)[0] = strdup(list); 369 tmpstr = strdup(list); 468 * for the committed ireport.* events. For FMA list.* events, the MSG ID is 534 * For FMA list.* events we just pull it out of the the event nvlist.
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 76 * the linked list, or section order has a problem 1043 findservice(const char *s, struct valuelist **list) { argument 1044 struct valuelist *lp = *list; 1049 if (lp != *list) { 1053 (*list)->prev = lp; 1054 lp->next = *list; 1055 *list = lp; 1086 struct valuelist **list = &servicelist; local 1087 struct valuelist *lp = *list; 1095 if (lp != *list) { 1114 struct valuelist **list = &protolist; local [all...] |