Lines Matching refs:value_size
67 (u64)smap->map.value_size; in prealloc_elems_and_freelist()
91 u32 value_size = attr->value_size; in stack_map_alloc() local
104 value_size < 8 || value_size % 8) in stack_map_alloc()
109 if (value_size % sizeof(struct bpf_stack_build_id) || in stack_map_alloc()
110 value_size / sizeof(struct bpf_stack_build_id) in stack_map_alloc()
113 } else if (value_size / 8 > sysctl_perf_event_max_stack) in stack_map_alloc()
122 cost += n_buckets * (value_size + sizeof(struct stack_map_bucket)); in stack_map_alloc()
128 smap->map.value_size = value_size; in stack_map_alloc()
264 u32 max_depth = map->value_size / stack_map_data_size(map); in __bpf_get_stackid()
340 u32 max_depth = map->value_size / stack_map_data_size(map); in BPF_CALL_3()
636 memset(value + trace_len, 0, map->value_size - trace_len); in bpf_stackmap_copy()