Lines Matching refs:idx
632 rtm_scrub_ifscope(int type, int idx, struct sockaddr *hint, struct sockaddr *sa,
637 switch (idx) {
1159 uint16_t idx;
1164 idx = atomic_add_16_ov(&rte->rtd_refrele_cnt, 1) % CTRACE_HIST_SIZE;
1166 ctrace_record(&rte->rtd_refrele[idx]);
1187 uint16_t idx;
1192 idx = atomic_add_16_ov(&rte->rtd_refhold_cnt, 1) % CTRACE_HIST_SIZE;
1194 ctrace_record(&rte->rtd_refhold[idx]);
3135 uint32_t idx;
3137 idx = atomic_add_32_ov(&rte->rtd_lock_cnt, 1) % CTRACE_HIST_SIZE;
3139 ctrace_record(&rte->rtd_lock[idx]);
3145 uint32_t idx;
3147 idx = atomic_add_32_ov(&rte->rtd_unlock_cnt, 1) % CTRACE_HIST_SIZE;
3149 ctrace_record(&rte->rtd_unlock[idx]);