Home
last modified time | relevance | path

Searched refs:int_map (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/md/dm-vdo/
A Dint-map.h24 struct int_map;
26 int __must_check vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr);
28 void vdo_int_map_free(struct int_map *map);
30 size_t vdo_int_map_size(const struct int_map *map);
32 void *vdo_int_map_get(struct int_map *map, u64 key);
34 int __must_check vdo_int_map_put(struct int_map *map, u64 key, void *new_value,
37 void *vdo_int_map_remove(struct int_map *map, u64 key);
A Dint-map.c94 struct int_map { struct
157 static int allocate_buckets(struct int_map *map, size_t capacity) in allocate_buckets()
181 struct int_map *map; in vdo_int_map_create()
185 result = vdo_allocate(1, struct int_map, "struct int_map", &map); in vdo_int_map_create()
215 void vdo_int_map_free(struct int_map *map) in vdo_int_map_free()
230 size_t vdo_int_map_size(const struct int_map *map) in vdo_int_map_size()
358 void *vdo_int_map_get(struct int_map *map, u64 key) in vdo_int_map_get()
373 static int resize_buckets(struct int_map *map) in resize_buckets()
379 struct int_map old_map = *map; in resize_buckets()
562 static struct bucket *find_or_make_vacancy(struct int_map *map, in find_or_make_vacancy()
[all …]
A Dio-submitter.c37 struct int_map *map;
189 static struct vio *get_mergeable_locked(struct int_map *map, struct vio *vio, in get_mergeable_locked()
224 static int map_merged_vio(struct int_map *bio_map, struct vio *vio) in map_merged_vio()
238 static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio, in merge_to_prev_tail()
246 static int merge_to_next_head(struct int_map *bio_map, struct vio *vio, in merge_to_next_head()
A Dblock-map.h66 struct int_map *page_map;
242 struct int_map *loading_pages;
A Dlogical-zone.h27 struct int_map *lbn_operations;
A Dphysical-zone.h62 struct int_map *pbn_operations;
A Ddedupe.h43 struct int_map *hash_lock_map;
A Ddata-vio.c1169 struct int_map *lock_map = lock->zone->lbn_operations; in release_lock()
/linux/drivers/pci/
A Dof_property.c215 u32 *int_map, *mapp; in of_pci_prop_intr_map() local
260 int_map = kcalloc(map_sz, sizeof(u32), GFP_KERNEL); in of_pci_prop_intr_map()
261 if (!int_map) in of_pci_prop_intr_map()
263 mapp = int_map; in of_pci_prop_intr_map()
292 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
307 kfree(int_map); in of_pci_prop_intr_map()
311 kfree(int_map); in of_pci_prop_intr_map()
/linux/drivers/iio/accel/
A Dadxl380.c255 int int_map[2]; member
781 return regmap_update_bits(st->regmap, st->int_map[0], in adxl380_write_act_inact_int()
785 return regmap_update_bits(st->regmap, st->int_map[0], in adxl380_write_act_inact_int()
850 return regmap_update_bits(st->regmap, st->int_map[1], in adxl380_write_tap_int()
854 return regmap_update_bits(st->regmap, st->int_map[1], in adxl380_write_tap_int()
1098 st->int_map[0], in adxl380_buffer_postenable()
1142 st->int_map[0], in adxl380_buffer_predisable()
1729 st->int_map[0] = ADXL380_INT0_MAP0_REG; in adxl380_config_irq()
1730 st->int_map[1] = ADXL380_INT0_MAP1_REG; in adxl380_config_irq()
1736 st->int_map[0] = ADXL380_INT1_MAP0_REG; in adxl380_config_irq()
[all …]

Completed in 26 milliseconds