Searched refs:kvalue (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/kernel/bpf/ |
D | bpf_struct_ops.c | 58 struct bpf_struct_ops_value kvalue; member 250 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local 256 kvalue = &st_map->kvalue; in bpf_struct_ops_map_sys_lookup_elem() 258 state = smp_load_acquire(&kvalue->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 389 kvalue = (struct bpf_struct_ops_value *)&st_map->kvalue; in bpf_struct_ops_map_update_elem() 393 if (kvalue->state != BPF_STRUCT_OPS_STATE_INIT) { in bpf_struct_ops_map_update_elem() 401 kdata = &kvalue->data; in bpf_struct_ops_map_update_elem() 494 refcount_set(&kvalue->refcnt, 1); in bpf_struct_ops_map_update_elem() [all …]
|
/linux-6.1.9/fs/ |
D | xattr.c | 573 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy() 574 if (IS_ERR(ctx->kvalue)) { in setxattr_copy() 575 error = PTR_ERR(ctx->kvalue); in setxattr_copy() 576 ctx->kvalue = NULL; in setxattr_copy() 587 posix_acl_fix_xattr_from_user(ctx->kvalue, ctx->size); in setxattr_convert() 595 ctx->kvalue, ctx->size, ctx->flags); in do_setxattr() 606 .kvalue = NULL, in setxattr() 619 kvfree(ctx.kvalue); in setxattr() 695 ctx->kvalue = kvzalloc(ctx->size, GFP_KERNEL); in do_getxattr() 696 if (!ctx->kvalue) in do_getxattr() [all …]
|
D | internal.h | 220 void *kvalue; member
|
/linux-6.1.9/io_uring/ |
D | xattr.c | 33 kvfree(ix->ctx.kvalue); in io_xattr_cleanup() 55 ix->ctx.kvalue = NULL; in __io_getxattr_prep() 164 ix->ctx.kvalue = NULL; in __io_setxattr_prep()
|