Home
last modified time | relevance | path

Searched refs:old_idx (Results 1 – 5 of 5) sorted by relevance

/freebsd/usr.sbin/bhyve/
H A Dvirtio.c478 uint16_t event_idx, new_idx, old_idx; in vq_endchains() local
491 old_idx = vq->vq_save_used; in vq_endchains()
510 (uint16_t)(new_idx - old_idx); in vq_endchains()
512 intr = new_idx != old_idx && in vq_endchains()
/freebsd/sys/dev/cxgbe/
H A Dt4_sched.c321 int rc, old_idx; in bind_txq_to_traffic_class() local
356 old_idx = txq->tc_idx; in bind_txq_to_traffic_class()
378 if (old_idx != -1) { in bind_txq_to_traffic_class()
379 tc = &tc0[old_idx]; in bind_txq_to_traffic_class()
394 txq->tc_idx = old_idx; in bind_txq_to_traffic_class()
/freebsd/sys/security/mac_do/
H A Dmac_do.c1652 int old_idx = 1, new_idx = 1; in rule_grant_supplementary_groups() local
1677 for (; old_idx < old_ngroups; ++old_idx) { in rule_grant_supplementary_groups()
1678 const gid_t old_gid = old_groups[old_idx]; in rule_grant_supplementary_groups()
1701 ++old_idx; in rule_grant_supplementary_groups()
1763 old_idx < old_ngroups) in rule_grant_supplementary_groups()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c3325 u_long *old_idx, *new_idx; in ipfw_objhash_bitmap_merge() local
3328 old_idx = ni->idx_mask; in ipfw_objhash_bitmap_merge()
3334 memcpy(&new_idx[new_blocks * i], &old_idx[old_blocks * i], in ipfw_objhash_bitmap_merge()
3346 u_long *old_idx; in ipfw_objhash_bitmap_swap() local
3348 old_idx = ni->idx_mask; in ipfw_objhash_bitmap_swap()
3355 *idx = old_idx; in ipfw_objhash_bitmap_swap()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr.c268 U32 old_idx = 0; in mpi3mr_repost_reply_buf() local
271 old_idx = sc->reply_free_q_host_index; in mpi3mr_repost_reply_buf()
275 sc->reply_free_q[old_idx] = reply_dma; in mpi3mr_repost_reply_buf()
284 U32 old_idx = 0; in mpi3mr_repost_sense_buf() local
287 old_idx = sc->sense_buf_q_host_index; in mpi3mr_repost_sense_buf()
291 sc->sense_buf_q[old_idx] = sense_buf_phys; in mpi3mr_repost_sense_buf()