Home
last modified time | relevance | path

Searched refs:nr_words (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/md/
H A Ddm-clone-metadata.c123 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()
468 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words, in __dirty_map_init() argument
473 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL); in __dirty_map_init()
494 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
499 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init()
566 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions); in dm_clone_metadata_open()
741 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word); in __flush_dmap()
[all …]
/linux/fs/xfs/scrub/
H A Drtsummary.h29 union xfs_suminfo_raw *rawinfo, unsigned int nr_words);
H A Drtbitmap_repair.c141 xrep_wordcnt_t nr_words) in xfbmp_copyin() argument
143 return xfile_store(rtb->sc->xfile, word, nr_words << XFS_WORDLOG, in xfbmp_copyin()
152 xrep_wordcnt_t nr_words) in xfbmp_copyout() argument
154 return xfile_load(rtb->sc->xfile, word, nr_words << XFS_WORDLOG, in xfbmp_copyout()
H A Drtsummary.c145 unsigned int nr_words) in xfsum_copyout() argument
147 return xfile_load(sc->xfile, rawinfo, nr_words << XFS_WORDLOG, in xfsum_copyout()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h382 int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __ksym;
394 struct bpf_iter_##name *it, const u64 *unsafe_ptr__ign, u32 nr_words) \
/linux/kernel/bpf/
H A Dhelpers.c3201 bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) in bpf_iter_bits_new() argument
3204 u32 nr_bytes = nr_words * sizeof(u64); in bpf_iter_bits_new()
3216 if (!unsafe_ptr__ign || !nr_words) in bpf_iter_bits_new()
3218 if (nr_words > BITS_ITER_NR_WORDS_MAX) in bpf_iter_bits_new()
3227 swap_ulong_in_u64(&kit->bits_copy, nr_words); in bpf_iter_bits_new()
3247 swap_ulong_in_u64(kit->bits, nr_words); in bpf_iter_bits_new()