Home
last modified time | relevance | path

Searched refs:bitmap_set (Results 1 – 25 of 149) sorted by relevance

123456

/openbmc/linux/lib/
H A Dtest_bitmap.c276 bitmap_set(bmap, 0, 9); in test_fill_set()
283 bitmap_set(bmap, 79, 19); in test_fill_set()
303 bitmap_set(bmap1, 0, 19); in test_copy()
307 bitmap_set(bmap2, 0, 23); in test_copy()
312 bitmap_set(bmap1, 0, 109); in test_copy()
751 bitmap_set(orig, bit, 1); in test_for_each_set_bit_wrap()
754 bitmap_set(orig, 100, 50); in test_for_each_set_bit_wrap()
865 bitmap_set(tmp, 0, wr); in test_for_each_clear_bit_from()
881 bitmap_set(orig, s, 1); in test_for_each_set_bitrange()
924 bitmap_set(orig, s, 1); in test_for_each_set_bitrange_from()
[all …]
H A Diommu-helper.c25 bitmap_set(map, index, nr); in iommu_area_alloc()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c120 bitmap_set(p->set_feature_list, in macronix_nand_onfi_init()
122 bitmap_set(p->get_feature_list, in macronix_nand_onfi_init()
146 bitmap_set(p->set_feature_list, in macronix_nand_onfi_init()
148 bitmap_set(p->get_feature_list, in macronix_nand_onfi_init()
235 bitmap_set(chip->parameters.get_feature_list, in macronix_nand_block_protection_support()
252 bitmap_set(chip->parameters.set_feature_list, in macronix_nand_block_protection_support()
472 bitmap_set(chip->parameters.get_feature_list, in macronix_nand_setup_otp()
474 bitmap_set(chip->parameters.set_feature_list, in macronix_nand_setup_otp()
H A Dnand_onfi.c300 bitmap_set(chip->parameters.get_feature_list, in nand_onfi_detect()
302 bitmap_set(chip->parameters.set_feature_list, in nand_onfi_detect()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_buddy.c43 bitmap_set(buddy->bitmap[buddy->max_order], 0, 1); in mlx5dr_buddy_init()
140 bitmap_set(buddy->bitmap[order_iter], seg ^ 1, 1); in mlx5dr_buddy_alloc_mem()
164 bitmap_set(buddy->bitmap[order], seg, 1); in mlx5dr_buddy_free_mem()
/openbmc/qemu/tests/unit/
H A Dtest-bitmap.c42 bitmap_set(bmap1, 100, 145); in check_bitmap_copy_with_offset()
122 bitmap_set_case(bitmap_set); in check_bitmap_set()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_transport.c102 bitmap_set(roce_bitmap, port_num, 1); in usnic_transport_rsrv_port()
206 bitmap_set(roce_bitmap, 0, 1); in usnic_transport_init()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c57 bitmap_set(map, *pos, w); in r2l_b2t_1d()
120 bitmap_set(mask, (*pos % BITS_PER_LONG), w); in l2r_t2b()
148 bitmap_set(map, index, w); in l2r_t2b()
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dinit.c75 bitmap_set(dev->host_clients_map, 0, 1); in ishtp_device_init()
/openbmc/linux/fs/btrfs/
H A Dsubpage.c396 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_uptodate()
425 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_dirty()
476 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_writeback()
507 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_ordered()
536 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_checked()
H A Dscrub.c620 bitmap_set(&stripe->csum_error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
621 bitmap_set(&stripe->error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
631 bitmap_set(&stripe->error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
641 bitmap_set(&stripe->error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
666 bitmap_set(&stripe->error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
677 bitmap_set(&stripe->error_bitmap, sector_nr, sectors_per_tree); in scrub_verify_one_metadata()
799 bitmap_set(&stripe->io_error_bitmap, sector_nr, in scrub_repair_read_endio()
801 bitmap_set(&stripe->error_bitmap, sector_nr, in scrub_repair_read_endio()
1114 bitmap_set(&stripe->io_error_bitmap, sector_nr, num_sectors); in scrub_read_endio()
1115 bitmap_set(&stripe->error_bitmap, sector_nr, num_sectors); in scrub_read_endio()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-mips-gic.c637 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_alloc()
652 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_free()
695 bitmap_set(ipi_resrv, v[0], v[1]); in gic_register_ipi_domain()
702 bitmap_set(ipi_resrv, gic_shared_intrs - num_ipis, num_ipis); in gic_register_ipi_domain()
H A Dirq-ls-scfg-msi.c297 bitmap_set(msi_data->used, hwirq, 1); in ls_scfg_msi_teardown_hwirq()
371 bitmap_set(msi_data->used, 0, msi_data->irqs_num); in ls_scfg_msi_probe()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Did_table.c98 bitmap_set(alloc->table, 0, reserved); in c4iw_id_table_alloc()
/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c100 bitmap_set(bmap, i, nr); in ppm_find_unused_entries()
454 bitmap_set(ppm->ppod_bmap, ppmax, end - start); in cxgbi_ppm_init()
464 bitmap_set(ppm->ppod_bmap, first_ddr_idx, 1); in cxgbi_ppm_init()
/openbmc/linux/arch/x86/kernel/
H A Dioport.c124 bitmap_set(iobm->bitmap, from, num); in ksys_ioperm()
/openbmc/linux/arch/sparc/lib/
H A Dbitext.c84 bitmap_set(t->map, offset, len); in bit_map_string_get()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c3024 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap()
3029 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap()
3034 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap()
3039 bitmap_set(stats_bitmap->bitmap, last_i, in mlx4_en_update_pfc_stats_bitmap()
3058 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
3060 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
3062 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
3064 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
3066 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
3068 bitmap_set(stats_bitmap->bitmap, last_i + in mlx4_en_set_stats_bitmap()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-xilinx.c623 bitmap_set(chip->sw_map, 0, width[0] + width[1]); in xgpio_probe()
626 bitmap_set(chip->hw_map, 0, width[0]); in xgpio_probe()
627 bitmap_set(chip->hw_map, 32, width[1]); in xgpio_probe()
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr.c52 bitmap_set(dev->mem_bitmap, start, count); in s5p_mfc_alloc_priv_buf()
/openbmc/linux/kernel/irq/
H A Dmatrix.c122 bitmap_set(cm->managed_map, area, num); in matrix_alloc_area()
124 bitmap_set(cm->alloc_map, area, num); in matrix_alloc_area()
/openbmc/linux/arch/mips/kernel/
H A Dsmp-cps.c89 bitmap_set(core_power, 0, 1); in cps_smp_setup()
279 bitmap_set(core_power, core, 1); in boot_core()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dev-v5.c36 bitmap_set(cmd_q->lsbmap, start, count); in ccp_lsb_alloc()
51 bitmap_set(ccp->lsbmap, start, count); in ccp_lsb_alloc()
598 bitmap_set(cmd_q->lsbmask, j, 1); in ccp_find_lsb_regions()
712 bitmap_set(ccp->lsbmap, bitno * LSB_SIZE, LSB_SIZE); in ccp_assign_lsbs()
713 bitmap_set(qlsb, bitno, 1); in ccp_assign_lsbs()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.c565 bitmap_set(pmu->all_valid_pmc_idx, in intel_pmu_refresh()
567 bitmap_set(pmu->all_valid_pmc_idx, in intel_pmu_refresh()
578 bitmap_set(pmu->all_valid_pmc_idx, INTEL_PMC_IDX_FIXED_VLBR, 1); in intel_pmu_refresh()
/openbmc/linux/security/integrity/ima/
H A Dima_template.c453 bitmap_set(hdr_mask, HDR_PCR, 1); in ima_restore_measurement_list()
454 bitmap_set(hdr_mask, HDR_DIGEST, 1); in ima_restore_measurement_list()

123456