/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cksum.c | 26 * sum -- list file checksum and size 50 "[a:all?List the checksum for all files. Use with \b--total\b to list both" 71 "[l:list?Each \afile\a is interpreted as a list of files, one per line," 73 "[p:permissions?If \b--check\b is not specified then list the file" 121 int all; /* list all items */ 125 int header; /* list method on output */ 126 int list; /* list file name too */ member in struct:State_s 137 int total; /* list total 406 list(State_t* state, register Sfio_t* lp) function [all...] |
H A D | uname.c | 61 "[f:list?List all \bsysinfo\b(2) names and values, one per line.]" 261 int list = 0; local 283 list = 1; 358 else if (list)
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse_helper.c | 88 sdp_free_list(sdp_list_t *list) argument 92 while (list != NULL) { 93 next_list = list->next; 94 if (list->value != NULL) 95 free(list->value); 96 free(list); 97 list = next_list; 238 * Adds text of a given length to a linked list. If the list is NULL to 239 * start with it builds the new list 242 add_value_to_list(sdp_list_t **list, const char *value, int len, boolean_t text) argument 283 sdp_list_to_str(sdp_list_t *list, char **buf, boolean_t text) argument 335 sdp_str_to_list(sdp_list_t **list, const char *buf, int len, boolean_t text) argument [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | utils.c | 102 /* extend the return list */ 118 void *arg, uchar_t **list, size_t valsize, 127 if (*list) { 128 xdr_free(xdr_res_proc, (caddr_t)*list); 130 if ((*list = malloc(valsize)) == NULL) { 135 (void) memset(*list, 0, valsize); 139 xdr_res_proc, (caddr_t)*list, 142 free(*list); 145 iter->retlist = *list; 117 _iter_get_next_list(int type, idmap_iter_t *iter, void *arg, uchar_t **list, size_t valsize, xdrproc_t xdr_arg_proc, xdrproc_t xdr_res_proc) argument
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fex_log.c | 105 } *list = NULL; variable in typeref:struct:exc_list 120 otherwise add this one to the list and return 0 */ 128 if (list) { 129 for (l = list; l; ll = l, l = l->next) { 148 /* create a new exc_list structure and tack it on the list */ 162 if (list) 165 list = l;
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_kstat.c | 70 static sdata_t *cpu_list; /* list with cpu statistics */ 74 static void update_cpu_list(sdata_t *list); 198 * Create new or update an existing list of cpu statistics. For each 205 update_sdata_list(sdata_t *list, kstat_ctl_t *kc, char *module, argument 217 return (list); 220 * Find the kstat in the existing list: 226 for (sdpp = sdp = list; sdp; sdp = sdp->sd_next) { 244 if (!list) { 245 list = sdata_new(ksp); 246 list 286 update_cpu_list(sdata_t *list) argument 313 update_pset_stats(statistic_bag_t *sbag, sdata_t *list) argument [all...] |
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 151 struct extpartition **list; local 164 list = sorted; 167 *list++ = part; 168 *list = 0; 169 qsort((char *)sorted, (uint_t)(list - sorted), 173 for (list = sorted; (part = *list) != NULL; ++list) 195 struct dk_part **list; local 203 list 242 static char *list[V_NUMPAR]; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 58 /* uu_list repval list pool */ 109 * Create the repval list pool. 192 destroy_rep_val_list(uu_list_t *list) argument 194 if (list != NULL) { 195 empty_rep_val_list(list); 196 uu_list_destroy(list); 201 find_rep_val(uu_list_t *list, int64_t val) argument 205 for (rv = uu_list_first(list); rv != NULL; 206 rv = uu_list_next(list, rv)) { 214 add_rep_val(uu_list_t *list, int64_ argument 230 remove_rep_val(uu_list_t *list, int64_t val) argument 242 empty_rep_val_list(uu_list_t *list) argument 255 get_single_rep_val(uu_list_t *list) argument 264 set_single_rep_val(uu_list_t *list, int64_t val) argument 422 _retrieve_rep_vals(uu_list_t *list, const char *fmri, const char *prop_name) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 358 static char *list[MAXADDRS]; /* addr_list array */ local 369 hp->h_addr_list = list;
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.exec.c | 81 * Glob the argument list, if necessary. 187 * Execute command f, arg list t. 237 * argument list replacing the command name. 267 * now done with tchar arg list t, 298 tconvert(struct command *cmd, tchar *fname, tchar **list) argument 305 len = blklen(list); 309 *rc++ = tstostr(NULL, *list++);
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | sharemgr.h | 97 /* option list structure */ 104 /* general list structure */ 105 struct list { struct 106 struct list *next;
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 83 * Returns an empty list of unresolved names. 91 * If this is the first request to create a list, initialize the list 104 * Adds the given name to the unresolved list. 'value' is an arbitrary value 110 dis_namelist_add(dis_namelist_t *list, const char *name, int value) argument 120 (void) uu_list_insert_before(list, NULL, node); 133 * For each section, walk the list of unresolved names and resolve those that 135 * the list a second time to warn about functions we didn't find. 161 * Add the data to the resolved list 177 * Take a list o 297 dis_namelist_empty(dis_namelist_t *list) argument 303 free_list(uu_list_t *list) argument 327 dis_scnlist_destroy(dis_scnlist_t *list) argument 349 dis_funclist_destroy(dis_funclist_t *list) argument 369 dis_namelist_destroy(dis_namelist_t *list) argument 378 dis_scnlist_iter(uu_list_t *list, void (*func)(dis_scn_t *, int, void *), void *arg) argument 397 dis_funclist_iter(uu_list_t *list, void (*func)(dis_func_t *, int, void *), void *arg) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 98 * devices - pointer to a list of devices to be served by the HSP 100 * OUTPUT: results - pointer to a list result devconfig_t, if the HSP 101 * to service the input list of devices needs to be 102 * created or modified, it will be appended to the list. 108 * single HSP to service the list of devices. 167 * devices - pointer to a list of devices to be served by the HSP 178 * c. add spares to the HSP to service the list of input devices. 279 * devices - pointer to a list of devices to be served by the HSP 291 * otherwise, add new spares to handle the input list 341 dlist_t *list local [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 458 printAggregationRecords(List <AggregationRecord> list) argument 465 for (AggregationRecord r : list) { 528 "\t-f enable or list probes matching the specified " + 531 "\t-i enable or list probes matching the specified probe id\n" + 533 "\t-l list probes matching specified criteria\n" + 535 "\t-m enable or list probes matching the specified " + 537 "\t-n enable or list probes matching the specified probe name\n" + 540 "\t-P enable or list probes matching the specified " + 543 "\t-s enable or list probes according to the specified " + 908 for (List <Probe> list [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 48 struct dir_entry *list); 55 struct dir_entry *rddir_entry_lookup(char *name, struct dir_entry *list); 67 struct dir_entry *list = NULL, *l; local 74 * Browsability was disabled return an empty list. 123 (void) getmapkeys(rda->rda_map, &list, &error, 126 build_dir_entry_list(rdcp, list); 127 else if (list) { 128 free_dir_list(list); 129 list = NULL; 148 list 232 struct dir_entry *list = NULL, *l, *nl; local 505 rddir_entry_lookup(char *name, struct dir_entry *list) argument 511 build_dir_entry_list(struct autofs_rddir_cache *rdcp, struct dir_entry *list) argument [all...] |
H A D | ns_nis.c | 54 struct dir_entry **list; member in struct:dir_cbdata 425 getmapkeys_nis(nsmap, list, error, cache_time, stack, stkptr) 427 struct dir_entry **list; 470 *error = 0; /* return an empty list */ 484 readdir_cbdata.list = list; 493 * ask for the list of entries 521 struct dir_entry **list = indata->list; local 553 if (add_dir_entry(key, list, [all...] |
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | print.c | 136 char **list; local 153 list = &crle->c_edlibpath; 170 list = &crle->c_eslibpath; 175 list = &crle->c_adlibpath; 184 list = &crle->c_aslibpath; 191 return (addlib(crle, list, path)); 960 * If we've in verbose mode scan the hash list.
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 782 list(void) function
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | addon-network-discovery.c | 57 GList *elem, *list = broadcast_addresses(); local 59 for (elem = list; elem != NULL; elem = g_list_next(elem)) { 64 g_list_free(list);
|
/illumos-gate/usr/src/cmd/hal/hald-runner/ |
H A D | runner.c | 135 GList *list; local 141 list = (GList *)g_hash_table_lookup(udi_hash, rd->r->udi); 142 list = g_list_remove(list, rd); 144 g_hash_table_insert(udi_hash, g_strdup(rd->r->udi), list); 253 GList *list; local 315 list = (GList *)g_hash_table_lookup(udi_hash, r->udi); 316 list = g_list_prepend(list, rd); 319 g_hash_table_insert(udi_hash, g_strdup(r->udi), list); 353 GList *list; local [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 88 unsigned list:1; member in struct:__anon637 108 opt.list = 1; 114 opt.list = 0; 119 opt.list = 0; 153 if (opt.list) 178 " \t\t\tReads property list in 'lshal' syntax from stdin.\n" 214 fprintf(stderr, "Empty HAL device list.\n"); 284 printf(" } (string list)\n");
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | perfcnt.c | 47 typedef struct list { struct 49 struct list *l_next; 95 * insert at head of list
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 55 * header, followed by a message list, followed by the msgid strings and then 64 int hdr_lstsz; /* size of message list (in bytes) */ 96 const Msglst *list, *_list; local 101 * Establish pointers to the message list (we actually start the search 102 * in the middle of this list (hdr->midlst), the msgid strings (ids) 105 list = (const Msglst *)&msghdr[1]; 106 ids = (const char *)&list[msghdr->hdr_lstcnt]; 112 _list = list + off;
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldaplist.c | 93 "\t -l list all the attributes found in entry.\n" 95 "\t -d list attributes for the database instead of its entries\n" 97 "\t -g list the database mappings.\n" 191 list(char *database, char *ldapfilter, char **ldapattribute, function 511 rc = list("passwd", ldapfilter, ldapattribute, 531 rc1 = list("hosts", ldapfilter, ldapattribute, 553 * to list the directory attribute instead of the entries 571 if (rc = list(database, ldapfilter, ldapattribute, &err, udata))
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | setlist.c | 45 static int cl_handle = -1; /* list array handle */ 91 /* Insert a single class into the list. */ 97 /* If the list is already there, scan for this item */ 110 /* Point the passed pointer to the head of the list. */ 115 * Create a list of all classes involved in this installation as well as 121 struct cl_attr **list, *struct_ptr; local 136 * this creating a second list and forgetting any prior ones. The 138 * list constructed from the prototype file using addlist() above. 150 /* Add new class to list. */ 170 list 216 cl_putl(char *parm_name, struct cl_attr **list) argument [all...] |