Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-btree.h111 uint64_t *keys, void *value_le);
118 uint64_t *keys, uint64_t *rkey, void *value_le);
214 int dm_btree_cursor_get_value(struct dm_btree_cursor *c, uint64_t *key, void *value_le);
A Ddm-btree-spine.c236 static void le64_inc(void *context, const void *value_le, unsigned int count) in le64_inc() argument
238 dm_tm_with_runs(context, value_le, count, dm_tm_inc_range); in le64_inc()
241 static void le64_dec(void *context, const void *value_le, unsigned int count) in le64_dec() argument
243 dm_tm_with_runs(context, value_le, count, dm_tm_dec_range); in le64_dec()
A Ddm-btree.c375 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
471 uint64_t *keys, uint64_t *rkey, void *value_le) in dm_btree_lookup_next() argument
1470 __le64 value_le; in prefetch_values() local
1475 BUG_ON(c->info->value_type.size != sizeof(value_le)); in prefetch_values()
1479 memcpy(&value_le, value_ptr(bn, i), sizeof(value_le)); in prefetch_values()
1480 dm_bm_prefetch(bm, le64_to_cpu(value_le)); in prefetch_values()
1548 __le64 value_le; in find_leaf() local
1557 memcpy(&value_le, value_ptr(bn, n->index), sizeof(value_le)); in find_leaf()
[all …]
A Ddm-array.h130 typedef int (*value_fn)(uint32_t index, void *value_le, void *context);
216 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le);
A Ddm-array.c779 uint32_t index, void *value_le) in dm_array_get_value() argument
798 memcpy(value_le, element_at(info, ab, entry), in dm_array_get_value()
914 __le64 value_le; in load_ablock() local
924 r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); in load_ablock()
930 r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); in load_ablock()
1010 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le) in dm_array_cursor_get_value() argument
1012 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
A Ddm-transaction-manager.c398 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn) in dm_tm_with_runs() argument
404 for (i = 0; i < count; i++, value_le++) { in dm_tm_with_runs()
405 b = le64_to_cpu(*value_le); in dm_tm_with_runs()
A Ddm-transaction-manager.h115 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn);
/linux-6.3-rc2/drivers/char/tpm/
A Dtpm_tis_core.h185 __le32 value_le; in tpm_tis_write32() local
188 value_le = cpu_to_le32(value); in tpm_tis_write32()
190 (u8 *)&value_le, TPM_TIS_PHYS_32); in tpm_tis_write32()
/linux-6.3-rc2/drivers/md/
A Ddm-thin-metadata.c326 static void with_runs(struct dm_space_map *sm, const __le64 *value_le, unsigned int count, run_fn f… in with_runs() argument
333 for (i = 0; i < count; i++, value_le++) { in with_runs()
335 unpack_block_time(le64_to_cpu(*value_le), &b, &t); in with_runs()
356 static void data_block_inc(void *context, const void *value_le, unsigned int count) in data_block_inc() argument
359 (const __le64 *) value_le, count, dm_sm_inc_blocks); in data_block_inc()
362 static void data_block_dec(void *context, const void *value_le, unsigned int count) in data_block_dec() argument
365 (const __le64 *) value_le, count, dm_sm_dec_blocks); in data_block_dec()
2005 __le64 value_le; in __highest_block() local
2009 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block()
2013 thin_root = le64_to_cpu(value_le); in __highest_block()
A Ddm-cache-metadata.c743 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned int *flags) in unpack_value() argument
745 uint64_t value = le64_to_cpu(value_le); in unpack_value()
1703 static int get_hint(uint32_t index, void *value_le, void *context) in get_hint() argument
1709 *((__le32 *) value_le) = cpu_to_le32(value); in get_hint()
/linux-6.3-rc2/drivers/power/supply/
A 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()

Completed in 135 milliseconds