Lines Matching defs: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++) {
479 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words,
484 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL);
505 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) {
510 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) {
580 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions);
755 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word);
757 if (word == cmd->nr_words)
767 } while (word < cmd->nr_words);