Searched refs:bkt (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_rsrc.c | 129 eib_lsobkt_t *bkt = ss->ei_lso; in eib_rsrc_grab_lsobufs() local 147 if (bkt == NULL) in eib_rsrc_grab_lsobufs() 153 mutex_enter(&bkt->bk_lock); in eib_rsrc_grab_lsobufs() 154 if (bkt->bk_nfree < num_needed) { in eib_rsrc_grab_lsobufs() 155 mutex_exit(&bkt->bk_lock); in eib_rsrc_grab_lsobufs() 162 elem = bkt->bk_free_head; in eib_rsrc_grab_lsobufs() 170 sgl[i].ds_key = bkt->bk_lkey; in eib_rsrc_grab_lsobufs() 178 bkt->bk_free_head = elem; in eib_rsrc_grab_lsobufs() 192 bkt->bk_nfree -= num_needed; in eib_rsrc_grab_lsobufs() 194 mutex_exit(&bkt->bk_lock); in eib_rsrc_grab_lsobufs() [all …]
|
H A D | eib_svc.c | 635 eib_lsobkt_t *bkt = ss->ei_lso; in eib_monitor_lso_bufs() local 642 ASSERT(bkt != NULL); in eib_monitor_lso_bufs() 645 mutex_enter(&bkt->bk_lock); in eib_monitor_lso_bufs() 651 while (bkt->bk_status == 0) { in eib_monitor_lso_bufs() 656 cv_wait(&bkt->bk_cv, &bkt->bk_lock); in eib_monitor_lso_bufs() 663 if (bkt->bk_status & EIB_LBUF_MONITOR_DIE) { in eib_monitor_lso_bufs() 664 mutex_exit(&bkt->bk_lock); in eib_monitor_lso_bufs() 673 ASSERT((bkt->bk_status & EIB_LBUF_SHORT) != 0); in eib_monitor_lso_bufs() 679 while ((bkt->bk_nfree < EIB_LSO_FREE_BUFS_THRESH) && in eib_monitor_lso_bufs() 680 ((bkt->bk_status & EIB_LBUF_MONITOR_DIE) == 0)) { in eib_monitor_lso_bufs() [all …]
|
H A D | eib_fip.c | 1293 uint8_t bkt; in eib_fip_queue_tbl_entry() local 1328 bkt = (map->mp_mac[ETHERADDRL-1]) % EIB_TB_NBUCKETS; in eib_fip_queue_tbl_entry() 1329 map->mp_next = tbl->tb_mcast_entry[bkt]; in eib_fip_queue_tbl_entry() 1330 tbl->tb_mcast_entry[bkt] = map; in eib_fip_queue_tbl_entry() 1336 bkt = (map->mp_mac[ETHERADDRL-1]) % EIB_TB_NBUCKETS; in eib_fip_queue_tbl_entry() 1337 map->mp_next = tbl->tb_vnic_entry[bkt]; in eib_fip_queue_tbl_entry() 1338 tbl->tb_vnic_entry[bkt] = map; in eib_fip_queue_tbl_entry() 1470 uint8_t bkt; in eib_fip_dequeue_tbl_entry() local 1474 bkt = (mac[ETHERADDRL-1]) % EIB_TB_NBUCKETS; in eib_fip_dequeue_tbl_entry() 1483 for (elem = tbl->tb_vnic_entry[bkt]; elem; elem = elem->mp_next) { in eib_fip_dequeue_tbl_entry()
|
H A D | eib_vnic.c | 1775 uint8_t bkt = (dmac[ETHERADDRL-1]) % EIB_TB_NBUCKETS; in eib_vnic_lookup_dest() local 1793 for (elem = tbl->tb_vnic_entry[bkt]; elem != NULL; in eib_vnic_lookup_dest()
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | config.c | 58 int ndx, bkt; in genconfig() local 284 for (ndx = 1, bkt = 0; bkt < stbl->t_size; bkt++) { in genconfig() 285 for (ent = stbl->t_entry[bkt]; ent; ent = ent->e_next) { in genconfig() 356 for (bkt = 0; bkt < stbl->t_size; bkt++) { in genconfig() 357 for (ent = stbl->t_entry[bkt]; ent; ent = ent->e_next) { in genconfig() 451 for (bkt = 0; bkt < stbl->t_size; bkt++) { in genconfig() 452 for (ent = stbl->t_entry[bkt]; ent; ent = ent->e_next) { in genconfig()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lgrp.h | 124 int bkt; \ 125 for (val = 0, bkt = 0; bkt < LGRP_NUM_CPU_BUCKETS; bkt++) \ 126 val += LGRP_STAT(stats, bkt, whichstat); \
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/ |
H A D | rfs4.c | 278 const rfs4_bucket_t *bkt = data; in rfs4_print_bkt_cb() local 282 for (lp = bkt->dbk_head; lp; lp = rl.next) { in rfs4_print_bkt_cb() 1165 rfs4_bucket_t bkt; in rfs4_db_bkt_walk_step() local 1171 if (mdb_vread(&bkt, sizeof (bkt), addr) == -1) { in rfs4_db_bkt_walk_step() 1179 return (wsp->walk_callback(addr, &bkt, wsp->walk_cbdata)); in rfs4_db_bkt_walk_step()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 429 Word bkt, ndx; in elf_config_ent() local 433 bkt = hash % config->c_hashtbl[0]; in elf_config_ent() 434 ndx = config->c_hashtbl[2 + bkt]; in elf_config_ent()
|