/drivers/md/persistent-data/ |
D | dm-btree.c | 370 uint64_t *keys, void *value_le) in dm_btree_lookup() argument 384 value_p = value_le; in dm_btree_lookup() 415 uint64_t key, uint64_t *rkey, void *value_le) in dm_btree_lookup_next_single() argument 444 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single() 447 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single() 458 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single() 466 uint64_t *keys, uint64_t *rkey, void *value_le) in dm_btree_lookup_next() argument 489 r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le); in dm_btree_lookup_next() 992 __le64 value_le; in prefetch_values() local 997 BUG_ON(c->info->value_type.size != sizeof(value_le)); in prefetch_values() [all …]
|
D | dm-btree.h | 110 uint64_t *keys, void *value_le); 117 uint64_t *keys, uint64_t *rkey, void *value_le); 212 int dm_btree_cursor_get_value(struct dm_btree_cursor *c, uint64_t *key, void *value_le);
|
D | dm-btree-spine.c | 245 static void le64_inc(void *context, const void *value_le) in le64_inc() argument 250 memcpy(&v_le, value_le, sizeof(v_le)); in le64_inc() 254 static void le64_dec(void *context, const void *value_le) in le64_dec() argument 259 memcpy(&v_le, value_le, sizeof(v_le)); in le64_dec()
|
D | dm-array.h | 129 typedef int (*value_fn)(uint32_t index, void *value_le, void *context); 214 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le);
|
D | dm-array.c | 771 uint32_t index, void *value_le) in dm_array_get_value() argument 790 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value() 906 __le64 value_le; in load_ablock() local 916 r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); in load_ablock() 922 r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); in load_ablock() 981 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le) in dm_array_cursor_get_value() argument 983 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|
/drivers/md/ |
D | dm-thin-metadata.c | 293 static void data_block_inc(void *context, const void *value_le) in data_block_inc() argument 300 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_inc() 305 static void data_block_dec(void *context, const void *value_le) in data_block_dec() argument 312 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_dec() 1882 __le64 value_le; in __highest_block() local 1886 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block() 1890 thin_root = le64_to_cpu(value_le); in __highest_block()
|
D | dm-cache-metadata.c | 689 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned *flags) in unpack_value() argument 691 uint64_t value = le64_to_cpu(value_le); in unpack_value() 1432 static int get_hint(uint32_t index, void *value_le, void *context) in get_hint() argument 1438 *((__le32 *) value_le) = cpu_to_le32(value); in get_hint()
|