Home
last modified time | relevance | path

Searched refs:value_size (Results 1 – 7 of 7) sorted by relevance

/drivers/md/persistent-data/
Ddm-btree-internal.h35 __le32 value_size; member
120 uint32_t value_size = le32_to_cpu(n->header.value_size); in value_ptr() local
121 return value_base(n) + (value_size * index); in value_ptr()
Ddm-btree-remove.c59 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift() local
70 (nr_entries - shift) * value_size); in node_shift()
78 nr_entries * value_size); in node_shift()
85 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy() local
86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); in node_copy()
96 shift * value_size); in node_copy()
104 shift * value_size); in node_copy()
115 uint32_t value_size = le32_to_cpu(n->header.value_size); in delete_at() local
125 nr_to_copy * value_size); in delete_at()
Ddm-btree.c85 static int insert_at(size_t value_size, struct btree_node *node, unsigned index, in insert_at() argument
104 array_insert(value_base(node), value_size, nr_entries, index, value); in insert_at()
116 static uint32_t calc_max_entries(size_t value_size, size_t block_size) in calc_max_entries() argument
119 size_t elt_size = sizeof(uint64_t) + value_size; /* key + value */ in calc_max_entries()
148 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty()
343 uint64_t *result_key, void *v, size_t value_size) in btree_lookup_raw() argument
366 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw()
549 rn->header.value_size = ln->header.value_size; in btree_split_sibling()
636 ln->header.value_size = pn->header.value_size; in btree_split_beneath()
653 rn->header.value_size = pn->header.value_size; in btree_split_beneath()
[all …]
Ddm-btree-spine.c43 size_t value_size; in node_check() local
62 value_size = le32_to_cpu(h->value_size); in node_check()
65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { in node_check()
Ddm-array.c27 __le32 value_size; member
144 static uint32_t calc_max_entries(size_t value_size, size_t size_of_block) in calc_max_entries() argument
146 return (size_of_block - sizeof(struct array_block)) / value_size; in calc_max_entries()
165 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock()
/drivers/gpu/drm/radeon/
Dradeon_kms.c220 uint32_t *value, value_tmp, *value_ptr, value_size; in radeon_info_ioctl() local
227 value_size = sizeof(uint32_t); in radeon_info_ioctl()
425 value_size = sizeof(uint64_t); in radeon_info_ioctl()
478 value_size = sizeof(uint32_t)*32; in radeon_info_ioctl()
481 value_size = sizeof(uint32_t)*32; in radeon_info_ioctl()
490 value_size = sizeof(uint32_t)*16; in radeon_info_ioctl()
524 value_size = sizeof(uint64_t); in radeon_info_ioctl()
529 value_size = sizeof(uint64_t); in radeon_info_ioctl()
534 value_size = sizeof(uint64_t); in radeon_info_ioctl()
592 if (copy_to_user(value_ptr, (char*)value, value_size)) { in radeon_info_ioctl()
/drivers/hv/
Dhv_kvp.c400 message->body.kvp_set.data.value_size = in kvp_send_key()
403 in_msg->body.kvp_set.data.value_size, in kvp_send_key()
415 message->body.kvp_set.data.value_size = in kvp_send_key()
426 message->body.kvp_set.data.value_size = in kvp_send_key()
571 kvp_data->value_size = 2*(valuelen + 1); /* utf16 encoding */ in kvp_respond_to_host()