Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
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.c372 uint64_t *keys, void *value_le) in dm_btree_lookup() argument
386 value_p = value_le; in dm_btree_lookup()
417 uint64_t key, uint64_t *rkey, void *value_le) in dm_btree_lookup_next_single() argument
446 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single()
449 r = dm_btree_lookup_next_single(info, value64(n, i), key, rkey, value_le); in dm_btree_lookup_next_single()
460 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single()
468 uint64_t *keys, uint64_t *rkey, void *value_le) in dm_btree_lookup_next() argument
491 r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le); in dm_btree_lookup_next()
1459 __le64 value_le; in prefetch_values() local
1464 BUG_ON(c->info->value_type.size != sizeof(value_le)); in prefetch_values()
[all …]
Ddm-btree-spine.c237 static void le64_inc(void *context, const void *value_le, unsigned int count) in le64_inc() argument
239 dm_tm_with_runs(context, value_le, count, dm_tm_inc_range); in le64_inc()
242 static void le64_dec(void *context, const void *value_le, unsigned int count) in le64_dec() argument
244 dm_tm_with_runs(context, value_le, count, dm_tm_dec_range); 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.c774 uint32_t index, void *value_le) in dm_array_get_value() argument
793 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value()
909 __le64 value_le; in load_ablock() local
919 r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); in load_ablock()
925 r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); in load_ablock()
1005 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le) in dm_array_cursor_get_value() argument
1007 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
Ddm-transaction-manager.c399 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn) in dm_tm_with_runs() argument
405 for (i = 0; i < count; i++, value_le++) { in dm_tm_with_runs()
406 b = le64_to_cpu(*value_le); in dm_tm_with_runs()
Ddm-transaction-manager.h114 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn);
/drivers/char/tpm/
Dtpm_tis_core.h188 __le32 value_le; in tpm_tis_write32() local
191 value_le = cpu_to_le32(value); in tpm_tis_write32()
193 (u8 *)&value_le, TPM_TIS_PHYS_32); in tpm_tis_write32()
/drivers/md/
Ddm-thin-metadata.c321 static void with_runs(struct dm_space_map *sm, const __le64 *value_le, unsigned int count, run_fn f… in with_runs() argument
328 for (i = 0; i < count; i++, value_le++) { in with_runs()
330 unpack_block_time(le64_to_cpu(*value_le), &b, &t); in with_runs()
351 static void data_block_inc(void *context, const void *value_le, unsigned int count) in data_block_inc() argument
354 (const __le64 *) value_le, count, dm_sm_inc_blocks); in data_block_inc()
357 static void data_block_dec(void *context, const void *value_le, unsigned int count) in data_block_dec() argument
360 (const __le64 *) value_le, count, dm_sm_dec_blocks); in data_block_dec()
1995 __le64 value_le; in __highest_block() local
1999 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block()
2003 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 int *flags) in unpack_value() argument
740 uint64_t value = le64_to_cpu(value_le); in unpack_value()
1695 static int get_hint(uint32_t index, void *value_le, void *context) in get_hint() argument
1701 *((__le32 *) value_le) = cpu_to_le32(value); in get_hint()
/drivers/power/supply/
Dsurface_battery.c201 __le32 value_le = cpu_to_le32(value); in spwr_battery_set_alarm_unlocked() local
206 return ssam_retry(ssam_bat_set_btp, bat->sdev, &value_le); in spwr_battery_set_alarm_unlocked()