Searched refs:ones_in_block (Results 1 – 1 of 1) sorted by relevance
73 int block, ones=0xffff, ones_in_block; in plen_to_mask() local74 if (plen>bits_in_block) ones_in_block=bits_in_block; in plen_to_mask()75 else ones_in_block=plen; in plen_to_mask()76 block = ones & (ones << (bits_in_block-ones_in_block)); in plen_to_mask()78 plen -= ones_in_block; in plen_to_mask()