Searched refs:next_bds (Results 1 – 1 of 1) sorted by relevance
645 u8_t next_bds = 0; in lm_toe_bd_chain_bds_produced() local660 next_bds += nbds / bd_chain->usable_bds_per_page; in lm_toe_bd_chain_bds_produced()661 if(next_bds && ((bd_chain->prod_idx & bd_chain->bds_per_page_mask) == 0)) { in lm_toe_bd_chain_bds_produced()662 … next_bds--; /* special care here, this next bd will be counted only next time bds are produced */ in lm_toe_bd_chain_bds_produced()665 next_bds++; in lm_toe_bd_chain_bds_produced()669 bd_chain->prod_idx += nbds + next_bds * bd_chain->bds_skip_eop; in lm_toe_bd_chain_bds_produced()680 u8_t next_bds = 0; in lm_bd_chain_bds_produced() local695 next_bds += nbds / bd_chain->usable_bds_per_page; in lm_bd_chain_bds_produced()697 next_bds++; in lm_bd_chain_bds_produced()701 bd_chain->prod_idx += nbds + next_bds * bd_chain->bds_skip_eop; in lm_bd_chain_bds_produced()