/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | putprinter.c | 210 * from the stty option list and move the last one to 213 * move any value from the ".speed" member to the stty list. 247 * one speed was given in the list, we 357 * Put out the header even if the list is empty, 439 * Put out the header even if the list is empty, 516 print_l(int fd, char *head, char **list) argument 520 fdprintlist (fd, list);
|
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_defaults.c | 156 * Set list of diskset specific defaults 175 * Get list of diskset specific defaults 218 dlist_t *list; local 221 /* Get list of disk sets */ 222 list = defaults_get_disksets(defaults); 223 if (list != NULL) { 226 for (; list != NULL; list = list->next) { 229 devconfig_t *d = (devconfig_t *)list [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_domain.c | 433 /* Don't need the trusted domain list anymore. */ 476 smb_trusted_domains_t *list; local 479 list = &dxi->d_trusted; 480 status = lsa_enum_trusted_domains_ex(server, domain, list); 482 (void) lsa_enum_trusted_domains(server, domain, list);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_quota.c | 57 * SMB_QUOTA_QUERY_STARTSID decode the list of sids from 124 * Decode the SIDs from the data block and stores them in string form in list. 134 smb_quota_decode_sids(mbuf_chain_t *mbc, list_t *list) argument 172 list_insert_tail(list, qsid); 214 smb_quota_decode_quotas(mbuf_chain_t *mbc, list_t *list) argument 259 list_insert_tail(list, quota); 270 smb_quota_free_quotas(list_t *list) argument 274 while ((quota = list_head(list)) != NULL) { 275 list_remove(list, quota); 279 list_destroy(list); 301 list_t *list = &reply->qr_quota_list; local [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 79 * Add an entry to a NULL-terminated list, if it's not already there. 80 * Assumes that the list has been allocated large enough for all additions, 85 maybe_add_to_list(const char **list, const char *s) argument 87 for (; *list != NULL; list++) { 88 if (uu_strcaseeq(*list, s)) 91 *list = s; 95 * Copy a counted attribute list to a NULL-terminated one. 97 * the list as required to support any synthesized attributes 118 * add to this list [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 531 * XDR a list_t list of elements 532 * offset - offset of list_node_t in list element 533 * elsize - size of list element 534 * elproc - XDR function for the list element 537 smb_list_xdr(XDR *xdrs, list_t *list, const size_t offset, argument 545 node = list_head(list); 548 node = list_next(list, node); 553 node = list_head(list); 557 node = list_next(list, node); 564 list_create(list, elsiz [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_iter.c | 102 * Create a list of pools based on the given arguments. If we're given no 149 * Search for any new pools, adding them to the list. We only add pools when no 150 * options were given on the command line. Otherwise, we keep the list fixed as 161 * Iterate over all pools in the list, executing the callback for each 181 * Remove the given pool from the list. When running iostat, we want to remove 198 * Free all the handles associated with this list. 226 * Returns the number of elements in the pool list. 242 zpool_list_t *list; local 245 if ((list = pool_list_get(argc, argv, proplist, &ret)) == NULL) 248 if (pool_list_iter(list, unavai [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 455 dnode_undirty_dbufs(list_t *list) argument 459 while (dr = list_head(list)) { 468 list_remove(list, dr); 551 list_t *list = &dn->dn_dirty_records[txgoff]; local 608 dn->dn_maxblkid == 0 || list_head(list) != NULL || 716 dbuf_sync_list(list, dn->dn_phys->dn_nlevels - 1, tx); 719 ASSERT3P(list_head(list), ==, NULL);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mh.c | 295 * of traversing the list each time 416 * of traversing the list each time 524 * build disk status list from drivename list 535 /* copy list */ 544 /* return list */ 549 * free disk status list 566 * free drive info list 578 * sort drive info list 644 * return list o 715 mhd_drive_info_list_t list; local 788 mhd_drive_info_list_t list; local [all...] |
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 469 * Get attributes specified in list 'items' 614 * max_present(list) 617 * attribute-list "list". 622 max_present(attrlist *list) argument 624 while (list != NULL) 625 if (list->type == ATTR_MAX && list->data.val_i != -1) 628 list = list [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 36 * slp_onlist: determines if a token is on a list 37 * slp_add2list: adds a token to a list 38 * slp_list_subtract: removes a token from a list 160 * If 'item' is on 'list', returns 1, otherwise 0. 162 int slp_onlist(const char *item, const char *list) { argument 164 for (p = (char *)list; p; p++) { 188 * Adds item to *list if it is not already on it. If *list == NULL, 189 * creates a new list. When it grows the list, i 195 slp_add2list(const char *item, char **list, SLPBoolean check_onlist) argument 220 slp_list_subtract(const char *item, char **list) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | propfuncs.c | 109 * entry's contents (buf) and its linked-list representation (listp). lsp 144 * If the prop is not found, append it to the list. 151 * nlip will need to be freed later if there is no list to 206 * The entry is converted into a linked-list listp. This list is then scanned 362 * append it to the list given by the caller. 380 * The list must be non-empty and the last character must be ';'. 443 * Now find the list of properties. 686 dladm_free_props(dladm_arg_list_t *list) argument 688 dladm_free_args(list); [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_dfstab.c | 71 FILE *dfp; /* fp for dfs list */ 111 add_entry_to_dfstab(dfstab_entry_t *list, int *err) argument 113 FILE *dfp; /* fp for dfs list */ 117 if ((share_cmd = create_share_cmd(list, NULL, err)) != NULL) { 405 * fs_add_DFStab_ent - adds an entry to dfstab and to the list of dfstab 406 * entries. Returns a pointer to the head of the dfstab entry list. 431 * set_DFStab_ent - adds an entry to dfstab and to the list of dfstab entries. 432 * returns a pointer to the head of the dfstab entry list. 556 * Calls get_dfstab_ents to create the list of dfstab 557 * entries and returns that list 562 dfstab_entry_t *list; local 571 fs_get_DFStab_ent_Next(void *list) argument 697 fs_free_DFStab_ents(void *list) argument 707 fs_print_dfstab_entries(void *list) argument [all...] |
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_main.c | 95 zjni_ArrayList_t *list = &list_obj; local 114 /* Create an array list to hold each ImportablePoolBean */ 115 zjni_new_ArrayList(env, list); 118 data.list = (zjni_Collection_t *)list; 120 /* Iterate through all importable pools, building list */ 130 return (zjni_Collection_to_array(env, (zjni_Collection_t *)list, 146 /* Create an array list */ 148 zjni_ArrayList_t *list = &list_obj; local 149 zjni_new_ArrayList(env, list); 440 zjni_ArrayList_t *list = &list_obj; local 504 zjni_ArrayList_t *list; member in struct:mapping_data 512 zjni_ArrayList_t *list = map->list; local 553 zjni_ArrayList_t *list = &list_obj; local [all...] |
H A D | libzfs_jni_util.c | 96 zjni_Collection_to_array(JNIEnv *env, zjni_Collection_t *list, char *class) argument 100 env, ((zjni_Object_t *)list)->object, 101 ((zjni_Collection_t *)list)->method_size); 103 /* Create array to hold elements of list */ 107 /* Copy list elements to array */ 108 return (*env)->CallObjectMethod(env, ((zjni_Object_t *)list)->object, 109 ((zjni_Collection_t *)list)->method_toArray, array); 131 zjni_new_ArrayList(JNIEnv *env, zjni_ArrayList_t *list) argument 133 zjni_Object_t *object = (zjni_Object_t *)list; 145 new_Collection(env, (zjni_Collection_t *)list); 150 zjni_new_DatasetSet(JNIEnv *env, zjni_DatasetSet_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_door.c | 92 static SVCXPRT_LIST *dxlist; /* list of door based service handles */ 98 __svc_add_to_xlist(SVCXPRT_LIST **list, SVCXPRT *xprt, mutex_t *lockp) argument 107 l->next = *list; 108 *list = l; 115 __svc_rm_from_xlist(SVCXPRT_LIST **list, SVCXPRT *xprt, mutex_t *lockp) argument 121 for (l = list; *l != NULL; l = &(*l)->next) { 134 __svc_free_xlist(SVCXPRT_LIST **list, mutex_t *lockp) argument 140 while (*list != NULL) { 141 tmp = (*list)->next; 142 free(*list); [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 710 * Given the type and class flag representations, return the list of properties 711 * that can be set for that type/class combination. Note this list is a complete 712 * property list that includes both the required and the optional properties. 724 const char **list = NULL; local 728 /* Construct a list of all properties for required type/class */ 729 list = calloc(table.num_entries, sizeof (char *)); 730 if (list == NULL) { 739 list[i++] = cur->prop_name; 742 *prop_list = list;
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 277 struct pplist* list; member in union:__anon3783 848 error(2, "%s: invalid macro formal argument list", sym->name); 1328 error(2, "invalid predicate argument list");
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 80 void display_io_cards(struct io_card *list); 349 /* Generate the list of pci cards on pci instance: pci */ 360 * Print out all the io cards in the list. Also print the column 364 display_io_cards(struct io_card *list) argument 369 if (list == NULL) { 396 for (p = list; p != NULL; p = p -> next) {
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cut.c | 36 "list of positive numbers and ranges. Ranges can be of three " 50 "[b:bytes]:[list?\bcut\b based on a list of byte counts.]" 51 "[c:characters]:[list?\bcut\b based on a list of character counts.]" 54 "[f:fields]:[list?\bcut\b based on fields separated by the delimiter " 100 int list[2]; /* NOTE: must be last member */ member in struct:Cut_s 162 lp = cut->list; 190 n = 1 + (lp-cut->list)/2; 191 qsort(lp=cut->list, [all...] |
H A D | grep.c | 122 typedef struct Item_s /* list item - sue me for waste */ 124 struct Item_s* next; /* next in list */ 131 typedef struct List_s /* generic list */ 133 Item_t* head; /* list head */ 134 Item_t* tail; /* list tail */ 146 List_t file; /* pattern file list */ 147 List_t pattern; /* pattern list */ 148 List_t re; /* re list */ 155 int list; /* list file member in struct:State_s [all...] |
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | bootlog.c | 80 } list; typedef in typeref:struct:list_entry 87 list entries[BOOTLOG_RING_NELEM];
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | stage2.c | 86 get_entry (char *list, int num, int nested) argument 94 while (*(list++)); 96 while (nested && *(list++)); 99 return list; 759 printf (" Booting command-list\n\n");
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 113 assign_geo_addr(plist_t *list, frutree_port_type_t type) argument 121 if (list == NULL) { 125 if (list->first == NULL) { 131 if (list->n_serial == 0) { 134 num_ports = list->n_serial; 138 if (list->n_parallel == 0) { 141 num_ports = list->n_parallel; 145 if (list->n_network == 0) { 148 num_ports = list->n_network; 159 /* traverse thru list an 184 create_port_config_info(plist_t *list, frutree_device_args_t *devp) argument 415 plist_t list; local [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 132 papi_attribute_t **list = NULL; local 154 papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 158 papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 162 papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 166 papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 173 * papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 179 papiAttributeListAddString(&list, PAPI_ATTR_EXCL, 184 papiAttributeListAddBoolean(&list, PAPI_ATTR_EXCL, 188 papiAttributeListAddInteger(&list, PAPI_ATTR_EXCL, 192 papiAttributeListAddInteger(&list, PAPI_ATTR_EXC 373 papi_attribute_t **list = NULL; local 583 papi_attribute_t **list; local [all...] |