Home
last modified time | relevance | path

Searched refs:value_le (Results 1 – 8 of 8) sorted by relevance

/drivers/md/persistent-data/
Ddm-btree.c378 uint64_t *keys, void *value_le) in dm_btree_lookup() argument
392 value_p = value_le; in dm_btree_lookup()
423 uint64_t key, uint64_t *rkey, void *value_le) in dm_btree_lookup_next_single() argument
452 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single()
455 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single()
466 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single()
474 uint64_t *keys, uint64_t *rkey, void *value_le) in dm_btree_lookup_next() argument
497 r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le); in dm_btree_lookup_next()
1001 __le64 value_le; in prefetch_values() local
1006 BUG_ON(c->info->value_type.size != sizeof(value_le)); in prefetch_values()
[all …]
Ddm-btree.h110 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);
Ddm-btree-spine.c243 static void le64_inc(void *context, const void *value_le) in le64_inc() argument
248 memcpy(&v_le, value_le, sizeof(v_le)); in le64_inc()
252 static void le64_dec(void *context, const void *value_le) in le64_dec() argument
257 memcpy(&v_le, value_le, sizeof(v_le)); in le64_dec()
Ddm-array.h129 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);
Ddm-array.c769 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()
/drivers/char/tpm/
Dtpm_tis_spi_main.c183 __le32 value_le; in tpm_tis_spi_write32() local
186 value_le = cpu_to_le32(value); in tpm_tis_spi_write32()
188 (u8 *)&value_le); in tpm_tis_spi_write32()
/drivers/md/
Ddm-thin-metadata.c314 static void data_block_inc(void *context, const void *value_le) in data_block_inc() argument
321 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_inc()
326 static void data_block_dec(void *context, const void *value_le) in data_block_dec() argument
333 memcpy(&v_le, value_le, sizeof(v_le)); in data_block_dec()
2012 __le64 value_le; in __highest_block() local
2016 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block()
2020 thin_root = le64_to_cpu(value_le); in __highest_block()
Ddm-cache-metadata.c738 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned *flags) in unpack_value() argument
740 uint64_t value = le64_to_cpu(value_le); in unpack_value()
1696 static int get_hint(uint32_t index, void *value_le, void *context) in get_hint() argument
1702 *((__le32 *) value_le) = cpu_to_le32(value); in get_hint()