Home
last modified time | relevance | path

Searched refs:kvalue (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_struct_ops.c56 struct bpf_struct_ops_value kvalue; member
245 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
251 kvalue = &st_map->kvalue; in bpf_struct_ops_map_sys_lookup_elem()
253 state = smp_load_acquire(&kvalue->state); in bpf_struct_ops_map_sys_lookup_elem()
265 refcount_set(&uvalue->refcnt, refcount_read(&kvalue->refcnt)); in bpf_struct_ops_map_sys_lookup_elem()
319 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
351 kvalue = (struct bpf_struct_ops_value *)&st_map->kvalue; in bpf_struct_ops_map_update_elem()
355 if (kvalue->state != BPF_STRUCT_OPS_STATE_INIT) { in bpf_struct_ops_map_update_elem()
363 kdata = &kvalue->data; in bpf_struct_ops_map_update_elem()
450 refcount_set(&kvalue->refcnt, 1); in bpf_struct_ops_map_update_elem()
[all …]
/kernel/linux/linux-5.10/fs/
Dxattr.c515 void *kvalue = NULL; in setxattr() local
530 kvalue = kvmalloc(size, GFP_KERNEL); in setxattr()
531 if (!kvalue) in setxattr()
533 if (copy_from_user(kvalue, value, size)) { in setxattr()
539 posix_acl_fix_xattr_from_user(kvalue, size); in setxattr()
541 error = cap_convert_nscap(d, &kvalue, size); in setxattr()
548 error = vfs_setxattr(d, kname, kvalue, size, flags); in setxattr()
550 kvfree(kvalue); in setxattr()
618 void *kvalue = NULL; in getxattr() local
630 kvalue = kvzalloc(size, GFP_KERNEL); in getxattr()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.c1626 char *kvalue = NULL; in store_one() local
1646 kvalue = kzalloc(PATH_MAX, GFP_KERNEL); in store_one()
1647 if (!kvalue) in store_one()
1651 DENTRY_FILE_XATTR_NAME, kvalue, PATH_MAX); in store_one()
1656 kvalue[error] = '\0'; in store_one()
1666 load_cfn(cb->sbi, fullname, kvalue, cid, cb->server); in store_one()
1669 kfree(kvalue); in store_one()