Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H 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);
H A Dint-map.c94 struct int_map { struct
157 static int allocate_buckets(struct int_map *map, size_t capacity) in allocate_buckets()
179 int vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr) in vdo_int_map_create()
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()
293 static struct bucket *select_bucket(const struct int_map *map, u64 key) in select_bucket()
355 void *vdo_int_map_get(struct int_map *map, u64 key) in vdo_int_map_get()
370 static int resize_buckets(struct int_map *map) in resize_buckets()
[all …]
H A Dio-submitter.c37 struct int_map *map;
191 static struct vio *get_mergeable_locked(struct int_map *map, struct vio *vio, in get_mergeable_locked()
226 static int map_merged_vio(struct int_map *bio_map, struct vio *vio) in map_merged_vio()
240 static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio, in merge_to_prev_tail()
248 static int merge_to_next_head(struct int_map *bio_map, struct vio *vio, in merge_to_next_head()
H A Dblock-map.h66 struct int_map *page_map;
242 struct int_map *loading_pages;
H A Dlogical-zone.h27 struct int_map *lbn_operations;
H A Dphysical-zone.h62 struct int_map *pbn_operations;
H A Ddedupe.h43 struct int_map *hash_lock_map;
H A Ddata-vio.c1144 struct int_map *lock_map = lock->zone->lbn_operations; in release_lock()
/linux/drivers/pci/
H A Dof_property.c219 u32 *int_map, *mapp; in of_pci_prop_intr_map() local
264 int_map = kcalloc(map_sz, sizeof(u32), GFP_KERNEL); in of_pci_prop_intr_map()
265 if (!int_map) in of_pci_prop_intr_map()
267 mapp = int_map; in of_pci_prop_intr_map()
304 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
319 kfree(int_map); in of_pci_prop_intr_map()
323 kfree(int_map); in of_pci_prop_intr_map()
/linux/drivers/iio/accel/
H A Dadxl380.c222 int int_map[2]; member
753 ret = regmap_read(st->regmap, st->int_map[0], &reg_val); in adxl380_read_act_inact_int()
770 return regmap_update_bits(st->regmap, st->int_map[0], in adxl380_write_act_inact_int()
774 return regmap_update_bits(st->regmap, st->int_map[0], in adxl380_write_act_inact_int()
824 ret = regmap_read(st->regmap, st->int_map[1], &reg_val); in adxl380_read_tap_int()
839 return regmap_update_bits(st->regmap, st->int_map[1], in adxl380_write_tap_int()
843 return regmap_update_bits(st->regmap, st->int_map[1], in adxl380_write_tap_int()
1086 st->int_map[0], in adxl380_buffer_postenable()
1130 st->int_map[0], in adxl380_buffer_predisable()
1832 st->int_map[0] = ADXL380_INT0_MAP0_REG; in adxl380_config_irq()
[all …]
H A Dadxl345_core.c741 unsigned int int_map = 0x00; in _adxl345_set_tap_int() local
778 int_map |= adxl345_tap_int_reg[type]; in _adxl345_set_tap_int()
781 adxl345_tap_int_reg[type], int_map); in _adxl345_set_tap_int()