Lines Matching refs:nr_words
123 unsigned long nr_words; member
236 unsigned int i, nr_words; in __superblock_all_zeroes() local
255 nr_words = dm_bm_block_size(bm) / sizeof(__le64); in __superblock_all_zeroes()
256 for (i = 0; i < nr_words; i++) { in __superblock_all_zeroes()
473 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words, in __dirty_map_init() argument
478 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL); in __dirty_map_init()
499 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
504 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
574 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions); in dm_clone_metadata_open()
749 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word); in __flush_dmap()
751 if (word == cmd->nr_words) in __flush_dmap()
761 } while (word < cmd->nr_words); in __flush_dmap()