Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/cwchash/
H A Dhashtable_itr.c18 itr->h = h; in hashtable_iterator()
19 itr->e = NULL; in hashtable_iterator()
20 itr->parent = NULL; in hashtable_iterator()
34 return itr; in hashtable_iterator()
64 itr->parent = itr->e; in hashtable_iterator_advance()
65 itr->e = next; in hashtable_iterator_advance()
85 itr->index = j; in hashtable_iterator_advance()
86 itr->e = next; in hashtable_iterator_advance()
108 itr->h->table[itr->index] = itr->e->next; in hashtable_iterator_remove()
111 itr->parent->next = itr->e->next; in hashtable_iterator_remove()
[all …]
H A Dtester.c53 struct hashtable_itr *itr; in main() local
106 itr = hashtable_iterator(h); in main()
111 kk = hashtable_iterator_key(itr); in main()
112 v = hashtable_iterator_value(itr); in main()
120 } while (hashtable_iterator_advance(itr)); in main()
135 if (0 == search_itr_some(itr,h,k)) { in main()
209 if (0 == search_itr_some(itr, h, k)) { in main()
218 free(itr); in main()
223 for (itr = hashtable_iterator(h); in main()
224 hashtable_iterator_remove(itr) != 0; ) { in main()
[all …]
H A Dhashtable_itr.h51 hashtable_iterator_advance(struct hashtable_itr *itr);
60 hashtable_iterator_remove(struct hashtable_itr *itr);
68 hashtable_iterator_search(struct hashtable_itr *itr,
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c201 iter_free(hiter_t *itr) in iter_free() argument
207 tbl = itr->table; in iter_free()
213 free(itr); in iter_free()
217 iter_next(hiter_t *itr) in iter_next() argument
225 ret = itr->next; in iter_next()
231 hash = itr->table; in iter_next()
233 i = itr->bucket; in iter_next()
244 itr->next = tmp; in iter_next()
245 itr->bucket = i; in iter_next()
258 tmp = iter_next(itr); in elements_in_table()
[all …]
H A Dmain.c1639 hiter_t *itr; in child_to_file() local
1655 itr = iterate_hash(fcall_tbl); in child_to_file()
1657 ntry = iter_next(itr); in child_to_file()
1678 ntry = iter_next(itr); in child_to_file()
1680 iter_free(itr); in child_to_file()
2138 hiter_t *itr = iterate_hash(fcall_tbl); in report() local
2139 hentry_t *tmp = iter_next(itr); in report()
2148 tmp = iter_next(itr); in report()
2159 iter_free(itr); in report()
2161 itr = NULL; in report()
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtrace_jni.c800 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1exec() local
842 uu_list_walk_end(itr); in Java_org_opensolaris_os_dtrace_LocalConsumer__1exec()
878 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1getProgramInfo() local
907 uu_list_walk_end(itr); in Java_org_opensolaris_os_dtrace_LocalConsumer__1getProgramInfo()
1066 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1checkProgramEnabling() local
1100 uu_list_walk_end(itr); in Java_org_opensolaris_os_dtrace_LocalConsumer__1checkProgramEnabling()
1109 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1isEnabled() local
1126 uu_list_walk_end(itr); in Java_org_opensolaris_os_dtrace_LocalConsumer__1isEnabled()
1213 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1consume() local
1295 uu_list_walk_t *itr; in Java_org_opensolaris_os_dtrace_LocalConsumer__1close() local
[all …]
H A Ddtj_util.c443 uu_list_walk_t *itr; in dtj_cache_jni_classes() local
487 itr = uu_list_walk_start(classes, 0); in dtj_cache_jni_classes()
513 uu_list_walk_end(itr); in dtj_cache_jni_classes()
671 uu_list_walk_t *itr; in dtj_cache_jni_methods() local
672 itr = uu_list_walk_start(c->djc_methods, 0); in dtj_cache_jni_methods()
706 uu_list_walk_end(itr); in dtj_cache_jni_methods()
715 uu_list_walk_t *itr; in dtj_cache_jni_fields() local
716 itr = uu_list_walk_start(c->djc_fields, 0); in dtj_cache_jni_fields()
741 uu_list_walk_end(itr); in dtj_cache_jni_fields()
1501 dtj_pointer_list_walk_next(uu_list_walk_t *itr) in dtj_pointer_list_walk_next() argument
[all …]
H A Ddtj_consume.c1838 uu_list_walk_t *itr; in dtj_agghandler() local
1875 itr = uu_list_walk_start(jc->dtjj_aggval_list, 0); in dtj_agghandler()
1876 while ((aggval = uu_list_walk_next(itr)) != NULL) { in dtj_agghandler()
1927 uu_list_walk_end(itr); in dtj_agghandler()
/illumos-gate/usr/src/uts/common/sys/
H A Dpg.h133 #define PG_CPU_ITR_INIT(pgrp, itr) \ argument
135 group_iter_init(&(itr).position); \
136 (itr).pg = ((pg_t *)pgrp); \
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_ibt.c57 #define EIB_PORT_ATTR_LOADED(itr) \ argument
58 (((itr) & SM_INIT_TYPE_REPLY_NO_LOAD_REPLY) == 0)
59 #define EIB_PORT_ATTR_NOT_PRESERVED(itr) \ argument
60 (((itr) & SM_INIT_TYPE_PRESERVE_CONTENT_REPLY) == 0)
61 #define EIB_PORT_PRES_NOT_PRESERVED(itr) \ argument
62 (((itr) & SM_INIT_TYPE_PRESERVE_PRESENCE_REPLY) == 0)
181 uint8_t itr; in eib_ibt_link_mod() local
201 itr = pi->p_init_type_reply; in eib_ibt_link_mod()
202 if (EIB_PORT_ATTR_LOADED(itr) && EIB_PORT_ATTR_NOT_PRESERVED(itr)) { in eib_ibt_link_mod()
250 if (EIB_PORT_PRES_NOT_PRESERVED(itr)) { in eib_ibt_link_mod()
H A Denx_hdlrs.c62 #define ENX_PORT_ATTR_LOADED(itr) \ argument
63 (((itr) & SM_INIT_TYPE_REPLY_NO_LOAD_REPLY) == 0)
64 #define ENX_PORT_ATTR_NOT_PRESERVED(itr) \ argument
65 (((itr) & SM_INIT_TYPE_PRESERVE_CONTENT_REPLY) == 0)
66 #define ENX_PORT_PRES_NOT_PRESERVED(itr) \ argument
67 (((itr) & SM_INIT_TYPE_PRESERVE_PRESENCE_REPLY) == 0)
941 uint8_t itr; in eibnx_handle_port_events() local
974 itr = pi->p_init_type_reply; in eibnx_handle_port_events()
975 if (ENX_PORT_ATTR_LOADED(itr) && ENX_PORT_ATTR_NOT_PRESERVED(itr)) { in eibnx_handle_port_events()
1002 if (ENX_PORT_PRES_NOT_PRESERVED(itr)) { in eibnx_handle_port_events()
/illumos-gate/usr/src/uts/intel/os/
H A Dcpc_subr.c204 pg_cpu_itr_t itr; in kcpc_hw_cpu_hook() local
224 PG_CPU_ITR_INIT(chip_pg, itr); in kcpc_hw_cpu_hook()
225 while ((p = pg_cpu_next(&itr)) != NULL) { in kcpc_hw_cpu_hook()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_intr.c181 i40e_intr_set_itr(i40e_t *i40e, i40e_itr_index_t itr, uint_t val) in i40e_intr_set_itr() argument
187 VERIFY3U(itr, <, I40E_ITR_INDEX_NONE); in i40e_intr_set_itr()
193 if (itr == I40E_ITR_INDEX_OTHER || in i40e_intr_set_itr()
195 I40E_WRITE_REG(hw, I40E_PFINT_ITR0(itr), val); in i40e_intr_set_itr()
200 I40E_WRITE_REG(hw, I40E_PFINT_ITRN(itr, i), val); in i40e_intr_set_itr()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dintreg.h115 uint_t itr; member
/illumos-gate/usr/src/uts/common/os/
H A Dpg.c359 pg_cpu_next(pg_cpu_itr_t *itr) in pg_cpu_next() argument
362 pg_t *pg = itr->pg; in pg_cpu_next()
364 cpu = group_iterate(&pg->pg_cpus, &itr->position); in pg_cpu_next()
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java288 ListIterator <Record> itr = records.listIterator(records.size()); in getLastPrinta() local
291 while (itr.hasPrevious() && (printa == null)) { in getLastPrinta()
292 record = itr.previous(); in getLastPrinta()
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java246 Iterator <Record> itr = records.iterator(); in consumeProbeData() local
247 while (itr.hasNext()) { in consumeProbeData()
248 record = itr.next(); in consumeProbeData()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_api.h54 s32 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr);
H A De1000_api.c1000 s32 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr) in e1000_set_obff_timer() argument
1003 return hw->mac.ops.set_obff_timer(hw, itr); in e1000_set_obff_timer()
H A De1000_ich8lan.c147 static s32 e1000_set_obff_timer_pch_lpt(struct e1000_hw *hw, u32 itr);
1241 static s32 e1000_set_obff_timer_pch_lpt(struct e1000_hw *hw, u32 itr) in e1000_set_obff_timer_pch_lpt() argument
1249 timer = itr & E1000_ITR_MASK; in e1000_set_obff_timer_pch_lpt()
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcudbg_view.c2318 u32 itr; in view_fw_devlog() local
2332 for (itr = 0; itr < num_entries; itr++) { in view_fw_devlog()