Lines Matching refs:round_up
234 bpf_obj_free_timer(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); in htab_free_prealloced_timers()
261 bpf_obj_free_fields(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); in htab_free_prealloced_fields()
331 u32 size = round_up(htab->map.value_size, 8); in prealloc_init()
502 round_up(htab->map.key_size, 8); in htab_map_alloc()
506 htab->elem_size += round_up(htab->map.value_size, 8); in htab_map_alloc()
583 round_up(htab->map.value_size, 8), true); in htab_map_alloc()
693 return l->key + round_up(map->key_size, 8); in htab_map_lookup_elem()
720 round_up(map->key_size, 8)); in htab_map_gen_lookup()
732 return l->key + round_up(map->key_size, 8); in __htab_lru_map_lookup_elem()
769 round_up(map->key_size, 8)); in htab_lru_map_gen_lookup()
783 void *map_value = elem->key + round_up(htab->map.key_size, 8); in check_and_free_fields()
951 u32 size = round_up(htab->map.value_size, 8); in pcpu_copy_value()
1056 size = round_up(size, 8); in alloc_htab_elem()
1057 memcpy(l_new->key + round_up(key_size, 8), value, size); in alloc_htab_elem()
1060 l_new->key + round_up(key_size, 8), in alloc_htab_elem()
1123 l_old->key + round_up(key_size, 8), in htab_map_update_elem()
1151 l_old->key + round_up(key_size, 8), in htab_map_update_elem()
1223 l_new->key + round_up(map->key_size, 8), value); in htab_lru_map_update_elem()
1501 bpf_obj_free_timer(htab->map.record, l->key + round_up(htab->map.key_size, 8)); in htab_free_malloced_timers()
1604 u32 roundup_value_size = round_up(map->value_size, 8); in __htab_map_lookup_and_delete_elem()
1615 u32 roundup_key_size = round_up(map->key_size, 8); in __htab_map_lookup_and_delete_elem()
1719 roundup_key_size = round_up(htab->map.key_size, 8); in __htab_map_lookup_and_delete_batch()
1721 size = round_up(value_size, 8); in __htab_map_lookup_and_delete_batch()
2072 roundup_key_size = round_up(map->key_size, 8); in __bpf_hash_map_seq_show()
2077 roundup_value_size = round_up(map->value_size, 8); in __bpf_hash_map_seq_show()
2117 buf_size = round_up(map->value_size, 8) * num_possible_cpus(); in bpf_iter_init_hash_map()
2173 roundup_key_size = round_up(map->key_size, 8); in bpf_for_each_hash_elem()
2212 u32 value_size = round_up(htab->map.value_size, 8); in htab_map_mem_usage()
2356 size = round_up(map->value_size, 8); in bpf_percpu_hash_copy()
2571 round_up(map->key_size, 8)); in htab_of_map_gen_lookup()