/Linux-v5.4/drivers/md/persistent-data/ |
D | dm-btree.c | 375 uint64_t *keys, void *value_le) in dm_btree_lookup() argument 389 value_p = value_le; in dm_btree_lookup() 420 uint64_t key, uint64_t *rkey, void *value_le) in dm_btree_lookup_next_single() argument 449 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single() 452 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single() 463 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single() 471 uint64_t *keys, uint64_t *rkey, void *value_le) in dm_btree_lookup_next() argument 494 r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le); in dm_btree_lookup_next() 998 __le64 value_le; in prefetch_values() local 1003 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); 213 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); 215 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le);
|
D | dm-array.c | 769 uint32_t index, void *value_le) in dm_array_get_value() argument 788 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value() 904 __le64 value_le; in load_ablock() local 914 r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); in load_ablock() 920 r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); in load_ablock() 1000 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le) in dm_array_cursor_get_value() argument 1002 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|
/Linux-v5.4/drivers/char/tpm/ |
D | tpm_tis_spi.c | 177 __le32 value_le; in tpm_tis_spi_write32() local 180 value_le = cpu_to_le32(value); in tpm_tis_spi_write32() 182 (u8 *)&value_le); in tpm_tis_spi_write32()
|
/Linux-v5.4/drivers/md/ |
D | dm-thin-metadata.c | 305 static void data_block_inc(void *context, const void *value_le) in data_block_inc() argument 312 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_inc() 317 static void data_block_dec(void *context, const void *value_le) in data_block_dec() argument 324 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_dec() 1945 __le64 value_le; in __highest_block() local 1949 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block() 1953 thin_root = le64_to_cpu(value_le); in __highest_block()
|
D | dm-cache-metadata.c | 732 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned *flags) in unpack_value() argument 734 uint64_t value = le64_to_cpu(value_le); in unpack_value() 1690 static int get_hint(uint32_t index, void *value_le, void *context) in get_hint() argument 1696 *((__le32 *) value_le) = cpu_to_le32(value); in get_hint()
|