/drivers/md/persistent-data/ |
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.c | 372 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 …]
|
D | dm-btree-spine.c | 237 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()
|
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 | 774 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()
|
D | dm-transaction-manager.c | 399 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()
|
D | dm-transaction-manager.h | 114 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn);
|
/drivers/char/tpm/ |
D | tpm_tis_core.h | 188 __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/ |
D | dm-thin-metadata.c | 321 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()
|
D | dm-cache-metadata.c | 738 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/ |
D | surface_battery.c | 201 __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()
|