Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 136) sorted by relevance

123456

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c447 if (!iter || iter->magic != PROF_MAGIC_ITERATOR) in profile_node_iterator_free()
449 free(iter); in profile_node_iterator_free()
469 if (!iter || iter->magic != PROF_MAGIC_ITERATOR) in profile_node_iterator()
484 if (iter->node && (iter->file->data->upd_serial != iter->file_serial)) { in profile_node_iterator()
513 iter->file = iter->file->next; in profile_node_iterator()
534 iter->file_serial = iter->file->data->upd_serial; in profile_node_iterator()
541 for (cpp = iter->names; cpp[iter->done_idx]; cpp++) { in profile_node_iterator()
556 iter->file = iter->file->next; in profile_node_iterator()
575 if (iter->name && strcmp(p->name, iter->name)) in profile_node_iterator()
594 iter->file = iter->file->next; in profile_node_iterator()
[all …]
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dmain.c50 if (!dbus_message_iter_next(iter)) in parse_udi()
78 if (!dbus_message_iter_next(iter) || dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_ARRAY) in parse_environment()
93 DBusMessageIter iter; in handle_run() local
100 if (!parse_udi(r, msg, &iter)) in handle_run()
103 if (!parse_environment(r, msg, &iter)) in handle_run()
107 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_STRING) in handle_run()
113 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_BOOLEAN) in handle_run()
118 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_UINT32) in handle_run()
138 DBusMessageIter iter; in handle_start() local
147 if (!dbus_message_iter_init(msg, &iter)) in handle_start()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dast-model.c70 iter->user_data = node; in ast_set_iter()
71 iter->user_data2 = iter->user_data3 = NULL; in ast_set_iter()
261 GtkTreeIter *iter, in ast_get_iter() argument
275 return ast_set_iter(iter, node); in ast_get_iter()
288 GtkTreeIter *iter) in ast_get_path() argument
316 AstNode *node = iter->user_data; in ast_get_value()
341 AstNode *node = iter->user_data; in ast_iter_next()
346 return ast_set_iter(iter, node); in ast_iter_next()
382 AstNode *node = iter->user_data; in ast_iter_has_child()
404 AstNode *node = iter ? iter->user_data in ast_iter_n_children()
[all …]
H A Davl.h75 #define avl_foreach(iter, avl) avl_traverse(iter, avl, FORWARD) argument
101 #define avl_foreach_reverse(iter, avl) avl_traverse(iter, avl, BACKWARD) argument
116 void avl_iter_begin(AvlIter *iter, struct stree *avl, AvlDirection dir);
117 void avl_iter_next(AvlIter *iter);
118 #define avl_traverse(iter, avl, direction) \ argument
119 for (avl_iter_begin(&(iter), avl, direction); \
120 (iter).node != NULL; \
121 avl_iter_next(&iter))
H A Davl.c457 iter->stack_index = 0; in avl_iter_begin()
458 iter->direction = dir; in avl_iter_begin()
461 iter->sm = NULL; in avl_iter_begin()
462 iter->node = NULL; in avl_iter_begin()
468 iter->stack[iter->stack_index++] = node; in avl_iter_begin()
473 iter->node = node; in avl_iter_begin()
487 iter->stack[iter->stack_index++] = node; in avl_iter_next()
491 node = iter->stack[--iter->stack_index]; in avl_iter_next()
493 iter->sm = NULL; in avl_iter_next()
494 iter->node = NULL; in avl_iter_next()
[all …]
/illumos-gate/usr/src/lib/lib9p/common/
H A Dhashtable.c184 h = iter->htit_parent; in ht_iter_advance()
216 assert(iter != NULL); in ht_remove_at_iter()
224 h = iter->htit_parent; in ht_remove_at_iter()
227 slot = iter->htit_slot; in ht_remove_at_iter()
228 iter->htit_next = ht_iter_advance(iter, item); in ht_remove_at_iter()
233 iter->htit_curr = NULL; in ht_remove_at_iter()
249 iter->htit_parent = h; in ht_iter()
250 iter->htit_curr = NULL; in ht_iter()
251 iter->htit_next = NULL; in ht_iter()
267 h = iter->htit_parent; in ht_next()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_runner.c278 add_env(iter, "HALD_VERBOSE", "1"); in add_basic_env()
281 add_env(iter, "HALD_STARTUP", "1"); in add_basic_env()
286 add_env(iter, "UDI", udi); in add_basic_env()
291 add_env(iter, "HAVE_POLKIT", "1"); in add_basic_env()
348 dbus_message_iter_open_container(iter, in add_first_part()
357 if (!add_command(iter, command_line)) { in add_first_part()
370 DBusMessageIter iter; in hald_runner_start() local
431 DBusMessageIter iter; in call_notify() local
444 if (!dbus_message_iter_next(&iter) || in call_notify()
488 DBusMessageIter iter; in hald_runner_run_method() local
[all …]
H A Ddevice_store.c222 GSList *iter; in hal_device_store_find() local
224 for (iter = store->devices; iter != NULL; iter = iter->next) { in hal_device_store_find()
225 HalDevice *d = iter->data; in hal_device_store_find()
239 GSList *iter; in hal_device_store_foreach() local
244 for (iter = store->devices; iter != NULL; iter = iter->next) { in hal_device_store_foreach()
284 GSList *iter; in hal_device_store_match_key_value_string() local
290 for (iter = store->devices; iter != NULL; iter = iter->next) { in hal_device_store_match_key_value_string()
314 GSList *iter; in hal_device_store_match_key_value_int() local
319 for (iter = store->devices; iter != NULL; iter = iter->next) { in hal_device_store_match_key_value_int()
342 GSList *iter; in hal_device_store_match_multiple_key_value_string() local
[all …]
H A Ddevice.c200 GSList *iter; in hal_device_merge_with_rewrite() local
209 for (iter = source->properties; iter != NULL; iter = iter->next) { in hal_device_merge_with_rewrite()
279 GSList *iter; in hal_device_merge() local
284 for (iter = source->properties; iter != NULL; iter = iter->next) { in hal_device_merge()
343 for (iter = caps; iter != NULL; iter = iter->next) { in hal_device_merge()
358 for (iter = device1->properties; iter != NULL; iter = iter->next) { in hal_device_matches()
448 for (iter = caps; iter != NULL; iter = iter->next) { in hal_device_has_capability()
483 for (iter = device->properties; iter != NULL; iter = iter->next) { in hal_device_property_find()
515 for (iter = device->properties; iter != NULL; iter = iter->next) { in hal_device_property_foreach()
598 iter = g_slist_next (iter)) { in hal_device_property_get_as_string()
[all …]
H A Dhald_dbus.c328 DBusMessageIter iter; in manager_get_all_devices() local
432 DBusMessageIter iter; in manager_find_device_string_match() local
518 DBusMessageIter iter; in manager_find_device_by_capability() local
577 DBusMessageIter iter; in manager_device_exists() local
623 DBusMessageIter iter; in manager_send_signal_device_added() local
656 DBusMessageIter iter; in manager_send_signal_device_removed() local
691 DBusMessageIter iter; in manager_send_signal_new_capability() local
848 GSList *iter; in foreach_property_append() local
861 for (iter = hal_property_get_strlist (p); iter != NULL; iter = iter->next) { in foreach_property_append()
1852 GSList *iter; in device_query_capability() local
[all …]
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsynch.c147 scf_iter_t *iter; in prop_walk_init() local
171 return (iter); in prop_walk_init()
174 scf_iter_destroy(iter); in prop_walk_init()
193 r = scf_iter_next_value(iter, val); in prop_walk_step()
302 scf_iter_t *iter; in fmri_has_potential() local
315 (iter = scf_iter_create(h)) == NULL) in fmri_has_potential()
345 r = scf_iter_next_instance(iter, inst); in fmri_has_potential()
385 scf_iter_destroy(iter); in fmri_has_potential()
454 scf_iter_t *iter, *viter = NULL; in has_potential() local
520 r = scf_iter_next_pg(iter, pg); in has_potential()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.freopen.ksh43 /++i == $iter/
60 while [ "$i" -lt "$iter" ]; do
75 iter=20
82 if [ -f $tmpfile.$iter ]; then
83 echo "$0: did not expect to find file: $tmpfile.$iter"
88 mv $tmpfile $tmpfile.$iter
89 let iter=iter+1
91 while [ "$i" -lt "$iter" ]; do
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dlibhal.c796 iter->set = set; in libhal_psi_init()
797 iter->idx = 0; in libhal_psi_init()
813 return iter->idx < iter->set->num_properties; in libhal_psi_has_more()
825 iter->idx++; in libhal_psi_next()
826 iter->cur_prop = iter->cur_prop->next; in libhal_psi_next()
1634 DBusMessageIter iter; in libhal_device_set_property_helper() local
1896 DBusMessageIter iter; in libhal_device_property_strlist_append() local
1955 DBusMessageIter iter; in libhal_device_property_strlist_prepend() local
2014 DBusMessageIter iter; in libhal_device_property_strlist_remove_index() local
2071 DBusMessageIter iter; in libhal_device_property_strlist_remove() local
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c25 ipflookupiter_t iter; local
39 obj.ipfo_ptr = &iter;
40 obj.ipfo_size = sizeof(iter);
42 iter.ili_data = &entry;
43 iter.ili_type = IPLT_HASH;
44 iter.ili_otype = IPFLOOKUPITER_NODE;
45 iter.ili_ival = IPFGENITER_LOOKUP;
46 iter.ili_unit = hp->iph_unit;
47 strncpy(iter.ili_name, hp->iph_name, FR_GROUPLEN);
H A Dprintpool_live.c25 ipflookupiter_t iter; local
39 obj.ipfo_ptr = &iter;
40 obj.ipfo_size = sizeof(iter);
42 iter.ili_data = &entry;
43 iter.ili_type = IPLT_POOL;
44 iter.ili_otype = IPFLOOKUPITER_NODE;
45 iter.ili_ival = IPFGENITER_LOOKUP;
46 iter.ili_unit = pool->ipo_unit;
47 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
/illumos-gate/usr/src/cmd/svc/configd/
H A Dclient.c550 if (iter != NULL) in iter_alloc()
551 uu_avl_node_init(iter, &iter->ri_link, iter_pool); in iter_alloc()
552 return (iter); in iter_alloc()
583 return (iter); in iter_find()
602 assert(iter == NULL || !MUTEX_HELD(&iter->ri_lock)); in iter_find_w_entity()
615 *iterp = iter; in iter_find_w_entity()
639 uu_avl_node_fini(iter, &iter->ri_link, iter_pool); in iter_destroy()
641 uu_free(iter); in iter_destroy()
651 if (iter != NULL) in iter_remove()
655 if (iter != NULL) in iter_remove()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c424 ipfgeniter_t iter; in dostats_live() local
432 obj.ipfo_size = sizeof (iter); in dostats_live()
433 obj.ipfo_ptr = &iter; in dostats_live()
436 iter.igi_nitems = 1; in dostats_live()
437 iter.igi_data = &ipn; in dostats_live()
455 iter.igi_nitems = 1; in dostats_live()
456 iter.igi_data = &nat; in dostats_live()
478 ipfgeniter_t iter; in showhostmap_live() local
485 obj.ipfo_ptr = &iter; in showhostmap_live()
488 iter.igi_nitems = 1; in showhostmap_live()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h33 struct rdsv3_info_iterator *iter,
36 #define rdsv3_info_copy(iter, data, bytes) \ argument
37 (void) ddi_copyout(data, iter->addr + iter->offset, bytes, 0); \
38 iter->offset += bytes
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_bench.c76 uint64_t ds, iter_cnt, iter, disksize; in run_gen_bench_impl() local
95 for (iter = 0; iter < iter_cnt; iter++) in run_gen_bench_impl()
139 uint64_t ds, iter_cnt, iter, disksize; in run_rec_bench_impl() local
179 for (iter = 0; iter < iter_cnt; iter++) in run_rec_bench_impl()
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c597 *iter = tmpiter; in idmap_iter_namerules()
656 iter, arg, in idmap_iter_next_namerule()
704 iter->next++; in idmap_iter_next_namerule()
737 *iter = tmpiter; in idmap_iter_mappings()
800 iter, arg, in idmap_iter_next_mapping()
873 iter->next++; in idmap_iter_next_mapping()
901 if (iter == NULL) in idmap_iter_destroy()
914 free(iter); in idmap_iter_destroy()
918 if (iter->arg) { in idmap_iter_destroy()
920 free(iter->arg); in idmap_iter_destroy()
[all …]
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c227 scf_iter_t *iter; in display_prop() local
298 scf_iter_destroy(iter); in display_prop()
310 scf_iter_t *iter; in display_pg() local
316 (iter = scf_iter_create(hndl)) == NULL) in display_pg()
319 if (scf_iter_pg_properties(iter, pg) == -1) in display_pg()
327 scf_iter_destroy(iter); in display_pg()
418 scf_iter_t *iter; in process_ent() local
427 (iter = scf_iter_create(hndl)) == NULL) in process_ent()
431 if (scf_iter_entity_pgs(iter, ent) == -1) in process_ent()
455 scf_iter_reset(iter); in process_ent()
[all …]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c306 void *iter = NULL; in report_class() local
507 void *iter; in report_printer() local
524 iter = NULL; in report_printer()
537 iter = NULL; in report_printer()
578 iter = NULL; in report_printer()
589 iter = NULL; in report_printer()
602 iter = NULL; in report_printer()
613 iter = NULL; in report_printer()
637 iter = NULL; in report_printer()
652 iter = NULL; in report_printer()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c417 if ((list == NULL) && (iter == NULL)) in papiAttributeListGetNext()
420 if (*iter == NULL) in papiAttributeListGetNext()
421 *iter = list; in papiAttributeListGetNext()
423 tmp = *iter; in papiAttributeListGetNext()
425 *iter = ++tmp; in papiAttributeListGetNext()
442 if (iter == NULL) in papiAttributeListGetValue()
443 iter = &fodder; in papiAttributeListGetValue()
445 if ((iter == NULL) || (*iter == NULL)) { in papiAttributeListGetValue()
456 tmp = *iter; in papiAttributeListGetValue()
463 *iter = ++tmp; in papiAttributeListGetValue()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dinfo.c114 struct rdsv3_info_iterator iter; in rdsv3_info_ioctl() local
155 bzero(&iter, sizeof (struct rdsv3_info_iterator)); in rdsv3_info_ioctl()
158 iter.addr = NULL; in rdsv3_info_ioctl()
164 iter.addr = (char *)(uintptr_t)arg.datap; in rdsv3_info_ioctl()
166 iter.offset = 0; in rdsv3_info_ioctl()
169 func(sock, ulen, &iter, &lens); in rdsv3_info_ioctl()
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c246 scf_iter_t *iter; in sa_extract_pgroup() local
315 if (iter != NULL) in sa_extract_pgroup()
316 scf_iter_destroy(iter); in sa_extract_pgroup()
470 scf_iter_t *iter; in sa_share_from_pgroup() local
621 if (iter != NULL) in sa_share_from_pgroup()
850 if (iter != NULL) in sa_share_props_from_pgroup()
876 scf_iter_t *iter; in sa_extract_group() local
890 if (iter == NULL) { in sa_extract_group()
1041 if (iter != NULL) in sa_extract_group()
1112 scf_iter_t *iter; in sa_get_config() local
[all …]

123456