Lines Matching refs:uvalue
53 struct bpf_struct_ops_value *uvalue; member
250 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
267 uvalue = value; in bpf_struct_ops_map_sys_lookup_elem()
268 memcpy(uvalue, st_map->uvalue, map->value_size); in bpf_struct_ops_map_sys_lookup_elem()
269 uvalue->state = state; in bpf_struct_ops_map_sys_lookup_elem()
270 refcount_set(&uvalue->refcnt, refcount_read(&kvalue->refcnt)); in bpf_struct_ops_map_sys_lookup_elem()
357 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
376 uvalue = value; in bpf_struct_ops_map_update_elem()
377 err = check_zero_holes(t, uvalue->data); in bpf_struct_ops_map_update_elem()
381 if (uvalue->state || refcount_read(&uvalue->refcnt)) in bpf_struct_ops_map_update_elem()
388 uvalue = (struct bpf_struct_ops_value *)st_map->uvalue; in bpf_struct_ops_map_update_elem()
398 memcpy(uvalue, value, map->value_size); in bpf_struct_ops_map_update_elem()
400 udata = &uvalue->data; in bpf_struct_ops_map_update_elem()
520 memset(uvalue, 0, map->value_size); in bpf_struct_ops_map_update_elem()
582 bpf_map_area_free(st_map->uvalue); in bpf_struct_ops_map_free()
628 st_map->uvalue = bpf_map_area_alloc(vt->size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
633 if (!st_map->uvalue || !st_map->links || !st_map->image) { in bpf_struct_ops_map_alloc()