Searched refs:int_map (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/md/dm-vdo/ |
| A D | int-map.h | 24 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 D | int-map.c | 94 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 D | io-submitter.c | 37 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 D | block-map.h | 66 struct int_map *page_map; 242 struct int_map *loading_pages;
|
| A D | logical-zone.h | 27 struct int_map *lbn_operations;
|
| A D | physical-zone.h | 62 struct int_map *pbn_operations;
|
| A D | dedupe.h | 43 struct int_map *hash_lock_map;
|
| A D | data-vio.c | 1169 struct int_map *lock_map = lock->zone->lbn_operations; in release_lock()
|
| /linux/drivers/pci/ |
| A D | of_property.c | 215 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 D | adxl380.c | 255 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