/illumos-gate/usr/src/boot/common/ |
H A D | nvstore.c | 187 bool list, get, delete; in command_nvstore() local 195 list = false; in command_nvstore() 199 list = true; in command_nvstore() 211 if (list) { in command_nvstore() 226 if (argc == 0 || (argc != 0 && list)) { in command_nvstore() 246 if (list || get) { in command_nvstore() 254 if (delete || list) { in command_nvstore() 266 list = true; in command_nvstore() 280 if (list) { in command_nvstore()
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Aggregate.java | 168 List <Aggregation> list = new ArrayList <Aggregation> (map.size()); in getAggregations() local 169 list.addAll(map.values()); in getAggregations() 170 return list; in getAggregations() 216 List <AggregationRecord> list = in getRecords() local 219 list.addAll(a.asMap().values()); in getRecords() 221 return list; in getRecords() 248 List <AggregationRecord> list = getRecords(); in getOrderedRecords() local 249 Collections.sort(list, new Comparator <AggregationRecord> () { in getOrderedRecords() 256 return list; in getOrderedRecords()
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | e.y | 71 column : lcol '{' list '}' { column('L', $1); } 72 | ccol '{' list '}' { column('C', $1); } 73 | rcol '{' list '}' { column('R', $1); } 74 | col '{' list '}' { column('-', $1); } 95 | lpile '{' list '}' { lpile('L', $1, ct); ct = $1; } 96 | cpile '{' list '}' { lpile('C', $1, ct); ct = $1; } 97 | rpile '{' list '}' { lpile('R', $1, ct); ct = $1; } 98 | pile '{' list '}' { lpile('-', $1, ct); ct = $1; } 155 list : eqn { lp[ct++] = $1; } 156 | list ABOVE eqn { lp[ct++] = $3; }
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_generic.c | 203 gethostkeys(mapname, list, error, cache_time) in gethostkeys() argument 205 struct dir_entry **list; 240 if (add_dir_entry(ent.h_name, list, &last)) { 252 if (add_dir_entry(*p, list, &last)) { 260 done: if (*list != NULL) { 275 getmapkeys(mapname, list, error, cache_time, stack, stkptr, uid) in getmapkeys() argument 277 struct dir_entry **list; 290 return (getmapkeys_files(mapname, list, error, cache_time, 293 return (gethostkeys(mapname, list, error, cache_time)); 297 ns_err = nsp->ns_getmapkeys(mapname, list, error,
|
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 242 struct replica *list; in inform_server() local 248 list = parse_replica(string, &n); in inform_server() 250 if (list == NULL) { in inform_server() 284 if (strcmp(list[i].host, "nfs") == 0 && strncmp(list[i].path, in inform_server() 297 cl = clnt_create_timed(list[i].host, MOUNTPROG, vers, in inform_server() 305 pr_err("%s:%s %s\n", list[i].host, list[i].path, in inform_server() 336 (char *)&list[i].path, xdr_void, (char *)NULL, in inform_server() 351 free_replica(list, n); in inform_server()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 55 if (*list == NULL) in list_append() 59 if (*list == NULL) in list_append() 90 if ((list == NULL) || (*list == NULL) || (item == NULL)) in list_remove() 101 tmp = *list; in list_remove() 104 for (i = 0; (((*list)[i] != NULL) && ((*list)[i] != item)); i++) in list_remove() 105 tmp[i] = (*list)[i]; in list_remove() 107 if ((*list)[i] == item) in list_remove() 109 tmp[i-1] = (*list)[i]; in list_remove() 113 if (tmp != *list) { in list_remove() 114 free(*list); in list_remove() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | brand.c | 139 list->bl_brand = brand; in brand_register() 140 list->bl_refcnt = 0; in brand_register() 141 list->bl_next = brand_list; in brand_register() 142 brand_list = list; in brand_register() 167 for (list = brand_list; list != NULL; list = list->bl_next) { in brand_unregister() 170 prev = list; in brand_unregister() 173 if (list == NULL) { in brand_unregister() 179 if (list->bl_refcnt > 0) { in brand_unregister() 301 struct brand_list *list; in brand_unregister_zone() local 304 for (list = brand_list; list != NULL; list = list->bl_next) { in brand_unregister_zone() [all …]
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 368 nwam_alloc_object_list(void *list) in nwam_alloc_object_list() argument 372 assert(list != NULL); in nwam_alloc_object_list() 381 nwam_free_object_list(void *list) in nwam_free_object_list() argument 383 nvlist_free(list); in nwam_free_object_list() 455 assert(list != NULL && packed_sizep != NULL); in nwam_pack_object_list() 472 void *list) in nwam_unpack_object_list() argument 476 assert(packed_list != NULL && list != NULL); in nwam_unpack_object_list() 478 *((nvlist_t **)list) = NULL; in nwam_unpack_object_list() 572 nwam_delete_prop(void *list, const char *name) in nwam_delete_prop() argument 576 if ((nverr = nvlist_remove_all(list, name)) != 0) in nwam_delete_prop() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl.c | 1112 fhc_bd_t *list; in sysc_enter_transition() local 1126 list = glist; in sysc_enter_transition() 1148 fhc_bd_t *list; in sysc_exit_transition() local 2174 fhc_bd_t *list; in compute_power_state() local 2202 for (list = fhc_bd_first(); list; list = fhc_bd_next(list)) { in compute_power_state() 2899 fhc_bd_t *list; in toggle_board_green_leds() local 2902 for (list = fhc_bd_first(); list; list = fhc_bd_next(list)) { in toggle_board_green_leds() 3127 for (list = sys_list; list != NULL; list = list->next) { in sysctrl_overtemp_poll() 3129 update_temp(list->pdip, &list->tempstat, in sysctrl_overtemp_poll() 3162 for (list = sys_list; list != NULL; list = list->next) { in sysctrl_keyswitch_poll() [all …]
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 215 if (*list == pos) in list_del() 216 *list = pos->is_next; in list_del() 230 *list = new; in insert_before() 240 *list = new; in insert_before() 252 *list = new; in insert_after() 274 if (*list == NULL) { in insert_into() 275 *list = iodev; in insert_into() 330 struct iodev_snapshot **list; in insert_iodev() local 336 list = &ss->s_iodevs; in insert_iodev() 340 insert_into(list, iodev); in insert_iodev() [all …]
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapclient.c | 3116 if (list->count == 0) { in multival_add() 3119 list->optlist = (char **)realloc(list->optlist, in multival_add() 3128 list->optlist[list->count] = opt; in multival_add() 3129 list->count++; in multival_add() 3137 if (list == NULL) in multival_free() 3140 if (list->optlist != NULL) in multival_free() 3141 free(list->optlist); in multival_free() 3142 free(list); in multival_free() 3213 if (NULL == list) in clientopts_free() 3222 free(list); in clientopts_free() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.list_snapshots.ksh | 45 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do 58 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do 81 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do 96 zfs.list.snapshots("$TESTPOOL/not-a-fs") 101 zfs.list.snapshots("not-a-pool/$TESTFS") 107 zfs.list.snapshots("rpool") 112 zfs.list.snapshots("$TESTPOOL/${TESTFS}@$TESTSNAP")
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcode.c | 122 for (; list != NO_JUMP; list = getjump(fs, list)) { in need_value() 144 for (; list != NO_JUMP; list = getjump(fs, list)) in removevalues() 151 while (list != NO_JUMP) { in patchlistaux() 152 int next = getjump(fs, list); in patchlistaux() 157 list = next; in patchlistaux() 170 luaK_patchtohere(fs, list); in luaK_patchlist() 180 while (list != NO_JUMP) { in luaK_patchclose() 186 list = next; in luaK_patchclose() 202 int list = *l1; in luaK_concat() local 205 list = next; in luaK_concat() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestBean.java | 149 list.add(r); in getAggregation() 157 list.add(r); in getAggregation() 363 list.add(v1); in getPrintfRecord() 364 list.add(v2); in getPrintfRecord() 374 list.add(getPrintaRecord()); in getProbeData() 375 list.add(getPrintfRecord()); in getProbeData() 376 list.add(getScalarRecord()); in getProbeData() 378 list.add(getUserStackRecord()); in getProbeData() 379 list.add(getExitRecord()); in getProbeData() 381 getFlow(), list); in getProbeData() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_tkt_policy.c | 355 char **list = NULL; local 369 for (i = 0; list[i] != NULL; i++); 379 for (i = 0, j = 0; list[i] != NULL; i++, j++) { 428 char ***list; 470 if (*list == NULL) { 478 if (((*list)[count] = strdup(dn)) == NULL) { 493 if (*list) { 494 for (i=0; (*list)[i]; ++i) 495 free ((*list)[i]); 496 free (*list); [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 380 struct request_entry *list, *listp; in request_log_walk_init() local 405 list = mdb_zalloc(sizeof (*list) * size, UM_SLEEP); in request_log_walk_init() 406 listp = list; in request_log_walk_init() 411 mdb_free(list, sizeof (*list) * size); in request_log_walk_init() 415 pos = listp - list; in request_log_walk_init() 420 mdb_free(list, sizeof (*list) * size); in request_log_walk_init() 431 list[pos].timestamp = cur.rl_start; in request_log_walk_init() 432 list[pos].addr = addr; in request_log_walk_init() 436 qsort(list, pos, sizeof (*list), &request_entry_compare); in request_log_walk_init() 442 rlw->rlw_list = list; in request_log_walk_init()
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | ipp-listener.c | 255 result = papiAttributeListAddBoolean(list, in ipp_configure_required_operations() 264 ipp_configure_all_operations(papi_attribute_t ***list, char boolean) in ipp_configure_all_operations() argument 270 result = papiAttributeListAddBoolean(list, PAPI_ATTR_REPLACE, in ipp_configure_all_operations() 282 if ((list == NULL) || (operation == NULL) || (type == NULL)) in ipp_configure_operation() 288 result = ipp_configure_all_operations(list, boolean); in ipp_configure_operation() 290 result = ipp_configure_required_operations(list, boolean); in ipp_configure_operation() 292 result = papiAttributeListAddBoolean(list, PAPI_ATTR_REPLACE, in ipp_configure_operation() 315 (void) papiAttributeListAddInteger(list, in ipp_operations_supported() 368 papi_attribute_t **list; in cyclical_service_check() local 377 if ((list = getprinterbyname(svc_name, NULL)) == NULL) in cyclical_service_check() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 283 extern papi_status_t papiAttributeListGetValue(papi_attribute_t **list, 287 extern papi_status_t papiAttributeListGetString(papi_attribute_t **list, 290 extern papi_status_t papiAttributeListGetInteger(papi_attribute_t **list, 292 extern papi_status_t papiAttributeListGetBoolean(papi_attribute_t **list, 295 extern papi_status_t papiAttributeListGetRange(papi_attribute_t **list, 302 extern papi_status_t papiAttributeListGetDatetime(papi_attribute_t **list, 308 extern papi_status_t papiAttributeListGetMetadata(papi_attribute_t **list, 311 extern papi_attribute_t *papiAttributeListFind(papi_attribute_t **list, 322 extern void papiAttributeListPrint(FILE *fp, papi_attribute_t **list, 436 papi_attribute_t **list); [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_hca.c | 61 llist_head_t list; member 96 llist_head_init(&client->list, client); in sol_uverbs_ib_register_client() 97 llist_add_tail(&client->list, &sol_uverbs_client_list); in sol_uverbs_ib_register_client() 160 llist_del(&client->list); in sol_uverbs_ib_unregister_client() 275 llist_head_init(&handler->list, handler); in sol_uverbs_ib_register_event_handler() 276 llist_add_tail(&handler->list, &handler->hca->event_handler_list); in sol_uverbs_ib_register_event_handler() 301 llist_del(&handler->list); in sol_uverbs_ib_unregister_event_handler() 382 llist_head_init(&context->list, context); in sol_uverbs_hca_add_client_context() 385 llist_add(&context->list, &hca->client_data_list); in sol_uverbs_hca_add_client_context()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_program/ |
H A D | zfs_program_json.ksh | 57 log_must zfs list $TESTSNAP 2>&1 59 log_mustnot zfs list $TESTSNAP 2>&1 61 log_must zfs list $TESTSNAP 2>&1 63 log_mustnot zfs list $TESTSNAP 2>&1 65 log_must zfs list $TESTSNAP 2>&1 72 log_mustnot zfs list $TESTSNAP 2>&1 81 for child in zfs.list.children(root) do
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_ancil.c | 59 yplist_maps(domain, list) in yplist_maps() argument 61 struct ypmaplist **list; 74 *list = (struct ypmaplist *)NULL; 137 !onmaplist(mapname, *list)) { 145 map->ypml_next = *list; 146 *list = map;
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | Makefile.in | 256 list='$(SUBDIRS)'; for subdir in $$list; do \ 277 *) list='$(SUBDIRS)' ;; \ 297 list='$(SUBDIRS)'; for subdir in $$list; do \ 301 list='$(SUBDIRS)'; for subdir in $$list; do \ 307 unique=`for i in $$list; do \ 326 list='$(SUBDIRS)'; for subdir in $$list; do \ 333 unique=`for i in $$list; do \ 349 unique=`for i in $$list; do \ 372 list='$(DISTFILES)'; for file in $$list; do \ 396 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ [all …]
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_list.h | 43 extern krb5_error_code krb5_parse_list(char *buffer, char *delimiter, char **list); 44 extern void krb5_free_list_entries(char **list); 47 extern int list_count_str_array(char **list); 48 extern int list_count_int_array(int *list);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | alarm.c | 57 static void *time_add(struct tevent *item, void *list) in time_add() argument 59 register struct tevent *tp = (struct tevent*)list; in time_add() 63 list = (void*)item; in time_add() 74 return(list); in time_add() 80 static void *time_delete(register struct tevent *item, void *list) in time_delete() argument 82 register struct tevent *tp = (struct tevent*)list; in time_delete() 84 list = (void*)tp->next; in time_delete() 94 return(list); in time_delete() 97 static void print_alarms(void *list) in print_alarms() argument 99 register struct tevent *tp = (struct tevent*)list; in print_alarms()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_function_hashtable.h | 44 _list_type *list; \ 48 list = search_##_name(table, key); \ 49 if (!list) { \ 50 add_ptr_list(&list, value); \ 53 add_ptr_list(&list, value); \ 55 insert_##_name(table, key, list); \
|