Home
last modified time | relevance | path

Searched refs:bitmap_alloc (Results 1 – 22 of 22) sorted by relevance

/linux/lib/
H A Dbitmap.c732 unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags) in bitmap_alloc() function
737 EXPORT_SYMBOL(bitmap_alloc);
741 return bitmap_alloc(nbits, flags | __GFP_ZERO); in bitmap_zalloc()
777 bitmap = bitmap_alloc(nbits, flags); in devm_bitmap_alloc()
H A Dinterval_tree_test.c140 intxn1 = bitmap_alloc(nnodes, GFP_KERNEL); in intersection_range_check()
146 intxn2 = bitmap_alloc(nnodes, GFP_KERNEL); in intersection_range_check()
/linux/drivers/mmc/core/
H A Dpwrseq_simple.c48 values = bitmap_alloc(nvalues, GFP_KERNEL); in mmc_pwrseq_simple_set_gpios_value()
/linux/tools/include/linux/
H A Dbitmap.h110 static inline unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags __maybe_unused) in bitmap_alloc() function
/linux/drivers/gpio/
H A Dgpio-regmap.c306 gpio->fixed_direction_output = bitmap_alloc(chip->ngpio, in gpio_regmap_register()
H A Dgpio-max3191x.c304 values = bitmap_alloc(descs->ndescs, GFP_KERNEL); in max3191x_gpiod_multi_set_single_value()
H A Dgpiolib.c689 p = bitmap_alloc(gc->ngpio, GFP_KERNEL); in gpiochip_allocate_mask()
3522 mask = bitmap_alloc(guard.gc->ngpio, flags); in gpiod_get_array_value_complex()
3526 bits = bitmap_alloc(guard.gc->ngpio, flags); in gpiod_get_array_value_complex()
3867 mask = bitmap_alloc(guard.gc->ngpio, flags); in gpiod_set_array_value_complex()
3871 bits = bitmap_alloc(guard.gc->ngpio, flags); in gpiod_set_array_value_complex()
H A Dgpio-aggregator.c1371 bitmap_alloc(AGGREGATOR_MAX_GPIOS, GFP_KERNEL); in gpio_aggregator_parse()
/linux/kernel/
H A Dwatch_queue.c292 bitmap = bitmap_alloc(nr_notes, GFP_KERNEL); in watch_queue_set_size()
/linux/include/linux/
H A Dbitmap.h135 unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags);
/linux/drivers/ptp/
H A Dptp_chardev.c142 queue->mask = bitmap_alloc(PTP_MAX_CHANNELS, GFP_KERNEL); in ptp_open()
H A Dptp_clock.c354 queue->mask = bitmap_alloc(PTP_MAX_CHANNELS, GFP_KERNEL); in ptp_clock_register()
/linux/drivers/input/keyboard/
H A Dgpio_keys.c251 unsigned long *bits __free(bitmap) = bitmap_alloc(n_events, GFP_KERNEL); in gpio_keys_attr_store_helper()
/linux/arch/arm64/kvm/
H A Dpmu-emul.c1195 kvm->arch.pmu_filter = bitmap_alloc(nr_events, GFP_KERNEL_ACCOUNT); in kvm_arm_pmu_v3_set_attr()
/linux/drivers/input/
H A Devdev.c893 mem = bitmap_alloc(maxbit, GFP_KERNEL); in evdev_handle_get_val()
/linux/kernel/sched/
H A Dtopology.c1992 distance_map = bitmap_alloc(NR_DISTANCE_VALUES, GFP_KERNEL); in sched_record_numa_dist()
/linux/drivers/iio/
H A Dindustrialio-buffer.c522 trialmask = bitmap_alloc(masklength, GFP_KERNEL); in iio_scan_mask_set()
/linux/fs/resctrl/
H A Drdtgroup.c168 closid_free_map = bitmap_alloc(rdt_min_closid, GFP_KERNEL); in closid_init()
/linux/mm/
H A Dslub.c8715 obj_map = bitmap_alloc(oo_objects(s->oo), GFP_KERNEL); in validate_slab_cache()
9822 obj_map = bitmap_alloc(oo_objects(s->oo), GFP_KERNEL); in slab_debug_trace_open()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c2778 ibdev->ib_uc_qpns_bitmap = bitmap_alloc(ibdev->steer_qpn_count, in mlx4_ib_probe()
/linux/net/packet/
H A Daf_packet.c4508 rx_owner_map = bitmap_alloc(req->tp_frame_nr, in packet_set_ring()
/linux/kernel/trace/
H A Dring_buffer.c2073 subbuf_mask = bitmap_alloc(nr_pages + 1, GFP_KERNEL); in rb_range_meta_init()