Lines Matching refs:nr_words
123 unsigned long nr_words;
236 unsigned int i, nr_words;
255 nr_words = dm_bm_block_size(bm) / sizeof(__le64);
256 for (i = 0; i < nr_words; i++) {
468 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words,
473 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL);
494 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) {
499 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) {
569 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions);
744 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word);
746 if (word == cmd->nr_words)
756 } while (word < cmd->nr_words);