/linux/drivers/md/persistent-data/ |
H A D | dm-btree.h | 111 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);
|
H A 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() 1470 __le64 value_le; in prefetch_values() local 1475 BUG_ON(c->info->value_type.size != sizeof(value_le)); in prefetch_values() [all …]
|
H A D | dm-btree-spine.c | 236 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()
|
H A D | dm-array.h | 130 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);
|
H A D | dm-array.c | 779 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 922 r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); in load_ablock() 928 r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); in load_ablock() 1015 void dm_array_cursor_get_value(struct dm_array_cursor *c, void **value_le) in dm_array_cursor_get_value() argument 1017 *value_le = element_at(c->info, c->ab, c->index); in dm_array_cursor_get_value()
|
H A D | dm-transaction-manager.c | 401 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn) in dm_tm_with_runs() argument 407 for (i = 0; i < count; i++, value_le++) { in dm_tm_with_runs() 408 b = le64_to_cpu(*value_le); in dm_tm_with_runs()
|
H A D | dm-transaction-manager.h | 115 const __le64 *value_le, unsigned int count, dm_tm_run_fn fn);
|
/linux/drivers/md/ |
H A D | dm-thin-metadata.c | 326 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() 2001 __le64 value_le; in __highest_block() local 2005 r = dm_btree_lookup(&pmd->tl_info, pmd->root, &td->id, &value_le); in __highest_block() 2009 thin_root = le64_to_cpu(value_le); in __highest_block()
|
/linux/drivers/power/supply/ |
H A 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()
|