Home
last modified time | relevance | path

Searched refs:uvalue (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dbpf_struct_ops.c53 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()
[all …]
Dsyscall.c1313 void __user *uvalue = u64_to_user_ptr(attr->value); in map_lookup_elem() local
1356 if (copy_from_user(value, uvalue, value_size)) in map_lookup_elem()
1368 if (copy_to_user(uvalue, value, value_size) != 0) in map_lookup_elem()
1388 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_update_elem() local
1422 value = kvmemdup_bpfptr(uvalue, value_size); in map_update_elem()
1788 void __user *uvalue = u64_to_user_ptr(attr->value); in map_lookup_and_delete_elem() local
1859 if (copy_to_user(uvalue, value, value_size) != 0) { in map_lookup_and_delete_elem()