/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | irs.h | 45 int (*list) __P((struct irs_gr *, const char *, member in struct:irs_gr 189 char **n_aliases; /*%< alias list */
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 223 * Remove this set from the cpc handle's list of sets. 398 * Remove this buf from the cpc handle's list of bufs. 758 char *list; local 768 if ((list = malloc(size)) == NULL) 771 if (syscall(SYS_cpc, which, -1, list, arg, 0) != 0) { 772 free(list); 776 return (list); 815 char **list; local 822 if ((list = malloc(ncounters * sizeof (char *))) == NULL) 826 free(list); 894 char *list; local 957 char *list; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access.c | 77 void free_null_terminated_list(char **list); 324 * DESCRIPTION: Gets a list of domain names specified, by nisLDAPdomainContext 345 * DESCRIPTION: Gets a list of domain names specified, by the 347 * is the list of domains for which passwords should be changed. 366 * DESCRIPTION: Frees a map list. 368 * GIVEN : Pointer to the map list. 381 * DESCRIPTION: Gets a list of either passwd or passwd.adjunct map files 392 * GIVEN : Flag indicating if a list is required for passwd or 394 * Domain to return the list for. 396 * RETURNS : Null terminated list o 496 free_passwd_list(char **list) argument 511 free_null_terminated_list(char **list) argument [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_known_wlan.c | 106 * Create new object list for known WLAN. The initial priority is 154 struct nwam_wlan_info **list; member in struct:nwam_wlan_info_list 165 struct nwam_wlan_info **list = wil->list; local 171 /* Reallocate WLAN list and allocate new info list element. */ 172 if ((newlist = realloc(list, 181 /* Update list since realloc() may have relocated it */ 182 wil->list = newlist; 207 * we need to first walk the list o [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 115 ds_order(char *list[]) argument 124 for (j = n; list[j]; j++) { 125 if (strcmp(list[j], toc_pt->pkg) == 0) { 127 pt = list[n]; 128 list[n++] = list[j]; 129 list[j] = pt;
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 147 * Frees the memory allocated for an io card list. 152 /* Free the list */ 166 * Inserts an io_card structure into the list. The list is maintained 172 insert_io_card(struct io_card *list, struct io_card *card) argument 178 return (list); 189 if (list == NULL) 192 /* Find the proper place in the list for the new card */ 193 for (p = list, q = NULL; p != NULL; q = p, p = p->next) { 200 /* Insert the new card into the list */ 307 display_io_cards(struct io_card *list) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 74 void display_io_cards(struct io_card *list); 346 /* Generate the list of pci cards on pci instance: pci */ 375 * Print out all the io cards in the list. Also print the column 379 display_io_cards(struct io_card *list) argument 383 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | daktari.c | 84 void display_io_cards(struct io_card *list); 301 "CPU Board list was NULL\n")); 498 /* Generate the list of pci cards on pci instance: pci */ 509 * Print out all the io cards in the list. Also print the column 513 display_io_cards(struct io_card *list) argument 518 if (list == NULL) 537 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 79 void display_io_cards(struct io_card *list); 608 * Print out all the io cards in the list. Also print the column 612 display_io_cards(struct io_card *list) argument 617 if (list == NULL) 633 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 89 void display_io_cards(struct io_card *list); 109 * Linked list of IO card info for display. 149 /* insert card to the list */ 211 display_io_cards(struct io_card *list) argument 217 if (list == NULL) 227 for (p = list; p != NULL; p = p->next) { 861 /* now attach this prom node to the board list */ 862 /* Insert this node at the end of the list */
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 86 void display_io_cards(struct io_card *list); 454 /* insert this card in the list to be displayed later */ 546 /* now attach this prom node to the board list */ 547 /* Insert this node at the end of the list */ 562 * Print out all the io cards in the list. Also print the column 566 display_io_cards(struct io_card *list) argument 578 if (list == NULL) 636 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 171 * with envp. The envp list is NULL terminated and has no separate 172 * counter; envp will be a NULL list unless the AUDIT_ARGE policy is 409 DPRINTF((" Null path list\n")); 597 * In a session model, the groups list is undefined and label 650 struct msg_text *list; local 678 * The "input size" is overloaded to mean the list number 680 * that list 683 list = &adt_msg_text[(enum adt_msg_list)def->dd_input_size]; 686 if ((list_index + list->ml_offset < list [all...] |
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 122 lio_listio(int mode, aiocb_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, argument 160 if ((aiocbp = list[i]) == NULL) 182 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp); 194 * If LIO_WAIT, or notification required, allocate a list head. 234 if ((aiocbp = list[i]) == NULL || 286 (void) _kaio(AIOLIOWAIT, mode, list, nent, sigevp); 307 if ((aiocbp = list[i]) != NULL && 341 __aio_suspend(void **list, int nent, const timespec_t *timo, int largefile) argument 391 listp64 = (aiocb64_t **)list; 400 listp = (aiocb_t **)list; 625 aio_suspend(const aiocb_t * const list[], int nent, const timespec_t *timeout) argument 933 __aio_waitn(void **list, uint_t nent, uint_t *nwait, const timespec_t *utimo) argument 1200 aio_waitn(aiocb_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument 1319 lio_listio64(int mode, aiocb64_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, int nent, struct sigevent *_RESTRICT_KYWD sigevp) argument 1517 aio_suspend64(const aiocb64_t * const list[], int nent, const timespec_t *timeout) argument 1761 aio_waitn64(aiocb64_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument [all...] |
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp.c | 222 * Given a media list and media name ("audio", "video", et al), it searches 223 * the list for that media. Returns NULL if media not present. 242 * Given a attribute list and name of the attribute ("rtpmap", "fmtp", et al), 243 * this API searches the list for that attribute. Returns NULL if not found. 262 * Given a media list and a format number, this API will return the rtpmap 725 sdp_list_t *list; local 752 list = session->s_email; 753 while (list != NULL) { 754 len += strlen((char *)list->value) + FIELD_EQUALS_CRLF_LEN; 755 list 831 sdp_list_t *list; local 966 sdp_list_t *list; local [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 75 #define PINGTIME 10 /* Timeout for the ypservers list */ 330 * ypservers list one by one or broadcast and accept whoever 459 listofnames *list, *lin; local 526 * get list of possible servers for this domain 538 list = names(serverfile); 539 if (list == NULL) { 545 lin = list; 546 for (list = lin; list; list [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclscsi.c | 109 plist_t *list; member in struct:scsi_info 120 free_list(plist_t *list) argument 124 if (list == NULL) 126 tmp = list->first; 136 * This routine gets the list of scsi controllers present 139 populate_controllers_list(plist_t *cntrl_list, cfga_list_data_t *list, int num) argument 145 if (cntrl_list == NULL || list == NULL) { 157 if (strcmp(list[i].ap_type, SCSI_SLOT) != 0) { 166 (void) memcpy(temp, &list[i], sizeof (cfga_list_data_t)); 176 /* append to the list */ 234 find_scsi_controller(char *devfs_path, plist_t *list, char *ap_id) argument 277 plist_t list; local 412 dyn_probe_for_scsi_frus(frutree_frunode_t *frup, cfga_list_data_t *cfgalist, plist_t *list, int numlist) argument 799 probe_scsi_in_libdevinfo(frutree_frunode_t *frup, cfga_list_data_t *cfgalist, plist_t *list, int num_list, boolean_t compare_cfgadm) argument 843 plist_t list; local [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | common.c | 175 papi_attribute_t **list = papiPrinterGetAttributeList(p); local 179 (void) papiAttributeListGetInteger(list, NULL, 181 (void) papiAttributeListGetString(list, NULL, 183 (void) papiAttributeListGetString(list, NULL, 208 papi_attribute_t **list = papiJobGetAttributeList(job); local 215 (void) papiAttributeListGetInteger(list, NULL, 217 (void) papiAttributeListGetInteger(list, NULL, 219 (void) papiAttributeListGetString(list, NULL, 221 (void) papiAttributeListGetString(list, NULL, 228 (void) papiAttributeListGetInteger(list, NUL 262 papi_attribute_t **list = papiJobGetAttributeList(job); local 418 char *list[BUFSIZ], local 438 jobSubmitSTDIN(papi_service_t svc, char *printer, char *prefetch, int len, papi_attribute_t **list, papi_job_t *job) argument 504 char *list[] = { "member-names", NULL }; local 642 papi_attribute_t **list = local [all...] |
H A D | lpstat.c | 54 fprintf(stdout, gettext("Usage: %s [-d] [-r] [-s] [-t] [-a [list]] " 55 "[-c [list]] [-o [list] [-l]] [-R [list] [-l]] " 56 "[-p [list] [-D] [-l]] [-v [list]] [-S [list] [-l]] " 57 "[-f [list] [-l]] [-u list]\n"), 160 print_description(papi_attribute_t **list, cha argument 683 char **list = getlist(name, LP_WS, LP_SEP); local 775 match_user(char *user, char **list) argument [all...] |
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.h | 87 * Possible list types 97 * Linked list of per-process or per-lwp statistics 121 * Linked list of collective per-uid, per-taskid, per-projid or per-lgroup 145 * Per-list structure 147 typedef struct list { struct 148 int l_type; /* list type */ 149 int l_count; /* number of entries in the list */ 150 void *l_head; /* pointer to the head of the list */ 151 void *l_tail; /* pointer to the tail of the list */ 155 int l_sortorder; /* sorting order for the list */ [all...] |
/illumos-gate/usr/src/cmd/psrinfo/ |
H A D | psrinfo.c | 151 * Insert a new node on a list, at the insertion point given. 161 * Find an id on a sorted list. If the requested id is not found, 166 find_link(void *list, int id, struct link ***insertpt) argument 168 struct link **ins = list; 184 * Print the linked list of ids in parens, taking care to collapse
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 838 * Free up memory associated with a null terminated list of names. 841 free_list(char **list) argument 845 if (list) { 846 for (i = 0; list[i] != NULL; i++) 847 free(list[i]); 848 free(list); 944 * mountp value is added to the list of associated mountpoints for the 1003 * Keep entries in the list of mounts unique, so exit early if the 1004 * mount is already in the list. 1012 * Add this mountpoint to the list o [all...] |
H A D | rcm_lock.c | 34 mutex_t rcm_req_lock; /* protects global dr & info request list */ 49 * Struct for a list of outstanding rcm requests 93 * Start info list with one slot, then grow on demand. 171 * Find entry in list with the same resource name and sequence number. 175 find_req_entry(char *device, uint_t flag, int seq_num, req_list_t *list) argument 183 for (i = 0; i < list->n_req_max; i++) { 184 if (list->req[i].state == RCM_STATE_REMOVE) 197 if ((strcmp(device, list->req[i].device) != 0) || 198 (list->req[i].flag & RCM_FILESYS) != (flag & RCM_FILESYS)) 203 (list 964 } *tmp, *list = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 493 parse_var_value(config_type_t type, struct configinfo *list, char *varstr, argument 504 for (cip = list; cip->ci_name != NULL; cip++) { 580 parse_default(config_type_t type, struct configinfo *list, argument 586 parse_var_value(type, list, argvec[0], argvec[1], defaults); 599 parse_if(struct configinfo *list, char *argvec[], int argcount) argument 632 parse_var_value(CONFIG_IF, list, argvec[0], argvec[1], 644 parse_prefix(struct configinfo *list, char *argvec[], int argcount) argument 706 parse_var_value(CONFIG_PREFIX, list, argvec[0], argvec[1],
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_mirror.c | 151 * OUTPUT: results - pointer to a list of volume devconfig_t results 254 * OUTPUT: results - pointer to a list of volume devconfig_t results 277 * is assembled and appended to the results list. 285 dlist_t *list = NULL; local 294 list = devconfig_get_components(request); 295 nsubs = dlist_length(list); 316 * Scan the list of specified submirrors, collect those that only 321 for (iter = list; (iter != NULL) && (error == 0); iter = iter->next) { 464 * subs - pointer to a list of composed submirrors 473 * list o 1366 dlist_t *list = NULL; local 1593 dlist_t *list = NULL; local 1746 dlist_t *list = NULL; local 1896 dlist_t *list = NULL; local 1999 dlist_t *list = NULL; local 2116 dlist_t *list = NULL; local 2201 dlist_t *list = NULL; local [all...] |
H A D | layout_validate.c | 195 dlist_t **list); 208 * Purges list of reserved volume names. Should be called 273 * usages have been determined and the list of usable 479 * usable_slices: a list of usable slice dm_descriptor_t handles 482 * list that is available for use by the input 488 * PURPOSE: Iterate the input list of usable slices, determine which are 492 * The slices in the usable_slice list are those with no apparent 537 * usable_slices: a list of usable slice dm_descriptor_t handles 645 * Retrieves list of reserved slices and list o 794 validate_device_array( char **array, char *which, dlist_t **list) argument 1088 dlist_t *list = devconfig_get_components(req); local 1749 dlist_t *list = NULL; local [all...] |