bitmap             42 arch/ia64/include/asm/mmu_context.h 	unsigned long *bitmap;  /* bitmap size is max_ctx+1 */
bitmap             94 arch/ia64/include/asm/mmu_context.h 			ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap,
bitmap             96 arch/ia64/include/asm/mmu_context.h 			ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap,
bitmap            102 arch/ia64/include/asm/mmu_context.h 		__set_bit(context, ia64_ctx.bitmap);
bitmap             63 arch/ia64/mm/tlb.c 	ia64_ctx.bitmap = memblock_alloc((ia64_ctx.max_ctx + 1) >> 3,
bitmap             65 arch/ia64/mm/tlb.c 	if (!ia64_ctx.bitmap)
bitmap             86 arch/ia64/mm/tlb.c 		ia64_ctx.bitmap[i] ^= flush_bit;
bitmap             90 arch/ia64/mm/tlb.c 	ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap,
bitmap             92 arch/ia64/mm/tlb.c 	ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap,
bitmap             74 arch/mips/dec/prom/memory.c 		if (bm->bitmap[i] == 0xff)
bitmap             78 arch/mips/include/asm/dec/prom.h 	unsigned char bitmap[0];
bitmap            149 arch/mips/lasat/picvue.c int pvc_program_cg(int charnum, u8 bitmap[BM_SIZE])
bitmap            161 arch/mips/lasat/picvue.c 		pvc_write(bitmap[i], MODE_DATA);
bitmap             30 arch/mips/lasat/picvue.h int pvc_program_cg(int charnum, u8 bitmap[BM_SIZE]);
bitmap             14 arch/powerpc/include/asm/msi_bitmap.h 	unsigned long		*bitmap;
bitmap             40 arch/powerpc/platforms/4xx/msi.c 	struct msi_bitmap bitmap;
bitmap             51 arch/powerpc/platforms/4xx/msi.c 	err = msi_bitmap_alloc(&msi_data->bitmap, msi_irqs,
bitmap             56 arch/powerpc/platforms/4xx/msi.c 	err = msi_bitmap_reserve_dt_hwirqs(&msi_data->bitmap);
bitmap             58 arch/powerpc/platforms/4xx/msi.c 		msi_bitmap_free(&msi_data->bitmap);
bitmap             83 arch/powerpc/platforms/4xx/msi.c 		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
bitmap             93 arch/powerpc/platforms/4xx/msi.c 			msi_bitmap_free_hwirqs(&msi_data->bitmap, int_no, 1);
bitmap            123 arch/powerpc/platforms/4xx/msi.c 		msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
bitmap            206 arch/powerpc/platforms/4xx/msi.c 	if (msi->bitmap.bitmap)
bitmap            207 arch/powerpc/platforms/4xx/msi.c 		msi_bitmap_free(&msi->bitmap);
bitmap             42 arch/powerpc/platforms/cell/spufs/sched.c 	DECLARE_BITMAP(bitmap, MAX_PRIO);
bitmap            498 arch/powerpc/platforms/cell/spufs/sched.c 		set_bit(ctx->prio, spu_prio->bitmap);
bitmap            521 arch/powerpc/platforms/cell/spufs/sched.c 			clear_bit(prio, spu_prio->bitmap);
bitmap            831 arch/powerpc/platforms/cell/spufs/sched.c 	best = find_first_bit(spu_prio->bitmap, prio);
bitmap           1095 arch/powerpc/platforms/cell/spufs/sched.c 		__clear_bit(i, spu_prio->bitmap);
bitmap            169 arch/powerpc/platforms/powernv/pci.c 	if (WARN_ON(!phb) || !phb->msi_bmp.bitmap)
bitmap            107 arch/powerpc/sysdev/fsl_msi.c 	rc = msi_bitmap_alloc(&msi_data->bitmap, NR_MSI_IRQS_MAX,
bitmap            117 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_reserve_hwirq(&msi_data->bitmap, hwirq);
bitmap            135 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
bitmap            235 arch/powerpc/sysdev/fsl_msi.c 			hwirq = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
bitmap            250 arch/powerpc/sysdev/fsl_msi.c 			msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
bitmap            342 arch/powerpc/sysdev/fsl_msi.c 	if (msi->bitmap.bitmap)
bitmap            343 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_free(&msi->bitmap);
bitmap            389 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_free_hwirqs(&msi->bitmap,
bitmap             41 arch/powerpc/sysdev/fsl_msi.h 	struct msi_bitmap bitmap;
bitmap             20 arch/powerpc/sysdev/mpic_msi.c 	if (!mpic->msi_bitmap.bitmap)
bitmap             21 arch/powerpc/sysdev/msi_bitmap.c 	offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0,
bitmap             26 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_set(bmp->bitmap, offset, num);
bitmap             47 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_clear(bmp->bitmap, offset, num);
bitmap             59 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_allocate_region(bmp->bitmap, hwirq, 0);
bitmap             95 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count));
bitmap            103 arch/powerpc/sysdev/msi_bitmap.c 			bitmap_release_region(bmp->bitmap, *p + j, 0);
bitmap            124 arch/powerpc/sysdev/msi_bitmap.c 		bmp->bitmap = kzalloc(size, GFP_KERNEL);
bitmap            126 arch/powerpc/sysdev/msi_bitmap.c 		bmp->bitmap = memblock_alloc(size, SMP_CACHE_BYTES);
bitmap            127 arch/powerpc/sysdev/msi_bitmap.c 		if (!bmp->bitmap)
bitmap            131 arch/powerpc/sysdev/msi_bitmap.c 		kmemleak_not_leak(bmp->bitmap);
bitmap            134 arch/powerpc/sysdev/msi_bitmap.c 	if (!bmp->bitmap) {
bitmap            150 arch/powerpc/sysdev/msi_bitmap.c 		kfree(bmp->bitmap);
bitmap            152 arch/powerpc/sysdev/msi_bitmap.c 	bmp->bitmap = NULL;
bitmap            169 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size)));
bitmap            170 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_release_region(bmp.bitmap, 0, get_count_order(size));
bitmap            176 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size)));
bitmap            177 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_release_region(bmp.bitmap, 0, get_count_order(size));
bitmap            186 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0);
bitmap            214 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(bmp.bitmap != NULL);
bitmap            240 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(bitmap_find_free_region(bmp.bitmap, SIZE_EXPECTED,
bitmap            242 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED));
bitmap            259 arch/powerpc/sysdev/msi_bitmap.c 	WARN_ON(!bitmap_equal(expected, bmp.bitmap, SIZE_EXPECTED));
bitmap            262 arch/powerpc/sysdev/msi_bitmap.c 	kfree(bmp.bitmap);
bitmap             35 arch/powerpc/sysdev/xive/spapr.c 	unsigned long		*bitmap;
bitmap             55 arch/powerpc/sysdev/xive/spapr.c 	xibm->bitmap = kzalloc(xibm->count, GFP_KERNEL);
bitmap             56 arch/powerpc/sysdev/xive/spapr.c 	if (!xibm->bitmap) {
bitmap             71 arch/powerpc/sysdev/xive/spapr.c 	irq = find_first_zero_bit(xibm->bitmap, xibm->count);
bitmap             73 arch/powerpc/sysdev/xive/spapr.c 		set_bit(irq, xibm->bitmap);
bitmap            106 arch/powerpc/sysdev/xive/spapr.c 			clear_bit(irq - xibm->base, xibm->bitmap);
bitmap            582 arch/s390/kvm/kvm-s390.c 	DECLARE_BITMAP(bitmap, _PAGE_ENTRIES);
bitmap            593 arch/s390/kvm/kvm-s390.c 		bitmap_zero(bitmap, _PAGE_ENTRIES);
bitmap            594 arch/s390/kvm/kvm-s390.c 		gmap_sync_dirty_log_pmd(gmap, bitmap, gaddr, vmaddr);
bitmap            596 arch/s390/kvm/kvm-s390.c 			if (test_bit(i, bitmap))
bitmap           2459 arch/s390/mm/gmap.c void gmap_sync_dirty_log_pmd(struct gmap *gmap, unsigned long bitmap[4],
bitmap           2473 arch/s390/mm/gmap.c 			bitmap_fill(bitmap, _PAGE_ENTRIES);
bitmap           2480 arch/s390/mm/gmap.c 				set_bit(i, bitmap);
bitmap             61 arch/sparc/mm/iommu.c 	unsigned long *bitmap;
bitmap            112 arch/sparc/mm/iommu.c 	bitmap = kmalloc(IOMMU_NPTES>>3, GFP_KERNEL);
bitmap            113 arch/sparc/mm/iommu.c 	if (!bitmap) {
bitmap            118 arch/sparc/mm/iommu.c 	bit_map_init(&iommu->usemap, bitmap, IOMMU_NPTES);
bitmap            138 arch/um/drivers/ubd_kern.c 	unsigned long *bitmap;
bitmap            168 arch/um/drivers/ubd_kern.c 	.bitmap =		NULL, \
bitmap            781 arch/um/drivers/ubd_kern.c 	vfree(ubd_dev->cow.bitmap);
bitmap            782 arch/um/drivers/ubd_kern.c 	ubd_dev->cow.bitmap = NULL;
bitmap            825 arch/um/drivers/ubd_kern.c 		ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len);
bitmap            826 arch/um/drivers/ubd_kern.c 		if(ubd_dev->cow.bitmap == NULL){
bitmap            832 arch/um/drivers/ubd_kern.c 		err = read_cow_bitmap(ubd_dev->fd, ubd_dev->cow.bitmap,
bitmap           1253 arch/um/drivers/ubd_kern.c 			  __u64 *cow_offset, unsigned long *bitmap,
bitmap           1263 arch/um/drivers/ubd_kern.c 		if(ubd_test_bit(sector + i, (unsigned char *) bitmap))
bitmap           1267 arch/um/drivers/ubd_kern.c 		ubd_set_bit(sector + i, (unsigned char *) bitmap);
bitmap           1284 arch/um/drivers/ubd_kern.c 	bitmap_words[0] = bitmap[*cow_offset];
bitmap           1285 arch/um/drivers/ubd_kern.c 	bitmap_words[1] = bitmap[*cow_offset + 1];
bitmap           1291 arch/um/drivers/ubd_kern.c static void cowify_req(struct io_thread_req *req, unsigned long *bitmap,
bitmap           1302 arch/um/drivers/ubd_kern.c 			if(ubd_test_bit(sector + i, (unsigned char *) bitmap))
bitmap           1308 arch/um/drivers/ubd_kern.c 			   &req->cow_offset, bitmap, bitmap_offset,
bitmap           1347 arch/um/drivers/ubd_kern.c 		cowify_req(io_req, dev->cow.bitmap,
bitmap             72 arch/x86/include/asm/pci_x86.h 		u16 bitmap;		/* Available IRQs */
bitmap             45 arch/x86/kernel/ioport.c 		unsigned long *bitmap = kmalloc(IO_BITMAP_BYTES, GFP_KERNEL);
bitmap             47 arch/x86/kernel/ioport.c 		if (!bitmap)
bitmap             50 arch/x86/kernel/ioport.c 		memset(bitmap, 0xff, IO_BITMAP_BYTES);
bitmap             51 arch/x86/kernel/ioport.c 		t->io_bitmap_ptr = bitmap;
bitmap            450 arch/x86/kernel/vm86_32.c static inline int is_revectored(int nr, struct revectored_struct *bitmap)
bitmap            452 arch/x86/kernel/vm86_32.c 	return test_bit(nr, bitmap->__map);
bitmap            191 arch/x86/kvm/irq_comm.c 	unsigned long *bitmap = &kvm->arch.irq_sources_bitmap;
bitmap            195 arch/x86/kvm/irq_comm.c 	irq_source_id = find_first_zero_bit(bitmap, BITS_PER_LONG);
bitmap            205 arch/x86/kvm/irq_comm.c 	set_bit(irq_source_id, bitmap);
bitmap             76 arch/x86/kvm/lapic.c static inline int apic_test_vector(int vec, void *bitmap)
bitmap             78 arch/x86/kvm/lapic.c 	return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
bitmap             89 arch/x86/kvm/lapic.c static inline int __apic_test_and_set_vector(int vec, void *bitmap)
bitmap             91 arch/x86/kvm/lapic.c 	return __test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
bitmap             94 arch/x86/kvm/lapic.c static inline int __apic_test_and_clear_vector(int vec, void *bitmap)
bitmap             96 arch/x86/kvm/lapic.c 	return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
bitmap            356 arch/x86/kvm/lapic.c static int find_highest_vector(void *bitmap)
bitmap            363 arch/x86/kvm/lapic.c 		reg = bitmap + REG_POS(vec);
bitmap            371 arch/x86/kvm/lapic.c static u8 count_vectors(void *bitmap)
bitmap            378 arch/x86/kvm/lapic.c 		reg = bitmap + REG_POS(vec);
bitmap            829 arch/x86/kvm/lapic.c 		       const unsigned long *bitmap, u32 bitmap_size)
bitmap            837 arch/x86/kvm/lapic.c 		idx = find_next_bit(bitmap, bitmap_size, idx + 1);
bitmap            882 arch/x86/kvm/lapic.c 		unsigned long *bitmap)
bitmap            888 arch/x86/kvm/lapic.c 		*bitmap = 1;
bitmap            898 arch/x86/kvm/lapic.c 			*bitmap = 0;
bitmap            902 arch/x86/kvm/lapic.c 			*bitmap = 1;
bitmap            907 arch/x86/kvm/lapic.c 	*bitmap = 0;
bitmap            909 arch/x86/kvm/lapic.c 				(u16 *)bitmap))
bitmap            917 arch/x86/kvm/lapic.c 		for_each_set_bit(i, bitmap, 16) {
bitmap            927 arch/x86/kvm/lapic.c 		if (!*bitmap)
bitmap            930 arch/x86/kvm/lapic.c 		lowest = kvm_vector_to_index(irq->vector, hweight16(*bitmap),
bitmap            931 arch/x86/kvm/lapic.c 				bitmap, 16);
bitmap            935 arch/x86/kvm/lapic.c 			*bitmap = 0;
bitmap            940 arch/x86/kvm/lapic.c 	*bitmap = (lowest >= 0) ? 1 << lowest : 0;
bitmap            949 arch/x86/kvm/lapic.c 	unsigned long bitmap;
bitmap            964 arch/x86/kvm/lapic.c 	ret = kvm_apic_map_get_dest_lapic(kvm, &src, irq, map, &dst, &bitmap);
bitmap            967 arch/x86/kvm/lapic.c 		for_each_set_bit(i, &bitmap, 16) {
bitmap            996 arch/x86/kvm/lapic.c 	unsigned long bitmap;
bitmap           1006 arch/x86/kvm/lapic.c 	if (kvm_apic_map_get_dest_lapic(kvm, NULL, irq, map, &dst, &bitmap) &&
bitmap           1007 arch/x86/kvm/lapic.c 			hweight16(bitmap) == 1) {
bitmap           1008 arch/x86/kvm/lapic.c 		unsigned long i = find_first_bit(&bitmap, 16);
bitmap           1447 arch/x86/kvm/lapic.c 		void *bitmap = apic->regs + APIC_ISR;
bitmap           1450 arch/x86/kvm/lapic.c 			bitmap = apic->regs + APIC_IRR;
bitmap           1452 arch/x86/kvm/lapic.c 		if (apic_test_vector(vec, bitmap))
bitmap            132 arch/x86/kvm/lapic.h static inline void kvm_lapic_clear_vector(int vec, void *bitmap)
bitmap            134 arch/x86/kvm/lapic.h 	clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
bitmap            137 arch/x86/kvm/lapic.h static inline void kvm_lapic_set_vector(int vec, void *bitmap)
bitmap            139 arch/x86/kvm/lapic.h 	set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
bitmap            232 arch/x86/kvm/lapic.h 			const unsigned long *bitmap, u32 bitmap_size);
bitmap           5126 arch/x86/kvm/vmx/nested.c 	gpa_t bitmap, last_bitmap;
bitmap           5134 arch/x86/kvm/vmx/nested.c 			bitmap = vmcs12->io_bitmap_a;
bitmap           5136 arch/x86/kvm/vmx/nested.c 			bitmap = vmcs12->io_bitmap_b;
bitmap           5139 arch/x86/kvm/vmx/nested.c 		bitmap += (port & 0x7fff) / 8;
bitmap           5141 arch/x86/kvm/vmx/nested.c 		if (last_bitmap != bitmap)
bitmap           5142 arch/x86/kvm/vmx/nested.c 			if (kvm_vcpu_read_guest(vcpu, bitmap, &b, 1))
bitmap           5149 arch/x86/kvm/vmx/nested.c 		last_bitmap = bitmap;
bitmap           5183 arch/x86/kvm/vmx/nested.c 	gpa_t bitmap;
bitmap           5193 arch/x86/kvm/vmx/nested.c 	bitmap = vmcs12->msr_bitmap;
bitmap           5195 arch/x86/kvm/vmx/nested.c 		bitmap += 2048;
bitmap           5198 arch/x86/kvm/vmx/nested.c 		bitmap += 1024;
bitmap           5204 arch/x86/kvm/vmx/nested.c 		if (kvm_vcpu_read_guest(vcpu, bitmap + msr_index/8, &b, 1))
bitmap           5296 arch/x86/kvm/vmx/nested.c 	struct vmcs12 *vmcs12, gpa_t bitmap)
bitmap           5313 arch/x86/kvm/vmx/nested.c 	if (kvm_vcpu_read_guest(vcpu, bitmap + field/8, &b, 1))
bitmap            134 arch/x86/pci/irq.c 				DBG(" %d:%02x/%04x", j, e->irq[j].link, e->irq[j].bitmap);
bitmap            914 arch/x86/pci/irq.c 	mask = info->irq[pin - 1].bitmap;
bitmap            215 block/blk-mq-tag.c static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data)
bitmap            270 block/blk-mq-tag.c static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data)
bitmap            115 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            126 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            153 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            159 drivers/block/drbd/drbd_bitmap.c 	if (!(BM_LOCKED_MASK & device->bitmap->bm_flags))
bitmap            213 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            220 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            223 drivers/block/drbd/drbd_bitmap.c 	wake_up(&device->bitmap->bm_io_wait);
bitmap            242 drivers/block/drbd/drbd_bitmap.c 	device->bitmap->n_bitmap_hints = 0;
bitmap            256 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            258 drivers/block/drbd/drbd_bitmap.c 	if (page_nr >= device->bitmap->bm_number_of_pages) {
bitmap            260 drivers/block/drbd/drbd_bitmap.c 			 page_nr, (int)device->bitmap->bm_number_of_pages);
bitmap            263 drivers/block/drbd/drbd_bitmap.c 	page = device->bitmap->bm_pages[page_nr];
bitmap            437 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            446 drivers/block/drbd/drbd_bitmap.c 	device->bitmap = b;
bitmap            453 drivers/block/drbd/drbd_bitmap.c 	if (!expect(device->bitmap))
bitmap            455 drivers/block/drbd/drbd_bitmap.c 	return device->bitmap->bm_dev_capacity;
bitmap            462 drivers/block/drbd/drbd_bitmap.c 	if (!expect(device->bitmap))
bitmap            464 drivers/block/drbd/drbd_bitmap.c 	bm_free_pages(device->bitmap->bm_pages, device->bitmap->bm_number_of_pages);
bitmap            465 drivers/block/drbd/drbd_bitmap.c 	bm_vk_free(device->bitmap->bm_pages);
bitmap            466 drivers/block/drbd/drbd_bitmap.c 	kfree(device->bitmap);
bitmap            467 drivers/block/drbd/drbd_bitmap.c 	device->bitmap = NULL;
bitmap            634 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            758 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            787 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            798 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            813 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            862 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            898 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            914 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            943 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            983 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1036 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1260 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1300 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1354 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1404 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1476 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1511 drivers/block/drbd/drbd_bitmap.c 		bm_set_full_words_within_one_page(device->bitmap, page_nr, first_word, last_word);
bitmap           1527 drivers/block/drbd/drbd_bitmap.c 		bm_set_full_words_within_one_page(device->bitmap, last_page, first_word, last_word);
bitmap           1549 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1580 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap           1634 drivers/block/drbd/drbd_bitmap.c 	struct drbd_bitmap *b = device->bitmap;
bitmap            917 drivers/block/drbd/drbd_int.h 	struct drbd_bitmap *bitmap;
bitmap           1273 drivers/block/drbd/drbd_main.c 	if (!expect(device->bitmap))
bitmap           2072 drivers/block/drbd/drbd_main.c 	if (device->bitmap) {
bitmap           2252 drivers/block/drbd/drbd_main.c 	if (device->bitmap) /* should no longer be there. */
bitmap           1982 drivers/block/drbd/drbd_nl.c 	if (!device->bitmap) {
bitmap           2358 drivers/block/drbd/drbd_nl.c 		if (!device->bitmap) {
bitmap           1967 drivers/block/drbd/drbd_worker.c 	if (device->bitmap && device->ldev) {
bitmap             63 drivers/block/null_blk_main.c 	DECLARE_BITMAP(bitmap, MAP_SZ);
bitmap            665 drivers/block/null_blk_main.c 	memset(t_page->bitmap, 0, sizeof(t_page->bitmap));
bitmap            675 drivers/block/null_blk_main.c 	__set_bit(NULLB_PAGE_FREE, t_page->bitmap);
bitmap            676 drivers/block/null_blk_main.c 	if (test_bit(NULLB_PAGE_LOCK, t_page->bitmap))
bitmap            686 drivers/block/null_blk_main.c 	return find_first_bit(page->bitmap, size) == size;
bitmap            703 drivers/block/null_blk_main.c 		__clear_bit(sector_bit, t_page->bitmap);
bitmap            776 drivers/block/null_blk_main.c 	if (t_page && (for_write || test_bit(sector_bit, t_page->bitmap)))
bitmap            841 drivers/block/null_blk_main.c 	__clear_bit(NULLB_PAGE_LOCK, c_page->bitmap);
bitmap            842 drivers/block/null_blk_main.c 	if (test_bit(NULLB_PAGE_FREE, c_page->bitmap)) {
bitmap            860 drivers/block/null_blk_main.c 		if (test_bit(i, c_page->bitmap)) {
bitmap            864 drivers/block/null_blk_main.c 			__set_bit(i, t_page->bitmap);
bitmap            901 drivers/block/null_blk_main.c 		if (test_bit(NULLB_PAGE_LOCK, c_pages[i]->bitmap))
bitmap            904 drivers/block/null_blk_main.c 			__set_bit(NULLB_PAGE_LOCK, c_pages[i]->bitmap);
bitmap            957 drivers/block/null_blk_main.c 		__set_bit(sector & SECTOR_MASK, t_page->bitmap);
bitmap            429 drivers/block/xen-blkfront.c 		unsigned long *bitmap, *old;
bitmap            431 drivers/block/xen-blkfront.c 		bitmap = kcalloc(BITS_TO_LONGS(end), sizeof(*bitmap),
bitmap            433 drivers/block/xen-blkfront.c 		if (bitmap == NULL)
bitmap            439 drivers/block/xen-blkfront.c 			memcpy(bitmap, minors,
bitmap            440 drivers/block/xen-blkfront.c 			       BITS_TO_LONGS(nr_minors) * sizeof(*bitmap));
bitmap            441 drivers/block/xen-blkfront.c 			minors = bitmap;
bitmap            444 drivers/block/xen-blkfront.c 			old = bitmap;
bitmap            409 drivers/block/zram/zram_drv.c 	kvfree(zram->bitmap);
bitmap            410 drivers/block/zram/zram_drv.c 	zram->bitmap = NULL;
bitmap            452 drivers/block/zram/zram_drv.c 	unsigned long nr_pages, *bitmap = NULL;
bitmap            499 drivers/block/zram/zram_drv.c 	bitmap = kvzalloc(bitmap_sz, GFP_KERNEL);
bitmap            500 drivers/block/zram/zram_drv.c 	if (!bitmap) {
bitmap            515 drivers/block/zram/zram_drv.c 	zram->bitmap = bitmap;
bitmap            536 drivers/block/zram/zram_drv.c 	if (bitmap)
bitmap            537 drivers/block/zram/zram_drv.c 		kvfree(bitmap);
bitmap            557 drivers/block/zram/zram_drv.c 	blk_idx = find_next_zero_bit(zram->bitmap, zram->nr_pages, blk_idx);
bitmap            561 drivers/block/zram/zram_drv.c 	if (test_and_set_bit(blk_idx, zram->bitmap))
bitmap            572 drivers/block/zram/zram_drv.c 	was_set = test_and_clear_bit(blk_idx, zram->bitmap);
bitmap            122 drivers/block/zram/zram_drv.h 	unsigned long *bitmap;
bitmap             39 drivers/cpufreq/speedstep-lib.c 		u8 bitmap;		/* power on configuration bits
bitmap             62 drivers/cpufreq/speedstep-lib.c 		u8 bitmap;		/* power on configuration bits [18: 19]
bitmap             82 drivers/cpufreq/speedstep-lib.c 	while (msr_tmp != msr_decode_fsb[i].bitmap) {
bitmap             83 drivers/cpufreq/speedstep-lib.c 		if (msr_decode_fsb[i].bitmap == 0xff)
bitmap             95 drivers/cpufreq/speedstep-lib.c 	while (msr_lo != msr_decode_mult[j].bitmap) {
bitmap             96 drivers/cpufreq/speedstep-lib.c 		if (msr_decode_mult[j].bitmap == 0xff)
bitmap            485 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 	if (sizeof(cu_info->cu_bitmap) != sizeof(acu_info.bitmap))
bitmap            490 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 	memcpy(&cu_info->cu_bitmap[0], &acu_info.bitmap[0],
bitmap            491 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 	       sizeof(acu_info.bitmap));
bitmap            182 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h 	uint32_t bitmap[4][4];
bitmap            728 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		memcpy(&dev_info.cu_bitmap[0], &adev->gfx.cu_info.bitmap[0],
bitmap            729 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		       sizeof(adev->gfx.cu_info.bitmap));
bitmap           5388 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 							  u32 bitmap)
bitmap           5392 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	if (!bitmap)
bitmap           5395 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	data = bitmap << GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_WGPS__SHIFT;
bitmap           5438 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	u32 mask, bitmap, ao_bitmap, ao_cu_mask = 0;
bitmap           5456 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			bitmap = gfx_v10_0_get_cu_active_bitmap_per_sh(adev);
bitmap           5457 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			cu_info->bitmap[i][j] = bitmap;
bitmap           5460 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 				if (bitmap & mask) {
bitmap           1518 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 						 u32 bitmap)
bitmap           1522 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	if (!bitmap)
bitmap           1525 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	data = bitmap << GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_CUS__SHIFT;
bitmap           3576 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	u32 mask, bitmap, ao_bitmap, ao_cu_mask = 0;
bitmap           3600 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 			bitmap = gfx_v6_0_get_cu_enabled(adev);
bitmap           3601 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 			cu_info->bitmap[i][j] = bitmap;
bitmap           3604 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 				if (bitmap & mask) {
bitmap           3809 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 						 u32 bitmap)
bitmap           3813 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	if (!bitmap)
bitmap           3816 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	data = bitmap << GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_CUS__SHIFT;
bitmap           5109 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	u32 mask, bitmap, ao_bitmap, ao_cu_mask = 0;
bitmap           5133 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 			bitmap = gfx_v7_0_get_cu_active_bitmap(adev);
bitmap           5134 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 			cu_info->bitmap[i][j] = bitmap;
bitmap           5137 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 				if (bitmap & mask) {
bitmap           7103 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 						 u32 bitmap)
bitmap           7107 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	if (!bitmap)
bitmap           7110 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	data = bitmap << GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_CUS__SHIFT;
bitmap           7131 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	u32 mask, bitmap, ao_bitmap, ao_cu_mask = 0;
bitmap           7155 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			bitmap = gfx_v8_0_get_cu_active_bitmap(adev);
bitmap           7156 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			cu_info->bitmap[i][j] = bitmap;
bitmap           7159 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 				if (bitmap & mask) {
bitmap           1512 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 				if (cu_info->bitmap[i][j] & mask) {
bitmap           6422 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 						 u32 bitmap)
bitmap           6426 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	if (!bitmap)
bitmap           6429 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	data = bitmap << GC_USER_SHADER_ARRAY_CONFIG__INACTIVE_CUS__SHIFT;
bitmap           6454 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	u32 mask, bitmap, ao_bitmap, ao_cu_mask = 0;
bitmap           6480 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			bitmap = gfx_v9_0_get_cu_active_bitmap(adev);
bitmap           6494 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			cu_info->bitmap[i % 4][j + i / 4] = bitmap;
bitmap           6497 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 				if (bitmap & mask) {
bitmap           2826 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c static int vega10_stop_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap)
bitmap           2840 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (data->smu_features[i].smu_feature_bitmap & bitmap) {
bitmap           2863 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c static int vega10_start_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap)
bitmap           2869 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (data->smu_features[i].smu_feature_bitmap & bitmap) {
bitmap             76 drivers/gpu/drm/i915/i915_syncmap.c 	unsigned int bitmap;
bitmap             95 drivers/gpu/drm/i915/i915_syncmap.c 	BUILD_BUG_ON(KSYNCMAP > BITS_PER_TYPE((*root)->bitmap));
bitmap            192 drivers/gpu/drm/i915/i915_syncmap.c 	if (!(p->bitmap & BIT(idx)))
bitmap            209 drivers/gpu/drm/i915/i915_syncmap.c 	p->bitmap = 0;
bitmap            218 drivers/gpu/drm/i915/i915_syncmap.c 	p->bitmap |= BIT(idx);
bitmap            226 drivers/gpu/drm/i915/i915_syncmap.c 	p->bitmap |= BIT(idx);
bitmap            300 drivers/gpu/drm/i915/i915_syncmap.c 				GEM_BUG_ON(!(p->parent->bitmap & BIT(idx)));
bitmap            374 drivers/gpu/drm/i915/i915_syncmap.c 		while ((i = ffs(p->bitmap))) {
bitmap            375 drivers/gpu/drm/i915/i915_syncmap.c 			p->bitmap &= ~0u << i;
bitmap             62 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
bitmap             77 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
bitmap             80 drivers/gpu/drm/i915/selftests/i915_syncmap.c 					   last << 1 | !!(p->bitmap >> (i + 1)),
bitmap            183 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	if (hweight32((*sync)->bitmap) != 1) {
bitmap            185 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		       (*sync)->bitmap, hweight32((*sync)->bitmap));
bitmap            189 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno);
bitmap            252 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	if (hweight32((*sync)->bitmap) != 1) {
bitmap            254 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		       context, (*sync)->bitmap, hweight32((*sync)->bitmap));
bitmap            258 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno);
bitmap            314 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			if (hweight32(join->bitmap) != 2) {
bitmap            316 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				       join->bitmap, hweight32(join->bitmap));
bitmap            432 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			if (sync->bitmap != BIT(idx + 1) - 1) {
bitmap            435 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				       sync->bitmap, hweight32(sync->bitmap),
bitmap            498 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		if (sync->bitmap != BIT(KSYNCMAP) - 1) {
bitmap            500 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			       sync->bitmap, hweight32(sync->bitmap),
bitmap            523 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			if (!is_power_of_2(leaf->bitmap)) {
bitmap            525 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				       idx, leaf->bitmap, hweight32(leaf->bitmap));
bitmap            530 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			if (leaf->bitmap != BIT(idx)) {
bitmap            532 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				       idx, ilog2(leaf->bitmap), idx);
bitmap             63 drivers/gpu/drm/nouveau/nouveau_dmem.c 	unsigned long bitmap[BITS_TO_LONGS(DMEM_CHUNK_NPAGES)];
bitmap            108 drivers/gpu/drm/nouveau/nouveau_dmem.c 	clear_bit(idx, chunk->bitmap);
bitmap            242 drivers/gpu/drm/nouveau/nouveau_dmem.c 	bitmap_zero(chunk->bitmap, DMEM_CHUNK_NPAGES);
bitmap            305 drivers/gpu/drm/nouveau/nouveau_dmem.c 		i = find_first_zero_bit(chunk->bitmap, DMEM_CHUNK_NPAGES);
bitmap            308 drivers/gpu/drm/nouveau/nouveau_dmem.c 			set_bit(i, chunk->bitmap);
bitmap            312 drivers/gpu/drm/nouveau/nouveau_dmem.c 			i = find_next_zero_bit(chunk->bitmap,
bitmap            169 drivers/gpu/drm/omapdrm/tcm-sita.c 	ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size);
bitmap            189 drivers/gpu/drm/omapdrm/tcm-sita.c 	ret = l2r_t2b(w, h, align, offset, &pos, slot_bytes, tcm->bitmap,
bitmap            223 drivers/gpu/drm/omapdrm/tcm-sita.c 	free_slots(pos, w, h, tcm->bitmap, tcm->width);
bitmap            249 drivers/gpu/drm/omapdrm/tcm-sita.c 	tcm->bitmap = (unsigned long *)(tcm + 1);
bitmap            250 drivers/gpu/drm/omapdrm/tcm-sita.c 	bitmap_clear(tcm->bitmap, 0, width*height);
bitmap             63 drivers/gpu/drm/omapdrm/tcm.h 	unsigned long *bitmap;
bitmap            515 drivers/gpu/drm/qxl/qxl_dev.h 	QXLPHYSICAL bitmap;
bitmap            849 drivers/gpu/drm/qxl/qxl_dev.h 		struct qxl_bitmap bitmap;
bitmap            232 drivers/gpu/drm/qxl/qxl_draw.c 	drawable->u.copy.mask.bitmap = 0;
bitmap            205 drivers/gpu/drm/qxl/qxl_image.c 		image->u.bitmap.format = SPICE_BITMAP_FMT_1BIT_BE;
bitmap            208 drivers/gpu/drm/qxl/qxl_image.c 		image->u.bitmap.format = SPICE_BITMAP_FMT_24BIT;
bitmap            211 drivers/gpu/drm/qxl/qxl_image.c 		image->u.bitmap.format = SPICE_BITMAP_FMT_32BIT;
bitmap            218 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.flags = QXL_BITMAP_TOP_DOWN;
bitmap            219 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.x = width;
bitmap            220 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.y = height;
bitmap            221 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.stride = chunk_stride;
bitmap            222 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.palette = 0;
bitmap            223 drivers/gpu/drm/qxl/qxl_image.c 	image->u.bitmap.data = qxl_bo_physical_address(qdev, chunk_bo, 0);
bitmap           1619 drivers/gpu/drm/selftests/test-drm_mm.c 	unsigned long *bitmap;
bitmap           1635 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap = bitmap_zalloc(count, GFP_KERNEL);
bitmap           1636 drivers/gpu/drm/selftests/test-drm_mm.c 	if (!bitmap)
bitmap           1672 drivers/gpu/drm/selftests/test-drm_mm.c 				__set_bit(node_index(node), bitmap);
bitmap           1692 drivers/gpu/drm/selftests/test-drm_mm.c 				last = find_last_bit(bitmap, count);
bitmap           1699 drivers/gpu/drm/selftests/test-drm_mm.c 				__clear_bit(last, bitmap);
bitmap           1702 drivers/gpu/drm/selftests/test-drm_mm.c 			DRM_MM_BUG_ON(find_first_bit(bitmap, count) != count);
bitmap           1720 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap_free(bitmap);
bitmap           1733 drivers/gpu/drm/selftests/test-drm_mm.c 	unsigned long *bitmap;
bitmap           1748 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap = bitmap_zalloc(count, GFP_KERNEL);
bitmap           1749 drivers/gpu/drm/selftests/test-drm_mm.c 	if (!bitmap)
bitmap           1779 drivers/gpu/drm/selftests/test-drm_mm.c 				__set_bit(node_index(node), bitmap);
bitmap           1793 drivers/gpu/drm/selftests/test-drm_mm.c 				first = find_first_bit(bitmap, count);
bitmap           1799 drivers/gpu/drm/selftests/test-drm_mm.c 				__clear_bit(first, bitmap);
bitmap           1802 drivers/gpu/drm/selftests/test-drm_mm.c 			DRM_MM_BUG_ON(find_first_bit(bitmap, count) != count);
bitmap           1820 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap_free(bitmap);
bitmap            122 drivers/hid/hid-picolcd.h 	u8 *bitmap;		/* framebuffer */
bitmap            141 drivers/hid/hid-picolcd_fb.c static int picolcd_fb_update_tile(u8 *vbitmap, const u8 *bitmap, int bpp,
bitmap            150 drivers/hid/hid-picolcd_fb.c 			const u8 *bdata = bitmap + tile * 256 + chip * 8 + b * 32;
bitmap            158 drivers/hid/hid-picolcd_fb.c 			const u8 *bdata = bitmap + (tile * 256 + chip * 8 + b * 32) * 8;
bitmap            211 drivers/hid/hid-picolcd_fb.c 		memset(fbdata->bitmap, 0, PICOLCDFB_SIZE*fbdata->bpp);
bitmap            250 drivers/hid/hid-picolcd_fb.c 					fbdata->vbitmap, fbdata->bitmap,
bitmap            386 drivers/hid/hid-picolcd_fb.c 	o_fb   = fbdata->bitmap;
bitmap            539 drivers/hid/hid-picolcd_fb.c 	fbdata->bitmap  = vmalloc(PICOLCDFB_SIZE*8);
bitmap            540 drivers/hid/hid-picolcd_fb.c 	if (fbdata->bitmap == NULL) {
bitmap            544 drivers/hid/hid-picolcd_fb.c 	info->screen_base = (char __force __iomem *)fbdata->bitmap;
bitmap            545 drivers/hid/hid-picolcd_fb.c 	info->fix.smem_start = (unsigned long)fbdata->bitmap;
bitmap            577 drivers/hid/hid-picolcd_fb.c 		vfree(fbdata->bitmap);
bitmap            221 drivers/hwtracing/stm/core.c static int find_free_channels(unsigned long *bitmap, unsigned int start,
bitmap            228 drivers/hwtracing/stm/core.c 		pos = find_next_zero_bit(bitmap, end + 1, pos);
bitmap            235 drivers/hwtracing/stm/core.c 		for (i = 1; i < width && !test_bit(pos + i, bitmap); i++)
bitmap             39 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj)
bitmap             43 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_lock(&bitmap->lock);
bitmap             44 drivers/infiniband/hw/hns/hns_roce_alloc.c 	*obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last);
bitmap             45 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj >= bitmap->max) {
bitmap             46 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap             47 drivers/infiniband/hw/hns/hns_roce_alloc.c 			       & bitmap->mask;
bitmap             48 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj = find_first_zero_bit(bitmap->table, bitmap->max);
bitmap             51 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj < bitmap->max) {
bitmap             52 drivers/infiniband/hw/hns/hns_roce_alloc.c 		set_bit(*obj, bitmap->table);
bitmap             53 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->last = (*obj + 1);
bitmap             54 drivers/infiniband/hw/hns/hns_roce_alloc.c 		if (bitmap->last == bitmap->max)
bitmap             55 drivers/infiniband/hw/hns/hns_roce_alloc.c 			bitmap->last = 0;
bitmap             56 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj |= bitmap->top;
bitmap             61 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_unlock(&bitmap->lock);
bitmap             66 drivers/infiniband/hw/hns/hns_roce_alloc.c void hns_roce_bitmap_free(struct hns_roce_bitmap *bitmap, unsigned long obj,
bitmap             69 drivers/infiniband/hw/hns/hns_roce_alloc.c 	hns_roce_bitmap_free_range(bitmap, obj, 1, rr);
bitmap             72 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_bitmap_alloc_range(struct hns_roce_bitmap *bitmap, int cnt,
bitmap             79 drivers/infiniband/hw/hns/hns_roce_alloc.c 		return hns_roce_bitmap_alloc(bitmap, obj);
bitmap             81 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_lock(&bitmap->lock);
bitmap             83 drivers/infiniband/hw/hns/hns_roce_alloc.c 	*obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max,
bitmap             84 drivers/infiniband/hw/hns/hns_roce_alloc.c 					  bitmap->last, cnt, align - 1);
bitmap             85 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj >= bitmap->max) {
bitmap             86 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap             87 drivers/infiniband/hw/hns/hns_roce_alloc.c 			       & bitmap->mask;
bitmap             88 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, 0,
bitmap             92 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj < bitmap->max) {
bitmap             94 drivers/infiniband/hw/hns/hns_roce_alloc.c 			set_bit(*obj + i, bitmap->table);
bitmap             96 drivers/infiniband/hw/hns/hns_roce_alloc.c 		if (*obj == bitmap->last) {
bitmap             97 drivers/infiniband/hw/hns/hns_roce_alloc.c 			bitmap->last = (*obj + cnt);
bitmap             98 drivers/infiniband/hw/hns/hns_roce_alloc.c 			if (bitmap->last >= bitmap->max)
bitmap             99 drivers/infiniband/hw/hns/hns_roce_alloc.c 				bitmap->last = 0;
bitmap            101 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj |= bitmap->top;
bitmap            106 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_unlock(&bitmap->lock);
bitmap            111 drivers/infiniband/hw/hns/hns_roce_alloc.c void hns_roce_bitmap_free_range(struct hns_roce_bitmap *bitmap,
bitmap            117 drivers/infiniband/hw/hns/hns_roce_alloc.c 	obj &= bitmap->max + bitmap->reserved_top - 1;
bitmap            119 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_lock(&bitmap->lock);
bitmap            121 drivers/infiniband/hw/hns/hns_roce_alloc.c 		clear_bit(obj + i, bitmap->table);
bitmap            124 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->last = min(bitmap->last, obj);
bitmap            125 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap            126 drivers/infiniband/hw/hns/hns_roce_alloc.c 		       & bitmap->mask;
bitmap            127 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_unlock(&bitmap->lock);
bitmap            130 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_bitmap_init(struct hns_roce_bitmap *bitmap, u32 num, u32 mask,
bitmap            138 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->last = 0;
bitmap            139 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->top = 0;
bitmap            140 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->max = num - reserved_top;
bitmap            141 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->mask = mask;
bitmap            142 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->reserved_top = reserved_top;
bitmap            143 drivers/infiniband/hw/hns/hns_roce_alloc.c 	spin_lock_init(&bitmap->lock);
bitmap            144 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->table = kcalloc(BITS_TO_LONGS(bitmap->max), sizeof(long),
bitmap            146 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (!bitmap->table)
bitmap            150 drivers/infiniband/hw/hns/hns_roce_alloc.c 		set_bit(i, bitmap->table);
bitmap            155 drivers/infiniband/hw/hns/hns_roce_alloc.c void hns_roce_bitmap_cleanup(struct hns_roce_bitmap *bitmap)
bitmap            157 drivers/infiniband/hw/hns/hns_roce_alloc.c 	kfree(bitmap->table);
bitmap            117 drivers/infiniband/hw/hns/hns_roce_cq.c 	ret = hns_roce_bitmap_alloc(&cq_table->bitmap, &hr_cq->cqn);
bitmap            169 drivers/infiniband/hw/hns/hns_roce_cq.c 	hns_roce_bitmap_free(&cq_table->bitmap, hr_cq->cqn, BITMAP_NO_RR);
bitmap            204 drivers/infiniband/hw/hns/hns_roce_cq.c 	hns_roce_bitmap_free(&cq_table->bitmap, hr_cq->cqn, BITMAP_NO_RR);
bitmap            563 drivers/infiniband/hw/hns/hns_roce_cq.c 	return hns_roce_bitmap_init(&cq_table->bitmap, hr_dev->caps.num_cqs,
bitmap            570 drivers/infiniband/hw/hns/hns_roce_cq.c 	hns_roce_bitmap_cleanup(&hr_dev->cq_table.bitmap);
bitmap            519 drivers/infiniband/hw/hns/hns_roce_device.h 	unsigned long			*bitmap;
bitmap            547 drivers/infiniband/hw/hns/hns_roce_device.h 	struct hns_roce_bitmap bitmap;
bitmap            551 drivers/infiniband/hw/hns/hns_roce_device.h 	struct hns_roce_bitmap		bitmap;
bitmap            560 drivers/infiniband/hw/hns/hns_roce_device.h 	struct hns_roce_bitmap		bitmap;
bitmap            566 drivers/infiniband/hw/hns/hns_roce_device.h 	struct hns_roce_bitmap		bitmap;
bitmap           1167 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj);
bitmap           1168 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_bitmap_free(struct hns_roce_bitmap *bitmap, unsigned long obj,
bitmap           1170 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_bitmap_init(struct hns_roce_bitmap *bitmap, u32 num, u32 mask,
bitmap           1172 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_bitmap_cleanup(struct hns_roce_bitmap *bitmap);
bitmap           1174 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_bitmap_alloc_range(struct hns_roce_bitmap *bitmap, int cnt,
bitmap           1176 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_bitmap_free_range(struct hns_roce_bitmap *bitmap,
bitmap           2481 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	bitmap_clear(srq->idx_que.bitmap, wqe_index, 1);
bitmap           6209 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (unlikely(bitmap_full(idx_que->bitmap, size)))
bitmap           6212 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	wqe_idx = find_first_zero_bit(idx_que->bitmap, size);
bitmap           6214 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	bitmap_set(idx_que->bitmap, wqe_idx, 1);
bitmap             98 drivers/infiniband/hw/hns/hns_roce_pd.c 	ret = hns_roce_bitmap_alloc(&hr_dev->uar_table.bitmap, &uar->logic_idx);
bitmap            125 drivers/infiniband/hw/hns/hns_roce_pd.c 	hns_roce_bitmap_free(&hr_dev->uar_table.bitmap, uar->logic_idx,
bitmap            131 drivers/infiniband/hw/hns/hns_roce_pd.c 	return hns_roce_bitmap_init(&hr_dev->uar_table.bitmap,
bitmap            139 drivers/infiniband/hw/hns/hns_roce_pd.c 	hns_roce_bitmap_cleanup(&hr_dev->uar_table.bitmap);
bitmap            116 drivers/infiniband/hw/hns/hns_roce_qp.c 	return hns_roce_bitmap_alloc_range(&qp_table->bitmap, cnt, align,
bitmap            268 drivers/infiniband/hw/hns/hns_roce_qp.c 	hns_roce_bitmap_free_range(&qp_table->bitmap, base_qpn, cnt, BITMAP_RR);
bitmap           1317 drivers/infiniband/hw/hns/hns_roce_qp.c 	ret = hns_roce_bitmap_init(&qp_table->bitmap, hr_dev->caps.num_qps,
bitmap           1331 drivers/infiniband/hw/hns/hns_roce_qp.c 	hns_roce_bitmap_cleanup(&hr_dev->qp_table.bitmap);
bitmap            113 drivers/infiniband/hw/hns/hns_roce_srq.c 	ret = hns_roce_bitmap_alloc(&srq_table->bitmap, &srq->srqn);
bitmap            153 drivers/infiniband/hw/hns/hns_roce_srq.c 	hns_roce_bitmap_free(&srq_table->bitmap, srq->srqn, BITMAP_NO_RR);
bitmap            175 drivers/infiniband/hw/hns/hns_roce_srq.c 	hns_roce_bitmap_free(&srq_table->bitmap, srq->srqn, BITMAP_NO_RR);
bitmap            258 drivers/infiniband/hw/hns/hns_roce_srq.c 	idx_que->bitmap = bitmap_zalloc(srq->max, GFP_KERNEL);
bitmap            259 drivers/infiniband/hw/hns/hns_roce_srq.c 	if (!idx_que->bitmap)
bitmap            266 drivers/infiniband/hw/hns/hns_roce_srq.c 		bitmap_free(idx_que->bitmap);
bitmap            329 drivers/infiniband/hw/hns/hns_roce_srq.c 	kfree(srq->idx_que.bitmap);
bitmap            355 drivers/infiniband/hw/hns/hns_roce_srq.c 	kfree(srq->idx_que.bitmap);
bitmap            469 drivers/infiniband/hw/hns/hns_roce_srq.c 	return hns_roce_bitmap_init(&srq_table->bitmap, hr_dev->caps.num_srqs,
bitmap            476 drivers/infiniband/hw/hns/hns_roce_srq.c 	hns_roce_bitmap_cleanup(&hr_dev->srq_table.bitmap);
bitmap           1138 drivers/input/input.c 				   unsigned long *bitmap, int max)
bitmap           1148 drivers/input/input.c 					 bitmap[i], skip_empty)) {
bitmap           1407 drivers/input/input.c static int input_print_bitmap(char *buf, int buf_size, unsigned long *bitmap,
bitmap           1462 drivers/input/input.c static int input_print_bitmap(char *buf, int buf_size, unsigned long *bitmap,
bitmap           1471 drivers/input/input.c 					    bitmap[i], skip_empty);
bitmap           1559 drivers/input/input.c 				   const char *name, unsigned long *bitmap, int max)
bitmap           1568 drivers/input/input.c 				 bitmap, max, false);
bitmap            235 drivers/input/keyboard/gpio_keys.c 	const unsigned long *bitmap = get_bm_events_by_type(ddata->input, type);
bitmap            249 drivers/input/keyboard/gpio_keys.c 	if (!bitmap_subset(bits, bitmap, n_events)) {
bitmap           2790 drivers/iommu/arm-smmu-v3.c 	unsigned long *bitmap = data;
bitmap           2791 drivers/iommu/arm-smmu-v3.c 	bitmap_free(bitmap);
bitmap           2799 drivers/iommu/arm-smmu-v3.c 	atomic_long_t *bitmap;
bitmap           2804 drivers/iommu/arm-smmu-v3.c 	bitmap = (atomic_long_t *)bitmap_zalloc(nents, GFP_KERNEL);
bitmap           2805 drivers/iommu/arm-smmu-v3.c 	if (!bitmap) {
bitmap           2809 drivers/iommu/arm-smmu-v3.c 		cmdq->valid_map = bitmap;
bitmap           2810 drivers/iommu/arm-smmu-v3.c 		devm_add_action(smmu->dev, arm_smmu_cmdq_free_bitmap, bitmap);
bitmap            128 drivers/iommu/intel_irq_remapping.c 	index = bitmap_find_free_region(table->bitmap,
bitmap            256 drivers/iommu/intel_irq_remapping.c 	bitmap_release_region(iommu->ir_table->bitmap, index,
bitmap            465 drivers/iommu/intel_irq_remapping.c 			bitmap_set(iommu->ir_table->bitmap, i, 1);
bitmap            533 drivers/iommu/intel_irq_remapping.c 	unsigned long *bitmap;
bitmap            551 drivers/iommu/intel_irq_remapping.c 	bitmap = bitmap_zalloc(INTR_REMAP_TABLE_ENTRIES, GFP_ATOMIC);
bitmap            552 drivers/iommu/intel_irq_remapping.c 	if (bitmap == NULL) {
bitmap            577 drivers/iommu/intel_irq_remapping.c 	ir_table->bitmap = bitmap;
bitmap            618 drivers/iommu/intel_irq_remapping.c 	bitmap_free(bitmap);
bitmap            642 drivers/iommu/intel_irq_remapping.c 		bitmap_free(iommu->ir_table->bitmap);
bitmap           1506 drivers/iommu/intel_irq_remapping.c 			if (!bitmap_empty(iommu->ir_table->bitmap,
bitmap           1592 drivers/irqchip/irq-gic-v3-its.c 	unsigned long *bitmap = NULL;
bitmap           1609 drivers/irqchip/irq-gic-v3-its.c 	bitmap = kcalloc(BITS_TO_LONGS(nr_irqs), sizeof (long), GFP_ATOMIC);
bitmap           1610 drivers/irqchip/irq-gic-v3-its.c 	if (!bitmap)
bitmap           1616 drivers/irqchip/irq-gic-v3-its.c 	if (!bitmap)
bitmap           1619 drivers/irqchip/irq-gic-v3-its.c 	return bitmap;
bitmap           1622 drivers/irqchip/irq-gic-v3-its.c static void its_lpi_free(unsigned long *bitmap, u32 base, u32 nr_ids)
bitmap           1625 drivers/irqchip/irq-gic-v3-its.c 	kfree(bitmap);
bitmap           3082 drivers/irqchip/irq-gic-v3-its.c 	unsigned long *bitmap;
bitmap           3088 drivers/irqchip/irq-gic-v3-its.c 	bitmap = its_lpi_alloc(roundup_pow_of_two(nr_irqs), &base, &nr_ids);
bitmap           3089 drivers/irqchip/irq-gic-v3-its.c 	if (!bitmap)
bitmap           3093 drivers/irqchip/irq-gic-v3-its.c 		its_lpi_free(bitmap, base, nr_ids);
bitmap           3099 drivers/irqchip/irq-gic-v3-its.c 		its_lpi_free(bitmap, base, nr_ids);
bitmap           3103 drivers/irqchip/irq-gic-v3-its.c 	vm->db_bitmap = bitmap;
bitmap           3119 drivers/irqchip/irq-gic-v3-its.c 		set_bit(i, bitmap);
bitmap           3126 drivers/irqchip/irq-gic-v3-its.c 		its_lpi_free(bitmap, base, nr_ids);
bitmap             21 drivers/irqchip/irq-partition-percpu.c 	unsigned long			*bitmap;
bitmap            122 drivers/irqchip/irq-partition-percpu.c 	for_each_set_bit(hwirq, part->bitmap, part->nr_parts) {
bitmap            154 drivers/irqchip/irq-partition-percpu.c 	set_bit(hwirq, part->bitmap);
bitmap            221 drivers/irqchip/irq-partition-percpu.c 	desc->bitmap = kcalloc(BITS_TO_LONGS(nr_parts), sizeof(long),
bitmap            223 drivers/irqchip/irq-partition-percpu.c 	if (WARN_ON(!desc->bitmap))
bitmap            176 drivers/md/bcache/journal.c 		__set_bit(b, bitmap);					\
bitmap            188 drivers/md/bcache/journal.c 		DECLARE_BITMAP(bitmap, SB_JOURNAL_BUCKETS);
bitmap            192 drivers/md/bcache/journal.c 		bitmap_zero(bitmap, SB_JOURNAL_BUCKETS);
bitmap            207 drivers/md/bcache/journal.c 			if (test_bit(l, bitmap))
bitmap            220 drivers/md/bcache/journal.c 		for (l = find_first_zero_bit(bitmap, ca->sb.njournal_buckets);
bitmap            222 drivers/md/bcache/journal.c 		     l = find_next_zero_bit(bitmap, ca->sb.njournal_buckets,
bitmap            235 drivers/md/bcache/journal.c 		r = find_next_bit(bitmap, ca->sb.njournal_buckets, l + 1);
bitmap            267 drivers/md/bcache/journal.c 			if (test_bit(l, bitmap))
bitmap            315 drivers/md/dm-integrity.c 	unsigned long *bitmap;
bitmap            500 drivers/md/dm-integrity.c static bool block_bitmap_op(struct dm_integrity_c *ic, struct page_list *bitmap,
bitmap            536 drivers/md/dm-integrity.c 	data = lowmem_page_address(bitmap[page].page);
bitmap           4063 drivers/md/dm-integrity.c 			bbs->bitmap = lowmem_page_address(ic->journal[pl_index].page) + pl_offset;
bitmap           3959 drivers/md/dm-raid.c 	if (test_bit(RT_FLAG_RS_BITMAP_LOADED, &rs->runtime_flags) && mddev->bitmap &&
bitmap           3961 drivers/md/dm-raid.c 		r = md_bitmap_resize(mddev->bitmap, mddev->dev_sectors,
bitmap           1929 drivers/md/dm-zoned-metadata.c static unsigned int dmz_set_bits(unsigned long *bitmap,
bitmap           1940 drivers/md/dm-zoned-metadata.c 			addr = bitmap + BIT_WORD(bit);
bitmap           1949 drivers/md/dm-zoned-metadata.c 		if (!test_and_set_bit(bit, bitmap))
bitmap           2087 drivers/md/dm-zoned-metadata.c static int dmz_clear_bits(unsigned long *bitmap, int bit, int nr_bits)
bitmap           2097 drivers/md/dm-zoned-metadata.c 			addr = bitmap + BIT_WORD(bit);
bitmap           2106 drivers/md/dm-zoned-metadata.c 		if (test_and_clear_bit(bit, bitmap))
bitmap           2198 drivers/md/dm-zoned-metadata.c 	unsigned long *bitmap;
bitmap           2210 drivers/md/dm-zoned-metadata.c 		bitmap = (unsigned long *) mblk->data;
bitmap           2214 drivers/md/dm-zoned-metadata.c 			set_bit = find_next_bit(bitmap, zone_bits, bit);
bitmap           2216 drivers/md/dm-zoned-metadata.c 			set_bit = find_next_zero_bit(bitmap, zone_bits, bit);
bitmap           2275 drivers/md/dm-zoned-metadata.c static int dmz_count_bits(void *bitmap, int bit, int nr_bits)
bitmap           2284 drivers/md/dm-zoned-metadata.c 			addr = (unsigned long *)bitmap + BIT_WORD(bit);
bitmap           2292 drivers/md/dm-zoned-metadata.c 		if (test_bit(bit, bitmap))
bitmap           2309 drivers/md/dm-zoned-metadata.c 	void *bitmap;
bitmap           2321 drivers/md/dm-zoned-metadata.c 		bitmap = mblk->data;
bitmap           2324 drivers/md/dm-zoned-metadata.c 		n += dmz_count_bits(bitmap, bit, nr_bits);
bitmap             35 drivers/md/md-bitmap.c static inline char *bmname(struct bitmap *bitmap)
bitmap             37 drivers/md/md-bitmap.c 	return bitmap->mddev ? mdname(bitmap->mddev) : "mdX";
bitmap             50 drivers/md/md-bitmap.c static int md_bitmap_checkpage(struct bitmap_counts *bitmap,
bitmap             52 drivers/md/md-bitmap.c __releases(bitmap->lock)
bitmap             53 drivers/md/md-bitmap.c __acquires(bitmap->lock)
bitmap             57 drivers/md/md-bitmap.c 	if (page >= bitmap->pages) {
bitmap             65 drivers/md/md-bitmap.c 	if (bitmap->bp[page].hijacked) /* it's hijacked, don't try to alloc */
bitmap             68 drivers/md/md-bitmap.c 	if (bitmap->bp[page].map) /* page is already allocated, just return */
bitmap             76 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->lock);
bitmap             91 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->lock);
bitmap            100 drivers/md/md-bitmap.c 		if (!bitmap->bp[page].map)
bitmap            101 drivers/md/md-bitmap.c 			bitmap->bp[page].hijacked = 1;
bitmap            102 drivers/md/md-bitmap.c 	} else if (bitmap->bp[page].map ||
bitmap            103 drivers/md/md-bitmap.c 		   bitmap->bp[page].hijacked) {
bitmap            110 drivers/md/md-bitmap.c 		bitmap->bp[page].map = mappage;
bitmap            111 drivers/md/md-bitmap.c 		bitmap->missing_pages--;
bitmap            119 drivers/md/md-bitmap.c static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page)
bitmap            123 drivers/md/md-bitmap.c 	if (bitmap->bp[page].count) /* page is still busy */
bitmap            128 drivers/md/md-bitmap.c 	if (bitmap->bp[page].hijacked) { /* page was hijacked, undo this now */
bitmap            129 drivers/md/md-bitmap.c 		bitmap->bp[page].hijacked = 0;
bitmap            130 drivers/md/md-bitmap.c 		bitmap->bp[page].map = NULL;
bitmap            133 drivers/md/md-bitmap.c 		ptr = bitmap->bp[page].map;
bitmap            134 drivers/md/md-bitmap.c 		bitmap->bp[page].map = NULL;
bitmap            135 drivers/md/md-bitmap.c 		bitmap->missing_pages++;
bitmap            212 drivers/md/md-bitmap.c static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait)
bitmap            216 drivers/md/md-bitmap.c 	struct mddev *mddev = bitmap->mddev;
bitmap            217 drivers/md/md-bitmap.c 	struct bitmap_storage *store = &bitmap->storage;
bitmap            284 drivers/md/md-bitmap.c static void md_bitmap_file_kick(struct bitmap *bitmap);
bitmap            288 drivers/md/md-bitmap.c static void write_page(struct bitmap *bitmap, struct page *page, int wait)
bitmap            292 drivers/md/md-bitmap.c 	if (bitmap->storage.file == NULL) {
bitmap            293 drivers/md/md-bitmap.c 		switch (write_sb_page(bitmap, page, wait)) {
bitmap            295 drivers/md/md-bitmap.c 			set_bit(BITMAP_WRITE_ERROR, &bitmap->flags);
bitmap            302 drivers/md/md-bitmap.c 			atomic_inc(&bitmap->pending_writes);
bitmap            310 drivers/md/md-bitmap.c 			wait_event(bitmap->write_wait,
bitmap            311 drivers/md/md-bitmap.c 				   atomic_read(&bitmap->pending_writes)==0);
bitmap            313 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags))
bitmap            314 drivers/md/md-bitmap.c 		md_bitmap_file_kick(bitmap);
bitmap            319 drivers/md/md-bitmap.c 	struct bitmap *bitmap = bh->b_private;
bitmap            322 drivers/md/md-bitmap.c 		set_bit(BITMAP_WRITE_ERROR, &bitmap->flags);
bitmap            323 drivers/md/md-bitmap.c 	if (atomic_dec_and_test(&bitmap->pending_writes))
bitmap            324 drivers/md/md-bitmap.c 		wake_up(&bitmap->write_wait);
bitmap            360 drivers/md/md-bitmap.c 		     struct bitmap *bitmap,
bitmap            396 drivers/md/md-bitmap.c 			bh->b_private = bitmap;
bitmap            397 drivers/md/md-bitmap.c 			atomic_inc(&bitmap->pending_writes);
bitmap            407 drivers/md/md-bitmap.c 	wait_event(bitmap->write_wait,
bitmap            408 drivers/md/md-bitmap.c 		   atomic_read(&bitmap->pending_writes)==0);
bitmap            409 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags))
bitmap            429 drivers/md/md-bitmap.c static void md_bitmap_wait_writes(struct bitmap *bitmap)
bitmap            431 drivers/md/md-bitmap.c 	if (bitmap->storage.file)
bitmap            432 drivers/md/md-bitmap.c 		wait_event(bitmap->write_wait,
bitmap            433 drivers/md/md-bitmap.c 			   atomic_read(&bitmap->pending_writes)==0);
bitmap            442 drivers/md/md-bitmap.c 		md_super_wait(bitmap->mddev);
bitmap            447 drivers/md/md-bitmap.c void md_bitmap_update_sb(struct bitmap *bitmap)
bitmap            451 drivers/md/md-bitmap.c 	if (!bitmap || !bitmap->mddev) /* no bitmap for this array */
bitmap            453 drivers/md/md-bitmap.c 	if (bitmap->mddev->bitmap_info.external)
bitmap            455 drivers/md/md-bitmap.c 	if (!bitmap->storage.sb_page) /* no superblock */
bitmap            457 drivers/md/md-bitmap.c 	sb = kmap_atomic(bitmap->storage.sb_page);
bitmap            458 drivers/md/md-bitmap.c 	sb->events = cpu_to_le64(bitmap->mddev->events);
bitmap            459 drivers/md/md-bitmap.c 	if (bitmap->mddev->events < bitmap->events_cleared)
bitmap            461 drivers/md/md-bitmap.c 		bitmap->events_cleared = bitmap->mddev->events;
bitmap            462 drivers/md/md-bitmap.c 	sb->events_cleared = cpu_to_le64(bitmap->events_cleared);
bitmap            467 drivers/md/md-bitmap.c 	sb->state = cpu_to_le32(bitmap->flags & ~BIT(BITMAP_WRITE_ERROR));
bitmap            469 drivers/md/md-bitmap.c 	sb->daemon_sleep = cpu_to_le32(bitmap->mddev->bitmap_info.daemon_sleep/HZ);
bitmap            470 drivers/md/md-bitmap.c 	sb->write_behind = cpu_to_le32(bitmap->mddev->bitmap_info.max_write_behind);
bitmap            472 drivers/md/md-bitmap.c 	sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors);
bitmap            473 drivers/md/md-bitmap.c 	sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize);
bitmap            474 drivers/md/md-bitmap.c 	sb->nodes = cpu_to_le32(bitmap->mddev->bitmap_info.nodes);
bitmap            475 drivers/md/md-bitmap.c 	sb->sectors_reserved = cpu_to_le32(bitmap->mddev->
bitmap            478 drivers/md/md-bitmap.c 	write_page(bitmap, bitmap->storage.sb_page, 1);
bitmap            483 drivers/md/md-bitmap.c void md_bitmap_print_sb(struct bitmap *bitmap)
bitmap            487 drivers/md/md-bitmap.c 	if (!bitmap || !bitmap->storage.sb_page)
bitmap            489 drivers/md/md-bitmap.c 	sb = kmap_atomic(bitmap->storage.sb_page);
bitmap            490 drivers/md/md-bitmap.c 	pr_debug("%s: bitmap file superblock:\n", bmname(bitmap));
bitmap            522 drivers/md/md-bitmap.c static int md_bitmap_new_disk_sb(struct bitmap *bitmap)
bitmap            527 drivers/md/md-bitmap.c 	bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO);
bitmap            528 drivers/md/md-bitmap.c 	if (bitmap->storage.sb_page == NULL)
bitmap            530 drivers/md/md-bitmap.c 	bitmap->storage.sb_page->index = 0;
bitmap            532 drivers/md/md-bitmap.c 	sb = kmap_atomic(bitmap->storage.sb_page);
bitmap            537 drivers/md/md-bitmap.c 	chunksize = bitmap->mddev->bitmap_info.chunksize;
bitmap            546 drivers/md/md-bitmap.c 	daemon_sleep = bitmap->mddev->bitmap_info.daemon_sleep;
bitmap            552 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.daemon_sleep = daemon_sleep;
bitmap            558 drivers/md/md-bitmap.c 	write_behind = bitmap->mddev->bitmap_info.max_write_behind;
bitmap            562 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.max_write_behind = write_behind;
bitmap            565 drivers/md/md-bitmap.c 	sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors);
bitmap            567 drivers/md/md-bitmap.c 	memcpy(sb->uuid, bitmap->mddev->uuid, 16);
bitmap            569 drivers/md/md-bitmap.c 	set_bit(BITMAP_STALE, &bitmap->flags);
bitmap            570 drivers/md/md-bitmap.c 	sb->state = cpu_to_le32(bitmap->flags);
bitmap            571 drivers/md/md-bitmap.c 	bitmap->events_cleared = bitmap->mddev->events;
bitmap            572 drivers/md/md-bitmap.c 	sb->events_cleared = cpu_to_le64(bitmap->mddev->events);
bitmap            573 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.nodes = 0;
bitmap            581 drivers/md/md-bitmap.c static int md_bitmap_read_sb(struct bitmap *bitmap)
bitmap            591 drivers/md/md-bitmap.c 	loff_t offset = bitmap->mddev->bitmap_info.offset;
bitmap            593 drivers/md/md-bitmap.c 	if (!bitmap->storage.file && !bitmap->mddev->bitmap_info.offset) {
bitmap            597 drivers/md/md-bitmap.c 		set_bit(BITMAP_STALE, &bitmap->flags);
bitmap            605 drivers/md/md-bitmap.c 	bitmap->storage.sb_page = sb_page;
bitmap            609 drivers/md/md-bitmap.c 	if (bitmap->cluster_slot >= 0) {
bitmap            610 drivers/md/md-bitmap.c 		sector_t bm_blocks = bitmap->mddev->resync_max_sectors;
bitmap            613 drivers/md/md-bitmap.c 			   bitmap->mddev->bitmap_info.chunksize >> 9);
bitmap            618 drivers/md/md-bitmap.c 		offset = bitmap->mddev->bitmap_info.offset + (bitmap->cluster_slot * (bm_blocks << 3));
bitmap            620 drivers/md/md-bitmap.c 			bitmap->cluster_slot, offset);
bitmap            623 drivers/md/md-bitmap.c 	if (bitmap->storage.file) {
bitmap            624 drivers/md/md-bitmap.c 		loff_t isize = i_size_read(bitmap->storage.file->f_mapping->host);
bitmap            627 drivers/md/md-bitmap.c 		err = read_page(bitmap->storage.file, 0,
bitmap            628 drivers/md/md-bitmap.c 				bitmap, bytes, sb_page);
bitmap            630 drivers/md/md-bitmap.c 		err = read_sb_page(bitmap->mddev,
bitmap            650 drivers/md/md-bitmap.c 		strlcpy(bitmap->mddev->bitmap_info.cluster_name,
bitmap            670 drivers/md/md-bitmap.c 			bmname(bitmap), reason);
bitmap            675 drivers/md/md-bitmap.c 	sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors);
bitmap            677 drivers/md/md-bitmap.c 	if (bitmap->mddev->persistent) {
bitmap            682 drivers/md/md-bitmap.c 		if (memcmp(sb->uuid, bitmap->mddev->uuid, 16)) {
bitmap            684 drivers/md/md-bitmap.c 				bmname(bitmap));
bitmap            688 drivers/md/md-bitmap.c 		if (!nodes && (events < bitmap->mddev->events)) {
bitmap            690 drivers/md/md-bitmap.c 				bmname(bitmap), events,
bitmap            691 drivers/md/md-bitmap.c 				(unsigned long long) bitmap->mddev->events);
bitmap            692 drivers/md/md-bitmap.c 			set_bit(BITMAP_STALE, &bitmap->flags);
bitmap            697 drivers/md/md-bitmap.c 	bitmap->flags |= le32_to_cpu(sb->state);
bitmap            699 drivers/md/md-bitmap.c 		set_bit(BITMAP_HOSTENDIAN, &bitmap->flags);
bitmap            700 drivers/md/md-bitmap.c 	bitmap->events_cleared = le64_to_cpu(sb->events_cleared);
bitmap            701 drivers/md/md-bitmap.c 	strlcpy(bitmap->mddev->bitmap_info.cluster_name, sb->cluster_name, 64);
bitmap            707 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.chunksize = chunksize;
bitmap            708 drivers/md/md-bitmap.c 	if (err == 0 && nodes && (bitmap->cluster_slot < 0)) {
bitmap            709 drivers/md/md-bitmap.c 		err = md_setup_cluster(bitmap->mddev, nodes);
bitmap            712 drivers/md/md-bitmap.c 				bmname(bitmap), err);
bitmap            715 drivers/md/md-bitmap.c 		bitmap->cluster_slot = md_cluster_ops->slot_number(bitmap->mddev);
bitmap            721 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_STALE, &bitmap->flags))
bitmap            722 drivers/md/md-bitmap.c 		bitmap->events_cleared = bitmap->mddev->events;
bitmap            723 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.chunksize = chunksize;
bitmap            724 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.daemon_sleep = daemon_sleep;
bitmap            725 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.max_write_behind = write_behind;
bitmap            726 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.nodes = nodes;
bitmap            727 drivers/md/md-bitmap.c 	if (bitmap->mddev->bitmap_info.space == 0 ||
bitmap            728 drivers/md/md-bitmap.c 	    bitmap->mddev->bitmap_info.space > sectors_reserved)
bitmap            729 drivers/md/md-bitmap.c 		bitmap->mddev->bitmap_info.space = sectors_reserved;
bitmap            731 drivers/md/md-bitmap.c 		md_bitmap_print_sb(bitmap);
bitmap            732 drivers/md/md-bitmap.c 		if (bitmap->cluster_slot < 0)
bitmap            733 drivers/md/md-bitmap.c 			md_cluster_stop(bitmap->mddev);
bitmap            866 drivers/md/md-bitmap.c static void md_bitmap_file_kick(struct bitmap *bitmap)
bitmap            870 drivers/md/md-bitmap.c 	if (!test_and_set_bit(BITMAP_STALE, &bitmap->flags)) {
bitmap            871 drivers/md/md-bitmap.c 		md_bitmap_update_sb(bitmap);
bitmap            873 drivers/md/md-bitmap.c 		if (bitmap->storage.file) {
bitmap            876 drivers/md/md-bitmap.c 				ptr = file_path(bitmap->storage.file,
bitmap            880 drivers/md/md-bitmap.c 				bmname(bitmap), IS_ERR(ptr) ? "" : ptr);
bitmap            885 drivers/md/md-bitmap.c 				bmname(bitmap));
bitmap            896 drivers/md/md-bitmap.c static inline void set_page_attr(struct bitmap *bitmap, int pnum,
bitmap            899 drivers/md/md-bitmap.c 	set_bit((pnum<<2) + attr, bitmap->storage.filemap_attr);
bitmap            902 drivers/md/md-bitmap.c static inline void clear_page_attr(struct bitmap *bitmap, int pnum,
bitmap            905 drivers/md/md-bitmap.c 	clear_bit((pnum<<2) + attr, bitmap->storage.filemap_attr);
bitmap            908 drivers/md/md-bitmap.c static inline int test_page_attr(struct bitmap *bitmap, int pnum,
bitmap            911 drivers/md/md-bitmap.c 	return test_bit((pnum<<2) + attr, bitmap->storage.filemap_attr);
bitmap            914 drivers/md/md-bitmap.c static inline int test_and_clear_page_attr(struct bitmap *bitmap, int pnum,
bitmap            918 drivers/md/md-bitmap.c 				  bitmap->storage.filemap_attr);
bitmap            927 drivers/md/md-bitmap.c static void md_bitmap_file_set_bit(struct bitmap *bitmap, sector_t block)
bitmap            932 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
bitmap            933 drivers/md/md-bitmap.c 	struct bitmap_storage *store = &bitmap->storage;
bitmap            936 drivers/md/md-bitmap.c 	if (mddev_is_clustered(bitmap->mddev))
bitmap            937 drivers/md/md-bitmap.c 		node_offset = bitmap->cluster_slot * store->file_pages;
bitmap            939 drivers/md/md-bitmap.c 	page = filemap_get_page(&bitmap->storage, chunk);
bitmap            942 drivers/md/md-bitmap.c 	bit = file_page_offset(&bitmap->storage, chunk);
bitmap            946 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
bitmap            953 drivers/md/md-bitmap.c 	set_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_DIRTY);
bitmap            956 drivers/md/md-bitmap.c static void md_bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block)
bitmap            961 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
bitmap            962 drivers/md/md-bitmap.c 	struct bitmap_storage *store = &bitmap->storage;
bitmap            965 drivers/md/md-bitmap.c 	if (mddev_is_clustered(bitmap->mddev))
bitmap            966 drivers/md/md-bitmap.c 		node_offset = bitmap->cluster_slot * store->file_pages;
bitmap            968 drivers/md/md-bitmap.c 	page = filemap_get_page(&bitmap->storage, chunk);
bitmap            971 drivers/md/md-bitmap.c 	bit = file_page_offset(&bitmap->storage, chunk);
bitmap            973 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
bitmap            978 drivers/md/md-bitmap.c 	if (!test_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_NEEDWRITE)) {
bitmap            979 drivers/md/md-bitmap.c 		set_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_PENDING);
bitmap            980 drivers/md/md-bitmap.c 		bitmap->allclean = 0;
bitmap            984 drivers/md/md-bitmap.c static int md_bitmap_file_test_bit(struct bitmap *bitmap, sector_t block)
bitmap            989 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
bitmap            992 drivers/md/md-bitmap.c 	page = filemap_get_page(&bitmap->storage, chunk);
bitmap            995 drivers/md/md-bitmap.c 	bit = file_page_offset(&bitmap->storage, chunk);
bitmap            997 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
bitmap           1009 drivers/md/md-bitmap.c void md_bitmap_unplug(struct bitmap *bitmap)
bitmap           1015 drivers/md/md-bitmap.c 	if (!bitmap || !bitmap->storage.filemap ||
bitmap           1016 drivers/md/md-bitmap.c 	    test_bit(BITMAP_STALE, &bitmap->flags))
bitmap           1021 drivers/md/md-bitmap.c 	for (i = 0; i < bitmap->storage.file_pages; i++) {
bitmap           1022 drivers/md/md-bitmap.c 		if (!bitmap->storage.filemap)
bitmap           1024 drivers/md/md-bitmap.c 		dirty = test_and_clear_page_attr(bitmap, i, BITMAP_PAGE_DIRTY);
bitmap           1025 drivers/md/md-bitmap.c 		need_write = test_and_clear_page_attr(bitmap, i,
bitmap           1029 drivers/md/md-bitmap.c 				md_bitmap_wait_writes(bitmap);
bitmap           1030 drivers/md/md-bitmap.c 				if (bitmap->mddev->queue)
bitmap           1031 drivers/md/md-bitmap.c 					blk_add_trace_msg(bitmap->mddev->queue,
bitmap           1034 drivers/md/md-bitmap.c 			clear_page_attr(bitmap, i, BITMAP_PAGE_PENDING);
bitmap           1035 drivers/md/md-bitmap.c 			write_page(bitmap, bitmap->storage.filemap[i], 0);
bitmap           1040 drivers/md/md-bitmap.c 		md_bitmap_wait_writes(bitmap);
bitmap           1042 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags))
bitmap           1043 drivers/md/md-bitmap.c 		md_bitmap_file_kick(bitmap);
bitmap           1047 drivers/md/md-bitmap.c static void md_bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed);
bitmap           1059 drivers/md/md-bitmap.c static int md_bitmap_init_from_disk(struct bitmap *bitmap, sector_t start)
bitmap           1069 drivers/md/md-bitmap.c 	struct bitmap_storage *store = &bitmap->storage;
bitmap           1071 drivers/md/md-bitmap.c 	chunks = bitmap->counts.chunks;
bitmap           1074 drivers/md/md-bitmap.c 	if (!file && !bitmap->mddev->bitmap_info.offset) {
bitmap           1080 drivers/md/md-bitmap.c 			int needed = ((sector_t)(i+1) << (bitmap->counts.chunkshift)
bitmap           1082 drivers/md/md-bitmap.c 			md_bitmap_set_memory_bits(bitmap,
bitmap           1083 drivers/md/md-bitmap.c 						  (sector_t)i << bitmap->counts.chunkshift,
bitmap           1089 drivers/md/md-bitmap.c 	outofdate = test_bit(BITMAP_STALE, &bitmap->flags);
bitmap           1091 drivers/md/md-bitmap.c 		pr_warn("%s: bitmap file is out of date, doing full recovery\n", bmname(bitmap));
bitmap           1095 drivers/md/md-bitmap.c 			bmname(bitmap),
bitmap           1103 drivers/md/md-bitmap.c 	if (!bitmap->mddev->bitmap_info.external)
bitmap           1106 drivers/md/md-bitmap.c 	if (mddev_is_clustered(bitmap->mddev))
bitmap           1107 drivers/md/md-bitmap.c 		node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE));
bitmap           1111 drivers/md/md-bitmap.c 		index = file_page_index(&bitmap->storage, i);
bitmap           1112 drivers/md/md-bitmap.c 		bit = file_page_offset(&bitmap->storage, i);
bitmap           1122 drivers/md/md-bitmap.c 				ret = read_page(file, index, bitmap,
bitmap           1126 drivers/md/md-bitmap.c 					bitmap->mddev,
bitmap           1127 drivers/md/md-bitmap.c 					bitmap->mddev->bitmap_info.offset,
bitmap           1145 drivers/md/md-bitmap.c 				write_page(bitmap, page, 1);
bitmap           1149 drivers/md/md-bitmap.c 					     &bitmap->flags))
bitmap           1154 drivers/md/md-bitmap.c 		if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
bitmap           1161 drivers/md/md-bitmap.c 			int needed = ((sector_t)(i+1) << bitmap->counts.chunkshift
bitmap           1163 drivers/md/md-bitmap.c 			md_bitmap_set_memory_bits(bitmap,
bitmap           1164 drivers/md/md-bitmap.c 						  (sector_t)i << bitmap->counts.chunkshift,
bitmap           1172 drivers/md/md-bitmap.c 		 bmname(bitmap), store->file_pages,
bitmap           1179 drivers/md/md-bitmap.c 		bmname(bitmap), ret);
bitmap           1183 drivers/md/md-bitmap.c void md_bitmap_write_all(struct bitmap *bitmap)
bitmap           1190 drivers/md/md-bitmap.c 	if (!bitmap || !bitmap->storage.filemap)
bitmap           1192 drivers/md/md-bitmap.c 	if (bitmap->storage.file)
bitmap           1196 drivers/md/md-bitmap.c 	for (i = 0; i < bitmap->storage.file_pages; i++)
bitmap           1197 drivers/md/md-bitmap.c 		set_page_attr(bitmap, i,
bitmap           1199 drivers/md/md-bitmap.c 	bitmap->allclean = 0;
bitmap           1202 drivers/md/md-bitmap.c static void md_bitmap_count_page(struct bitmap_counts *bitmap,
bitmap           1205 drivers/md/md-bitmap.c 	sector_t chunk = offset >> bitmap->chunkshift;
bitmap           1207 drivers/md/md-bitmap.c 	bitmap->bp[page].count += inc;
bitmap           1208 drivers/md/md-bitmap.c 	md_bitmap_checkfree(bitmap, page);
bitmap           1211 drivers/md/md-bitmap.c static void md_bitmap_set_pending(struct bitmap_counts *bitmap, sector_t offset)
bitmap           1213 drivers/md/md-bitmap.c 	sector_t chunk = offset >> bitmap->chunkshift;
bitmap           1215 drivers/md/md-bitmap.c 	struct bitmap_page *bp = &bitmap->bp[page];
bitmap           1221 drivers/md/md-bitmap.c static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap,
bitmap           1232 drivers/md/md-bitmap.c 	struct bitmap *bitmap;
bitmap           1242 drivers/md/md-bitmap.c 	bitmap = mddev->bitmap;
bitmap           1243 drivers/md/md-bitmap.c 	if (bitmap == NULL) {
bitmap           1247 drivers/md/md-bitmap.c 	if (time_before(jiffies, bitmap->daemon_lastrun
bitmap           1251 drivers/md/md-bitmap.c 	bitmap->daemon_lastrun = jiffies;
bitmap           1252 drivers/md/md-bitmap.c 	if (bitmap->allclean) {
bitmap           1256 drivers/md/md-bitmap.c 	bitmap->allclean = 1;
bitmap           1258 drivers/md/md-bitmap.c 	if (bitmap->mddev->queue)
bitmap           1259 drivers/md/md-bitmap.c 		blk_add_trace_msg(bitmap->mddev->queue,
bitmap           1266 drivers/md/md-bitmap.c 	for (j = 0; j < bitmap->storage.file_pages; j++)
bitmap           1267 drivers/md/md-bitmap.c 		if (test_and_clear_page_attr(bitmap, j,
bitmap           1269 drivers/md/md-bitmap.c 			set_page_attr(bitmap, j,
bitmap           1272 drivers/md/md-bitmap.c 	if (bitmap->need_sync &&
bitmap           1277 drivers/md/md-bitmap.c 		bitmap->need_sync = 0;
bitmap           1278 drivers/md/md-bitmap.c 		if (bitmap->storage.filemap) {
bitmap           1279 drivers/md/md-bitmap.c 			sb = kmap_atomic(bitmap->storage.sb_page);
bitmap           1281 drivers/md/md-bitmap.c 				cpu_to_le64(bitmap->events_cleared);
bitmap           1283 drivers/md/md-bitmap.c 			set_page_attr(bitmap, 0,
bitmap           1290 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
bitmap           1311 drivers/md/md-bitmap.c 		if (*bmc == 1 && !bitmap->need_sync) {
bitmap           1315 drivers/md/md-bitmap.c 			md_bitmap_file_clear_bit(bitmap, block);
bitmap           1319 drivers/md/md-bitmap.c 			bitmap->allclean = 0;
bitmap           1324 drivers/md/md-bitmap.c 	md_bitmap_wait_writes(bitmap);
bitmap           1334 drivers/md/md-bitmap.c 	     j < bitmap->storage.file_pages
bitmap           1335 drivers/md/md-bitmap.c 		     && !test_bit(BITMAP_STALE, &bitmap->flags);
bitmap           1337 drivers/md/md-bitmap.c 		if (test_page_attr(bitmap, j,
bitmap           1341 drivers/md/md-bitmap.c 		if (test_and_clear_page_attr(bitmap, j,
bitmap           1343 drivers/md/md-bitmap.c 			write_page(bitmap, bitmap->storage.filemap[j], 0);
bitmap           1348 drivers/md/md-bitmap.c 	if (bitmap->allclean == 0)
bitmap           1354 drivers/md/md-bitmap.c static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap,
bitmap           1357 drivers/md/md-bitmap.c __releases(bitmap->lock)
bitmap           1358 drivers/md/md-bitmap.c __acquires(bitmap->lock)
bitmap           1364 drivers/md/md-bitmap.c 	sector_t chunk = offset >> bitmap->chunkshift;
bitmap           1370 drivers/md/md-bitmap.c 	err = md_bitmap_checkpage(bitmap, page, create, 0);
bitmap           1372 drivers/md/md-bitmap.c 	if (bitmap->bp[page].hijacked ||
bitmap           1373 drivers/md/md-bitmap.c 	    bitmap->bp[page].map == NULL)
bitmap           1374 drivers/md/md-bitmap.c 		csize = ((sector_t)1) << (bitmap->chunkshift +
bitmap           1377 drivers/md/md-bitmap.c 		csize = ((sector_t)1) << bitmap->chunkshift;
bitmap           1385 drivers/md/md-bitmap.c 	if (bitmap->bp[page].hijacked) { /* hijacked pointer */
bitmap           1390 drivers/md/md-bitmap.c 			  &bitmap->bp[page].map)[hi];
bitmap           1393 drivers/md/md-bitmap.c 			&(bitmap->bp[page].map[pageoff]);
bitmap           1396 drivers/md/md-bitmap.c int md_bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind)
bitmap           1398 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1403 drivers/md/md-bitmap.c 		atomic_inc(&bitmap->behind_writes);
bitmap           1404 drivers/md/md-bitmap.c 		bw = atomic_read(&bitmap->behind_writes);
bitmap           1405 drivers/md/md-bitmap.c 		if (bw > bitmap->behind_writes_used)
bitmap           1406 drivers/md/md-bitmap.c 			bitmap->behind_writes_used = bw;
bitmap           1409 drivers/md/md-bitmap.c 			 bw, bitmap->mddev->bitmap_info.max_write_behind);
bitmap           1416 drivers/md/md-bitmap.c 		spin_lock_irq(&bitmap->counts.lock);
bitmap           1417 drivers/md/md-bitmap.c 		bmc = md_bitmap_get_counter(&bitmap->counts, offset, &blocks, 1);
bitmap           1419 drivers/md/md-bitmap.c 			spin_unlock_irq(&bitmap->counts.lock);
bitmap           1429 drivers/md/md-bitmap.c 			prepare_to_wait(&bitmap->overflow_wait, &__wait,
bitmap           1431 drivers/md/md-bitmap.c 			spin_unlock_irq(&bitmap->counts.lock);
bitmap           1433 drivers/md/md-bitmap.c 			finish_wait(&bitmap->overflow_wait, &__wait);
bitmap           1439 drivers/md/md-bitmap.c 			md_bitmap_file_set_bit(bitmap, offset);
bitmap           1440 drivers/md/md-bitmap.c 			md_bitmap_count_page(&bitmap->counts, offset, 1);
bitmap           1448 drivers/md/md-bitmap.c 		spin_unlock_irq(&bitmap->counts.lock);
bitmap           1460 drivers/md/md-bitmap.c void md_bitmap_endwrite(struct bitmap *bitmap, sector_t offset,
bitmap           1463 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1466 drivers/md/md-bitmap.c 		if (atomic_dec_and_test(&bitmap->behind_writes))
bitmap           1467 drivers/md/md-bitmap.c 			wake_up(&bitmap->behind_wait);
bitmap           1469 drivers/md/md-bitmap.c 			 atomic_read(&bitmap->behind_writes),
bitmap           1470 drivers/md/md-bitmap.c 			 bitmap->mddev->bitmap_info.max_write_behind);
bitmap           1478 drivers/md/md-bitmap.c 		spin_lock_irqsave(&bitmap->counts.lock, flags);
bitmap           1479 drivers/md/md-bitmap.c 		bmc = md_bitmap_get_counter(&bitmap->counts, offset, &blocks, 0);
bitmap           1481 drivers/md/md-bitmap.c 			spin_unlock_irqrestore(&bitmap->counts.lock, flags);
bitmap           1485 drivers/md/md-bitmap.c 		if (success && !bitmap->mddev->degraded &&
bitmap           1486 drivers/md/md-bitmap.c 		    bitmap->events_cleared < bitmap->mddev->events) {
bitmap           1487 drivers/md/md-bitmap.c 			bitmap->events_cleared = bitmap->mddev->events;
bitmap           1488 drivers/md/md-bitmap.c 			bitmap->need_sync = 1;
bitmap           1489 drivers/md/md-bitmap.c 			sysfs_notify_dirent_safe(bitmap->sysfs_can_clear);
bitmap           1496 drivers/md/md-bitmap.c 			wake_up(&bitmap->overflow_wait);
bitmap           1500 drivers/md/md-bitmap.c 			md_bitmap_set_pending(&bitmap->counts, offset);
bitmap           1501 drivers/md/md-bitmap.c 			bitmap->allclean = 0;
bitmap           1503 drivers/md/md-bitmap.c 		spin_unlock_irqrestore(&bitmap->counts.lock, flags);
bitmap           1513 drivers/md/md-bitmap.c static int __bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks,
bitmap           1518 drivers/md/md-bitmap.c 	if (bitmap == NULL) {/* FIXME or bitmap set as 'failed' */
bitmap           1522 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
bitmap           1523 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, blocks, 0);
bitmap           1537 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
bitmap           1541 drivers/md/md-bitmap.c int md_bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks,
bitmap           1556 drivers/md/md-bitmap.c 		rv |= __bitmap_start_sync(bitmap, offset,
bitmap           1565 drivers/md/md-bitmap.c void md_bitmap_end_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int aborted)
bitmap           1570 drivers/md/md-bitmap.c 	if (bitmap == NULL) {
bitmap           1574 drivers/md/md-bitmap.c 	spin_lock_irqsave(&bitmap->counts.lock, flags);
bitmap           1575 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, blocks, 0);
bitmap           1586 drivers/md/md-bitmap.c 				md_bitmap_set_pending(&bitmap->counts, offset);
bitmap           1587 drivers/md/md-bitmap.c 				bitmap->allclean = 0;
bitmap           1592 drivers/md/md-bitmap.c 	spin_unlock_irqrestore(&bitmap->counts.lock, flags);
bitmap           1596 drivers/md/md-bitmap.c void md_bitmap_close_sync(struct bitmap *bitmap)
bitmap           1604 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1606 drivers/md/md-bitmap.c 	while (sector < bitmap->mddev->resync_max_sectors) {
bitmap           1607 drivers/md/md-bitmap.c 		md_bitmap_end_sync(bitmap, sector, &blocks, 0);
bitmap           1613 drivers/md/md-bitmap.c void md_bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force)
bitmap           1618 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1621 drivers/md/md-bitmap.c 		bitmap->last_end_sync = jiffies;
bitmap           1624 drivers/md/md-bitmap.c 	if (!force && time_before(jiffies, (bitmap->last_end_sync
bitmap           1625 drivers/md/md-bitmap.c 				  + bitmap->mddev->bitmap_info.daemon_sleep)))
bitmap           1627 drivers/md/md-bitmap.c 	wait_event(bitmap->mddev->recovery_wait,
bitmap           1628 drivers/md/md-bitmap.c 		   atomic_read(&bitmap->mddev->recovery_active) == 0);
bitmap           1630 drivers/md/md-bitmap.c 	bitmap->mddev->curr_resync_completed = sector;
bitmap           1631 drivers/md/md-bitmap.c 	set_bit(MD_SB_CHANGE_CLEAN, &bitmap->mddev->sb_flags);
bitmap           1632 drivers/md/md-bitmap.c 	sector &= ~((1ULL << bitmap->counts.chunkshift) - 1);
bitmap           1634 drivers/md/md-bitmap.c 	while (s < sector && s < bitmap->mddev->resync_max_sectors) {
bitmap           1635 drivers/md/md-bitmap.c 		md_bitmap_end_sync(bitmap, s, &blocks, 0);
bitmap           1638 drivers/md/md-bitmap.c 	bitmap->last_end_sync = jiffies;
bitmap           1639 drivers/md/md-bitmap.c 	sysfs_notify(&bitmap->mddev->kobj, NULL, "sync_completed");
bitmap           1647 drivers/md/md-bitmap.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1651 drivers/md/md-bitmap.c 		md_bitmap_end_sync(bitmap, sector, &blocks, 0);
bitmap           1657 drivers/md/md-bitmap.c 		md_bitmap_start_sync(bitmap, sector, &blocks, 0);
bitmap           1664 drivers/md/md-bitmap.c static void md_bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed)
bitmap           1673 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
bitmap           1674 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, &secs, 1);
bitmap           1676 drivers/md/md-bitmap.c 		spin_unlock_irq(&bitmap->counts.lock);
bitmap           1681 drivers/md/md-bitmap.c 		md_bitmap_count_page(&bitmap->counts, offset, 1);
bitmap           1682 drivers/md/md-bitmap.c 		md_bitmap_set_pending(&bitmap->counts, offset);
bitmap           1683 drivers/md/md-bitmap.c 		bitmap->allclean = 0;
bitmap           1687 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
bitmap           1691 drivers/md/md-bitmap.c void md_bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e)
bitmap           1696 drivers/md/md-bitmap.c 		sector_t sec = (sector_t)chunk << bitmap->counts.chunkshift;
bitmap           1697 drivers/md/md-bitmap.c 		md_bitmap_set_memory_bits(bitmap, sec, 1);
bitmap           1698 drivers/md/md-bitmap.c 		md_bitmap_file_set_bit(bitmap, sec);
bitmap           1699 drivers/md/md-bitmap.c 		if (sec < bitmap->mddev->recovery_cp)
bitmap           1704 drivers/md/md-bitmap.c 			bitmap->mddev->recovery_cp = sec;
bitmap           1713 drivers/md/md-bitmap.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1716 drivers/md/md-bitmap.c 	if (!bitmap) /* there was no bitmap */
bitmap           1723 drivers/md/md-bitmap.c 	bitmap->daemon_lastrun -= sleep;
bitmap           1725 drivers/md/md-bitmap.c 	bitmap->daemon_lastrun -= sleep;
bitmap           1727 drivers/md/md-bitmap.c 	bitmap->daemon_lastrun -= sleep;
bitmap           1729 drivers/md/md-bitmap.c 	md_bitmap_update_sb(bitmap);
bitmap           1735 drivers/md/md-bitmap.c void md_bitmap_free(struct bitmap *bitmap)
bitmap           1740 drivers/md/md-bitmap.c 	if (!bitmap) /* there was no bitmap */
bitmap           1743 drivers/md/md-bitmap.c 	if (bitmap->sysfs_can_clear)
bitmap           1744 drivers/md/md-bitmap.c 		sysfs_put(bitmap->sysfs_can_clear);
bitmap           1746 drivers/md/md-bitmap.c 	if (mddev_is_clustered(bitmap->mddev) && bitmap->mddev->cluster_info &&
bitmap           1747 drivers/md/md-bitmap.c 		bitmap->cluster_slot == md_cluster_ops->slot_number(bitmap->mddev))
bitmap           1748 drivers/md/md-bitmap.c 		md_cluster_stop(bitmap->mddev);
bitmap           1751 drivers/md/md-bitmap.c 	wait_event(bitmap->write_wait,
bitmap           1752 drivers/md/md-bitmap.c 		   atomic_read(&bitmap->pending_writes) == 0);
bitmap           1755 drivers/md/md-bitmap.c 	md_bitmap_file_unmap(&bitmap->storage);
bitmap           1757 drivers/md/md-bitmap.c 	bp = bitmap->counts.bp;
bitmap           1758 drivers/md/md-bitmap.c 	pages = bitmap->counts.pages;
bitmap           1767 drivers/md/md-bitmap.c 	kfree(bitmap);
bitmap           1773 drivers/md/md-bitmap.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1776 drivers/md/md-bitmap.c 	if (bitmap && atomic_read(&bitmap->behind_writes) > 0) {
bitmap           1780 drivers/md/md-bitmap.c 		wait_event(bitmap->behind_wait,
bitmap           1781 drivers/md/md-bitmap.c 			   atomic_read(&bitmap->behind_writes) == 0);
bitmap           1787 drivers/md/md-bitmap.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1789 drivers/md/md-bitmap.c 	if (!bitmap) /* there was no bitmap */
bitmap           1798 drivers/md/md-bitmap.c 	mddev->bitmap = NULL; /* disconnect from the md device */
bitmap           1804 drivers/md/md-bitmap.c 	md_bitmap_free(bitmap);
bitmap           1812 drivers/md/md-bitmap.c struct bitmap *md_bitmap_create(struct mddev *mddev, int slot)
bitmap           1814 drivers/md/md-bitmap.c 	struct bitmap *bitmap;
bitmap           1830 drivers/md/md-bitmap.c 	bitmap = kzalloc(sizeof(*bitmap), GFP_KERNEL);
bitmap           1831 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1834 drivers/md/md-bitmap.c 	spin_lock_init(&bitmap->counts.lock);
bitmap           1835 drivers/md/md-bitmap.c 	atomic_set(&bitmap->pending_writes, 0);
bitmap           1836 drivers/md/md-bitmap.c 	init_waitqueue_head(&bitmap->write_wait);
bitmap           1837 drivers/md/md-bitmap.c 	init_waitqueue_head(&bitmap->overflow_wait);
bitmap           1838 drivers/md/md-bitmap.c 	init_waitqueue_head(&bitmap->behind_wait);
bitmap           1840 drivers/md/md-bitmap.c 	bitmap->mddev = mddev;
bitmap           1841 drivers/md/md-bitmap.c 	bitmap->cluster_slot = slot;
bitmap           1846 drivers/md/md-bitmap.c 		bitmap->sysfs_can_clear = sysfs_get_dirent(bm, "can_clear");
bitmap           1849 drivers/md/md-bitmap.c 		bitmap->sysfs_can_clear = NULL;
bitmap           1851 drivers/md/md-bitmap.c 	bitmap->storage.file = file;
bitmap           1867 drivers/md/md-bitmap.c 			err = md_bitmap_new_disk_sb(bitmap);
bitmap           1869 drivers/md/md-bitmap.c 			err = md_bitmap_read_sb(bitmap);
bitmap           1881 drivers/md/md-bitmap.c 	bitmap->daemon_lastrun = jiffies;
bitmap           1882 drivers/md/md-bitmap.c 	err = md_bitmap_resize(bitmap, blocks, mddev->bitmap_info.chunksize, 1);
bitmap           1887 drivers/md/md-bitmap.c 		 bitmap->counts.pages, bmname(bitmap));
bitmap           1889 drivers/md/md-bitmap.c 	err = test_bit(BITMAP_WRITE_ERROR, &bitmap->flags) ? -EIO : 0;
bitmap           1893 drivers/md/md-bitmap.c 	return bitmap;
bitmap           1895 drivers/md/md-bitmap.c 	md_bitmap_free(bitmap);
bitmap           1904 drivers/md/md-bitmap.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1907 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           1923 drivers/md/md-bitmap.c 		md_bitmap_start_sync(bitmap, sector, &blocks, 0);
bitmap           1926 drivers/md/md-bitmap.c 	md_bitmap_close_sync(bitmap);
bitmap           1929 drivers/md/md-bitmap.c 	    || bitmap->events_cleared == mddev->events)
bitmap           1935 drivers/md/md-bitmap.c 	err = md_bitmap_init_from_disk(bitmap, start);
bitmap           1940 drivers/md/md-bitmap.c 	clear_bit(BITMAP_STALE, &bitmap->flags);
bitmap           1943 drivers/md/md-bitmap.c 	set_bit(MD_RECOVERY_NEEDED, &bitmap->mddev->recovery);
bitmap           1948 drivers/md/md-bitmap.c 	md_bitmap_update_sb(bitmap);
bitmap           1950 drivers/md/md-bitmap.c 	if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags))
bitmap           1957 drivers/md/md-bitmap.c struct bitmap *get_bitmap_from_slot(struct mddev *mddev, int slot)
bitmap           1960 drivers/md/md-bitmap.c 	struct bitmap *bitmap;
bitmap           1962 drivers/md/md-bitmap.c 	bitmap = md_bitmap_create(mddev, slot);
bitmap           1963 drivers/md/md-bitmap.c 	if (IS_ERR(bitmap)) {
bitmap           1964 drivers/md/md-bitmap.c 		rv = PTR_ERR(bitmap);
bitmap           1968 drivers/md/md-bitmap.c 	rv = md_bitmap_init_from_disk(bitmap, 0);
bitmap           1970 drivers/md/md-bitmap.c 		md_bitmap_free(bitmap);
bitmap           1974 drivers/md/md-bitmap.c 	return bitmap;
bitmap           1987 drivers/md/md-bitmap.c 	struct bitmap *bitmap;
bitmap           1989 drivers/md/md-bitmap.c 	bitmap = get_bitmap_from_slot(mddev, slot);
bitmap           1990 drivers/md/md-bitmap.c 	if (IS_ERR(bitmap)) {
bitmap           1995 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
bitmap           1998 drivers/md/md-bitmap.c 		if (md_bitmap_file_test_bit(bitmap, block)) {
bitmap           2002 drivers/md/md-bitmap.c 			md_bitmap_file_clear_bit(bitmap, block);
bitmap           2003 drivers/md/md-bitmap.c 			md_bitmap_set_memory_bits(mddev->bitmap, block, 1);
bitmap           2004 drivers/md/md-bitmap.c 			md_bitmap_file_set_bit(mddev->bitmap, block);
bitmap           2009 drivers/md/md-bitmap.c 		md_bitmap_update_sb(bitmap);
bitmap           2012 drivers/md/md-bitmap.c 		for (i = 0; i < bitmap->storage.file_pages; i++)
bitmap           2013 drivers/md/md-bitmap.c 			if (test_page_attr(bitmap, i, BITMAP_PAGE_PENDING))
bitmap           2014 drivers/md/md-bitmap.c 				set_page_attr(bitmap, i, BITMAP_PAGE_NEEDWRITE);
bitmap           2015 drivers/md/md-bitmap.c 		md_bitmap_unplug(bitmap);
bitmap           2017 drivers/md/md-bitmap.c 	md_bitmap_unplug(mddev->bitmap);
bitmap           2026 drivers/md/md-bitmap.c void md_bitmap_status(struct seq_file *seq, struct bitmap *bitmap)
bitmap           2031 drivers/md/md-bitmap.c 	if (!bitmap)
bitmap           2034 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
bitmap           2036 drivers/md/md-bitmap.c 	chunk_kb = bitmap->mddev->bitmap_info.chunksize >> 10;
bitmap           2043 drivers/md/md-bitmap.c 		   chunk_kb ? chunk_kb : bitmap->mddev->bitmap_info.chunksize,
bitmap           2045 drivers/md/md-bitmap.c 	if (bitmap->storage.file) {
bitmap           2047 drivers/md/md-bitmap.c 		seq_file_path(seq, bitmap->storage.file, " \t\n");
bitmap           2053 drivers/md/md-bitmap.c int md_bitmap_resize(struct bitmap *bitmap, sector_t blocks,
bitmap           2076 drivers/md/md-bitmap.c 	if (bitmap->storage.file && !init) {
bitmap           2086 drivers/md/md-bitmap.c 		long space = bitmap->mddev->bitmap_info.space;
bitmap           2092 drivers/md/md-bitmap.c 			bytes = DIV_ROUND_UP(bitmap->counts.chunks, 8);
bitmap           2093 drivers/md/md-bitmap.c 			if (!bitmap->mddev->bitmap_info.external)
bitmap           2096 drivers/md/md-bitmap.c 			bitmap->mddev->bitmap_info.space = space;
bitmap           2098 drivers/md/md-bitmap.c 		chunkshift = bitmap->counts.chunkshift;
bitmap           2105 drivers/md/md-bitmap.c 			if (!bitmap->mddev->bitmap_info.external)
bitmap           2113 drivers/md/md-bitmap.c 	if (bitmap->mddev->bitmap_info.offset || bitmap->mddev->bitmap_info.file)
bitmap           2115 drivers/md/md-bitmap.c 					      !bitmap->mddev->bitmap_info.external,
bitmap           2116 drivers/md/md-bitmap.c 					      mddev_is_clustered(bitmap->mddev)
bitmap           2117 drivers/md/md-bitmap.c 					      ? bitmap->cluster_slot : 0);
bitmap           2133 drivers/md/md-bitmap.c 		bitmap->mddev->pers->quiesce(bitmap->mddev, 1);
bitmap           2135 drivers/md/md-bitmap.c 	store.file = bitmap->storage.file;
bitmap           2136 drivers/md/md-bitmap.c 	bitmap->storage.file = NULL;
bitmap           2138 drivers/md/md-bitmap.c 	if (store.sb_page && bitmap->storage.sb_page)
bitmap           2140 drivers/md/md-bitmap.c 		       page_address(bitmap->storage.sb_page),
bitmap           2142 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
bitmap           2143 drivers/md/md-bitmap.c 	md_bitmap_file_unmap(&bitmap->storage);
bitmap           2144 drivers/md/md-bitmap.c 	bitmap->storage = store;
bitmap           2146 drivers/md/md-bitmap.c 	old_counts = bitmap->counts;
bitmap           2147 drivers/md/md-bitmap.c 	bitmap->counts.bp = new_bp;
bitmap           2148 drivers/md/md-bitmap.c 	bitmap->counts.pages = pages;
bitmap           2149 drivers/md/md-bitmap.c 	bitmap->counts.missing_pages = pages;
bitmap           2150 drivers/md/md-bitmap.c 	bitmap->counts.chunkshift = chunkshift;
bitmap           2151 drivers/md/md-bitmap.c 	bitmap->counts.chunks = chunks;
bitmap           2152 drivers/md/md-bitmap.c 	bitmap->mddev->bitmap_info.chunksize = 1 << (chunkshift +
bitmap           2159 drivers/md/md-bitmap.c 	if (mddev_is_clustered(bitmap->mddev)) {
bitmap           2162 drivers/md/md-bitmap.c 			ret = md_bitmap_checkpage(&bitmap->counts, page, 1, 1);
bitmap           2173 drivers/md/md-bitmap.c 				bitmap->counts.bp = old_counts.bp;
bitmap           2174 drivers/md/md-bitmap.c 				bitmap->counts.pages = old_counts.pages;
bitmap           2175 drivers/md/md-bitmap.c 				bitmap->counts.missing_pages = old_counts.pages;
bitmap           2176 drivers/md/md-bitmap.c 				bitmap->counts.chunkshift = old_counts.chunkshift;
bitmap           2177 drivers/md/md-bitmap.c 				bitmap->counts.chunks = old_counts.chunks;
bitmap           2178 drivers/md/md-bitmap.c 				bitmap->mddev->bitmap_info.chunksize = 1 << (old_counts.chunkshift +
bitmap           2184 drivers/md/md-bitmap.c 				bitmap->counts.bp[page].count += 1;
bitmap           2196 drivers/md/md-bitmap.c 			bmc_new = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1);
bitmap           2203 drivers/md/md-bitmap.c 					md_bitmap_file_set_bit(bitmap, block);
bitmap           2207 drivers/md/md-bitmap.c 				md_bitmap_count_page(&bitmap->counts, block, 1);
bitmap           2208 drivers/md/md-bitmap.c 				md_bitmap_set_pending(&bitmap->counts, block);
bitmap           2217 drivers/md/md-bitmap.c 	if (bitmap->counts.bp != old_counts.bp) {
bitmap           2229 drivers/md/md-bitmap.c 			bmc = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1);
bitmap           2236 drivers/md/md-bitmap.c 					md_bitmap_count_page(&bitmap->counts, block, 1);
bitmap           2237 drivers/md/md-bitmap.c 					md_bitmap_set_pending(&bitmap->counts, block);
bitmap           2242 drivers/md/md-bitmap.c 		for (i = 0; i < bitmap->storage.file_pages; i++)
bitmap           2243 drivers/md/md-bitmap.c 			set_page_attr(bitmap, i, BITMAP_PAGE_DIRTY);
bitmap           2245 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
bitmap           2248 drivers/md/md-bitmap.c 		md_bitmap_unplug(bitmap);
bitmap           2249 drivers/md/md-bitmap.c 		bitmap->mddev->pers->quiesce(bitmap->mddev, 0);
bitmap           2290 drivers/md/md-bitmap.c 	if (mddev->bitmap || mddev->bitmap_info.file ||
bitmap           2336 drivers/md/md-bitmap.c 				struct bitmap *bitmap;
bitmap           2337 drivers/md/md-bitmap.c 				bitmap = md_bitmap_create(mddev, -1);
bitmap           2339 drivers/md/md-bitmap.c 				if (IS_ERR(bitmap))
bitmap           2340 drivers/md/md-bitmap.c 					rv = PTR_ERR(bitmap);
bitmap           2342 drivers/md/md-bitmap.c 					mddev->bitmap = bitmap;
bitmap           2397 drivers/md/md-bitmap.c 	if (mddev->bitmap &&
bitmap           2398 drivers/md/md-bitmap.c 	    sectors < (mddev->bitmap->storage.bytes + 511) >> 9)
bitmap           2490 drivers/md/md-bitmap.c 		md_bitmap_update_sb(mddev->bitmap);
bitmap           2509 drivers/md/md-bitmap.c 	if (mddev->bitmap)
bitmap           2534 drivers/md/md-bitmap.c 	if (mddev->bitmap ||
bitmap           2555 drivers/md/md-bitmap.c 	if (mddev->bitmap)
bitmap           2556 drivers/md/md-bitmap.c 		len = sprintf(page, "%s\n", (mddev->bitmap->need_sync ?
bitmap           2566 drivers/md/md-bitmap.c 	if (mddev->bitmap == NULL)
bitmap           2569 drivers/md/md-bitmap.c 		mddev->bitmap->need_sync = 1;
bitmap           2573 drivers/md/md-bitmap.c 		mddev->bitmap->need_sync = 0;
bitmap           2587 drivers/md/md-bitmap.c 	if (mddev->bitmap == NULL)
bitmap           2591 drivers/md/md-bitmap.c 			      mddev->bitmap->behind_writes_used);
bitmap           2599 drivers/md/md-bitmap.c 	if (mddev->bitmap)
bitmap           2600 drivers/md/md-bitmap.c 		mddev->bitmap->behind_writes_used = 0;
bitmap            239 drivers/md/md-bitmap.h struct bitmap *md_bitmap_create(struct mddev *mddev, int slot);
bitmap            244 drivers/md/md-bitmap.h void md_bitmap_print_sb(struct bitmap *bitmap);
bitmap            245 drivers/md/md-bitmap.h void md_bitmap_update_sb(struct bitmap *bitmap);
bitmap            246 drivers/md/md-bitmap.h void md_bitmap_status(struct seq_file *seq, struct bitmap *bitmap);
bitmap            248 drivers/md/md-bitmap.h int  md_bitmap_setallbits(struct bitmap *bitmap);
bitmap            249 drivers/md/md-bitmap.h void md_bitmap_write_all(struct bitmap *bitmap);
bitmap            251 drivers/md/md-bitmap.h void md_bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e);
bitmap            254 drivers/md/md-bitmap.h int md_bitmap_startwrite(struct bitmap *bitmap, sector_t offset,
bitmap            256 drivers/md/md-bitmap.h void md_bitmap_endwrite(struct bitmap *bitmap, sector_t offset,
bitmap            258 drivers/md/md-bitmap.h int md_bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int degraded);
bitmap            259 drivers/md/md-bitmap.h void md_bitmap_end_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int aborted);
bitmap            260 drivers/md/md-bitmap.h void md_bitmap_close_sync(struct bitmap *bitmap);
bitmap            261 drivers/md/md-bitmap.h void md_bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force);
bitmap            266 drivers/md/md-bitmap.h void md_bitmap_unplug(struct bitmap *bitmap);
bitmap            269 drivers/md/md-bitmap.h int md_bitmap_resize(struct bitmap *bitmap, sector_t blocks,
bitmap            271 drivers/md/md-bitmap.h struct bitmap *get_bitmap_from_slot(struct mddev *mddev, int slot);
bitmap            274 drivers/md/md-bitmap.h void md_bitmap_free(struct bitmap *bitmap);
bitmap            607 drivers/md/md-cluster.c 			ret = md_bitmap_resize(mddev->bitmap,
bitmap           1123 drivers/md/md-cluster.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1124 drivers/md/md-cluster.c 	unsigned long my_pages = bitmap->counts.pages;
bitmap           1139 drivers/md/md-cluster.c 		bitmap = get_bitmap_from_slot(mddev, i);
bitmap           1140 drivers/md/md-cluster.c 		if (IS_ERR(bitmap)) {
bitmap           1144 drivers/md/md-cluster.c 		counts = &bitmap->counts;
bitmap           1172 drivers/md/md-cluster.c 	md_bitmap_free(bitmap);
bitmap           1187 drivers/md/md-cluster.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1191 drivers/md/md-cluster.c 	sb = kmap_atomic(bitmap->storage.sb_page);
bitmap           1199 drivers/md/md-cluster.c 		bitmap = get_bitmap_from_slot(mddev, i);
bitmap           1200 drivers/md/md-cluster.c 		if (IS_ERR(bitmap)) {
bitmap           1213 drivers/md/md-cluster.c 			md_bitmap_free(bitmap);
bitmap           1219 drivers/md/md-cluster.c 			md_bitmap_update_sb(bitmap);
bitmap           1222 drivers/md/md-cluster.c 		sb = kmap_atomic(bitmap->storage.sb_page);
bitmap           1227 drivers/md/md-cluster.c 			md_bitmap_free(bitmap);
bitmap           1231 drivers/md/md-cluster.c 		md_bitmap_free(bitmap);
bitmap           1296 drivers/md/md.c 	} else if (mddev->bitmap) {
bitmap           1300 drivers/md/md.c 		if (ev1 < mddev->bitmap->events_cleared)
bitmap           1410 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.file == NULL)
bitmap           1831 drivers/md/md.c 	} else if (mddev->bitmap) {
bitmap           1835 drivers/md/md.c 		if (ev1 < mddev->bitmap->events_cleared)
bitmap           1942 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.file == NULL) {
bitmap           1953 drivers/md/md.c 		if (rdev->saved_raid_disk >= 0 && mddev->bitmap)
bitmap           2113 drivers/md/md.c 	struct bitmap *bitmap;
bitmap           2130 drivers/md/md.c 	bitmap = rdev->mddev->bitmap;
bitmap           2131 drivers/md/md.c 	if (bitmap && !rdev->mddev->bitmap_info.file &&
bitmap           2133 drivers/md/md.c 	    bitmap->storage.file_pages * (PAGE_SIZE>>9) > new_offset)
bitmap           2682 drivers/md/md.c 	md_bitmap_update_sb(mddev->bitmap);
bitmap           4500 drivers/md/md.c 	if (!mddev->bitmap)
bitmap           4512 drivers/md/md.c 		md_bitmap_dirty_bits(mddev->bitmap, chunk, end_chunk);
bitmap           4515 drivers/md/md.c 	md_bitmap_unplug(mddev->bitmap); /* flush the bits to disk */
bitmap           5215 drivers/md/md.c 	} else if (mddev->bitmap) {
bitmap           5757 drivers/md/md.c 		struct bitmap *bitmap;
bitmap           5759 drivers/md/md.c 		bitmap = md_bitmap_create(mddev, -1);
bitmap           5760 drivers/md/md.c 		if (IS_ERR(bitmap)) {
bitmap           5761 drivers/md/md.c 			err = PTR_ERR(bitmap);
bitmap           5765 drivers/md/md.c 			mddev->bitmap = bitmap;
bitmap           6404 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.offset)
bitmap           6604 drivers/md/md.c 			if (has_journal || mddev->bitmap) {
bitmap           6829 drivers/md/md.c 		if (mddev->bitmap || mddev->bitmap_info.file)
bitmap           6859 drivers/md/md.c 	} else if (mddev->bitmap == NULL)
bitmap           6864 drivers/md/md.c 			struct bitmap *bitmap;
bitmap           6866 drivers/md/md.c 			bitmap = md_bitmap_create(mddev, -1);
bitmap           6868 drivers/md/md.c 			if (!IS_ERR(bitmap)) {
bitmap           6869 drivers/md/md.c 				mddev->bitmap = bitmap;
bitmap           6872 drivers/md/md.c 				err = PTR_ERR(bitmap);
bitmap           7095 drivers/md/md.c 	if (mddev->bitmap && mddev->bitmap_info.offset)
bitmap           7155 drivers/md/md.c 			struct bitmap *bitmap;
bitmap           7157 drivers/md/md.c 			if (mddev->bitmap) {
bitmap           7169 drivers/md/md.c 			bitmap = md_bitmap_create(mddev, -1);
bitmap           7171 drivers/md/md.c 			if (!IS_ERR(bitmap)) {
bitmap           7172 drivers/md/md.c 				mddev->bitmap = bitmap;
bitmap           7175 drivers/md/md.c 				rv = PTR_ERR(bitmap);
bitmap           7181 drivers/md/md.c 			if (!mddev->bitmap) {
bitmap           7185 drivers/md/md.c 			if (mddev->bitmap->storage.file) {
bitmap           8090 drivers/md/md.c 		md_bitmap_status(seq, mddev->bitmap);
bitmap           8533 drivers/md/md.c 		else if (!mddev->bitmap)
bitmap           8568 drivers/md/md.c 		if (mddev->bitmap) {
bitmap           8981 drivers/md/md.c 	if (mddev->bitmap)
bitmap           9120 drivers/md/md.c 				md_bitmap_write_all(mddev->bitmap);
bitmap           9372 drivers/md/md.c 			md_bitmap_update_sb(mddev->bitmap);
bitmap            444 drivers/md/md.h 	struct bitmap			*bitmap; /* the bitmap for the device */
bitmap            777 drivers/md/raid0.c 	if (mddev->bitmap) {
bitmap            401 drivers/md/raid1.c 	md_bitmap_endwrite(r1_bio->mddev->bitmap, r1_bio->sector,
bitmap            805 drivers/md/raid1.c 	md_bitmap_unplug(conf->mddev->bitmap);
bitmap           1218 drivers/md/raid1.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1283 drivers/md/raid1.c 	    bitmap) {
bitmap           1289 drivers/md/raid1.c 		wait_event(bitmap->behind_wait,
bitmap           1290 drivers/md/raid1.c 			   atomic_read(&bitmap->behind_writes) == 0);
bitmap           1332 drivers/md/raid1.c 	struct bitmap *bitmap = mddev->bitmap;
bitmap           1489 drivers/md/raid1.c 			if (bitmap &&
bitmap           1490 drivers/md/raid1.c 			    (atomic_read(&bitmap->behind_writes)
bitmap           1492 drivers/md/raid1.c 			    !waitqueue_active(&bitmap->behind_wait)) {
bitmap           1496 drivers/md/raid1.c 			md_bitmap_startwrite(bitmap, r1_bio->sector, r1_bio->sectors,
bitmap           1902 drivers/md/raid1.c 		md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1);
bitmap           2661 drivers/md/raid1.c 			md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,
bitmap           2666 drivers/md/raid1.c 		md_bitmap_close_sync(mddev->bitmap);
bitmap           2676 drivers/md/raid1.c 	if (mddev->bitmap == NULL &&
bitmap           2686 drivers/md/raid1.c 	if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) &&
bitmap           2704 drivers/md/raid1.c 	md_bitmap_cond_end_sync(mddev->bitmap, sector_nr,
bitmap           2863 drivers/md/raid1.c 			if (!md_bitmap_start_sync(mddev->bitmap, sector_nr,
bitmap           3209 drivers/md/raid1.c 	if (mddev->bitmap) {
bitmap           3210 drivers/md/raid1.c 		int ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0);
bitmap            405 drivers/md/raid10.c 	md_bitmap_endwrite(r10_bio->mddev->bitmap, r10_bio->sector,
bitmap            905 drivers/md/raid10.c 		md_bitmap_unplug(conf->mddev->bitmap);
bitmap           1090 drivers/md/raid10.c 	md_bitmap_unplug(mddev->bitmap);
bitmap           1489 drivers/md/raid10.c 	md_bitmap_startwrite(mddev->bitmap, r10_bio->sector, r10_bio->sectors, 0);
bitmap           2924 drivers/md/raid10.c 	if (mddev->bitmap == NULL &&
bitmap           2961 drivers/md/raid10.c 				md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,
bitmap           2966 drivers/md/raid10.c 				md_bitmap_end_sync(mddev->bitmap, sect,
bitmap           2971 drivers/md/raid10.c 			if ((!mddev->bitmap || conf->fullsync)
bitmap           2988 drivers/md/raid10.c 		md_bitmap_close_sync(mddev->bitmap);
bitmap           3088 drivers/md/raid10.c 			must_sync = md_bitmap_start_sync(mddev->bitmap, sect,
bitmap           3134 drivers/md/raid10.c 			must_sync = md_bitmap_start_sync(mddev->bitmap, sect,
bitmap           3306 drivers/md/raid10.c 		md_bitmap_cond_end_sync(mddev->bitmap, sector_nr,
bitmap           3310 drivers/md/raid10.c 		if (!md_bitmap_start_sync(mddev->bitmap, sector_nr,
bitmap           3993 drivers/md/raid10.c 	if (mddev->bitmap) {
bitmap           3994 drivers/md/raid10.c 		int ret = md_bitmap_resize(mddev->bitmap, size, 0, 0);
bitmap           4258 drivers/md/raid10.c 	if (mddev->delta_disks && mddev->bitmap) {
bitmap           4266 drivers/md/raid10.c 			ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0);
bitmap           4288 drivers/md/raid10.c 		ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0);
bitmap           4294 drivers/md/raid10.c 			md_bitmap_resize(mddev->bitmap, oldsize, 0, 0);
bitmap            318 drivers/md/raid5-cache.c 			md_bitmap_endwrite(conf->mddev->bitmap, sh->sector,
bitmap           3294 drivers/md/raid5.c 	if (conf->mddev->bitmap && firstwrite) {
bitmap           3309 drivers/md/raid5.c 		md_bitmap_startwrite(conf->mddev->bitmap, sh->sector,
bitmap           3400 drivers/md/raid5.c 			md_bitmap_endwrite(conf->mddev->bitmap, sh->sector,
bitmap           3446 drivers/md/raid5.c 			md_bitmap_endwrite(conf->mddev->bitmap, sh->sector,
bitmap           3787 drivers/md/raid5.c 				md_bitmap_endwrite(conf->mddev->bitmap, sh->sector,
bitmap           5555 drivers/md/raid5.c 		if (conf->mddev->bitmap) {
bitmap           5559 drivers/md/raid5.c 				md_bitmap_startwrite(mddev->bitmap,
bitmap           6041 drivers/md/raid5.c 			md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,
bitmap           6045 drivers/md/raid5.c 		md_bitmap_close_sync(mddev->bitmap);
bitmap           6074 drivers/md/raid5.c 	    !md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) &&
bitmap           6082 drivers/md/raid5.c 	md_bitmap_cond_end_sync(mddev->bitmap, sector_nr, false);
bitmap           6105 drivers/md/raid5.c 	md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, still_degraded);
bitmap           6308 drivers/md/raid5.c 			md_bitmap_unplug(mddev->bitmap);
bitmap           7778 drivers/md/raid5.c 	if (mddev->bitmap) {
bitmap           7779 drivers/md/raid5.c 		int ret = md_bitmap_resize(mddev->bitmap, sectors, 0, 0);
bitmap            455 drivers/media/pci/ivtv/ivtv-ioctl.c 	winfmt->bitmap = NULL;
bitmap            785 drivers/media/platform/omap/omap_vout.c 	win->bitmap = NULL;
bitmap            101 drivers/media/platform/omap/omap_voutlib.c 	new_win->bitmap = NULL;
bitmap            141 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	unsigned long *bitmap;
bitmap            180 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	bitmap = (unsigned long *) channel->pid_buffer_aligned;
bitmap            189 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		bitmap_set(bitmap, dvbdmxfeed->pid, 1);
bitmap            265 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	unsigned long *bitmap;
bitmap            277 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	bitmap = (unsigned long *) channel->pid_buffer_aligned;
bitmap            284 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		bitmap_clear(bitmap, dvbdmxfeed->pid, 1);
bitmap           1078 drivers/media/platform/vivid/vivid-vid-cap.c 		win->bitmap = NULL;
bitmap           1079 drivers/media/platform/vivid/vivid-vid-cap.c 	else if (win->bitmap) {
bitmap           1080 drivers/media/platform/vivid/vivid-vid-cap.c 		if (copy_to_user(win->bitmap, dev->bitmap_cap,
bitmap           1164 drivers/media/platform/vivid/vivid-vid-cap.c 	if (win->bitmap) {
bitmap           1169 drivers/media/platform/vivid/vivid-vid-cap.c 		if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) {
bitmap            854 drivers/media/platform/vivid/vivid-vid-out.c 		win->bitmap = NULL;
bitmap            855 drivers/media/platform/vivid/vivid-vid-out.c 	else if (win->bitmap) {
bitmap            856 drivers/media/platform/vivid/vivid-vid-out.c 		if (copy_to_user(win->bitmap, dev->bitmap_out,
bitmap            940 drivers/media/platform/vivid/vivid-vid-out.c 	if (win->bitmap) {
bitmap            945 drivers/media/platform/vivid/vivid-vid-out.c 		if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) {
bitmap           1173 drivers/media/usb/uvc/uvc_ctrl.c 		s32 bitmap;
bitmap           1181 drivers/media/usb/uvc/uvc_ctrl.c 		bitmap = mapping->get(mapping, UVC_GET_RES,
bitmap           1183 drivers/media/usb/uvc/uvc_ctrl.c 		if (!(bitmap & menu_info->value)) {
bitmap            149 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	compat_caddr_t		bitmap;
bitmap            333 drivers/media/v4l2-core/v4l2-ioctl.c 			win->bitmap, win->global_alpha);
bitmap           1505 drivers/media/v4l2-core/v4l2-ioctl.c 		void __user *bitmap = p->fmt.win.bitmap;
bitmap           1510 drivers/media/v4l2-core/v4l2-ioctl.c 		p->fmt.win.bitmap = bitmap;
bitmap            531 drivers/misc/cxl/cxl.h 	unsigned long   *bitmap;
bitmap            224 drivers/misc/cxl/guest.c 		n = bitmap_find_next_zero_area(cur->bitmap, cur->range,
bitmap            227 drivers/misc/cxl/guest.c 			bitmap_set(cur->bitmap, n, len);
bitmap            251 drivers/misc/cxl/guest.c 			bitmap_clear(cur->bitmap, n, len);
bitmap           1050 drivers/misc/cxl/guest.c 				kfree(cur->bitmap);
bitmap            311 drivers/misc/cxl/of.c 		cur->bitmap = kcalloc(BITS_TO_LONGS(cur->range),
bitmap            312 drivers/misc/cxl/of.c 				sizeof(*cur->bitmap), GFP_KERNEL);
bitmap            313 drivers/misc/cxl/of.c 		if (cur->bitmap == NULL)
bitmap            329 drivers/misc/cxl/of.c 		kfree(cur->bitmap);
bitmap            380 drivers/misc/vmw_vmci/vmci_doorbell.c void vmci_dbell_scan_notification_entries(u8 *bitmap)
bitmap            385 drivers/misc/vmw_vmci/vmci_doorbell.c 		if (bitmap[idx] & 0x1) {
bitmap            386 drivers/misc/vmw_vmci/vmci_doorbell.c 			bitmap[idx] &= ~1;
bitmap             41 drivers/misc/vmw_vmci/vmci_doorbell.h void vmci_dbell_scan_notification_entries(u8 *bitmap);
bitmap           2472 drivers/mtd/nand/raw/nand_base.c 	const unsigned char *bitmap = buf;
bitmap           2476 drivers/mtd/nand/raw/nand_base.c 	for (; len && ((uintptr_t)bitmap) % sizeof(long);
bitmap           2477 drivers/mtd/nand/raw/nand_base.c 	     len--, bitmap++) {
bitmap           2478 drivers/mtd/nand/raw/nand_base.c 		weight = hweight8(*bitmap);
bitmap           2485 drivers/mtd/nand/raw/nand_base.c 	     len -= sizeof(long), bitmap += sizeof(long)) {
bitmap           2486 drivers/mtd/nand/raw/nand_base.c 		unsigned long d = *((unsigned long *)bitmap);
bitmap           2495 drivers/mtd/nand/raw/nand_base.c 	for (; len > 0; len--, bitmap++) {
bitmap           2496 drivers/mtd/nand/raw/nand_base.c 		weight = hweight8(*bitmap);
bitmap            183 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_dbg_bitmap_cmd *bitmap;
bitmap            203 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
bitmap            204 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "roce_qset_mask: 0x%x\n", bitmap->bit0);
bitmap            205 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "nic_qs_mask: 0x%x\n", bitmap->bit1);
bitmap            206 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "qs_shaping_pass: 0x%x\n", bitmap->bit2);
bitmap            207 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "qs_bp_sts: 0x%x\n", bitmap->bit3);
bitmap            213 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
bitmap            214 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pri_mask: 0x%x\n", bitmap->bit0);
bitmap            215 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pri_cshaping_pass: 0x%x\n", bitmap->bit1);
bitmap            216 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pri_pshaping_pass: 0x%x\n", bitmap->bit2);
bitmap            222 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
bitmap            223 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pg_mask: 0x%x\n", bitmap->bit0);
bitmap            224 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pg_cshaping_pass: 0x%x\n", bitmap->bit1);
bitmap            225 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pg_pshaping_pass: 0x%x\n", bitmap->bit2);
bitmap            232 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
bitmap            233 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "port_mask: 0x%x\n", bitmap->bit0);
bitmap            234 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "port_shaping_pass: 0x%x\n", bitmap->bit1);
bitmap             55 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h 		u8 bitmap;
bitmap             17 drivers/net/ethernet/intel/ice/ice_type.h static inline bool ice_is_tc_ena(unsigned long bitmap, u8 tc)
bitmap             19 drivers/net/ethernet/intel/ice/ice_type.h 	return test_bit(tc, &bitmap);
bitmap             44 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap)
bitmap             48 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_lock(&bitmap->lock);
bitmap             50 drivers/net/ethernet/mellanox/mlx4/alloc.c 	obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last);
bitmap             51 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj >= bitmap->max) {
bitmap             52 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap             53 drivers/net/ethernet/mellanox/mlx4/alloc.c 				& bitmap->mask;
bitmap             54 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj = find_first_zero_bit(bitmap->table, bitmap->max);
bitmap             57 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj < bitmap->max) {
bitmap             58 drivers/net/ethernet/mellanox/mlx4/alloc.c 		set_bit(obj, bitmap->table);
bitmap             59 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->last = (obj + 1);
bitmap             60 drivers/net/ethernet/mellanox/mlx4/alloc.c 		if (bitmap->last == bitmap->max)
bitmap             61 drivers/net/ethernet/mellanox/mlx4/alloc.c 			bitmap->last = 0;
bitmap             62 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj |= bitmap->top;
bitmap             67 drivers/net/ethernet/mellanox/mlx4/alloc.c 		--bitmap->avail;
bitmap             69 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_unlock(&bitmap->lock);
bitmap             74 drivers/net/ethernet/mellanox/mlx4/alloc.c void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr)
bitmap             76 drivers/net/ethernet/mellanox/mlx4/alloc.c 	mlx4_bitmap_free_range(bitmap, obj, 1, use_rr);
bitmap             79 drivers/net/ethernet/mellanox/mlx4/alloc.c static unsigned long find_aligned_range(unsigned long *bitmap,
bitmap             88 drivers/net/ethernet/mellanox/mlx4/alloc.c 	while ((start < nbits) && (test_bit(start, bitmap) ||
bitmap            100 drivers/net/ethernet/mellanox/mlx4/alloc.c 		if (test_bit(i, bitmap) || ((u32)i & skip_mask)) {
bitmap            109 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt,
bitmap            115 drivers/net/ethernet/mellanox/mlx4/alloc.c 		return mlx4_bitmap_alloc(bitmap);
bitmap            117 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_lock(&bitmap->lock);
bitmap            119 drivers/net/ethernet/mellanox/mlx4/alloc.c 	obj = find_aligned_range(bitmap->table, bitmap->last,
bitmap            120 drivers/net/ethernet/mellanox/mlx4/alloc.c 				 bitmap->max, cnt, align, skip_mask);
bitmap            121 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj >= bitmap->max) {
bitmap            122 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap            123 drivers/net/ethernet/mellanox/mlx4/alloc.c 				& bitmap->mask;
bitmap            124 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj = find_aligned_range(bitmap->table, 0, bitmap->max,
bitmap            128 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj < bitmap->max) {
bitmap            129 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap_set(bitmap->table, obj, cnt);
bitmap            130 drivers/net/ethernet/mellanox/mlx4/alloc.c 		if (obj == bitmap->last) {
bitmap            131 drivers/net/ethernet/mellanox/mlx4/alloc.c 			bitmap->last = (obj + cnt);
bitmap            132 drivers/net/ethernet/mellanox/mlx4/alloc.c 			if (bitmap->last >= bitmap->max)
bitmap            133 drivers/net/ethernet/mellanox/mlx4/alloc.c 				bitmap->last = 0;
bitmap            135 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj |= bitmap->top;
bitmap            140 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->avail -= cnt;
bitmap            142 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_unlock(&bitmap->lock);
bitmap            147 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap)
bitmap            149 drivers/net/ethernet/mellanox/mlx4/alloc.c 	return bitmap->avail;
bitmap            152 drivers/net/ethernet/mellanox/mlx4/alloc.c static u32 mlx4_bitmap_masked_value(struct mlx4_bitmap *bitmap, u32 obj)
bitmap            154 drivers/net/ethernet/mellanox/mlx4/alloc.c 	return obj & (bitmap->max + bitmap->reserved_top - 1);
bitmap            157 drivers/net/ethernet/mellanox/mlx4/alloc.c void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt,
bitmap            160 drivers/net/ethernet/mellanox/mlx4/alloc.c 	obj &= bitmap->max + bitmap->reserved_top - 1;
bitmap            162 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_lock(&bitmap->lock);
bitmap            164 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->last = min(bitmap->last, obj);
bitmap            165 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
bitmap            166 drivers/net/ethernet/mellanox/mlx4/alloc.c 				& bitmap->mask;
bitmap            168 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap_clear(bitmap->table, obj, cnt);
bitmap            169 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->avail += cnt;
bitmap            170 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_unlock(&bitmap->lock);
bitmap            173 drivers/net/ethernet/mellanox/mlx4/alloc.c int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask,
bitmap            180 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->last = 0;
bitmap            181 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->top  = 0;
bitmap            182 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->max  = num - reserved_top;
bitmap            183 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->mask = mask;
bitmap            184 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->reserved_top = reserved_top;
bitmap            185 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->avail = num - reserved_top - reserved_bot;
bitmap            186 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->effective_len = bitmap->avail;
bitmap            187 drivers/net/ethernet/mellanox/mlx4/alloc.c 	spin_lock_init(&bitmap->lock);
bitmap            188 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->table = bitmap_zalloc(bitmap->max, GFP_KERNEL);
bitmap            189 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (!bitmap->table)
bitmap            192 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap_set(bitmap->table, 0, reserved_bot);
bitmap            197 drivers/net/ethernet/mellanox/mlx4/alloc.c void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap)
bitmap            199 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap_free(bitmap->table);
bitmap            217 drivers/net/ethernet/mellanox/mlx4/alloc.c 	struct mlx4_bitmap		*bitmap;
bitmap            242 drivers/net/ethernet/mellanox/mlx4/alloc.c 		      struct mlx4_bitmap *bitmap,
bitmap            248 drivers/net/ethernet/mellanox/mlx4/alloc.c 	u32 mask = mlx4_bitmap_masked_value(bitmap, (u32)-1);
bitmap            256 drivers/net/ethernet/mellanox/mlx4/alloc.c 	zone->bitmap = bitmap;
bitmap            310 drivers/net/ethernet/mellanox/mlx4/alloc.c 			u32 cur_mask = mlx4_bitmap_masked_value(it->bitmap, (u32)-1);
bitmap            344 drivers/net/ethernet/mellanox/mlx4/alloc.c 	res = mlx4_bitmap_alloc_range(zone->bitmap, count,
bitmap            362 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(it->bitmap, count,
bitmap            382 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(it->bitmap, count,
bitmap            401 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(curr_node->bitmap, count,
bitmap            421 drivers/net/ethernet/mellanox/mlx4/alloc.c 	mlx4_bitmap_free_range(zone->bitmap, obj - zone->offset, count, zone->use_rr);
bitmap            441 drivers/net/ethernet/mellanox/mlx4/alloc.c 	struct mlx4_bitmap *bitmap;
bitmap            447 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap = zone == NULL ? NULL : zone->bitmap;
bitmap            451 drivers/net/ethernet/mellanox/mlx4/alloc.c 	return bitmap;
bitmap            494 drivers/net/ethernet/mellanox/mlx4/alloc.c 			if (mobj < zone->bitmap->max) {
bitmap            495 drivers/net/ethernet/mellanox/mlx4/alloc.c 				u32 curr_dist = zone->bitmap->effective_len;
bitmap            223 drivers/net/ethernet/mellanox/mlx4/cq.c 	*cqn = mlx4_bitmap_alloc(&cq_table->bitmap);
bitmap            240 drivers/net/ethernet/mellanox/mlx4/cq.c 	mlx4_bitmap_free(&cq_table->bitmap, *cqn, MLX4_NO_RR);
bitmap            271 drivers/net/ethernet/mellanox/mlx4/cq.c 	mlx4_bitmap_free(&cq_table->bitmap, cqn, MLX4_NO_RR);
bitmap            472 drivers/net/ethernet/mellanox/mlx4/cq.c 	err = mlx4_bitmap_init(&cq_table->bitmap, dev->caps.num_cqs,
bitmap            485 drivers/net/ethernet/mellanox/mlx4/cq.c 	mlx4_bitmap_cleanup(&mlx4_priv(dev)->cq_table.bitmap);
bitmap            346 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS);
bitmap            371 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS);
bitmap            452 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	bitmap_iterator_init(&it, priv->stats_bitmap.bitmap, NUM_ALL_STATS);
bitmap           3159 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_clear(stats_bitmap->bitmap, last_i, NUM_FLOW_STATS);
bitmap           3162 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			bitmap_set(stats_bitmap->bitmap, last_i,
bitmap           3167 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			bitmap_set(stats_bitmap->bitmap, last_i,
bitmap           3172 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			bitmap_set(stats_bitmap->bitmap, last_i,
bitmap           3177 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			bitmap_set(stats_bitmap->bitmap, last_i,
bitmap           3193 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	bitmap_zero(stats_bitmap->bitmap, NUM_ALL_STATS);
bitmap           3196 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3198 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3200 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3202 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3204 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3206 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i +
bitmap           3209 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i, NUM_MAIN_STATS);
bitmap           3213 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	bitmap_set(stats_bitmap->bitmap, last_i, NUM_PORT_STATS);
bitmap           3217 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i,
bitmap           3227 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i, NUM_PKT_STATS);
bitmap           3230 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	bitmap_set(stats_bitmap->bitmap, last_i, NUM_XDP_STATS);
bitmap           3234 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		bitmap_set(stats_bitmap->bitmap, last_i, NUM_PHY_STATS);
bitmap           1018 drivers/net/ethernet/mellanox/mlx4/eq.c 	eq->eqn = mlx4_bitmap_alloc(&priv->eq_table.bitmap);
bitmap           1069 drivers/net/ethernet/mellanox/mlx4/eq.c 	mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR);
bitmap           1113 drivers/net/ethernet/mellanox/mlx4/eq.c 	mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR);
bitmap           1190 drivers/net/ethernet/mellanox/mlx4/eq.c 	err = mlx4_bitmap_init(&priv->eq_table.bitmap,
bitmap           1324 drivers/net/ethernet/mellanox/mlx4/eq.c 	mlx4_bitmap_cleanup(&priv->eq_table.bitmap);
bitmap           1357 drivers/net/ethernet/mellanox/mlx4/eq.c 	mlx4_bitmap_cleanup(&priv->eq_table.bitmap);
bitmap           1138 drivers/net/ethernet/mellanox/mlx4/mcg.c 		index = mlx4_bitmap_alloc(&priv->mcg_table.bitmap);
bitmap           1205 drivers/net/ethernet/mellanox/mlx4/mcg.c 			mlx4_bitmap_free(&priv->mcg_table.bitmap,
bitmap           1301 drivers/net/ethernet/mellanox/mlx4/mcg.c 				mlx4_bitmap_free(&priv->mcg_table.bitmap,
bitmap           1321 drivers/net/ethernet/mellanox/mlx4/mcg.c 			mlx4_bitmap_free(&priv->mcg_table.bitmap,
bitmap           1634 drivers/net/ethernet/mellanox/mlx4/mcg.c 	err = mlx4_bitmap_init(&priv->mcg_table.bitmap, dev->caps.num_amgms,
bitmap           1648 drivers/net/ethernet/mellanox/mlx4/mcg.c 		mlx4_bitmap_cleanup(&mlx4_priv(dev)->mcg_table.bitmap);
bitmap            667 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_bitmap	bitmap;
bitmap            680 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_bitmap	bitmap;
bitmap            688 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_bitmap	bitmap;
bitmap            701 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_bitmap	bitmap;
bitmap            731 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	struct mlx4_bitmap	bitmap;
bitmap            938 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap);
bitmap            939 drivers/net/ethernet/mellanox/mlx4/mlx4.h void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr);
bitmap            940 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt,
bitmap            942 drivers/net/ethernet/mellanox/mlx4/mlx4.h void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt,
bitmap            944 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap);
bitmap            945 drivers/net/ethernet/mellanox/mlx4/mlx4.h int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask,
bitmap            947 drivers/net/ethernet/mellanox/mlx4/mlx4.h void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap);
bitmap           1448 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		      struct mlx4_bitmap *bitmap,
bitmap            529 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	DECLARE_BITMAP(bitmap, NUM_ALL_STATS);
bitmap            149 drivers/net/ethernet/mellanox/mlx4/pd.c 	uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap);
bitmap            168 drivers/net/ethernet/mellanox/mlx4/pd.c 	mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index, MLX4_USE_RR);
bitmap            186 drivers/net/ethernet/mellanox/mlx4/pd.c 		if (mlx4_bitmap_avail(&priv->uar_table.bitmap) < MLX4_NUM_RESERVED_UARS) {
bitmap            287 drivers/net/ethernet/mellanox/mlx4/pd.c 	return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap,
bitmap            294 drivers/net/ethernet/mellanox/mlx4/pd.c 	mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap);
bitmap            552 drivers/net/ethernet/mellanox/mlx4/qp.c 	struct mlx4_bitmap (*bitmap)[MLX4_QP_TABLE_ZONE_NUM] = NULL;
bitmap            563 drivers/net/ethernet/mellanox/mlx4/qp.c 	bitmap = kmalloc(sizeof(*bitmap), GFP_KERNEL);
bitmap            565 drivers/net/ethernet/mellanox/mlx4/qp.c 	if (NULL == bitmap) {
bitmap            570 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_bitmap_init(*bitmap + MLX4_QP_TABLE_ZONE_GENERAL, dev->caps.num_qps,
bitmap            579 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL,
bitmap            587 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_bitmap_init(*bitmap + MLX4_QP_TABLE_ZONE_RSS,
bitmap            598 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS,
bitmap            616 drivers/net/ethernet/mellanox/mlx4/qp.c 	for (k = MLX4_QP_TABLE_ZONE_RSS + 1; k < sizeof(*bitmap)/sizeof((*bitmap)[0]);
bitmap            679 drivers/net/ethernet/mellanox/mlx4/qp.c 					*bitmap + MLX4_QP_TABLE_ZONE_RSS,
bitmap            690 drivers/net/ethernet/mellanox/mlx4/qp.c 			err = mlx4_bitmap_init(*bitmap + k, roundup_pow_of_two(size),
bitmap            697 drivers/net/ethernet/mellanox/mlx4/qp.c 			err = mlx4_bitmap_init(*bitmap + k, 1,
bitmap            700 drivers/net/ethernet/mellanox/mlx4/qp.c 			mlx4_bitmap_alloc_range(*bitmap + k, 1, 1, 0);
bitmap            708 drivers/net/ethernet/mellanox/mlx4/qp.c 		err = mlx4_zone_add_one(qp_table->zones, *bitmap + k,
bitmap            721 drivers/net/ethernet/mellanox/mlx4/qp.c 	qp_table->bitmap_gen = *bitmap;
bitmap            727 drivers/net/ethernet/mellanox/mlx4/qp.c 		mlx4_bitmap_cleanup(*bitmap + k);
bitmap            728 drivers/net/ethernet/mellanox/mlx4/qp.c 	kfree(bitmap);
bitmap            744 drivers/net/ethernet/mellanox/mlx4/qp.c 			struct mlx4_bitmap *bitmap =
bitmap            749 drivers/net/ethernet/mellanox/mlx4/qp.c 			if (NULL == bitmap)
bitmap            752 drivers/net/ethernet/mellanox/mlx4/qp.c 			mlx4_bitmap_cleanup(bitmap);
bitmap             99 drivers/net/ethernet/mellanox/mlx4/srq.c 	*srqn = mlx4_bitmap_alloc(&srq_table->bitmap);
bitmap            116 drivers/net/ethernet/mellanox/mlx4/srq.c 	mlx4_bitmap_free(&srq_table->bitmap, *srqn, MLX4_NO_RR);
bitmap            144 drivers/net/ethernet/mellanox/mlx4/srq.c 	mlx4_bitmap_free(&srq_table->bitmap, srqn, MLX4_NO_RR);
bitmap            282 drivers/net/ethernet/mellanox/mlx4/srq.c 	err = mlx4_bitmap_init(&srq_table->bitmap, dev->caps.num_srqs,
bitmap            294 drivers/net/ethernet/mellanox/mlx4/srq.c 	mlx4_bitmap_cleanup(&mlx4_priv(dev)->srq_table.bitmap);
bitmap             46 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	unsigned long	       *bitmap;
bitmap            190 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	pgdir->bitmap = bitmap_zalloc(db_per_page, GFP_KERNEL);
bitmap            191 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	if (!pgdir->bitmap) {
bitmap            196 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	bitmap_fill(pgdir->bitmap, db_per_page);
bitmap            201 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 		bitmap_free(pgdir->bitmap);
bitmap            216 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	i = find_first_bit(pgdir->bitmap, db_per_page);
bitmap            220 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	__clear_bit(i, pgdir->bitmap);
bitmap            275 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	__set_bit(db->index, db->u.pgdir->bitmap);
bitmap            277 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) {
bitmap            281 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 		bitmap_free(db->u.pgdir->bitmap);
bitmap             77 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	unsigned long        *bitmap;
bitmap             84 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	*ix = find_first_zero_bit(l2table->bitmap, l2table->size);
bitmap             88 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 		__set_bit(*ix, l2table->bitmap);
bitmap             95 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	__clear_bit(ix, l2table->bitmap);
bitmap            112 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	mpfs->bitmap = bitmap_zalloc(l2table_size, GFP_KERNEL);
bitmap            113 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	if (!mpfs->bitmap) {
bitmap            130 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c 	bitmap_free(mpfs->bitmap);
bitmap            212 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	unsigned long *bitmap;
bitmap            238 drivers/net/ethernet/mellanox/mlx5/core/uar.c 		bitmap = up->fp_bitmap;
bitmap            241 drivers/net/ethernet/mellanox/mlx5/core/uar.c 		bitmap = up->reg_bitmap;
bitmap            244 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	dbi = find_first_bit(bitmap, up->bfregs);
bitmap            245 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	clear_bit(dbi, bitmap);
bitmap            299 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	unsigned long *bitmap;
bitmap            315 drivers/net/ethernet/mellanox/mlx5/core/uar.c 		bitmap = up->fp_bitmap;
bitmap            318 drivers/net/ethernet/mellanox/mlx5/core/uar.c 		bitmap = up->reg_bitmap;
bitmap            322 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	set_bit(dbi, bitmap);
bitmap             49 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	DECLARE_BITMAP(bitmap, MLXSW_SP_ACL_TCAM_MASK_LEN);
bitmap            169 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 		__set_bit(bit, mask->bitmap);
bitmap            177 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 		__clear_bit(bit, mask->bitmap);
bitmap            190 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	bitmap_to_arr32((u32 *) master_mask, erp_table->master_mask.bitmap,
bitmap           1306 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap           1312 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap             69 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	bmap->bitmap = kcalloc(BITS_TO_LONGS(max_count), sizeof(long),
bitmap             71 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	if (!bmap->bitmap)
bitmap             83 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	*id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count);
bitmap             87 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	__set_bit(*id_num, bmap->bitmap);
bitmap            101 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	__set_bit(id_num, bmap->bitmap);
bitmap            112 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	b_acquired = test_and_clear_bit(id_num, bmap->bitmap);
bitmap            129 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	return test_bit(id_num, bmap->bitmap);
bitmap            134 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	return bmap->max_count == find_first_bit(bmap->bitmap, bmap->max_count);
bitmap            294 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->srq_map.bitmap);
bitmap            296 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->real_cid_map.bitmap);
bitmap            298 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->cid_map.bitmap);
bitmap            300 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->tid_map.bitmap);
bitmap            302 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->toggle_bits.bitmap);
bitmap            304 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->cq_map.bitmap);
bitmap            306 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->dpi_map.bitmap);
bitmap            308 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(p_rdma_info->pd_map.bitmap);
bitmap            320 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	int weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap            324 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	u64 *pmap = (u64 *)bmap->bitmap;
bitmap            361 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	kfree(bmap->bitmap);
bitmap            362 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	bmap->bitmap = NULL;
bitmap           1002 drivers/net/ethernet/qlogic/qed/qed_rdma.c 					  p_info->toggle_bits.bitmap);
bitmap           1818 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	if (!p_hwfn->p_rdma_info->cid_map.bitmap)
bitmap             73 drivers/net/ethernet/qlogic/qed/qed_rdma.h 	unsigned long *bitmap;
bitmap            109 drivers/net/ethernet/qlogic/qed/qed_roce.c 	while (bitmap_weight(rcid_map->bitmap, rcid_map->max_count)) {
bitmap           7075 drivers/net/wireless/ath/ath10k/mac.c 	u32 bitmap;
bitmap           7079 drivers/net/wireless/ath/ath10k/mac.c 			bitmap = ~(1 << WMI_MGMT_TID);
bitmap           7083 drivers/net/wireless/ath/ath10k/mac.c 							      arvif->bssid, bitmap);
bitmap           3521 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct wmi_tlv_wow_bitmap_pattern *bitmap;
bitmap           3529 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	      sizeof(*tlv) + sizeof(*bitmap) +  /* bitmap */
bitmap           3557 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*tlv) + sizeof(*bitmap));
bitmap           3563 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	tlv->len = __cpu_to_le16(sizeof(*bitmap));
bitmap           3564 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap = (void *)tlv->value;
bitmap           3566 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(bitmap->patternbuf, pattern, pattern_len);
bitmap           3567 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	memcpy(bitmap->bitmaskbuf, bitmask, pattern_len);
bitmap           3568 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap->pattern_offset = __cpu_to_le32(pattern_offset);
bitmap           3569 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap->pattern_len = __cpu_to_le32(pattern_len);
bitmap           3570 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap->bitmask_len = __cpu_to_le32(pattern_len);
bitmap           3571 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	bitmap->pattern_id = __cpu_to_le32(pattern_id);
bitmap           3574 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ptr += sizeof(*bitmap);
bitmap           3467 drivers/net/wireless/ath/ath6kl/wmi.c 					     u16 aid, u16 bitmap, u32 flags)
bitmap           3478 drivers/net/wireless/ath/ath6kl/wmi.c 	cmd->bitmap = cpu_to_le16(bitmap);
bitmap           2321 drivers/net/wireless/ath/ath6kl/wmi.h 	__le16 bitmap;
bitmap           2672 drivers/net/wireless/ath/ath6kl/wmi.h 						u16 bitmap, u32 flags);
bitmap            132 drivers/net/wireless/ath/carl9170/carl9170.h 	unsigned long bitmap[CARL9170_BAW_SIZE];
bitmap            318 drivers/net/wireless/ath/carl9170/debug.c 		    CARL9170_BAW_BITS, iter->bitmap);
bitmap           1482 drivers/net/wireless/ath/carl9170/main.c 			bitmap_zero(tid_info->bitmap, CARL9170_BAW_SIZE);
bitmap            362 drivers/net/wireless/ath/carl9170/tx.c 	WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap));
bitmap            368 drivers/net/wireless/ath/carl9170/tx.c 	if (!bitmap_empty(tid_info->bitmap, off))
bitmap            369 drivers/net/wireless/ath/carl9170/tx.c 		off = find_first_bit(tid_info->bitmap, off);
bitmap            374 drivers/net/wireless/ath/carl9170/tx.c 	bitmap_shift_right(tid_info->bitmap, tid_info->bitmap,
bitmap           1426 drivers/net/wireless/ath/carl9170/tx.c 	if (WARN_ON_ONCE(test_and_set_bit(off, agg->bitmap)))
bitmap           2031 drivers/net/wireless/ath/wcn36xx/smd.c void set_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap)
bitmap           2042 drivers/net/wireless/ath/wcn36xx/smd.c 	bitmap[arr_idx] |= (1 << bit_idx);
bitmap           2045 drivers/net/wireless/ath/wcn36xx/smd.c int get_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap)
bitmap           2057 drivers/net/wireless/ath/wcn36xx/smd.c 	return (bitmap[arr_idx] & (1 << bit_idx)) ? 1 : 0;
bitmap           2060 drivers/net/wireless/ath/wcn36xx/smd.c void clear_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap)
bitmap           2071 drivers/net/wireless/ath/wcn36xx/smd.c 	bitmap[arr_idx] &= ~(1 << bit_idx);
bitmap            125 drivers/net/wireless/ath/wcn36xx/smd.h void set_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap);
bitmap            126 drivers/net/wireless/ath/wcn36xx/smd.h int get_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap);
bitmap            127 drivers/net/wireless/ath/wcn36xx/smd.h void clear_feat_caps(u32 *bitmap, enum place_holder_in_cap_bitmap cap);
bitmap            844 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	u8 bitmap[8], queue, tid;
bitmap            870 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	memset(bitmap, 0, sizeof(bitmap));
bitmap            880 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[0] = (txs->status & TX_STATUS_BA_BMAP03_MASK) >>
bitmap            886 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[0] |=
bitmap            889 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[1] = (s1 >> 8) & 0xff;
bitmap            890 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[2] = (s1 >> 16) & 0xff;
bitmap            891 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[3] = (s1 >> 24) & 0xff;
bitmap            893 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[4] = s2 & 0xff;
bitmap            894 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[5] = (s2 >> 8) & 0xff;
bitmap            895 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[6] = (s2 >> 16) & 0xff;
bitmap            896 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		bitmap[7] = (s2 >> 24) & 0xff;
bitmap            960 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 				     isset(bitmap, bindex), index);
bitmap            963 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 			    && isset(bitmap, bindex)) {
bitmap            189 drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h static inline bool ac_bitmap_tst(u8 bitmap, int prec)
bitmap            191 drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h 	return (bitmap & (1 << (prec))) != 0;
bitmap           2505 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u64 bitmap, sent_bitmap;
bitmap           2508 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		if (unlikely(ba_resp->bitmap))
bitmap           2528 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	bitmap = le64_to_cpu(ba_resp->bitmap) >> sh;
bitmap           2532 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sent_bitmap = bitmap & agg->bitmap;
bitmap           2546 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_TX_REPLY("Bitmap %llx\n", (unsigned long long)bitmap);
bitmap           2664 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	agg->bitmap = 0;
bitmap           2688 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		u64 bitmap = 0;
bitmap           2727 drivers/net/wireless/intel/iwlegacy/4965-mac.c 				bitmap = bitmap << sh;
bitmap           2735 drivers/net/wireless/intel/iwlegacy/4965-mac.c 				bitmap = bitmap << sh;
bitmap           2738 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			bitmap |= 1ULL << sh;
bitmap           2740 drivers/net/wireless/intel/iwlegacy/4965-mac.c 				   (unsigned long long)bitmap);
bitmap           2743 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		agg->bitmap = bitmap;
bitmap           2747 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			   (unsigned long long)agg->bitmap);
bitmap           2749 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		if (bitmap)
bitmap           2955 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		   (unsigned long long)le64_to_cpu(ba_resp->bitmap),
bitmap           2958 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		   (unsigned long long)agg->bitmap);
bitmap           1729 drivers/net/wireless/intel/iwlegacy/commands.h 	__le64 bitmap;
bitmap            635 drivers/net/wireless/intel/iwlegacy/common.h 	u64 bitmap;
bitmap            434 drivers/net/wireless/intel/iwlegacy/debug.c 				      station->tid[j].agg.bitmap,
bitmap           1490 drivers/net/wireless/intel/iwlwifi/dvm/commands.h 	__le64 bitmap;
bitmap           1297 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		if (unlikely(ba_resp->bitmap))
bitmap           1333 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			   (unsigned long long)le64_to_cpu(ba_resp->bitmap),
bitmap            911 drivers/net/wireless/intel/iwlwifi/fw/api/rx.h 	__le64 bitmap[BA_WINDOW_STREAMS_MAX];
bitmap            674 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h 	__le64 bitmap;
bitmap            863 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		u64 bitmap;
bitmap            884 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		bitmap = le64_to_cpu(notif->bitmap[i]);
bitmap            888 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		ieee80211_mark_rx_ba_filtered_frames(sta, tid, ssn, bitmap,
bitmap           1994 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			   le64_to_cpu(ba_notif->bitmap), txq, index,
bitmap            738 drivers/net/wireless/marvell/libertas/host.h 	__le16 bitmap;
bitmap            960 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 				if (tlv_rxba->bitmap[i] & (1 << j)) {
bitmap            793 drivers/net/wireless/marvell/mwifiex/fw.h 	u8 bitmap[1];
bitmap           1541 drivers/net/wireless/marvell/mwifiex/sdio.c 	u32 bitmap;
bitmap           1596 drivers/net/wireless/marvell/mwifiex/sdio.c 		bitmap = (u32) card->mp_regs[reg->wr_bitmap_l];
bitmap           1597 drivers/net/wireless/marvell/mwifiex/sdio.c 		bitmap |= ((u32) card->mp_regs[reg->wr_bitmap_u]) << 8;
bitmap           1599 drivers/net/wireless/marvell/mwifiex/sdio.c 			bitmap |=
bitmap           1601 drivers/net/wireless/marvell/mwifiex/sdio.c 			bitmap |=
bitmap           1604 drivers/net/wireless/marvell/mwifiex/sdio.c 		card->mp_wr_bitmap = bitmap;
bitmap           1632 drivers/net/wireless/marvell/mwifiex/sdio.c 		bitmap = (u32) card->mp_regs[reg->rd_bitmap_l];
bitmap           1633 drivers/net/wireless/marvell/mwifiex/sdio.c 		bitmap |= ((u32) card->mp_regs[reg->rd_bitmap_u]) << 8;
bitmap           1635 drivers/net/wireless/marvell/mwifiex/sdio.c 			bitmap |=
bitmap           1637 drivers/net/wireless/marvell/mwifiex/sdio.c 			bitmap |=
bitmap           1640 drivers/net/wireless/marvell/mwifiex/sdio.c 		card->mp_rd_bitmap = bitmap;
bitmap           2190 drivers/net/wireless/marvell/mwl8k.c 			       u32 bitmap);
bitmap           2209 drivers/net/wireless/marvell/mwl8k.c 	u32 bitmap = 0;
bitmap           2232 drivers/net/wireless/marvell/mwl8k.c 			bitmap = priv->running_bsses;
bitmap           2233 drivers/net/wireless/marvell/mwl8k.c 			mwl8k_enable_bsses(hw, false, bitmap);
bitmap           2286 drivers/net/wireless/marvell/mwl8k.c 	if (bitmap)
bitmap           2287 drivers/net/wireless/marvell/mwl8k.c 		mwl8k_enable_bsses(hw, true, bitmap);
bitmap           3784 drivers/net/wireless/marvell/mwl8k.c 	u8	bitmap;
bitmap           3787 drivers/net/wireless/marvell/mwl8k.c static int mwl8k_cmd_get_watchdog_bitmap(struct ieee80211_hw *hw, u8 *bitmap)
bitmap           3801 drivers/net/wireless/marvell/mwl8k.c 		*bitmap = cmd->bitmap;
bitmap           3816 drivers/net/wireless/marvell/mwl8k.c 	u8 bitmap = 0, stream_index;
bitmap           3826 drivers/net/wireless/marvell/mwl8k.c 	rc = mwl8k_cmd_get_watchdog_bitmap(priv->hw, &bitmap);
bitmap           3834 drivers/net/wireless/marvell/mwl8k.c 		if (bitmap & (1 << i)) {
bitmap           3901 drivers/net/wireless/marvell/mwl8k.c static void mwl8k_enable_bsses(struct ieee80211_hw *hw, bool enable, u32 bitmap)
bitmap           3910 drivers/net/wireless/marvell/mwl8k.c 		if (!(bitmap & (1 << mwl8k_vif->macid)))
bitmap            262 drivers/net/wireless/realtek/rtlwifi/cam.c 	u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4;
bitmap            278 drivers/net/wireless/realtek/rtlwifi/cam.c 		if ((bitmap & BIT(0)) == 0) {
bitmap            286 drivers/net/wireless/realtek/rtlwifi/cam.c 		bitmap = bitmap >> 1;
bitmap            295 drivers/net/wireless/realtek/rtlwifi/cam.c 	u32 bitmap;
bitmap            310 drivers/net/wireless/realtek/rtlwifi/cam.c 		bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> i;
bitmap            311 drivers/net/wireless/realtek/rtlwifi/cam.c 		if (((bitmap & BIT(0)) == BIT(0)) &&
bitmap           1427 drivers/net/wireless/realtek/rtlwifi/wifi.h 	u64 bitmap;
bitmap            242 drivers/net/wireless/realtek/rtw88/coex.c static void rtw_coex_set_wl_pri_mask(struct rtw_dev *rtwdev, u8 bitmap,
bitmap            247 drivers/net/wireless/realtek/rtw88/coex.c 	addr = REG_BT_COEX_TABLE_H + (bitmap / 8);
bitmap            248 drivers/net/wireless/realtek/rtw88/coex.c 	bitmap = bitmap % 8;
bitmap            250 drivers/net/wireless/realtek/rtw88/coex.c 	rtw_write8_mask(rtwdev, addr, BIT(bitmap), data);
bitmap            170 drivers/net/wireless/ti/wl1251/cmd.c 		   void *bitmap, u16 bitmap_len, u8 bitmap_control)
bitmap            190 drivers/net/wireless/ti/wl1251/cmd.c 	memcpy(vbm->tim.pvb_field, bitmap, bitmap_len);
bitmap             23 drivers/net/wireless/ti/wl1251/cmd.h 		   void *bitmap, u16 bitmap_len, u8 bitmap_control);
bitmap           2098 drivers/of/base.c 			     const char *stem, unsigned long *bitmap,
bitmap           2105 drivers/of/base.c 	bitmap_zero(bitmap, nbits);
bitmap           2127 drivers/of/base.c 				set_bit(app->id, bitmap);
bitmap             38 drivers/pci/controller/pci-xgene-msi.c 	unsigned long		*bitmap;
bitmap            202 drivers/pci/controller/pci-xgene-msi.c 	msi_irq = bitmap_find_next_zero_area(msi->bitmap, NR_MSI_VEC, 0,
bitmap            205 drivers/pci/controller/pci-xgene-msi.c 		bitmap_set(msi->bitmap, msi_irq, msi->num_cpus);
bitmap            231 drivers/pci/controller/pci-xgene-msi.c 	bitmap_clear(msi->bitmap, hwirq, msi->num_cpus);
bitmap            274 drivers/pci/controller/pci-xgene-msi.c 	xgene_msi->bitmap = kzalloc(size, GFP_KERNEL);
bitmap            275 drivers/pci/controller/pci-xgene-msi.c 	if (!xgene_msi->bitmap)
bitmap            366 drivers/pci/controller/pci-xgene-msi.c 	kfree(msi->bitmap);
bitmap            367 drivers/pci/controller/pci-xgene-msi.c 	msi->bitmap = NULL;
bitmap            100 drivers/pci/controller/pcie-iproc-msi.c 	unsigned long *bitmap;
bitmap            251 drivers/pci/controller/pcie-iproc-msi.c 	hwirq = bitmap_find_next_zero_area(msi->bitmap, msi->nr_msi_vecs, 0,
bitmap            254 drivers/pci/controller/pcie-iproc-msi.c 		bitmap_set(msi->bitmap, hwirq, msi->nr_cpus);
bitmap            282 drivers/pci/controller/pcie-iproc-msi.c 	bitmap_clear(msi->bitmap, hwirq, msi->nr_cpus);
bitmap            581 drivers/pci/controller/pcie-iproc-msi.c 	msi->bitmap = devm_kcalloc(pcie->dev, BITS_TO_LONGS(msi->nr_msi_vecs),
bitmap            582 drivers/pci/controller/pcie-iproc-msi.c 				   sizeof(*msi->bitmap), GFP_KERNEL);
bitmap            583 drivers/pci/controller/pcie-iproc-msi.c 	if (!msi->bitmap)
bitmap            147 drivers/pci/controller/pcie-xilinx-nwl.c 	unsigned long *bitmap;
bitmap            485 drivers/pci/controller/pcie-xilinx-nwl.c 	bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR,
bitmap            509 drivers/pci/controller/pcie-xilinx-nwl.c 	bitmap_release_region(msi->bitmap, data->hwirq,
bitmap            582 drivers/pci/controller/pcie-xilinx-nwl.c 	msi->bitmap = kzalloc(size, GFP_KERNEL);
bitmap            583 drivers/pci/controller/pcie-xilinx-nwl.c 	if (!msi->bitmap)
bitmap            653 drivers/pci/controller/pcie-xilinx-nwl.c 	kfree(msi->bitmap);
bitmap            654 drivers/pci/controller/pcie-xilinx-nwl.c 	msi->bitmap = NULL;
bitmap             53 drivers/pci/endpoint/pci-epc-mem.c 	unsigned long *bitmap;
bitmap             71 drivers/pci/endpoint/pci-epc-mem.c 	bitmap = kzalloc(bitmap_size, GFP_KERNEL);
bitmap             72 drivers/pci/endpoint/pci-epc-mem.c 	if (!bitmap) {
bitmap             77 drivers/pci/endpoint/pci-epc-mem.c 	mem->bitmap = bitmap;
bitmap            108 drivers/pci/endpoint/pci-epc-mem.c 	kfree(mem->bitmap);
bitmap            135 drivers/pci/endpoint/pci-epc-mem.c 	pageno = bitmap_find_free_region(mem->bitmap, mem->pages, order);
bitmap            142 drivers/pci/endpoint/pci-epc-mem.c 		bitmap_release_region(mem->bitmap, pageno, order);
bitmap            172 drivers/pci/endpoint/pci-epc-mem.c 	bitmap_release_region(mem->bitmap, pageno, order);
bitmap            160 drivers/pci/hotplug/ibmphp_core.c 					rtable->slots[loop].irq[0].bitmap);
bitmap            162 drivers/pci/hotplug/ibmphp_core.c 					rtable->slots[loop].irq[1].bitmap);
bitmap            164 drivers/pci/hotplug/ibmphp_core.c 					rtable->slots[loop].irq[2].bitmap);
bitmap            166 drivers/pci/hotplug/ibmphp_core.c 					rtable->slots[loop].irq[3].bitmap);
bitmap            595 drivers/perf/arm-ccn.c static int arm_ccn_pmu_alloc_bit(unsigned long *bitmap, unsigned long size)
bitmap            600 drivers/perf/arm-ccn.c 		bit = find_first_zero_bit(bitmap, size);
bitmap            603 drivers/perf/arm-ccn.c 	} while (test_and_set_bit(bit, bitmap));
bitmap             33 drivers/s390/cio/chp.h static inline int chp_test_bit(u8 *bitmap, int num)
bitmap             38 drivers/s390/cio/chp.h 	return (bitmap[byte] & mask) ? 1 : 0;
bitmap             16 drivers/s390/cio/idset.c 	unsigned long bitmap[0];
bitmap             32 drivers/s390/cio/idset.c 		memset(set->bitmap, 0, bitmap_size(num_ssid, num_id));
bitmap             44 drivers/s390/cio/idset.c 	memset(set->bitmap, 0xff, bitmap_size(set->num_ssid, set->num_id));
bitmap             49 drivers/s390/cio/idset.c 	set_bit(ssid * set->num_id + id, set->bitmap);
bitmap             54 drivers/s390/cio/idset.c 	clear_bit(ssid * set->num_id + id, set->bitmap);
bitmap             59 drivers/s390/cio/idset.c 	return test_bit(ssid * set->num_id + id, set->bitmap);
bitmap             66 drivers/s390/cio/idset.c 	bitnum = find_first_bit(set->bitmap, set->num_ssid * set->num_id);
bitmap             94 drivers/s390/cio/idset.c 	bitmap_clear(set->bitmap, pos, set->num_id - schid.sch_no);
bitmap            104 drivers/s390/cio/idset.c 	return bitmap_empty(set->bitmap, set->num_ssid * set->num_id);
bitmap            111 drivers/s390/cio/idset.c 	bitmap_or(to->bitmap, to->bitmap, from->bitmap, len);
bitmap            903 drivers/s390/crypto/ap_bus.c static int hex2bitmap(const char *str, unsigned long *bitmap, int bits)
bitmap            920 drivers/s390/crypto/ap_bus.c 				set_bit_inv(i + n, bitmap);
bitmap            948 drivers/s390/crypto/ap_bus.c static int modify_bitmap(const char *str, unsigned long *bitmap, int bits)
bitmap            973 drivers/s390/crypto/ap_bus.c 				set_bit_inv(i, bitmap);
bitmap            975 drivers/s390/crypto/ap_bus.c 				clear_bit_inv(i, bitmap);
bitmap            984 drivers/s390/crypto/ap_bus.c 		      unsigned long *bitmap, int bits,
bitmap           1004 drivers/s390/crypto/ap_bus.c 		memcpy(newmap, bitmap, size);
bitmap           1011 drivers/s390/crypto/ap_bus.c 		memcpy(bitmap, newmap, size);
bitmap            482 drivers/scsi/53c700.c bitmap_to_number(__u8 bitmap)
bitmap            486 drivers/scsi/53c700.c 	for(i=0; i<8 && !(bitmap &(1<<i)); i++)
bitmap            159 drivers/scsi/hisi_sas/hisi_sas_main.c 	void *bitmap = hisi_hba->slot_index_tags;
bitmap            161 drivers/scsi/hisi_sas/hisi_sas_main.c 	clear_bit(slot_idx, bitmap);
bitmap            178 drivers/scsi/hisi_sas/hisi_sas_main.c 	void *bitmap = hisi_hba->slot_index_tags;
bitmap            180 drivers/scsi/hisi_sas/hisi_sas_main.c 	set_bit(slot_idx, bitmap);
bitmap            187 drivers/scsi/hisi_sas/hisi_sas_main.c 	void *bitmap = hisi_hba->slot_index_tags;
bitmap            194 drivers/scsi/hisi_sas/hisi_sas_main.c 	index = find_next_zero_bit(bitmap, hisi_hba->slot_index_count,
bitmap            197 drivers/scsi/hisi_sas/hisi_sas_main.c 		index = find_next_zero_bit(bitmap,
bitmap            850 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	int i, bitmap = 0;
bitmap            855 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			bitmap |= 1 << i;
bitmap            857 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	return bitmap;
bitmap            772 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void *bitmap = hisi_hba->slot_index_tags;
bitmap            802 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		start = find_next_zero_bit(bitmap,
bitmap            816 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	set_bit(start, bitmap);
bitmap            825 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void *bitmap = hisi_hba->sata_dev_bitmap;
bitmap            827 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	index = find_first_zero_bit(bitmap, HISI_MAX_SATA_SUPPORT_V2_HW);
bitmap            833 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	set_bit(index, bitmap);
bitmap           1619 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	int i, bitmap = 0;
bitmap           1626 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				bitmap |= 1 << i;
bitmap           1634 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				bitmap |= 1 << 9;
bitmap           1637 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	return bitmap;
bitmap           1010 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	int i, bitmap = 0;
bitmap           1017 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				bitmap |= BIT(i);
bitmap           1019 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return bitmap;
bitmap             25 drivers/scsi/mvsas/mv_sas.c 	void *bitmap = mvi->tags;
bitmap             26 drivers/scsi/mvsas/mv_sas.c 	clear_bit(tag, bitmap);
bitmap             36 drivers/scsi/mvsas/mv_sas.c 	void *bitmap = mvi->tags;
bitmap             37 drivers/scsi/mvsas/mv_sas.c 	set_bit(tag, bitmap);
bitmap             43 drivers/scsi/mvsas/mv_sas.c 	void *bitmap = mvi->tags;
bitmap             45 drivers/scsi/mvsas/mv_sas.c 	index = find_first_zero_bit(bitmap, mvi->tags_num);
bitmap           1655 drivers/scsi/mvumi.c 		ar_bitmap = (const unsigned long *) param->bitmap;
bitmap           1656 drivers/scsi/mvumi.c 		re_bitmap = (const unsigned long *) &param->bitmap[size >> 3];
bitmap            133 drivers/scsi/mvumi.h 	u8 bitmap[0];
bitmap             67 drivers/scsi/pm8001/pm8001_sas.c 	void *bitmap = pm8001_ha->tags;
bitmap             68 drivers/scsi/pm8001/pm8001_sas.c 	clear_bit(tag, bitmap);
bitmap             79 drivers/scsi/pm8001/pm8001_sas.c 	void *bitmap = pm8001_ha->tags;
bitmap             83 drivers/scsi/pm8001/pm8001_sas.c 	tag = find_first_zero_bit(bitmap, pm8001_ha->tags_num);
bitmap             88 drivers/scsi/pm8001/pm8001_sas.c 	set_bit(tag, bitmap);
bitmap           4534 drivers/scsi/qla2xxx/qla_def.h 	uint8_t bitmap;		/* 28xx only */
bitmap           7347 drivers/scsi/qla2xxx/qla_init.c 	    image_status->bitmap,
bitmap           7387 drivers/scsi/qla2xxx/qla_init.c 	return aux->bitmap & bitmask ?
bitmap            441 drivers/scsi/ufs/ufshcd.c void ufshcd_print_trs(struct ufs_hba *hba, unsigned long bitmap, bool pr_prdt)
bitmap            447 drivers/scsi/ufs/ufshcd.c 	for_each_set_bit(tag, &bitmap, hba->nutrs) {
bitmap            482 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_tmrs(struct ufs_hba *hba, unsigned long bitmap)
bitmap            486 drivers/scsi/ufs/ufshcd.c 	for_each_set_bit(tag, &bitmap, hba->nutmrs) {
bitmap           6015 drivers/scsi/ufs/ufshcd.c static void ufshcd_set_req_abort_skip(struct ufs_hba *hba, unsigned long bitmap)
bitmap           6020 drivers/scsi/ufs/ufshcd.c 	for_each_set_bit(tag, &bitmap, hba->nutrs) {
bitmap             43 drivers/sh/clk/core.c 			  unsigned long *bitmap)
bitmap             61 drivers/sh/clk/core.c 		if (!div || !mult || (bitmap && !test_bit(i, bitmap)))
bitmap            159 drivers/soc/qcom/llcc-slice.c 	if (test_bit(desc->slice_id, drv_data->bitmap)) {
bitmap            173 drivers/soc/qcom/llcc-slice.c 	__set_bit(desc->slice_id, drv_data->bitmap);
bitmap            199 drivers/soc/qcom/llcc-slice.c 	if (!test_bit(desc->slice_id, drv_data->bitmap)) {
bitmap            212 drivers/soc/qcom/llcc-slice.c 	__clear_bit(desc->slice_id, drv_data->bitmap);
bitmap            380 drivers/soc/qcom/llcc-slice.c 	drv_data->bitmap = devm_kcalloc(dev,
bitmap            383 drivers/soc/qcom/llcc-slice.c 	if (!drv_data->bitmap) {
bitmap            166 drivers/staging/comedi/drivers/ni_usb6501.c 			       unsigned int val, u8 *bitmap)
bitmap            174 drivers/staging/comedi/drivers/ni_usb6501.c 	if (command != SET_PORT_DIR && !bitmap)
bitmap            191 drivers/staging/comedi/drivers/ni_usb6501.c 		tx[17] = *bitmap;
bitmap            229 drivers/staging/comedi/drivers/ni_usb6501.c 		*bitmap = devpriv->usb_rx_buf[14];
bitmap            363 drivers/staging/comedi/drivers/ni_usb6501.c 	u8 bitmap;
bitmap            369 drivers/staging/comedi/drivers/ni_usb6501.c 			bitmap = (s->state >> port * 8) & 0xFF;
bitmap            371 drivers/staging/comedi/drivers/ni_usb6501.c 						  port, &bitmap);
bitmap            380 drivers/staging/comedi/drivers/ni_usb6501.c 		ret = ni6501_port_command(dev, READ_PORT, port, &bitmap);
bitmap            383 drivers/staging/comedi/drivers/ni_usb6501.c 		data[1] |= bitmap << port * 8;
bitmap             67 drivers/staging/exfat/exfat_core.c static inline s32 exfat_bitmap_test(u8 *bitmap, int i)
bitmap             71 drivers/staging/exfat/exfat_core.c 	data = bitmap[BITMAP_LOC(i)];
bitmap             77 drivers/staging/exfat/exfat_core.c static inline void exfat_bitmap_set(u8 *bitmap, int i)
bitmap             79 drivers/staging/exfat/exfat_core.c 	bitmap[BITMAP_LOC(i)] |= (0x01 << BITMAP_SHIFT(i));
bitmap             82 drivers/staging/exfat/exfat_core.c static inline void exfat_bitmap_clear(u8 *bitmap, int i)
bitmap             84 drivers/staging/exfat/exfat_core.c 	bitmap[BITMAP_LOC(i)] &= ~(0x01 << BITMAP_SHIFT(i));
bitmap            118 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c void rtw_hal_add_ra_tid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi_level)
bitmap            125 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	raid = (bitmap>>28) & 0x0f;
bitmap            126 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	bitmap &= 0x0fffffff;
bitmap            129 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 		bitmap = ODM_Get_Rate_Bitmap(odmpriv, macid, bitmap, rssi_level);
bitmap            131 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	bitmap |= ((raid<<28)&0xf0000000);
bitmap            133 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	init_rate = get_highest_rate_idx(bitmap&0x0fffffff)&0x3f;
bitmap            140 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	raid = (bitmap>>28) & 0x0f;
bitmap            142 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	bitmap &= 0x0fffffff;
bitmap            145 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 		__func__, macid, raid, bitmap, shortGIrate);
bitmap            147 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	ODM_RA_UpdateRateInfo_8188E(odmpriv, macid, raid, bitmap, shortGIrate);
bitmap            198 drivers/staging/rtl8188eu/include/hal_intf.h void	rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg, u8 level);
bitmap            527 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	cam_ctl->bitmap = 0;
bitmap            657 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if (!(cam_ctl->bitmap & BIT(cam_id)))
bitmap            752 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 			if (!(cam_ctl->bitmap & BIT(i)))
bitmap            771 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		cam_ctl->bitmap |= BIT(cam_id);
bitmap            786 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		cam_ctl->bitmap &= ~(BIT(cam_id));
bitmap            297 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_add_ra_tid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level)
bitmap            300 drivers/staging/rtl8723bs/hal/hal_intf.c 		padapter->HalFunc.Add_RateATid(padapter, bitmap, arg, rssi_level);
bitmap           2032 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	u32 bitmap,
bitmap           2045 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	u32 mask = bitmap&0x0FFFFFFF;
bitmap            410 drivers/staging/rtl8723bs/include/drv_types.h 	u64 bitmap;
bitmap            230 drivers/staging/rtl8723bs/include/hal_intf.h 	void (*Add_RateATid)(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level);
bitmap            360 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_add_ra_tid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level);
bitmap            169 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_Add_RateATid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level);
bitmap            718 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	f->fmt.win.bitmap = NULL;
bitmap            145 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h 		(win_fmt)->bitmap); \
bitmap            803 drivers/target/target_core_user.c static inline size_t spc_bitmap_free(unsigned long *bitmap, uint32_t thresh)
bitmap            805 drivers/target/target_core_user.c 	return thresh - bitmap_weight(bitmap, thresh);
bitmap            139 drivers/usb/mtu3/mtu3.h 	DECLARE_BITMAP(bitmap, MTU3_FIFO_BIT_SIZE);
bitmap             36 drivers/usb/mtu3/mtu3_core.c 	start_bit = bitmap_find_next_zero_area(fifo->bitmap,
bitmap             41 drivers/usb/mtu3/mtu3_core.c 	bitmap_set(fifo->bitmap, start_bit, num_bits);
bitmap             62 drivers/usb/mtu3/mtu3_core.c 	bitmap_clear(fifo->bitmap, start_bit, bits);
bitmap            449 drivers/usb/mtu3/mtu3_core.c 		bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE);
bitmap            455 drivers/usb/mtu3/mtu3_core.c 		bitmap_zero(rx_fifo->bitmap, MTU3_FIFO_BIT_SIZE);
bitmap            462 drivers/usb/mtu3/mtu3_core.c 		bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE);
bitmap            468 drivers/usb/mtu3/mtu3_core.c 		bitmap_zero(rx_fifo->bitmap, MTU3_FIFO_BIT_SIZE);
bitmap            848 drivers/vfio/vfio_iommu_type1.c 	unsigned long bitmap = ULONG_MAX;
bitmap            852 drivers/vfio/vfio_iommu_type1.c 		bitmap &= domain->domain->pgsize_bitmap;
bitmap            863 drivers/vfio/vfio_iommu_type1.c 	if (bitmap & ~PAGE_MASK) {
bitmap            864 drivers/vfio/vfio_iommu_type1.c 		bitmap &= PAGE_MASK;
bitmap            865 drivers/vfio/vfio_iommu_type1.c 		bitmap |= PAGE_SIZE;
bitmap            868 drivers/vfio/vfio_iommu_type1.c 	return bitmap;
bitmap           1317 drivers/video/fbdev/pm2fb.c 		u8 *bitmap = (u8 *)cursor->image.data;
bitmap           1329 drivers/video/fbdev/pm2fb.c 				u8 data = *bitmap ^ *mask;
bitmap           1332 drivers/video/fbdev/pm2fb.c 					data = *mask & *bitmap;
bitmap           1341 drivers/video/fbdev/pm2fb.c 				bitmap++;
bitmap           1424 drivers/video/fbdev/pm2fb.c 		u8 *bitmap = (u8 *)cursor->image.data;
bitmap           1437 drivers/video/fbdev/pm2fb.c 				u8 data = *bitmap ^ *mask;
bitmap           1440 drivers/video/fbdev/pm2fb.c 					data = *mask & *bitmap;
bitmap           1443 drivers/video/fbdev/pm2fb.c 				bitmap++;
bitmap            679 drivers/video/fbdev/pm3fb.c 		u8 *bitmap = (u8 *)cursor->image.data;
bitmap            689 drivers/video/fbdev/pm3fb.c 				u8 data = *bitmap ^ *mask;
bitmap            692 drivers/video/fbdev/pm3fb.c 					data = *mask & *bitmap;
bitmap            701 drivers/video/fbdev/pm3fb.c 				bitmap++;
bitmap           1116 drivers/video/fbdev/tdfxfb.c 		u8 *bitmap = (u8 *)cursor->image.data;
bitmap           1127 drivers/video/fbdev/tdfxfb.c 				u8 data = *mask ^ *bitmap;
bitmap           1129 drivers/video/fbdev/tdfxfb.c 					data = *mask & *bitmap;
bitmap           1135 drivers/video/fbdev/tdfxfb.c 				bitmap++;
bitmap            143 drivers/virtio/virtio_input.c 					      u.bitmap),
bitmap            372 fs/afs/dir.c   		if (!(block->hdr.bitmap[offset / 8] &
bitmap            403 fs/afs/dir.c   			if (!(block->hdr.bitmap[next / 8] &
bitmap             25 fs/afs/dir_edit.c 	u64 bitmap;
bitmap             29 fs/afs/dir_edit.c 	bitmap  = (u64)block->hdr.bitmap[0] << 0 * 8;
bitmap             30 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[1] << 1 * 8;
bitmap             31 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[2] << 2 * 8;
bitmap             32 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[3] << 3 * 8;
bitmap             33 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[4] << 4 * 8;
bitmap             34 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[5] << 5 * 8;
bitmap             35 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[6] << 6 * 8;
bitmap             36 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[7] << 7 * 8;
bitmap             37 fs/afs/dir_edit.c 	bitmap >>= 1; /* The first entry is metadata */
bitmap             43 fs/afs/dir_edit.c 			n = ffz(bitmap);
bitmap             45 fs/afs/dir_edit.c 			n = ((u32)bitmap) != 0 ?
bitmap             46 fs/afs/dir_edit.c 				ffz((u32)bitmap) :
bitmap             47 fs/afs/dir_edit.c 				ffz((u32)(bitmap >> 32)) + 32;
bitmap             48 fs/afs/dir_edit.c 		bitmap >>= n;
bitmap             51 fs/afs/dir_edit.c 		if ((bitmap & mask) == 0) {
bitmap             57 fs/afs/dir_edit.c 		n = __ffs(bitmap);
bitmap             58 fs/afs/dir_edit.c 		bitmap >>= n;
bitmap             60 fs/afs/dir_edit.c 	} while (bitmap);
bitmap             76 fs/afs/dir_edit.c 	block->hdr.bitmap[0] |= (u8)(mask >> 0 * 8);
bitmap             77 fs/afs/dir_edit.c 	block->hdr.bitmap[1] |= (u8)(mask >> 1 * 8);
bitmap             78 fs/afs/dir_edit.c 	block->hdr.bitmap[2] |= (u8)(mask >> 2 * 8);
bitmap             79 fs/afs/dir_edit.c 	block->hdr.bitmap[3] |= (u8)(mask >> 3 * 8);
bitmap             80 fs/afs/dir_edit.c 	block->hdr.bitmap[4] |= (u8)(mask >> 4 * 8);
bitmap             81 fs/afs/dir_edit.c 	block->hdr.bitmap[5] |= (u8)(mask >> 5 * 8);
bitmap             82 fs/afs/dir_edit.c 	block->hdr.bitmap[6] |= (u8)(mask >> 6 * 8);
bitmap             83 fs/afs/dir_edit.c 	block->hdr.bitmap[7] |= (u8)(mask >> 7 * 8);
bitmap             97 fs/afs/dir_edit.c 	block->hdr.bitmap[0] &= ~(u8)(mask >> 0 * 8);
bitmap             98 fs/afs/dir_edit.c 	block->hdr.bitmap[1] &= ~(u8)(mask >> 1 * 8);
bitmap             99 fs/afs/dir_edit.c 	block->hdr.bitmap[2] &= ~(u8)(mask >> 2 * 8);
bitmap            100 fs/afs/dir_edit.c 	block->hdr.bitmap[3] &= ~(u8)(mask >> 3 * 8);
bitmap            101 fs/afs/dir_edit.c 	block->hdr.bitmap[4] &= ~(u8)(mask >> 4 * 8);
bitmap            102 fs/afs/dir_edit.c 	block->hdr.bitmap[5] &= ~(u8)(mask >> 5 * 8);
bitmap            103 fs/afs/dir_edit.c 	block->hdr.bitmap[6] &= ~(u8)(mask >> 6 * 8);
bitmap            104 fs/afs/dir_edit.c 	block->hdr.bitmap[7] &= ~(u8)(mask >> 7 * 8);
bitmap            114 fs/afs/dir_edit.c 	u64 bitmap;
bitmap            119 fs/afs/dir_edit.c 	bitmap  = (u64)block->hdr.bitmap[0] << 0 * 8;
bitmap            120 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[1] << 1 * 8;
bitmap            121 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[2] << 2 * 8;
bitmap            122 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[3] << 3 * 8;
bitmap            123 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[4] << 4 * 8;
bitmap            124 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[5] << 5 * 8;
bitmap            125 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[6] << 6 * 8;
bitmap            126 fs/afs/dir_edit.c 	bitmap |= (u64)block->hdr.bitmap[7] << 7 * 8;
bitmap            131 fs/afs/dir_edit.c 		if (!((bitmap >> d) & 1))
bitmap            161 fs/afs/dir_edit.c 	block->hdr.bitmap[0] = 1;
bitmap            164 fs/afs/dir_edit.c 		block->hdr.bitmap[0] = 0xff;
bitmap            165 fs/afs/dir_edit.c 		block->hdr.bitmap[1] = 0x1f;
bitmap             73 fs/afs/xdr_fs.h 	u8		bitmap[8];
bitmap            517 fs/btrfs/free-space-cache.c 			    void *bitmap)
bitmap            527 fs/btrfs/free-space-cache.c 	entry->type = (bitmap) ? BTRFS_FREE_SPACE_BITMAP :
bitmap            546 fs/btrfs/free-space-cache.c static int io_ctl_add_bitmap(struct btrfs_io_ctl *io_ctl, void *bitmap)
bitmap            562 fs/btrfs/free-space-cache.c 	copy_page(io_ctl->cur, bitmap);
bitmap            622 fs/btrfs/free-space-cache.c 	copy_page(entry->bitmap, io_ctl->cur);
bitmap            648 fs/btrfs/free-space-cache.c 		if (e->bitmap || prev->bitmap)
bitmap            774 fs/btrfs/free-space-cache.c 			e->bitmap = kmem_cache_zalloc(
bitmap            776 fs/btrfs/free-space-cache.c 			if (!e->bitmap) {
bitmap            954 fs/btrfs/free-space-cache.c 				       e->bitmap);
bitmap            958 fs/btrfs/free-space-cache.c 		if (e->bitmap) {
bitmap           1108 fs/btrfs/free-space-cache.c 		ret = io_ctl_add_bitmap(io_ctl, entry->bitmap);
bitmap           1450 fs/btrfs/free-space-cache.c 			      struct rb_node *node, int bitmap)
bitmap           1478 fs/btrfs/free-space-cache.c 			if (bitmap) {
bitmap           1479 fs/btrfs/free-space-cache.c 				if (info->bitmap) {
bitmap           1485 fs/btrfs/free-space-cache.c 				if (!info->bitmap) {
bitmap           1535 fs/btrfs/free-space-cache.c 		if (entry->bitmap)
bitmap           1549 fs/btrfs/free-space-cache.c 		WARN_ON(!entry->bitmap);
bitmap           1552 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           1561 fs/btrfs/free-space-cache.c 				if (!prev->bitmap &&
bitmap           1588 fs/btrfs/free-space-cache.c 	if (entry->bitmap) {
bitmap           1593 fs/btrfs/free-space-cache.c 			if (!prev->bitmap &&
bitmap           1606 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           1643 fs/btrfs/free-space-cache.c 	ASSERT(info->bytes || info->bitmap);
bitmap           1645 fs/btrfs/free-space-cache.c 				 &info->offset_index, (info->bitmap != NULL));
bitmap           1711 fs/btrfs/free-space-cache.c 	bitmap_clear(info->bitmap, start, count);
bitmap           1736 fs/btrfs/free-space-cache.c 	bitmap_set(info->bitmap, start, count);
bitmap           1771 fs/btrfs/free-space-cache.c 	for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) {
bitmap           1776 fs/btrfs/free-space-cache.c 		next_zero = find_next_zero_bit(bitmap_info->bitmap,
bitmap           1801 fs/btrfs/free-space-cache.c 	if (entry->bitmap)
bitmap           1851 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           1891 fs/btrfs/free-space-cache.c 	kmem_cache_free(btrfs_free_space_bitmap_cachep, bitmap_info->bitmap);
bitmap           1951 fs/btrfs/free-space-cache.c 		if (!bitmap_info->bitmap)
bitmap           2087 fs/btrfs/free-space-cache.c 		if (!entry->bitmap) {
bitmap           2125 fs/btrfs/free-space-cache.c 	if (info && info->bitmap) {
bitmap           2145 fs/btrfs/free-space-cache.c 		info->bitmap = kmem_cache_zalloc(btrfs_free_space_bitmap_cachep,
bitmap           2148 fs/btrfs/free-space-cache.c 		if (!info->bitmap) {
bitmap           2157 fs/btrfs/free-space-cache.c 		if (info->bitmap)
bitmap           2159 fs/btrfs/free-space-cache.c 					info->bitmap);
bitmap           2187 fs/btrfs/free-space-cache.c 	if (right_info && !right_info->bitmap) {
bitmap           2197 fs/btrfs/free-space-cache.c 	if (left_info && !left_info->bitmap &&
bitmap           2216 fs/btrfs/free-space-cache.c 	struct btrfs_free_space *bitmap;
bitmap           2223 fs/btrfs/free-space-cache.c 	bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0);
bitmap           2224 fs/btrfs/free-space-cache.c 	if (!bitmap)
bitmap           2227 fs/btrfs/free-space-cache.c 	i = offset_to_bit(bitmap->offset, ctl->unit, end);
bitmap           2228 fs/btrfs/free-space-cache.c 	j = find_next_zero_bit(bitmap->bitmap, BITS_PER_BITMAP, i);
bitmap           2235 fs/btrfs/free-space-cache.c 		bitmap_clear_bits(ctl, bitmap, end, bytes);
bitmap           2237 fs/btrfs/free-space-cache.c 		__bitmap_clear_bits(ctl, bitmap, end, bytes);
bitmap           2239 fs/btrfs/free-space-cache.c 	if (!bitmap->bytes)
bitmap           2240 fs/btrfs/free-space-cache.c 		free_bitmap(ctl, bitmap);
bitmap           2249 fs/btrfs/free-space-cache.c 	struct btrfs_free_space *bitmap;
bitmap           2264 fs/btrfs/free-space-cache.c 	bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0);
bitmap           2265 fs/btrfs/free-space-cache.c 	if (!bitmap)
bitmap           2268 fs/btrfs/free-space-cache.c 	i = offset_to_bit(bitmap->offset, ctl->unit, info->offset) - 1;
bitmap           2271 fs/btrfs/free-space-cache.c 	for_each_clear_bit_from(j, bitmap->bitmap, BITS_PER_BITMAP) {
bitmap           2288 fs/btrfs/free-space-cache.c 		bitmap_clear_bits(ctl, bitmap, info->offset, bytes);
bitmap           2290 fs/btrfs/free-space-cache.c 		__bitmap_clear_bits(ctl, bitmap, info->offset, bytes);
bitmap           2292 fs/btrfs/free-space-cache.c 	if (!bitmap->bytes)
bitmap           2293 fs/btrfs/free-space-cache.c 		free_bitmap(ctl, bitmap);
bitmap           2317 fs/btrfs/free-space-cache.c 	ASSERT(!info->bitmap);
bitmap           2432 fs/btrfs/free-space-cache.c 	if (!info->bitmap) {
bitmap           2503 fs/btrfs/free-space-cache.c 		       (info->bitmap) ? "yes" : "no");
bitmap           2558 fs/btrfs/free-space-cache.c 		bool bitmap;
bitmap           2565 fs/btrfs/free-space-cache.c 		bitmap = (entry->bitmap != NULL);
bitmap           2566 fs/btrfs/free-space-cache.c 		if (!bitmap) {
bitmap           2571 fs/btrfs/free-space-cache.c 				   entry->offset, &entry->offset_index, bitmap);
bitmap           2589 fs/btrfs/free-space-cache.c 		if (!info->bitmap) {
bitmap           2647 fs/btrfs/free-space-cache.c 	if (entry->bitmap) {
bitmap           2777 fs/btrfs/free-space-cache.c 		    (!entry->bitmap && entry->offset < min_start)) {
bitmap           2786 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           2822 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           2824 fs/btrfs/free-space-cache.c 					entry->bitmap);
bitmap           2867 fs/btrfs/free-space-cache.c 	for_each_set_bit_from(i, entry->bitmap, BITS_PER_BITMAP) {
bitmap           2868 fs/btrfs/free-space-cache.c 		next_zero = find_next_zero_bit(entry->bitmap,
bitmap           2940 fs/btrfs/free-space-cache.c 	while (entry->bitmap || entry->bytes < min_bytes) {
bitmap           2941 fs/btrfs/free-space-cache.c 		if (entry->bitmap && list_empty(&entry->list))
bitmap           2958 fs/btrfs/free-space-cache.c 		if (entry->bitmap) {
bitmap           2989 fs/btrfs/free-space-cache.c 		if (entry->bitmap || entry->bytes < min_bytes)
bitmap           3226 fs/btrfs/free-space-cache.c 		while (entry->bitmap) {
bitmap           3447 fs/btrfs/free-space-cache.c 	if (!entry->bitmap) {
bitmap           3600 fs/btrfs/free-space-cache.c 			      u64 offset, u64 bytes, bool bitmap)
bitmap           3615 fs/btrfs/free-space-cache.c 	if (!bitmap) {
bitmap           3639 fs/btrfs/free-space-cache.c 		info->bitmap = map;
bitmap           3684 fs/btrfs/free-space-cache.c 	if (info->bitmap) {
bitmap             14 fs/btrfs/free-space-cache.h 	unsigned long *bitmap;
bitmap            117 fs/btrfs/free-space-cache.h 			      u64 offset, u64 bytes, bool bitmap);
bitmap            191 fs/btrfs/free-space-tree.c 	unsigned long *bitmap;
bitmap            202 fs/btrfs/free-space-tree.c 	bitmap = alloc_bitmap(bitmap_size);
bitmap            203 fs/btrfs/free-space-tree.c 	if (!bitmap) {
bitmap            242 fs/btrfs/free-space-tree.c 				le_bitmap_set(bitmap, first, last - first);
bitmap            281 fs/btrfs/free-space-tree.c 	bitmap_cursor = (char *)bitmap;
bitmap            315 fs/btrfs/free-space-tree.c 	kvfree(bitmap);
bitmap            331 fs/btrfs/free-space-tree.c 	unsigned long *bitmap;
bitmap            341 fs/btrfs/free-space-tree.c 	bitmap = alloc_bitmap(bitmap_size);
bitmap            342 fs/btrfs/free-space-tree.c 	if (!bitmap) {
bitmap            382 fs/btrfs/free-space-tree.c 				bitmap_cursor = ((char *)bitmap) + bitmap_pos;
bitmap            417 fs/btrfs/free-space-tree.c 	start_bit = find_next_bit_le(bitmap, nrbits, 0);
bitmap            420 fs/btrfs/free-space-tree.c 		end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit);
bitmap            434 fs/btrfs/free-space-tree.c 		start_bit = find_next_bit_le(bitmap, nrbits, end_bit);
bitmap            449 fs/btrfs/free-space-tree.c 	kvfree(bitmap);
bitmap            272 fs/btrfs/inode-map.c 		BUG_ON(info->bitmap); /* Logic error */
bitmap            151 fs/btrfs/scrub.c 	unsigned long		bitmap[0];
bitmap           2365 fs/btrfs/scrub.c 				       unsigned long *bitmap,
bitmap           2374 fs/btrfs/scrub.c 		bitmap_set(bitmap, 0, sparity->nsectors);
bitmap           2387 fs/btrfs/scrub.c 		bitmap_set(bitmap, offset, nsectors);
bitmap           2391 fs/btrfs/scrub.c 	bitmap_set(bitmap, offset, sparity->nsectors - offset);
bitmap           2392 fs/btrfs/scrub.c 	bitmap_set(bitmap, 0, nsectors - (sparity->nsectors - offset));
bitmap           2866 fs/btrfs/scrub.c 	sparity->dbitmap = sparity->bitmap;
bitmap           2867 fs/btrfs/scrub.c 	sparity->ebitmap = (void *)sparity->bitmap + bitmap_len;
bitmap            271 fs/btrfs/tests/extent-io-tests.c static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb,
bitmap            279 fs/btrfs/tests/extent-io-tests.c 		bit = !!test_bit(i, bitmap);
bitmap            296 fs/btrfs/tests/extent-io-tests.c static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb,
bitmap            303 fs/btrfs/tests/extent-io-tests.c 	memset(bitmap, 0, len);
bitmap            305 fs/btrfs/tests/extent-io-tests.c 	if (memcmp_extent_buffer(eb, bitmap, 0, len) != 0) {
bitmap            310 fs/btrfs/tests/extent-io-tests.c 	bitmap_set(bitmap, 0, len * BITS_PER_BYTE);
bitmap            312 fs/btrfs/tests/extent-io-tests.c 	ret = check_eb_bitmap(bitmap, eb, len);
bitmap            318 fs/btrfs/tests/extent-io-tests.c 	bitmap_clear(bitmap, 0, len * BITS_PER_BYTE);
bitmap            320 fs/btrfs/tests/extent-io-tests.c 	ret = check_eb_bitmap(bitmap, eb, len);
bitmap            328 fs/btrfs/tests/extent-io-tests.c 		bitmap_set(bitmap,
bitmap            333 fs/btrfs/tests/extent-io-tests.c 		ret = check_eb_bitmap(bitmap, eb, len);
bitmap            339 fs/btrfs/tests/extent-io-tests.c 		bitmap_set(bitmap, 0, len * BITS_PER_BYTE);
bitmap            340 fs/btrfs/tests/extent-io-tests.c 		bitmap_clear(bitmap,
bitmap            346 fs/btrfs/tests/extent-io-tests.c 		ret = check_eb_bitmap(bitmap, eb, len);
bitmap            358 fs/btrfs/tests/extent-io-tests.c 	bitmap_clear(bitmap, 0, len * BITS_PER_BYTE);
bitmap            364 fs/btrfs/tests/extent-io-tests.c 				bitmap_set(bitmap, i * 32 + j, 1);
bitmap            370 fs/btrfs/tests/extent-io-tests.c 	ret = check_eb_bitmap(bitmap, eb, len);
bitmap            383 fs/btrfs/tests/extent-io-tests.c 	unsigned long *bitmap = NULL;
bitmap            402 fs/btrfs/tests/extent-io-tests.c 	bitmap = kmalloc(len, GFP_KERNEL);
bitmap            403 fs/btrfs/tests/extent-io-tests.c 	if (!bitmap) {
bitmap            416 fs/btrfs/tests/extent-io-tests.c 	ret = __test_eb_bitmaps(bitmap, eb, len);
bitmap            429 fs/btrfs/tests/extent-io-tests.c 	ret = __test_eb_bitmaps(bitmap, eb, len);
bitmap            432 fs/btrfs/tests/extent-io-tests.c 	kfree(bitmap);
bitmap             14 fs/ext4/bitmap.c unsigned int ext4_count_free(char *bitmap, unsigned int numchars)
bitmap             16 fs/ext4/bitmap.c 	return numchars * BITS_PER_BYTE - memweight(bitmap, numchars);
bitmap           2312 fs/ext4/ext4.h extern unsigned int ext4_count_free(char *bitmap, unsigned numchars);
bitmap           2547 fs/ext4/ext4.h extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
bitmap             55 fs/ext4/ialloc.c void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap)
bitmap             64 fs/ext4/ialloc.c 		ext4_set_bit(i, bitmap);
bitmap             66 fs/ext4/ialloc.c 		memset(bitmap + (i >> 3), 0xff, (end_bit - i) >> 3);
bitmap            710 fs/ext4/ialloc.c 			  struct buffer_head *bitmap, unsigned long *ino)
bitmap            714 fs/ext4/ialloc.c 				       bitmap->b_data,
bitmap            355 fs/ext4/mballoc.c static void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap,
bitmap            357 fs/ext4/mballoc.c static void ext4_mb_generate_from_freelist(struct super_block *sb, void *bitmap,
bitmap            494 fs/ext4/mballoc.c static void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap)
bitmap            496 fs/ext4/mballoc.c 	if (memcmp(e4b->bd_info->bb_bitmap, bitmap, e4b->bd_sb->s_blocksize)) {
bitmap            500 fs/ext4/mballoc.c 		b2 = (unsigned char *) bitmap;
bitmap            525 fs/ext4/mballoc.c static inline void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap)
bitmap            712 fs/ext4/mballoc.c 				void *buddy, void *bitmap, ext4_group_t group)
bitmap            726 fs/ext4/mballoc.c 	i = mb_find_next_zero_bit(bitmap, max, 0);
bitmap            731 fs/ext4/mballoc.c 		i = mb_find_next_bit(bitmap, max, i);
bitmap            739 fs/ext4/mballoc.c 			i = mb_find_next_zero_bit(bitmap, max, i);
bitmap            820 fs/ext4/mballoc.c 	char *bitmap;
bitmap            906 fs/ext4/mballoc.c 		bitmap = bh[group - first_group]->b_data;
bitmap            941 fs/ext4/mballoc.c 			memcpy(data, bitmap, blocksize);
bitmap           1342 fs/ext4/mballoc.c static inline int mb_buddy_adjust_border(int* bit, void* bitmap, int side)
bitmap           1344 fs/ext4/mballoc.c 	if (mb_test_bit(*bit + side, bitmap)) {
bitmap           1345 fs/ext4/mballoc.c 		mb_clear_bit(*bit, bitmap);
bitmap           1351 fs/ext4/mballoc.c 		mb_set_bit(*bit, bitmap);
bitmap           1933 fs/ext4/mballoc.c 	void *bitmap = e4b->bd_bitmap;
bitmap           1945 fs/ext4/mballoc.c 		i = mb_find_next_zero_bit(bitmap,
bitmap           1999 fs/ext4/mballoc.c 	void *bitmap = e4b->bd_bitmap;
bitmap           2016 fs/ext4/mballoc.c 		if (!mb_test_bit(i, bitmap)) {
bitmap           3513 fs/ext4/mballoc.c static void ext4_mb_generate_from_freelist(struct super_block *sb, void *bitmap,
bitmap           3525 fs/ext4/mballoc.c 		ext4_set_bits(bitmap, entry->efd_start_cluster, entry->efd_count);
bitmap           3537 fs/ext4/mballoc.c void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap,
bitmap           3566 fs/ext4/mballoc.c 		ext4_set_bits(bitmap, start, len);
bitmap           5181 fs/ext4/mballoc.c 	void *bitmap;
bitmap           5194 fs/ext4/mballoc.c 	bitmap = e4b.bd_bitmap;
bitmap           5205 fs/ext4/mballoc.c 		start = mb_find_next_zero_bit(bitmap, max + 1, start);
bitmap           5208 fs/ext4/mballoc.c 		next = mb_find_next_bit(bitmap, max + 1, start);
bitmap           5351 fs/ext4/mballoc.c 	void				*bitmap;
bitmap           5359 fs/ext4/mballoc.c 	bitmap = e4b.bd_bitmap;
bitmap           5369 fs/ext4/mballoc.c 		start = mb_find_next_zero_bit(bitmap, end + 1, start);
bitmap           5372 fs/ext4/mballoc.c 		next = mb_find_next_bit(bitmap, end + 1, start);
bitmap            219 fs/f2fs/dir.c  		if (!test_bit_le(bit_pos, d->bitmap)) {
bitmap            561 fs/f2fs/dir.c  int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots)
bitmap            566 fs/f2fs/dir.c  	zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start);
bitmap            570 fs/f2fs/dir.c  	zero_end = find_next_bit_le(bitmap, max_slots, zero_start);
bitmap            596 fs/f2fs/dir.c  		__set_bit_le(bit_pos + i, (void *)d->bitmap);
bitmap            913 fs/f2fs/dir.c  		bit_pos = find_next_bit_le(d->bitmap, d->max, bit_pos);
bitmap            502 fs/f2fs/f2fs.h 	void *bitmap;
bitmap            515 fs/f2fs/f2fs.h 	d->bitmap = t->dentry_bitmap;
bitmap            530 fs/f2fs/f2fs.h 	d->bitmap = t;
bitmap           2983 fs/f2fs/f2fs.h int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots);
bitmap            399 fs/f2fs/inline.c 	memcpy(dst.bitmap, src.bitmap, src.nr_bitmap);
bitmap            400 fs/f2fs/inline.c 	memset(dst.bitmap + src.nr_bitmap, 0, dst.nr_bitmap - src.nr_bitmap);
bitmap            450 fs/f2fs/inline.c 		if (!test_bit_le(bit_pos, d.bitmap)) {
bitmap            563 fs/f2fs/inline.c 	bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max);
bitmap            626 fs/f2fs/inline.c 		__clear_bit_le(bit_pos + i, d.bitmap);
bitmap            653 fs/f2fs/inline.c 	bit_pos = find_next_bit_le(d.bitmap, d.max, bit_pos);
bitmap           3793 fs/f2fs/segment.c 	unsigned long *bitmap = SIT_I(sbi)->dirty_sentries_bitmap;
bitmap           3796 fs/f2fs/segment.c 	for_each_set_bit(segno, bitmap, MAIN_SEGS(sbi))
bitmap           3828 fs/f2fs/segment.c 	unsigned long *bitmap = sit_i->dirty_sentries_bitmap;
bitmap           3881 fs/f2fs/segment.c 		for_each_set_bit_from(segno, bitmap, end) {
bitmap           3915 fs/f2fs/segment.c 			__clear_bit(segno, bitmap);
bitmap           3950 fs/f2fs/segment.c 	char *src_bitmap, *bitmap;
bitmap           3978 fs/f2fs/segment.c 	sit_i->bitmap = f2fs_kvzalloc(sbi, bitmap_size, GFP_KERNEL);
bitmap           3979 fs/f2fs/segment.c 	if (!sit_i->bitmap)
bitmap           3982 fs/f2fs/segment.c 	bitmap = sit_i->bitmap;
bitmap           3985 fs/f2fs/segment.c 		sit_i->sentries[start].cur_valid_map = bitmap;
bitmap           3986 fs/f2fs/segment.c 		bitmap += SIT_VBLOCK_MAP_SIZE;
bitmap           3988 fs/f2fs/segment.c 		sit_i->sentries[start].ckpt_valid_map = bitmap;
bitmap           3989 fs/f2fs/segment.c 		bitmap += SIT_VBLOCK_MAP_SIZE;
bitmap           3992 fs/f2fs/segment.c 		sit_i->sentries[start].cur_valid_map_mir = bitmap;
bitmap           3993 fs/f2fs/segment.c 		bitmap += SIT_VBLOCK_MAP_SIZE;
bitmap           3996 fs/f2fs/segment.c 		sit_i->sentries[start].discard_map = bitmap;
bitmap           3997 fs/f2fs/segment.c 		bitmap += SIT_VBLOCK_MAP_SIZE;
bitmap           4514 fs/f2fs/segment.c 		kvfree(sit_i->bitmap);
bitmap            229 fs/f2fs/segment.h 	char *bitmap;			/* all bitmaps pointer */
bitmap             29 fs/hfs/bitmap.c static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max)
bitmap             40 fs/hfs/bitmap.c 	curr = bitmap + (offset / 32);
bitmap             41 fs/hfs/bitmap.c 	end = bitmap + ((size + 31) / 32);
bitmap             70 fs/hfs/bitmap.c 	start = (curr - bitmap) * 32 + i;
bitmap            108 fs/hfs/bitmap.c 	*max = (curr - bitmap) * 32 + i - start;
bitmap            141 fs/hfs/bitmap.c 	void *bitmap;
bitmap            149 fs/hfs/bitmap.c 	bitmap = HFS_SB(sb)->bitmap;
bitmap            151 fs/hfs/bitmap.c 	pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits);
bitmap            154 fs/hfs/bitmap.c 			pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits);
bitmap            210 fs/hfs/bitmap.c 	curr = HFS_SB(sb)->bitmap + (start / 32);
bitmap            109 fs/hfs/hfs_fs.h 	__be32 *bitmap;				/* The page holding the
bitmap            169 fs/hfs/mdb.c   	HFS_SB(sb)->bitmap = kmalloc(8192, GFP_KERNEL);
bitmap            170 fs/hfs/mdb.c   	if (!HFS_SB(sb)->bitmap)
bitmap            177 fs/hfs/mdb.c   	ptr = (u8 *)HFS_SB(sb)->bitmap;
bitmap            310 fs/hfs/mdb.c   		ptr = (u8 *)HFS_SB(sb)->bitmap;
bitmap            363 fs/hfs/mdb.c   	kfree(HFS_SB(sb)->bitmap);
bitmap            851 fs/jfs/jfs_imap.c 	u32 bitmap, mask;
bitmap            925 fs/jfs/jfs_imap.c 	bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask;
bitmap            938 fs/jfs/jfs_imap.c 	if (bitmap ||
bitmap            996 fs/jfs/jfs_imap.c 		iagp->wmap[extno] = cpu_to_le32(bitmap);
bitmap             67 fs/nfs/callback.h 	uint32_t bitmap[2];
bitmap             72 fs/nfs/callback.h 	uint32_t bitmap[2];
bitmap             36 fs/nfs/callback_proc.c 	res->bitmap[0] = res->bitmap[1] = 0;
bitmap             61 fs/nfs/callback_proc.c 	res->bitmap[0] = (FATTR4_WORD0_CHANGE|FATTR4_WORD0_SIZE) &
bitmap             62 fs/nfs/callback_proc.c 		args->bitmap[0];
bitmap             63 fs/nfs/callback_proc.c 	res->bitmap[1] = (FATTR4_WORD1_TIME_METADATA|FATTR4_WORD1_TIME_MODIFY) &
bitmap             64 fs/nfs/callback_proc.c 		args->bitmap[1];
bitmap            105 fs/nfs/callback_xdr.c static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap)
bitmap            118 fs/nfs/callback_xdr.c 		bitmap[0] = ntohl(*p++);
bitmap            120 fs/nfs/callback_xdr.c 		bitmap[1] = ntohl(*p);
bitmap            185 fs/nfs/callback_xdr.c 	return decode_bitmap(xdr, args->bitmap);
bitmap            452 fs/nfs/callback_xdr.c 	uint32_t bitmap[2];
bitmap            459 fs/nfs/callback_xdr.c 	status = decode_bitmap(xdr, bitmap);
bitmap            462 fs/nfs/callback_xdr.c 	args->craa_type_mask = bitmap[0];
bitmap            597 fs/nfs/callback_xdr.c static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz)
bitmap            599 fs/nfs/callback_xdr.c 	if (xdr_stream_encode_uint32_array(xdr, bitmap, sz) < 0)
bitmap            604 fs/nfs/callback_xdr.c static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change)
bitmap            608 fs/nfs/callback_xdr.c 	if (!(bitmap[0] & FATTR4_WORD0_CHANGE))
bitmap            617 fs/nfs/callback_xdr.c static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size)
bitmap            621 fs/nfs/callback_xdr.c 	if (!(bitmap[0] & FATTR4_WORD0_SIZE))
bitmap            642 fs/nfs/callback_xdr.c static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time)
bitmap            644 fs/nfs/callback_xdr.c 	if (!(bitmap[1] & FATTR4_WORD1_TIME_METADATA))
bitmap            649 fs/nfs/callback_xdr.c static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time)
bitmap            651 fs/nfs/callback_xdr.c 	if (!(bitmap[1] & FATTR4_WORD1_TIME_MODIFY))
bitmap            693 fs/nfs/callback_xdr.c 	status = encode_attr_bitmap(xdr, res->bitmap, ARRAY_SIZE(res->bitmap));
bitmap            700 fs/nfs/callback_xdr.c 	status = encode_attr_change(xdr, res->bitmap, res->change_attr);
bitmap            703 fs/nfs/callback_xdr.c 	status = encode_attr_size(xdr, res->bitmap, res->size);
bitmap            706 fs/nfs/callback_xdr.c 	status = encode_attr_ctime(xdr, res->bitmap, &res->ctime);
bitmap            709 fs/nfs/callback_xdr.c 	status = encode_attr_mtime(xdr, res->bitmap, &res->mtime);
bitmap            980 fs/nfs/nfs4xdr.c 		const __u32 *bitmap, size_t len)
bitmap            985 fs/nfs/nfs4xdr.c 	while (len > 0 && bitmap[len-1] == 0)
bitmap            987 fs/nfs/nfs4xdr.c 	ret = xdr_stream_encode_uint32_array(xdr, bitmap, len);
bitmap            993 fs/nfs/nfs4xdr.c static size_t mask_bitmap4(const __u32 *bitmap, const __u32 *mask,
bitmap            999 fs/nfs/nfs4xdr.c 	while (len > 0 && (bitmap[len-1] == 0 || mask[len-1] == 0))
bitmap           1002 fs/nfs/nfs4xdr.c 		tmp = bitmap[i] & mask[i];
bitmap           1246 fs/nfs/nfs4xdr.c 		const __u32 *bitmap, const __u32 *mask, size_t len,
bitmap           1255 fs/nfs/nfs4xdr.c 		len = mask_bitmap4(bitmap, mask, masked_bitmap, len);
bitmap           1256 fs/nfs/nfs4xdr.c 		bitmap = masked_bitmap;
bitmap           1258 fs/nfs/nfs4xdr.c 	xdr_encode_bitmap4(xdr, bitmap, len);
bitmap           3232 fs/nfs/nfs4xdr.c decode_bitmap4(struct xdr_stream *xdr, uint32_t *bitmap, size_t sz)
bitmap           3236 fs/nfs/nfs4xdr.c 	ret = xdr_stream_decode_uint32_array(xdr, bitmap, sz);
bitmap           3244 fs/nfs/nfs4xdr.c static int decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap)
bitmap           3247 fs/nfs/nfs4xdr.c 	ret = decode_bitmap4(xdr, bitmap, 3);
bitmap           3263 fs/nfs/nfs4xdr.c static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask)
bitmap           3265 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_SUPPORTED_ATTRS)) {
bitmap           3270 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_SUPPORTED_ATTRS;
bitmap           3278 fs/nfs/nfs4xdr.c static int decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type)
bitmap           3284 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_TYPE - 1U)))
bitmap           3286 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_TYPE)) {
bitmap           3295 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_TYPE;
bitmap           3303 fs/nfs/nfs4xdr.c 				      uint32_t *bitmap, uint32_t *type)
bitmap           3308 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FH_EXPIRE_TYPE - 1U)))
bitmap           3310 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FH_EXPIRE_TYPE)) {
bitmap           3315 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FH_EXPIRE_TYPE;
bitmap           3321 fs/nfs/nfs4xdr.c static int decode_attr_change(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *change)
bitmap           3327 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_CHANGE - 1U)))
bitmap           3329 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_CHANGE)) {
bitmap           3334 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_CHANGE;
bitmap           3342 fs/nfs/nfs4xdr.c static int decode_attr_size(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *size)
bitmap           3348 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_SIZE - 1U)))
bitmap           3350 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_SIZE)) {
bitmap           3355 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_SIZE;
bitmap           3362 fs/nfs/nfs4xdr.c static int decode_attr_link_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3367 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_LINK_SUPPORT - 1U)))
bitmap           3369 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_LINK_SUPPORT)) {
bitmap           3374 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_LINK_SUPPORT;
bitmap           3380 fs/nfs/nfs4xdr.c static int decode_attr_symlink_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3385 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_SYMLINK_SUPPORT - 1U)))
bitmap           3387 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_SYMLINK_SUPPORT)) {
bitmap           3392 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_SYMLINK_SUPPORT;
bitmap           3398 fs/nfs/nfs4xdr.c static int decode_attr_fsid(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsid *fsid)
bitmap           3405 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FSID - 1U)))
bitmap           3407 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FSID)) {
bitmap           3413 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FSID;
bitmap           3422 fs/nfs/nfs4xdr.c static int decode_attr_lease_time(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3427 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_LEASE_TIME - 1U)))
bitmap           3429 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_LEASE_TIME)) {
bitmap           3434 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_LEASE_TIME;
bitmap           3440 fs/nfs/nfs4xdr.c static int decode_attr_error(struct xdr_stream *xdr, uint32_t *bitmap, int32_t *res)
bitmap           3444 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_RDATTR_ERROR - 1U)))
bitmap           3446 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_RDATTR_ERROR)) {
bitmap           3450 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_RDATTR_ERROR;
bitmap           3457 fs/nfs/nfs4xdr.c 				 uint32_t *bitmap, uint32_t *bitmask)
bitmap           3459 fs/nfs/nfs4xdr.c 	if (likely(bitmap[2] & FATTR4_WORD2_SUPPATTR_EXCLCREAT)) {
bitmap           3464 fs/nfs/nfs4xdr.c 		bitmap[2] &= ~FATTR4_WORD2_SUPPATTR_EXCLCREAT;
bitmap           3472 fs/nfs/nfs4xdr.c static int decode_attr_filehandle(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fh *fh)
bitmap           3480 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FILEHANDLE - 1U)))
bitmap           3482 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FILEHANDLE)) {
bitmap           3496 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FILEHANDLE;
bitmap           3501 fs/nfs/nfs4xdr.c static int decode_attr_aclsupport(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3506 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_ACLSUPPORT - 1U)))
bitmap           3508 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_ACLSUPPORT)) {
bitmap           3513 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_ACLSUPPORT;
bitmap           3519 fs/nfs/nfs4xdr.c static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid)
bitmap           3525 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FILEID - 1U)))
bitmap           3527 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FILEID)) {
bitmap           3532 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FILEID;
bitmap           3539 fs/nfs/nfs4xdr.c static int decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid)
bitmap           3545 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_MOUNTED_ON_FILEID - 1U)))
bitmap           3547 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_MOUNTED_ON_FILEID)) {
bitmap           3552 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_MOUNTED_ON_FILEID;
bitmap           3559 fs/nfs/nfs4xdr.c static int decode_attr_files_avail(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           3565 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_AVAIL - 1U)))
bitmap           3567 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FILES_AVAIL)) {
bitmap           3572 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FILES_AVAIL;
bitmap           3578 fs/nfs/nfs4xdr.c static int decode_attr_files_free(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           3584 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_FREE - 1U)))
bitmap           3586 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FILES_FREE)) {
bitmap           3591 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FILES_FREE;
bitmap           3597 fs/nfs/nfs4xdr.c static int decode_attr_files_total(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           3603 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_TOTAL - 1U)))
bitmap           3605 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_FILES_TOTAL)) {
bitmap           3610 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_FILES_TOTAL;
bitmap           3658 fs/nfs/nfs4xdr.c static int decode_attr_fs_locations(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs4_fs_locations *res)
bitmap           3664 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_FS_LOCATIONS -1U)))
bitmap           3667 fs/nfs/nfs4xdr.c 	if (unlikely(!(bitmap[0] & FATTR4_WORD0_FS_LOCATIONS)))
bitmap           3669 fs/nfs/nfs4xdr.c 	bitmap[0] &= ~FATTR4_WORD0_FS_LOCATIONS;
bitmap           3736 fs/nfs/nfs4xdr.c static int decode_attr_maxfilesize(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           3742 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXFILESIZE - 1U)))
bitmap           3744 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_MAXFILESIZE)) {
bitmap           3749 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_MAXFILESIZE;
bitmap           3755 fs/nfs/nfs4xdr.c static int decode_attr_maxlink(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *maxlink)
bitmap           3761 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXLINK - 1U)))
bitmap           3763 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_MAXLINK)) {
bitmap           3768 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_MAXLINK;
bitmap           3774 fs/nfs/nfs4xdr.c static int decode_attr_maxname(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *maxname)
bitmap           3780 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXNAME - 1U)))
bitmap           3782 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_MAXNAME)) {
bitmap           3787 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_MAXNAME;
bitmap           3793 fs/nfs/nfs4xdr.c static int decode_attr_maxread(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3799 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXREAD - 1U)))
bitmap           3801 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_MAXREAD)) {
bitmap           3810 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_MAXREAD;
bitmap           3816 fs/nfs/nfs4xdr.c static int decode_attr_maxwrite(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res)
bitmap           3822 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXWRITE - 1U)))
bitmap           3824 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_MAXWRITE)) {
bitmap           3833 fs/nfs/nfs4xdr.c 		bitmap[0] &= ~FATTR4_WORD0_MAXWRITE;
bitmap           3839 fs/nfs/nfs4xdr.c static int decode_attr_mode(struct xdr_stream *xdr, uint32_t *bitmap, umode_t *mode)
bitmap           3846 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_MODE - 1U)))
bitmap           3848 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_MODE)) {
bitmap           3854 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_MODE;
bitmap           3861 fs/nfs/nfs4xdr.c static int decode_attr_nlink(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *nlink)
bitmap           3867 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_NUMLINKS - 1U)))
bitmap           3869 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_NUMLINKS)) {
bitmap           3874 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_NUMLINKS;
bitmap           3894 fs/nfs/nfs4xdr.c static int decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           3902 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_OWNER - 1U)))
bitmap           3904 fs/nfs/nfs4xdr.c 	if (!(bitmap[1] & FATTR4_WORD1_OWNER))
bitmap           3906 fs/nfs/nfs4xdr.c 	bitmap[1] &= ~FATTR4_WORD1_OWNER;
bitmap           3928 fs/nfs/nfs4xdr.c static int decode_attr_group(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           3936 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_OWNER_GROUP - 1U)))
bitmap           3938 fs/nfs/nfs4xdr.c 	if (!(bitmap[1] & FATTR4_WORD1_OWNER_GROUP))
bitmap           3940 fs/nfs/nfs4xdr.c 	bitmap[1] &= ~FATTR4_WORD1_OWNER_GROUP;
bitmap           3962 fs/nfs/nfs4xdr.c static int decode_attr_rdev(struct xdr_stream *xdr, uint32_t *bitmap, dev_t *rdev)
bitmap           3969 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_RAWDEV - 1U)))
bitmap           3971 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_RAWDEV)) {
bitmap           3982 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~ FATTR4_WORD1_RAWDEV;
bitmap           3989 fs/nfs/nfs4xdr.c static int decode_attr_space_avail(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           3995 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_AVAIL - 1U)))
bitmap           3997 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_SPACE_AVAIL)) {
bitmap           4002 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_SPACE_AVAIL;
bitmap           4008 fs/nfs/nfs4xdr.c static int decode_attr_space_free(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           4014 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_FREE - 1U)))
bitmap           4016 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_SPACE_FREE)) {
bitmap           4021 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_SPACE_FREE;
bitmap           4027 fs/nfs/nfs4xdr.c static int decode_attr_space_total(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res)
bitmap           4033 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_TOTAL - 1U)))
bitmap           4035 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_SPACE_TOTAL)) {
bitmap           4040 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_SPACE_TOTAL;
bitmap           4046 fs/nfs/nfs4xdr.c static int decode_attr_space_used(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *used)
bitmap           4052 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_USED - 1U)))
bitmap           4054 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_SPACE_USED)) {
bitmap           4059 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_SPACE_USED;
bitmap           4089 fs/nfs/nfs4xdr.c static int decode_attr_time_access(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time)
bitmap           4095 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_ACCESS - 1U)))
bitmap           4097 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_TIME_ACCESS)) {
bitmap           4101 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_TIME_ACCESS;
bitmap           4107 fs/nfs/nfs4xdr.c static int decode_attr_time_metadata(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time)
bitmap           4113 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_METADATA - 1U)))
bitmap           4115 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_TIME_METADATA)) {
bitmap           4119 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_TIME_METADATA;
bitmap           4125 fs/nfs/nfs4xdr.c static int decode_attr_time_delta(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4132 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_DELTA - 1U)))
bitmap           4134 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_TIME_DELTA)) {
bitmap           4136 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_TIME_DELTA;
bitmap           4143 fs/nfs/nfs4xdr.c static int decode_attr_security_label(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4152 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[2] & (FATTR4_WORD2_SECURITY_LABEL - 1U)))
bitmap           4154 fs/nfs/nfs4xdr.c 	if (likely(bitmap[2] & FATTR4_WORD2_SECURITY_LABEL)) {
bitmap           4178 fs/nfs/nfs4xdr.c 			bitmap[2] &= ~FATTR4_WORD2_SECURITY_LABEL;
bitmap           4189 fs/nfs/nfs4xdr.c static int decode_attr_time_modify(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time)
bitmap           4195 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_MODIFY - 1U)))
bitmap           4197 fs/nfs/nfs4xdr.c 	if (likely(bitmap[1] & FATTR4_WORD1_TIME_MODIFY)) {
bitmap           4201 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_TIME_MODIFY;
bitmap           4354 fs/nfs/nfs4xdr.c 	uint32_t attrlen, bitmap[3] = {0};
bitmap           4359 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_bitmap(xdr, bitmap)) != 0)
bitmap           4363 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_supported(xdr, bitmap, res->attr_bitmask)) != 0)
bitmap           4365 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_fh_expire_type(xdr, bitmap,
bitmap           4368 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_link_support(xdr, bitmap, &res->has_links)) != 0)
bitmap           4370 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_symlink_support(xdr, bitmap, &res->has_symlinks)) != 0)
bitmap           4372 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_aclsupport(xdr, bitmap, &res->acl_bitmask)) != 0)
bitmap           4374 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_exclcreat_supported(xdr, bitmap,
bitmap           4386 fs/nfs/nfs4xdr.c 	uint32_t attrlen, bitmap[3] = {0};
bitmap           4391 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_bitmap(xdr, bitmap)) != 0)
bitmap           4396 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_files_avail(xdr, bitmap, &fsstat->afiles)) != 0)
bitmap           4398 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_files_free(xdr, bitmap, &fsstat->ffiles)) != 0)
bitmap           4400 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_files_total(xdr, bitmap, &fsstat->tfiles)) != 0)
bitmap           4404 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0]))
bitmap           4407 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_space_avail(xdr, bitmap, &fsstat->abytes)) != 0)
bitmap           4409 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_space_free(xdr, bitmap, &fsstat->fbytes)) != 0)
bitmap           4411 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_space_total(xdr, bitmap, &fsstat->tbytes)) != 0)
bitmap           4423 fs/nfs/nfs4xdr.c 	uint32_t attrlen, bitmap[3] = {0};
bitmap           4428 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_bitmap(xdr, bitmap)) != 0)
bitmap           4433 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_maxlink(xdr, bitmap, &pathconf->max_link)) != 0)
bitmap           4435 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_maxname(xdr, bitmap, &pathconf->max_namelen)) != 0)
bitmap           4445 fs/nfs/nfs4xdr.c 				  uint32_t *bitmap,
bitmap           4452 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & hint_bit)) {
bitmap           4466 fs/nfs/nfs4xdr.c 	uint32_t bitmap[3] = {0,}, attrlen;
bitmap           4476 fs/nfs/nfs4xdr.c 	status = decode_attr_bitmap(xdr, bitmap);
bitmap           4485 fs/nfs/nfs4xdr.c 	status = decode_threshold_hint(xdr, bitmap, &res->rd_sz, THRESHOLD_RD);
bitmap           4488 fs/nfs/nfs4xdr.c 	status = decode_threshold_hint(xdr, bitmap, &res->wr_sz, THRESHOLD_WR);
bitmap           4491 fs/nfs/nfs4xdr.c 	status = decode_threshold_hint(xdr, bitmap, &res->rd_io_sz,
bitmap           4495 fs/nfs/nfs4xdr.c 	status = decode_threshold_hint(xdr, bitmap, &res->wr_io_sz,
bitmap           4501 fs/nfs/nfs4xdr.c 	res->bm = bitmap[0];
bitmap           4515 fs/nfs/nfs4xdr.c 				    uint32_t *bitmap,
bitmap           4522 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[2] & (FATTR4_WORD2_MDSTHRESHOLD - 1U)))
bitmap           4524 fs/nfs/nfs4xdr.c 	if (bitmap[2] & FATTR4_WORD2_MDSTHRESHOLD) {
bitmap           4540 fs/nfs/nfs4xdr.c 		bitmap[2] &= ~FATTR4_WORD2_MDSTHRESHOLD;
bitmap           4545 fs/nfs/nfs4xdr.c static int decode_getfattr_attrs(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4555 fs/nfs/nfs4xdr.c 	status = decode_attr_type(xdr, bitmap, &type);
bitmap           4564 fs/nfs/nfs4xdr.c 	status = decode_attr_change(xdr, bitmap, &fattr->change_attr);
bitmap           4569 fs/nfs/nfs4xdr.c 	status = decode_attr_size(xdr, bitmap, &fattr->size);
bitmap           4574 fs/nfs/nfs4xdr.c 	status = decode_attr_fsid(xdr, bitmap, &fattr->fsid);
bitmap           4580 fs/nfs/nfs4xdr.c 	status = decode_attr_error(xdr, bitmap, &err);
bitmap           4584 fs/nfs/nfs4xdr.c 	status = decode_attr_filehandle(xdr, bitmap, fh);
bitmap           4588 fs/nfs/nfs4xdr.c 	status = decode_attr_fileid(xdr, bitmap, &fattr->fileid);
bitmap           4593 fs/nfs/nfs4xdr.c 	status = decode_attr_fs_locations(xdr, bitmap, fs_loc);
bitmap           4599 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0]))
bitmap           4602 fs/nfs/nfs4xdr.c 	status = decode_attr_mode(xdr, bitmap, &fmode);
bitmap           4610 fs/nfs/nfs4xdr.c 	status = decode_attr_nlink(xdr, bitmap, &fattr->nlink);
bitmap           4615 fs/nfs/nfs4xdr.c 	status = decode_attr_owner(xdr, bitmap, server, &fattr->uid, fattr->owner_name);
bitmap           4620 fs/nfs/nfs4xdr.c 	status = decode_attr_group(xdr, bitmap, server, &fattr->gid, fattr->group_name);
bitmap           4625 fs/nfs/nfs4xdr.c 	status = decode_attr_rdev(xdr, bitmap, &fattr->rdev);
bitmap           4630 fs/nfs/nfs4xdr.c 	status = decode_attr_space_used(xdr, bitmap, &fattr->du.nfs3.used);
bitmap           4635 fs/nfs/nfs4xdr.c 	status = decode_attr_time_access(xdr, bitmap, &fattr->atime);
bitmap           4640 fs/nfs/nfs4xdr.c 	status = decode_attr_time_metadata(xdr, bitmap, &fattr->ctime);
bitmap           4645 fs/nfs/nfs4xdr.c 	status = decode_attr_time_modify(xdr, bitmap, &fattr->mtime);
bitmap           4650 fs/nfs/nfs4xdr.c 	status = decode_attr_mounted_on_fileid(xdr, bitmap, &fattr->mounted_on_fileid);
bitmap           4656 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1]))
bitmap           4659 fs/nfs/nfs4xdr.c 	status = decode_attr_mdsthreshold(xdr, bitmap, fattr->mdsthreshold);
bitmap           4664 fs/nfs/nfs4xdr.c 		status = decode_attr_security_label(xdr, bitmap, label);
bitmap           4681 fs/nfs/nfs4xdr.c 		 bitmap[3] = {0};
bitmap           4688 fs/nfs/nfs4xdr.c 	status = decode_attr_bitmap(xdr, bitmap);
bitmap           4696 fs/nfs/nfs4xdr.c 	status = decode_getfattr_attrs(xdr, bitmap, fattr, fh, fs_loc,
bitmap           4758 fs/nfs/nfs4xdr.c static int decode_attr_pnfstype(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4763 fs/nfs/nfs4xdr.c 	dprintk("%s: bitmap is %x\n", __func__, bitmap[1]);
bitmap           4764 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1] & (FATTR4_WORD1_FS_LAYOUT_TYPES - 1U)))
bitmap           4766 fs/nfs/nfs4xdr.c 	if (bitmap[1] & FATTR4_WORD1_FS_LAYOUT_TYPES) {
bitmap           4768 fs/nfs/nfs4xdr.c 		bitmap[1] &= ~FATTR4_WORD1_FS_LAYOUT_TYPES;
bitmap           4776 fs/nfs/nfs4xdr.c static int decode_attr_layout_blksize(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4781 fs/nfs/nfs4xdr.c 	dprintk("%s: bitmap is %x\n", __func__, bitmap[2]);
bitmap           4783 fs/nfs/nfs4xdr.c 	if (bitmap[2] & FATTR4_WORD2_LAYOUT_BLKSIZE) {
bitmap           4788 fs/nfs/nfs4xdr.c 		bitmap[2] &= ~FATTR4_WORD2_LAYOUT_BLKSIZE;
bitmap           4796 fs/nfs/nfs4xdr.c static int decode_attr_clone_blksize(struct xdr_stream *xdr, uint32_t *bitmap,
bitmap           4801 fs/nfs/nfs4xdr.c 	dprintk("%s: bitmap is %x\n", __func__, bitmap[2]);
bitmap           4803 fs/nfs/nfs4xdr.c 	if (bitmap[2] & FATTR4_WORD2_CLONE_BLKSIZE) {
bitmap           4808 fs/nfs/nfs4xdr.c 		bitmap[2] &= ~FATTR4_WORD2_CLONE_BLKSIZE;
bitmap           4816 fs/nfs/nfs4xdr.c 	uint32_t attrlen, bitmap[3];
bitmap           4821 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_bitmap(xdr, bitmap)) != 0)
bitmap           4828 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_lease_time(xdr, bitmap, &fsinfo->lease_time)) != 0)
bitmap           4830 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_maxfilesize(xdr, bitmap, &fsinfo->maxfilesize)) != 0)
bitmap           4832 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_maxread(xdr, bitmap, &fsinfo->rtmax)) != 0)
bitmap           4835 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_maxwrite(xdr, bitmap, &fsinfo->wtmax)) != 0)
bitmap           4840 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0]))
bitmap           4843 fs/nfs/nfs4xdr.c 	status = decode_attr_time_delta(xdr, bitmap, &fsinfo->time_delta);
bitmap           4846 fs/nfs/nfs4xdr.c 	status = decode_attr_pnfstype(xdr, bitmap, fsinfo);
bitmap           4851 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[1]))
bitmap           4854 fs/nfs/nfs4xdr.c 	status = decode_attr_layout_blksize(xdr, bitmap, &fsinfo->blksize);
bitmap           4857 fs/nfs/nfs4xdr.c 	status = decode_attr_clone_blksize(xdr, bitmap, &fsinfo->clone_blksize);
bitmap           5283 fs/nfs/nfs4xdr.c 		 bitmap[3] = {0};
bitmap           5296 fs/nfs/nfs4xdr.c 	if ((status = decode_attr_bitmap(xdr, bitmap)) != 0)
bitmap           5301 fs/nfs/nfs4xdr.c 	if (unlikely(bitmap[0] & (FATTR4_WORD0_ACL - 1U)))
bitmap           5303 fs/nfs/nfs4xdr.c 	if (likely(bitmap[0] & FATTR4_WORD0_ACL)) {
bitmap           7366 fs/nfs/nfs4xdr.c 	uint32_t bitmap[3] = {0};
bitmap           7401 fs/nfs/nfs4xdr.c 	if (decode_attr_bitmap(xdr, bitmap) < 0)
bitmap           7407 fs/nfs/nfs4xdr.c 	if (decode_getfattr_attrs(xdr, bitmap, entry->fattr, entry->fh,
bitmap            380 fs/nilfs2/alloc.c static int nilfs_palloc_find_available_slot(unsigned char *bitmap,
bitmap            390 fs/nilfs2/alloc.c 			pos = nilfs_find_next_zero_bit(bitmap, end, pos);
bitmap            393 fs/nilfs2/alloc.c 			if (!nilfs_set_bit_atomic(lock, pos, bitmap))
bitmap            402 fs/nilfs2/alloc.c 		pos = nilfs_find_next_zero_bit(bitmap, end, pos);
bitmap            405 fs/nilfs2/alloc.c 		if (!nilfs_set_bit_atomic(lock, pos, bitmap))
bitmap            503 fs/nilfs2/alloc.c 	unsigned char *bitmap;
bitmap            540 fs/nilfs2/alloc.c 				bitmap = bitmap_kaddr + bh_offset(bitmap_bh);
bitmap            542 fs/nilfs2/alloc.c 					bitmap, group_offset,
bitmap            603 fs/nilfs2/alloc.c 	unsigned char *bitmap;
bitmap            612 fs/nilfs2/alloc.c 	bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh);
bitmap            615 fs/nilfs2/alloc.c 	if (!nilfs_clear_bit_atomic(lock, group_offset, bitmap))
bitmap            644 fs/nilfs2/alloc.c 	unsigned char *bitmap;
bitmap            653 fs/nilfs2/alloc.c 	bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh);
bitmap            656 fs/nilfs2/alloc.c 	if (!nilfs_clear_bit_atomic(lock, group_offset, bitmap))
bitmap            728 fs/nilfs2/alloc.c 	unsigned char *bitmap;
bitmap            758 fs/nilfs2/alloc.c 		bitmap = bitmap_kaddr + bh_offset(bitmap_bh);
bitmap            765 fs/nilfs2/alloc.c 						    bitmap)) {
bitmap            789 fs/nilfs2/alloc.c 			pos = nilfs_find_next_bit(bitmap, end, entry_start);
bitmap           2288 fs/ntfs/layout.h 	u8 bitmap[0];			/* Array of bits. */
bitmap           7503 fs/ocfs2/alloc.c 	void *bitmap = gd->bg_bitmap;
bitmap           7512 fs/ocfs2/alloc.c 		start = ocfs2_find_next_zero_bit(bitmap, max, start);
bitmap           7515 fs/ocfs2/alloc.c 		next = ocfs2_find_next_bit(bitmap, max, start);
bitmap            724 fs/ocfs2/localalloc.c 	void *bitmap;
bitmap            743 fs/ocfs2/localalloc.c 	bitmap = la->la_bitmap;
bitmap            760 fs/ocfs2/localalloc.c 		ocfs2_set_bit(start++, bitmap);
bitmap            780 fs/ocfs2/localalloc.c 	void *bitmap;
bitmap            790 fs/ocfs2/localalloc.c 	bitmap = la->la_bitmap;
bitmap            804 fs/ocfs2/localalloc.c 		ocfs2_clear_bit(start++, bitmap);
bitmap            832 fs/ocfs2/localalloc.c 	void *bitmap = NULL;
bitmap            864 fs/ocfs2/localalloc.c 	bitmap = OCFS2_LOCAL_ALLOC(alloc)->la_bitmap;
bitmap            868 fs/ocfs2/localalloc.c 	while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
bitmap            926 fs/ocfs2/localalloc.c static void ocfs2_verify_zero_bits(unsigned long *bitmap,
bitmap            932 fs/ocfs2/localalloc.c 		if (ocfs2_test_bit(start + tmp, bitmap)) {
bitmap            959 fs/ocfs2/localalloc.c 	void *bitmap;
bitmap            977 fs/ocfs2/localalloc.c 	bitmap = la->la_bitmap;
bitmap            981 fs/ocfs2/localalloc.c 	while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start))
bitmap            872 fs/ocfs2/ocfs2.h static inline void _ocfs2_set_bit(unsigned int bit, unsigned long *bitmap)
bitmap            874 fs/ocfs2/ocfs2.h 	__set_bit_le(bit, bitmap);
bitmap            878 fs/ocfs2/ocfs2.h static inline void _ocfs2_clear_bit(unsigned int bit, unsigned long *bitmap)
bitmap            880 fs/ocfs2/ocfs2.h 	__clear_bit_le(bit, bitmap);
bitmap            902 fs/ocfs2/ocfs2.h static inline void ocfs2_set_bit_unaligned(int bit, void *bitmap)
bitmap            904 fs/ocfs2/ocfs2.h 	bitmap = correct_addr_and_bit_unaligned(&bit, bitmap);
bitmap            905 fs/ocfs2/ocfs2.h 	ocfs2_set_bit(bit, bitmap);
bitmap            908 fs/ocfs2/ocfs2.h static inline void ocfs2_clear_bit_unaligned(int bit, void *bitmap)
bitmap            910 fs/ocfs2/ocfs2.h 	bitmap = correct_addr_and_bit_unaligned(&bit, bitmap);
bitmap            911 fs/ocfs2/ocfs2.h 	ocfs2_clear_bit(bit, bitmap);
bitmap            914 fs/ocfs2/ocfs2.h static inline int ocfs2_test_bit_unaligned(int bit, void *bitmap)
bitmap            916 fs/ocfs2/ocfs2.h 	bitmap = correct_addr_and_bit_unaligned(&bit, bitmap);
bitmap            917 fs/ocfs2/ocfs2.h 	return ocfs2_test_bit(bit, bitmap);
bitmap            920 fs/ocfs2/ocfs2.h static inline int ocfs2_find_next_zero_bit_unaligned(void *bitmap, int max,
bitmap            924 fs/ocfs2/ocfs2.h 	bitmap = correct_addr_and_bit_unaligned(&fix, bitmap);
bitmap            928 fs/ocfs2/ocfs2.h 	ret = ocfs2_find_next_zero_bit(bitmap, tmpmax, start) - fix;
bitmap            413 fs/ocfs2/reservations.c 	void *bitmap = resmap->m_disk_bitmap;
bitmap            423 fs/ocfs2/reservations.c 	while ((offset = ocfs2_find_next_zero_bit(bitmap, resmap->m_bitmap_len,
bitmap           1280 fs/ocfs2/suballoc.c 	void *bitmap;
bitmap           1290 fs/ocfs2/suballoc.c 	bitmap = bg->bg_bitmap;
bitmap           1292 fs/ocfs2/suballoc.c 	while((offset = ocfs2_find_next_zero_bit(bitmap, total_bits, start)) != -1) {
bitmap           1342 fs/ocfs2/suballoc.c 	void *bitmap = bg->bg_bitmap;
bitmap           1373 fs/ocfs2/suballoc.c 		ocfs2_set_bit(bit_off++, bitmap);
bitmap           2452 fs/ocfs2/suballoc.c 						     unsigned long *bitmap))
bitmap           2547 fs/ocfs2/suballoc.c 						unsigned long *bitmap))
bitmap           1416 fs/reiserfs/bitmap.c                                                unsigned int bitmap)
bitmap           1418 fs/reiserfs/bitmap.c 	b_blocknr_t block = (sb->s_blocksize << 3) * bitmap;
bitmap           1419 fs/reiserfs/bitmap.c 	struct reiserfs_bitmap_info *info = SB_AP_BITMAP(sb) + bitmap;
bitmap           1428 fs/reiserfs/bitmap.c 		block = REISERFS_SB(sb)->s_sbh->b_blocknr + 1 + bitmap;
bitmap           1429 fs/reiserfs/bitmap.c 	else if (bitmap == 0)
bitmap           1456 fs/reiserfs/bitmap.c 	struct reiserfs_bitmap_info *bitmap;
bitmap           1459 fs/reiserfs/bitmap.c 	bitmap = vmalloc(array_size(bmap_nr, sizeof(*bitmap)));
bitmap           1460 fs/reiserfs/bitmap.c 	if (bitmap == NULL)
bitmap           1463 fs/reiserfs/bitmap.c 	memset(bitmap, 0xff, sizeof(*bitmap) * bmap_nr);
bitmap           1465 fs/reiserfs/bitmap.c 	SB_AP_BITMAP(sb) = bitmap;
bitmap           3324 fs/reiserfs/reiserfs.h struct buffer_head *reiserfs_read_bitmap_block(struct super_block *sb, unsigned int bitmap);
bitmap             23 fs/reiserfs/resize.c 	struct reiserfs_bitmap_info *bitmap;
bitmap            122 fs/reiserfs/resize.c 		bitmap =
bitmap            125 fs/reiserfs/resize.c 		if (!bitmap) {
bitmap            134 fs/reiserfs/resize.c 			bitmap[i] = old_bitmap[i];
bitmap            152 fs/reiserfs/resize.c 				vfree(bitmap);
bitmap            157 fs/reiserfs/resize.c 			reiserfs_cache_bitmap_metadata(s, bh, bitmap + i);
bitmap            165 fs/reiserfs/resize.c 			bitmap[i].free_count = sb_blocksize(sb) * 8 - 1;
bitmap            169 fs/reiserfs/resize.c 		SB_AP_BITMAP(s) = bitmap;
bitmap             35 fs/udf/balloc.c 			     struct udf_bitmap *bitmap, unsigned int block,
bitmap             42 fs/udf/balloc.c 	loc.logicalBlockNum = bitmap->s_extPosition;
bitmap             49 fs/udf/balloc.c 	bitmap->s_block_bitmap[bitmap_nr] = bh;
bitmap             54 fs/udf/balloc.c 			       struct udf_bitmap *bitmap,
bitmap             58 fs/udf/balloc.c 	int nr_groups = bitmap->s_nr_groups;
bitmap             65 fs/udf/balloc.c 	if (bitmap->s_block_bitmap[block_group])
bitmap             68 fs/udf/balloc.c 	retval = read_block_bitmap(sb, bitmap, block_group, block_group);
bitmap             76 fs/udf/balloc.c 				    struct udf_bitmap *bitmap,
bitmap             81 fs/udf/balloc.c 	slot = __load_block_bitmap(sb, bitmap, block_group);
bitmap             86 fs/udf/balloc.c 	if (!bitmap->s_block_bitmap[slot])
bitmap            106 fs/udf/balloc.c 				   struct udf_bitmap *bitmap,
bitmap            147 fs/udf/balloc.c 		bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
bitmap            151 fs/udf/balloc.c 		bh = bitmap->s_block_bitmap[bitmap_nr];
bitmap            172 fs/udf/balloc.c 				      struct udf_bitmap *bitmap,
bitmap            195 fs/udf/balloc.c 		bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
bitmap            198 fs/udf/balloc.c 		bh = bitmap->s_block_bitmap[bitmap_nr];
bitmap            220 fs/udf/balloc.c 				struct udf_bitmap *bitmap, uint16_t partition,
bitmap            239 fs/udf/balloc.c 	nr_groups = bitmap->s_nr_groups;
bitmap            244 fs/udf/balloc.c 	bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
bitmap            247 fs/udf/balloc.c 	bh = bitmap->s_block_bitmap[bitmap_nr];
bitmap            283 fs/udf/balloc.c 		bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
bitmap            286 fs/udf/balloc.c 		bh = bitmap->s_block_bitmap[bitmap_nr];
bitmap            740 fs/udf/ecma_167.h 	uint8_t		bitmap[0];
bitmap            266 fs/udf/super.c static void udf_sb_free_bitmap(struct udf_bitmap *bitmap)
bitmap            269 fs/udf/super.c 	int nr_groups = bitmap->s_nr_groups;
bitmap            272 fs/udf/super.c 		brelse(bitmap->s_block_bitmap[i]);
bitmap            274 fs/udf/super.c 	kvfree(bitmap);
bitmap           1008 fs/udf/super.c 	struct udf_bitmap *bitmap;
bitmap           1017 fs/udf/super.c 		bitmap = kzalloc(size, GFP_KERNEL);
bitmap           1019 fs/udf/super.c 		bitmap = vzalloc(size); /* TODO: get rid of vzalloc */
bitmap           1021 fs/udf/super.c 	if (!bitmap)
bitmap           1024 fs/udf/super.c 	bitmap->s_nr_groups = nr_groups;
bitmap           1025 fs/udf/super.c 	return bitmap;
bitmap           1136 fs/udf/super.c 		struct udf_bitmap *bitmap = udf_sb_alloc_bitmap(sb, p_index);
bitmap           1137 fs/udf/super.c 		if (!bitmap)
bitmap           1139 fs/udf/super.c 		map->s_uspace.s_bitmap = bitmap;
bitmap           1140 fs/udf/super.c 		bitmap->s_extPosition = le32_to_cpu(
bitmap           1144 fs/udf/super.c 			  p_index, bitmap->s_extPosition);
bitmap           2416 fs/udf/super.c 					  struct udf_bitmap *bitmap)
bitmap           2428 fs/udf/super.c 	loc.logicalBlockNum = bitmap->s_extPosition;
bitmap            416 fs/ufs/util.h  static inline unsigned find_last_zero_bit (unsigned char * bitmap,
bitmap            423 fs/ufs/util.h  	mapp = bitmap + (size >> 3);
bitmap            470 fs/xfs/libxfs/xfs_ialloc_btree.c 	uint64_t			bitmap = 0;
bitmap            500 fs/xfs/libxfs/xfs_ialloc_btree.c 		bitmap |= (inodespbit <<
bitmap            506 fs/xfs/libxfs/xfs_ialloc_btree.c 	return bitmap;
bitmap             22 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap,
bitmap             35 fs/xfs/scrub/bitmap.c 	list_add_tail(&bmr->list, &bitmap->list);
bitmap             43 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap)
bitmap             48 fs/xfs/scrub/bitmap.c 	for_each_xfs_bitmap_extent(bmr, n, bitmap) {
bitmap             57 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap)
bitmap             59 fs/xfs/scrub/bitmap.c 	INIT_LIST_HEAD(&bitmap->list);
bitmap            100 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap,
bitmap            112 fs/xfs/scrub/bitmap.c 	if (list_empty(&bitmap->list) || list_empty(&sub->list))
bitmap            116 fs/xfs/scrub/bitmap.c 	list_sort(NULL, &bitmap->list, xfs_bitmap_range_cmp);
bitmap            129 fs/xfs/scrub/bitmap.c 	lp = bitmap->list.next;
bitmap            130 fs/xfs/scrub/bitmap.c 	while (lp != &bitmap->list) {
bitmap            251 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap,
bitmap            264 fs/xfs/scrub/bitmap.c 		error = xfs_bitmap_set(bitmap, fsb, 1);
bitmap            279 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap = priv;
bitmap            288 fs/xfs/scrub/bitmap.c 	return xfs_bitmap_set(bitmap, fsbno, 1);
bitmap            294 fs/xfs/scrub/bitmap.c 	struct xfs_bitmap	*bitmap,
bitmap            297 fs/xfs/scrub/bitmap.c 	return xfs_btree_visit_blocks(cur, xfs_bitmap_collect_btblock, bitmap);
bitmap             19 fs/xfs/scrub/bitmap.h void xfs_bitmap_init(struct xfs_bitmap *bitmap);
bitmap             20 fs/xfs/scrub/bitmap.h void xfs_bitmap_destroy(struct xfs_bitmap *bitmap);
bitmap             22 fs/xfs/scrub/bitmap.h #define for_each_xfs_bitmap_extent(bex, n, bitmap) \
bitmap             23 fs/xfs/scrub/bitmap.h 	list_for_each_entry_safe((bex), (n), &(bitmap)->list, list)
bitmap             25 fs/xfs/scrub/bitmap.h #define for_each_xfs_bitmap_block(b, bex, n, bitmap) \
bitmap             26 fs/xfs/scrub/bitmap.h 	list_for_each_entry_safe((bex), (n), &(bitmap)->list, list) \
bitmap             29 fs/xfs/scrub/bitmap.h int xfs_bitmap_set(struct xfs_bitmap *bitmap, uint64_t start, uint64_t len);
bitmap             30 fs/xfs/scrub/bitmap.h int xfs_bitmap_disunion(struct xfs_bitmap *bitmap, struct xfs_bitmap *sub);
bitmap             31 fs/xfs/scrub/bitmap.h int xfs_bitmap_set_btcur_path(struct xfs_bitmap *bitmap,
bitmap             33 fs/xfs/scrub/bitmap.h int xfs_bitmap_set_btblocks(struct xfs_bitmap *bitmap,
bitmap            433 fs/xfs/scrub/repair.c 	struct xfs_bitmap	*bitmap)
bitmap            448 fs/xfs/scrub/repair.c 	for_each_xfs_bitmap_block(fsbno, bmr, n, bitmap) {
bitmap            596 fs/xfs/scrub/repair.c 	struct xfs_bitmap		*bitmap,
bitmap            607 fs/xfs/scrub/repair.c 	for_each_xfs_bitmap_block(fsbno, bmr, n, bitmap) {
bitmap            620 fs/xfs/scrub/repair.c 	xfs_bitmap_destroy(bitmap);
bitmap            113 include/linux/bitmap.h extern void bitmap_free(const unsigned long *bitmap);
bitmap            119 include/linux/bitmap.h extern int __bitmap_empty(const unsigned long *bitmap, unsigned int nbits);
bitmap            120 include/linux/bitmap.h extern int __bitmap_full(const unsigned long *bitmap, unsigned int nbits);
bitmap            145 include/linux/bitmap.h extern int __bitmap_weight(const unsigned long *bitmap, unsigned int nbits);
bitmap            195 include/linux/bitmap.h extern int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
bitmap            196 include/linux/bitmap.h extern void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order);
bitmap            197 include/linux/bitmap.h extern int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order);
bitmap            204 include/linux/bitmap.h extern unsigned int bitmap_ord_to_pos(const unsigned long *bitmap, unsigned int ord, unsigned int nbits);
bitmap            254 include/linux/bitmap.h extern void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf,
bitmap            256 include/linux/bitmap.h extern void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap,
bitmap            259 include/linux/bitmap.h #define bitmap_from_arr32(bitmap, buf, nbits)			\
bitmap            260 include/linux/bitmap.h 	bitmap_copy_clear_tail((unsigned long *) (bitmap),	\
bitmap            262 include/linux/bitmap.h #define bitmap_to_arr32(buf, bitmap, nbits)			\
bitmap            264 include/linux/bitmap.h 			(const unsigned long *) (bitmap), (nbits))
bitmap            860 include/linux/cpumask.h #define to_cpumask(bitmap)						\
bitmap            861 include/linux/cpumask.h 	((struct cpumask *)(1 ? (bitmap)				\
bitmap            862 include/linux/cpumask.h 			    : (void *)sizeof(__check_is_bitmap(bitmap))))
bitmap            864 include/linux/cpumask.h static inline int __check_is_bitmap(const unsigned long *bitmap)
bitmap            241 include/linux/idr.h 	unsigned long		bitmap[IDA_BITMAP_LONGS];
bitmap            419 include/linux/intel-iommu.h 	unsigned long *bitmap;
bitmap            395 include/linux/of.h 				   const char *stem, unsigned long *bitmap,
bitmap            908 include/linux/of.h 					  const char *stem, unsigned long *bitmap,
bitmap             79 include/linux/pci-epc.h 	unsigned long	*bitmap;
bitmap            101 include/linux/sh_clk.h 			  unsigned long *bitmap);
bitmap             91 include/linux/soc/qcom/llcc-qcom.h 	unsigned long *bitmap;
bitmap            156 include/net/netlabel.h 	NETLBL_CATMAP_MAPTYPE bitmap[NETLBL_CATMAP_MAPCNT];
bitmap            449 include/net/netlabel.h 			  unsigned long *bitmap);
bitmap            459 include/net/netlabel.h 			  unsigned long bitmap,
bitmap            464 include/net/netlabel.h int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len,
bitmap            466 include/net/netlabel.h void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state);
bitmap            588 include/net/netlabel.h 					unsigned long *bitmap)
bitmap            607 include/net/netlabel.h 					unsigned long bitmap,
bitmap           1286 include/trace/events/btrfs.h 		 u64 size, int bitmap),
bitmap           1288 include/trace/events/btrfs.h 	TP_ARGS(block_group, cluster, size, bitmap),
bitmap           1296 include/trace/events/btrfs.h 		__field(	int,	bitmap			)
bitmap           1305 include/trace/events/btrfs.h 		__entry->bitmap		= bitmap;
bitmap           1314 include/trace/events/btrfs.h 		  __entry->size, __entry->max_size, __entry->bitmap)
bitmap           1129 include/uapi/linux/kvm.h 	__u64 bitmap;
bitmap           1139 include/uapi/linux/videodev2.h 	void			__user *bitmap;
bitmap             64 include/uapi/linux/virtio_input.h 		__u8 bitmap[128];
bitmap             87 include/uapi/linux/xfrm.h 	__u32	bitmap;
bitmap             99 include/xen/interface/physdev.h 	uint8_t * bitmap;
bitmap             17 kernel/dma/coherent.c 	unsigned long	*bitmap;
bitmap             65 kernel/dma/coherent.c 	dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL);
bitmap             66 kernel/dma/coherent.c 	if (!dma_mem->bitmap) {
bitmap             93 kernel/dma/coherent.c 	kfree(mem->bitmap);
bitmap            140 kernel/dma/coherent.c 	pageno = bitmap_find_free_region(mem->bitmap, mem->size, order);
bitmap            203 kernel/dma/coherent.c 		bitmap_release_region(mem->bitmap, page, order);
bitmap            101 kernel/events/uprobes.c 	unsigned long 			*bitmap;	/* 0 = free slot */
bitmap           1498 kernel/events/uprobes.c 	area->bitmap = kcalloc(BITS_TO_LONGS(UINSNS_PER_PAGE), sizeof(long),
bitmap           1500 kernel/events/uprobes.c 	if (!area->bitmap)
bitmap           1514 kernel/events/uprobes.c 	set_bit(0, area->bitmap);
bitmap           1523 kernel/events/uprobes.c 	kfree(area->bitmap);
bitmap           1564 kernel/events/uprobes.c 	kfree(area->bitmap);
bitmap           1596 kernel/events/uprobes.c 		slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE);
bitmap           1598 kernel/events/uprobes.c 			if (!test_and_set_bit(slot_nr, area->bitmap))
bitmap           1665 kernel/events/uprobes.c 		clear_bit(slot_nr, area->bitmap);
bitmap             84 kernel/sched/rt.c 		__clear_bit(i, array->bitmap);
bitmap             87 kernel/sched/rt.c 	__set_bit(MAX_RT_PRIO, array->bitmap);
bitmap           1106 kernel/sched/rt.c 				sched_find_first_bit(array->bitmap);
bitmap           1226 kernel/sched/rt.c 		__clear_bit(rt_se_prio(rt_se), array->bitmap);
bitmap           1257 kernel/sched/rt.c 		__set_bit(rt_se_prio(rt_se), array->bitmap);
bitmap           1547 kernel/sched/rt.c 	idx = sched_find_first_bit(array->bitmap);
bitmap            235 kernel/sched/sched.h 	DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
bitmap           3173 kernel/sysctl.c 	unsigned long *bitmap = *(unsigned long **) table->data;
bitmap           3177 kernel/sysctl.c 	if (!bitmap || !bitmap_len || !left || (*ppos && !write)) {
bitmap           3270 kernel/sysctl.c 			bit_a = find_next_bit(bitmap, bitmap_len, bit_b);
bitmap           3273 kernel/sysctl.c 			bit_b = find_next_zero_bit(bitmap, bitmap_len,
bitmap           3302 kernel/sysctl.c 				bitmap_or(bitmap, bitmap, tmp_bitmap, bitmap_len);
bitmap           3304 kernel/sysctl.c 				bitmap_copy(bitmap, tmp_bitmap, bitmap_len);
bitmap            255 lib/bitmap.c   int __bitmap_weight(const unsigned long *bitmap, unsigned int bits)
bitmap            261 lib/bitmap.c   		w += hweight_long(bitmap[k]);
bitmap            264 lib/bitmap.c   		w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
bitmap            515 lib/bitmap.c   				unsigned long *bitmap, int nbits)
bitmap            523 lib/bitmap.c   		bitmap_set(bitmap, start, min(r->end - start + 1, r->off));
bitmap           1032 lib/bitmap.c   static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op)
bitmap           1064 lib/bitmap.c   			if (bitmap[index + i] & mask)
bitmap           1072 lib/bitmap.c   			bitmap[index + i] |= mask;
bitmap           1077 lib/bitmap.c   			bitmap[index + i] &= ~mask;
bitmap           1098 lib/bitmap.c   int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order)
bitmap           1103 lib/bitmap.c   		if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE))
bitmap           1105 lib/bitmap.c   		__reg_op(bitmap, pos, order, REG_OP_ALLOC);
bitmap           1123 lib/bitmap.c   void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order)
bitmap           1125 lib/bitmap.c   	__reg_op(bitmap, pos, order, REG_OP_RELEASE);
bitmap           1140 lib/bitmap.c   int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order)
bitmap           1142 lib/bitmap.c   	if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE))
bitmap           1144 lib/bitmap.c   	return __reg_op(bitmap, pos, order, REG_OP_ALLOC);
bitmap           1184 lib/bitmap.c   void bitmap_free(const unsigned long *bitmap)
bitmap           1186 lib/bitmap.c   	kfree(bitmap);
bitmap           1197 lib/bitmap.c   void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits)
bitmap           1203 lib/bitmap.c   		bitmap[i/2] = (unsigned long) buf[i];
bitmap           1205 lib/bitmap.c   			bitmap[i/2] |= ((unsigned long) buf[i]) << 32;
bitmap           1210 lib/bitmap.c   		bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits);
bitmap           1220 lib/bitmap.c   void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits)
bitmap           1226 lib/bitmap.c   		buf[i] = (u32) (bitmap[i/2] & UINT_MAX);
bitmap           1228 lib/bitmap.c   			buf[i] = (u32) (bitmap[i/2] >> 32);
bitmap             29 lib/find_bit_benchmark.c static DECLARE_BITMAP(bitmap, BITMAP_LEN) __initdata;
bitmap             36 lib/find_bit_benchmark.c static int __init test_find_first_bit(void *bitmap, unsigned long len)
bitmap             43 lib/find_bit_benchmark.c 		i = find_first_bit(bitmap, len);
bitmap             44 lib/find_bit_benchmark.c 		__clear_bit(i, bitmap);
bitmap             52 lib/find_bit_benchmark.c static int __init test_find_next_bit(const void *bitmap, unsigned long len)
bitmap             59 lib/find_bit_benchmark.c 		i = find_next_bit(bitmap, BITMAP_LEN, i) + 1;
bitmap             66 lib/find_bit_benchmark.c static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len)
bitmap             73 lib/find_bit_benchmark.c 		i = find_next_zero_bit(bitmap, len, i) + 1;
bitmap             80 lib/find_bit_benchmark.c static int __init test_find_last_bit(const void *bitmap, unsigned long len)
bitmap             88 lib/find_bit_benchmark.c 		l = find_last_bit(bitmap, len);
bitmap             99 lib/find_bit_benchmark.c static int __init test_find_next_and_bit(const void *bitmap,
bitmap            107 lib/find_bit_benchmark.c 		i = find_next_and_bit(bitmap, bitmap2, BITMAP_LEN, i + 1);
bitmap            120 lib/find_bit_benchmark.c 	get_random_bytes(bitmap, sizeof(bitmap));
bitmap            123 lib/find_bit_benchmark.c 	test_find_next_bit(bitmap, BITMAP_LEN);
bitmap            124 lib/find_bit_benchmark.c 	test_find_next_zero_bit(bitmap, BITMAP_LEN);
bitmap            125 lib/find_bit_benchmark.c 	test_find_last_bit(bitmap, BITMAP_LEN);
bitmap            131 lib/find_bit_benchmark.c 	test_find_first_bit(bitmap, BITMAP_LEN / 10);
bitmap            132 lib/find_bit_benchmark.c 	test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN);
bitmap            136 lib/find_bit_benchmark.c 	bitmap_zero(bitmap, BITMAP_LEN);
bitmap            140 lib/find_bit_benchmark.c 		__set_bit(prandom_u32() % BITMAP_LEN, bitmap);
bitmap            144 lib/find_bit_benchmark.c 	test_find_next_bit(bitmap, BITMAP_LEN);
bitmap            145 lib/find_bit_benchmark.c 	test_find_next_zero_bit(bitmap, BITMAP_LEN);
bitmap            146 lib/find_bit_benchmark.c 	test_find_last_bit(bitmap, BITMAP_LEN);
bitmap            147 lib/find_bit_benchmark.c 	test_find_first_bit(bitmap, BITMAP_LEN);
bitmap            148 lib/find_bit_benchmark.c 	test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN);
bitmap            385 lib/idr.c      	struct ida_bitmap *bitmap, *alloc = NULL;
bitmap            396 lib/idr.c      	bitmap = xas_find_marked(&xas, max / IDA_BITMAP_BITS, XA_FREE_MARK);
bitmap            402 lib/idr.c      	if (xa_is_value(bitmap)) {
bitmap            403 lib/idr.c      		unsigned long tmp = xa_to_value(bitmap);
bitmap            415 lib/idr.c      		bitmap = alloc;
bitmap            416 lib/idr.c      		if (!bitmap)
bitmap            417 lib/idr.c      			bitmap = kzalloc(sizeof(*bitmap), GFP_NOWAIT);
bitmap            418 lib/idr.c      		if (!bitmap)
bitmap            420 lib/idr.c      		bitmap->bitmap[0] = tmp;
bitmap            421 lib/idr.c      		xas_store(&xas, bitmap);
bitmap            423 lib/idr.c      			bitmap->bitmap[0] = 0;
bitmap            428 lib/idr.c      	if (bitmap) {
bitmap            429 lib/idr.c      		bit = find_next_zero_bit(bitmap->bitmap, IDA_BITMAP_BITS, bit);
bitmap            435 lib/idr.c      		__set_bit(bit, bitmap->bitmap);
bitmap            436 lib/idr.c      		if (bitmap_full(bitmap->bitmap, IDA_BITMAP_BITS))
bitmap            440 lib/idr.c      			bitmap = xa_mk_value(1UL << bit);
bitmap            442 lib/idr.c      			bitmap = alloc;
bitmap            443 lib/idr.c      			if (!bitmap)
bitmap            444 lib/idr.c      				bitmap = kzalloc(sizeof(*bitmap), GFP_NOWAIT);
bitmap            445 lib/idr.c      			if (!bitmap)
bitmap            447 lib/idr.c      			__set_bit(bit, bitmap->bitmap);
bitmap            449 lib/idr.c      		xas_store(&xas, bitmap);
bitmap            458 lib/idr.c      	if (bitmap != alloc)
bitmap            465 lib/idr.c      	alloc = kzalloc(sizeof(*bitmap), gfp);
bitmap            488 lib/idr.c      	struct ida_bitmap *bitmap;
bitmap            494 lib/idr.c      	bitmap = xas_load(&xas);
bitmap            496 lib/idr.c      	if (xa_is_value(bitmap)) {
bitmap            497 lib/idr.c      		unsigned long v = xa_to_value(bitmap);
bitmap            507 lib/idr.c      		if (!test_bit(bit, bitmap->bitmap))
bitmap            509 lib/idr.c      		__clear_bit(bit, bitmap->bitmap);
bitmap            511 lib/idr.c      		if (bitmap_empty(bitmap->bitmap, IDA_BITMAP_BITS)) {
bitmap            512 lib/idr.c      			kfree(bitmap);
bitmap            539 lib/idr.c      	struct ida_bitmap *bitmap;
bitmap            543 lib/idr.c      	xas_for_each(&xas, bitmap, ULONG_MAX) {
bitmap            544 lib/idr.c      		if (!xa_is_value(bitmap))
bitmap            545 lib/idr.c      			kfree(bitmap);
bitmap            577 lib/idr.c      		struct ida_bitmap *bitmap = entry;
bitmap            580 lib/idr.c      		pr_cont("bitmap: %p data", bitmap);
bitmap            582 lib/idr.c      			pr_cont(" %lx", bitmap->bitmap[i]);
bitmap             15 lib/memweight.c 	const unsigned char *bitmap = ptr;
bitmap             17 lib/memweight.c 	for (; bytes > 0 && ((unsigned long)bitmap) % sizeof(long);
bitmap             18 lib/memweight.c 			bytes--, bitmap++)
bitmap             19 lib/memweight.c 		ret += hweight8(*bitmap);
bitmap             24 lib/memweight.c 		ret += bitmap_weight((unsigned long *)bitmap,
bitmap             27 lib/memweight.c 		bitmap += longs * sizeof(long);
bitmap             34 lib/memweight.c 	for (; bytes > 0; bytes--, bitmap++)
bitmap             35 lib/memweight.c 		ret += hweight8(*bitmap);
bitmap             55 lib/test_bitmap.c 	       const unsigned long *bitmap, unsigned int nbits)
bitmap             57 lib/test_bitmap.c 	snprintf(pbl_buffer, sizeof(pbl_buffer), "%*pbl", nbits, bitmap);
bitmap            108 lib/test_bitmap.c #define expect_eq_bitmap(...)		__expect_eq(bitmap, ##__VA_ARGS__)
bitmap            632 lib/test_printf.c 	bitmap();
bitmap           1122 lib/vsprintf.c char *bitmap_string(char *buf, char *end, unsigned long *bitmap,
bitmap           1130 lib/vsprintf.c 	if (check_pointer(&buf, end, bitmap, spec))
bitmap           1148 lib/vsprintf.c 		val = (bitmap[word] >> bit) & chunkmask;
bitmap           1166 lib/vsprintf.c char *bitmap_list_string(char *buf, char *end, unsigned long *bitmap,
bitmap           1174 lib/vsprintf.c 	if (check_pointer(&buf, end, bitmap, spec))
bitmap           1177 lib/vsprintf.c 	rbot = cur = find_first_bit(bitmap, nr_bits);
bitmap           1180 lib/vsprintf.c 		cur = find_next_bit(bitmap, nr_bits, cur + 1);
bitmap             92 mm/cma.c       	bitmap_clear(cma->bitmap, bitmap_no, bitmap_count);
bitmap            103 mm/cma.c       	cma->bitmap = kzalloc(bitmap_size, GFP_KERNEL);
bitmap            105 mm/cma.c       	if (!cma->bitmap) {
bitmap            142 mm/cma.c       	kfree(cma->bitmap);
bitmap            389 mm/cma.c       		next_zero_bit = find_next_zero_bit(cma->bitmap, nbits, start);
bitmap            392 mm/cma.c       		next_set_bit = find_next_bit(cma->bitmap, nbits, next_zero_bit);
bitmap            447 mm/cma.c       		bitmap_no = bitmap_find_next_zero_area_off(cma->bitmap,
bitmap            454 mm/cma.c       		bitmap_set(cma->bitmap, bitmap_no, bitmap_count);
bitmap              8 mm/cma.h       	unsigned long   *bitmap;
bitmap             41 mm/cma_debug.c 	used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma));
bitmap             58 mm/cma_debug.c 		start = find_next_zero_bit(cma->bitmap, bitmap_maxno, end);
bitmap             61 mm/cma_debug.c 		end = find_next_bit(cma->bitmap, bitmap_maxno, start);
bitmap            184 mm/cma_debug.c 	debugfs_create_u32_array("bitmap", 0444, tmp, (u32 *)cma->bitmap, u32s);
bitmap            484 mm/page_alloc.c 	unsigned long *bitmap;
bitmap            488 mm/page_alloc.c 	bitmap = get_pageblock_bitmap(page, pfn);
bitmap            493 mm/page_alloc.c 	word = bitmap[word_bitidx];
bitmap            523 mm/page_alloc.c 	unsigned long *bitmap;
bitmap            530 mm/page_alloc.c 	bitmap = get_pageblock_bitmap(page, pfn);
bitmap            541 mm/page_alloc.c 	word = READ_ONCE(bitmap[word_bitidx]);
bitmap            543 mm/page_alloc.c 		old_word = cmpxchg(&bitmap[word_bitidx], word, (word & ~mask) | flags);
bitmap            204 mm/page_idle.c 		__BIN_ATTR(bitmap, 0600,
bitmap            273 mm/percpu.c    static void pcpu_next_unpop(unsigned long *bitmap, int *rs, int *re, int end)
bitmap            275 mm/percpu.c    	*rs = find_next_zero_bit(bitmap, end, *rs);
bitmap            276 mm/percpu.c    	*re = find_next_bit(bitmap, end, *rs + 1);
bitmap            279 mm/percpu.c    static void pcpu_next_pop(unsigned long *bitmap, int *rs, int *re, int end)
bitmap            281 mm/percpu.c    	*rs = find_next_bit(bitmap, end, *rs);
bitmap            282 mm/percpu.c    	*re = find_next_zero_bit(bitmap, end, *rs + 1);
bitmap            290 mm/percpu.c    #define pcpu_for_each_unpop_region(bitmap, rs, re, start, end)		     \
bitmap            291 mm/percpu.c    	for ((rs) = (start), pcpu_next_unpop((bitmap), &(rs), &(re), (end)); \
bitmap            293 mm/percpu.c    	     (rs) = (re) + 1, pcpu_next_unpop((bitmap), &(rs), &(re), (end)))
bitmap            295 mm/percpu.c    #define pcpu_for_each_pop_region(bitmap, rs, re, start, end)		     \
bitmap            296 mm/percpu.c    	for ((rs) = (start), pcpu_next_pop((bitmap), &(rs), &(re), (end));   \
bitmap            298 mm/percpu.c    	     (rs) = (re) + 1, pcpu_next_pop((bitmap), &(rs), &(re), (end)))
bitmap           1228 net/batman-adv/bat_iv_ogm.c 	unsigned long *bitmap;
bitmap           1276 net/batman-adv/bat_iv_ogm.c 		bitmap = neigh_ifinfo->bat_iv.real_bits;
bitmap           1277 net/batman-adv/bat_iv_ogm.c 		need_update |= batadv_bit_get_packet(bat_priv, bitmap,
bitmap           1280 net/batman-adv/bat_iv_ogm.c 		packet_count = bitmap_weight(bitmap,
bitmap            240 net/bridge/br.c 	unsigned long bitmap = bm->optmask;
bitmap            244 net/bridge/br.c 	for_each_set_bit(opt_id, &bitmap, BR_BOOLOPT_MAX) {
bitmap            745 net/ipv4/cipso_ipv4.c 				      const unsigned char *bitmap,
bitmap            760 net/ipv4/cipso_ipv4.c 			cat = netlbl_bitmap_walk(bitmap,
bitmap            130 net/ipv4/udp.c 			       unsigned long *bitmap,
bitmap            139 net/ipv4/udp.c 		    (bitmap || udp_sk(sk2)->udp_port_hash == num) &&
bitmap            147 net/ipv4/udp.c 				if (!bitmap)
bitmap            150 net/ipv4/udp.c 				if (!bitmap)
bitmap            153 net/ipv4/udp.c 					  bitmap);
bitmap            238 net/ipv4/udp.c 		DECLARE_BITMAP(bitmap, PORTS_PER_CHAIN);
bitmap            252 net/ipv4/udp.c 			bitmap_zero(bitmap, PORTS_PER_CHAIN);
bitmap            254 net/ipv4/udp.c 			udp_lib_lport_inuse(net, snum, hslot, bitmap, sk,
bitmap            265 net/ipv4/udp.c 				    !test_bit(snum >> udptable->log, bitmap) &&
bitmap           1133 net/key/af_key.c 					(sizeof(x->replay.bitmap) * 8));
bitmap            108 net/ncsi/internal.h 	u64	bitmap;
bitmap            114 net/ncsi/internal.h 	u64	bitmap;
bitmap            595 net/ncsi/ncsi-manage.c 	void *bitmap;
bitmap            600 net/ncsi/ncsi-manage.c 	bitmap = &ncf->bitmap;
bitmap            603 net/ncsi/ncsi-manage.c 	index = find_next_bit(bitmap, ncf->n_vids, 0);
bitmap            610 net/ncsi/ncsi-manage.c 	clear_bit(index, bitmap);
bitmap            632 net/ncsi/ncsi-manage.c 	void *bitmap;
bitmap            639 net/ncsi/ncsi-manage.c 	bitmap = &ncf->bitmap;
bitmap            662 net/ncsi/ncsi-manage.c 	index = find_next_zero_bit(bitmap, ncf->n_vids, 0);
bitmap            672 net/ncsi/ncsi-manage.c 	set_bit(index, bitmap);
bitmap             83 net/ncsi/ncsi-netlink.c 	while ((i = find_next_bit((void *)&ncf->bitmap, ncf->n_vids,
bitmap            354 net/ncsi/ncsi-rsp.c 	void *bitmap;
bitmap            370 net/ncsi/ncsi-rsp.c 	bitmap = &ncf->bitmap;
bitmap            372 net/ncsi/ncsi-rsp.c 		if (test_and_clear_bit(cmd->index - 1, bitmap))
bitmap            375 net/ncsi/ncsi-rsp.c 		set_bit(cmd->index - 1, bitmap);
bitmap            443 net/ncsi/ncsi-rsp.c 	void *bitmap;
bitmap            461 net/ncsi/ncsi-rsp.c 	bitmap = &ncf->bitmap;
bitmap            470 net/ncsi/ncsi-rsp.c 		set_bit(cmd->index - 1, bitmap);
bitmap            473 net/ncsi/ncsi-rsp.c 		clear_bit(cmd->index - 1, bitmap);
bitmap            808 net/ncsi/ncsi-rsp.c 	nc->vlan_filter.bitmap = U64_MAX;
bitmap            824 net/ncsi/ncsi-rsp.c 	void *bitmap;
bitmap            861 net/ncsi/ncsi-rsp.c 	bitmap = &ncmf->bitmap;
bitmap            864 net/ncsi/ncsi-rsp.c 			clear_bit(i, bitmap);
bitmap            866 net/ncsi/ncsi-rsp.c 			set_bit(i, bitmap);
bitmap            875 net/ncsi/ncsi-rsp.c 	bitmap = &ncvf->bitmap;
bitmap            879 net/ncsi/ncsi-rsp.c 			clear_bit(i, bitmap);
bitmap            881 net/ncsi/ncsi-rsp.c 			set_bit(i, bitmap);
bitmap             48 net/netfilter/nft_set_bitmap.c 	u8			bitmap[];
bitmap             71 net/netfilter/nft_set_bitmap.c nft_bitmap_active(const u8 *bitmap, u32 idx, u32 off, u8 genmask)
bitmap             73 net/netfilter/nft_set_bitmap.c 	return (bitmap[idx] & (0x3 << off)) & (genmask << off);
bitmap             85 net/netfilter/nft_set_bitmap.c 	return nft_bitmap_active(priv->bitmap, idx, off, genmask);
bitmap            140 net/netfilter/nft_set_bitmap.c 	priv->bitmap[idx] |= (genmask << off);
bitmap            157 net/netfilter/nft_set_bitmap.c 	priv->bitmap[idx] &= ~(genmask << off);
bitmap            172 net/netfilter/nft_set_bitmap.c 	priv->bitmap[idx] |= (genmask << off);
bitmap            186 net/netfilter/nft_set_bitmap.c 	priv->bitmap[idx] &= ~(genmask << off);
bitmap            208 net/netfilter/nft_set_bitmap.c 	priv->bitmap[idx] &= ~(genmask << off);
bitmap            613 net/netlabel/netlabel_kapi.c 	NETLBL_CATMAP_MAPTYPE bitmap;
bitmap            626 net/netlabel/netlabel_kapi.c 	bitmap = iter->bitmap[idx] >> bit;
bitmap            629 net/netlabel/netlabel_kapi.c 		if (bitmap != 0) {
bitmap            630 net/netlabel/netlabel_kapi.c 			while ((bitmap & NETLBL_CATMAP_BIT) == 0) {
bitmap            631 net/netlabel/netlabel_kapi.c 				bitmap >>= 1;
bitmap            644 net/netlabel/netlabel_kapi.c 		bitmap = iter->bitmap[idx];
bitmap            670 net/netlabel/netlabel_kapi.c 	NETLBL_CATMAP_MAPTYPE bitmap;
bitmap            686 net/netlabel/netlabel_kapi.c 		bitmap = iter->bitmap[idx];
bitmap            687 net/netlabel/netlabel_kapi.c 		while (bitmask != 0 && (bitmap & bitmask) != 0) {
bitmap            727 net/netlabel/netlabel_kapi.c 			  unsigned long *bitmap)
bitmap            759 net/netlabel/netlabel_kapi.c 	*bitmap = iter->bitmap[idx] >> (off % NETLBL_CATMAP_MAPSIZE);
bitmap            788 net/netlabel/netlabel_kapi.c 	iter->bitmap[idx] |= NETLBL_CATMAP_BIT << (bit % NETLBL_CATMAP_MAPSIZE);
bitmap            844 net/netlabel/netlabel_kapi.c 			  unsigned long bitmap,
bitmap            860 net/netlabel/netlabel_kapi.c 	iter->bitmap[idx] |= bitmap << (offset % NETLBL_CATMAP_MAPSIZE);
bitmap            880 net/netlabel/netlabel_kapi.c int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len,
bitmap            889 net/netlabel/netlabel_kapi.c 	byte = bitmap[byte_offset];
bitmap            902 net/netlabel/netlabel_kapi.c 			byte = bitmap[++byte_offset];
bitmap            921 net/netlabel/netlabel_kapi.c void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state)
bitmap            930 net/netlabel/netlabel_kapi.c 		bitmap[byte_spot] |= bitmask;
bitmap            932 net/netlabel/netlabel_kapi.c 		bitmap[byte_spot] &= ~bitmask;
bitmap            730 net/sched/sch_qfq.c 					unsigned long bitmap)
bitmap            732 net/sched/sch_qfq.c 	int index = __ffs(bitmap);
bitmap            736 net/sched/sch_qfq.c static inline unsigned long mask_from(unsigned long bitmap, int from)
bitmap            738 net/sched/sch_qfq.c 	return bitmap & ~((1UL << from) - 1);
bitmap            127 net/xfrm/xfrm_replay.c 	if (x->replay.bitmap & (1U << diff)) {
bitmap            149 net/xfrm/xfrm_replay.c 			x->replay.bitmap = ((x->replay.bitmap) << diff) | 1;
bitmap            151 net/xfrm/xfrm_replay.c 			x->replay.bitmap = 1;
bitmap            155 net/xfrm/xfrm_replay.c 		x->replay.bitmap |= (1U << diff);
bitmap            501 net/xfrm/xfrm_user.c 					sizeof(x->replay.bitmap) * 8);
bitmap            150 security/selinux/ss/ebitmap.c 	unsigned long bitmap;
bitmap            153 security/selinux/ss/ebitmap.c 		rc = netlbl_catmap_getlong(catmap, &offset, &bitmap);
bitmap            160 security/selinux/ss/ebitmap.c 		if (bitmap == 0) {
bitmap            181 security/selinux/ss/ebitmap.c 		e_iter->maps[idx] = bitmap;
bitmap            762 sound/pci/oxygen/oxygen_lib.c static inline int is_bit_set(const u32 *bitmap, unsigned int bit)
bitmap            764 sound/pci/oxygen/oxygen_lib.c 	return bitmap[bit / 32] & (1 << (bit & 31));
bitmap             13 tools/include/linux/bitmap.h int __bitmap_weight(const unsigned long *bitmap, int bits);
bitmap            133 tools/include/linux/bitmap.h size_t bitmap_scnprintf(unsigned long *bitmap, int nbits,
bitmap           1129 tools/include/uapi/linux/kvm.h 	__u64 bitmap;
bitmap              8 tools/lib/bitmap.c int __bitmap_weight(const unsigned long *bitmap, int bits)
bitmap             13 tools/lib/bitmap.c 		w += hweight_long(bitmap[k]);
bitmap             16 tools/lib/bitmap.c 		w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
bitmap             31 tools/lib/bitmap.c size_t bitmap_scnprintf(unsigned long *bitmap, int nbits,
bitmap             39 tools/lib/bitmap.c 	rbot = cur = find_first_bit(bitmap, nbits);
bitmap             42 tools/lib/bitmap.c 		cur = find_next_bit(bitmap, nbits, cur + 1);
bitmap            526 tools/perf/util/cpumap.c 	unsigned char *bitmap;
bitmap            532 tools/perf/util/cpumap.c 	bitmap = zalloc(last_cpu / 8 + 1);
bitmap            533 tools/perf/util/cpumap.c 	if (bitmap == NULL) {
bitmap            540 tools/perf/util/cpumap.c 		bitmap[cpu / 8] |= 1 << (cpu % 8);
bitmap            544 tools/perf/util/cpumap.c 		unsigned char bits = bitmap[cpu / 8];
bitmap            556 tools/perf/util/cpumap.c 	free(bitmap);
bitmap            465 tools/testing/radix-tree/idr-test.c 	DECLARE_BITMAP(bitmap, 2048);
bitmap            470 tools/testing/radix-tree/idr-test.c 	memset(bitmap, 0, sizeof(bitmap));
bitmap            474 tools/testing/radix-tree/idr-test.c 		if (test_bit(bit, bitmap)) {
bitmap            475 tools/testing/radix-tree/idr-test.c 			__clear_bit(bit, bitmap);
bitmap            478 tools/testing/radix-tree/idr-test.c 			__set_bit(bit, bitmap);