Lines Matching refs:blk_cnt
570 int i, j, blk_cnt; in init_shared_mem() local
731 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
733 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
771 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
772 int next = (j + 1) % blk_cnt; in init_shared_mem()
794 blk_cnt = rx_cfg->num_rxd / in init_shared_mem()
796 size = sizeof(struct buffAdd *) * blk_cnt; in init_shared_mem()
801 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
872 int i, j, blk_cnt, size; in free_shared_mem() local
938 blk_cnt = ring->block_count; in free_shared_mem()
939 for (j = 0; j < blk_cnt; j++) { in free_shared_mem()
959 blk_cnt = rx_cfg->num_rxd / in free_shared_mem()
961 for (j = 0; j < blk_cnt; j++) { in free_shared_mem()
981 blk_cnt; in free_shared_mem()
6860 int i, j, k, blk_cnt = 0, size; in rxd_owner_bit_reset() local
6881 blk_cnt = rx_cfg->num_rxd / (rxd_count[sp->rxd_mode] + 1); in rxd_owner_bit_reset()
6883 for (j = 0; j < blk_cnt; j++) { in rxd_owner_bit_reset()