Home
last modified time | relevance | path

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

/linux-6.12.1/sound/virtio/
Dvirtio_kctl.c112 struct virtio_snd_ctl_value *kvalue; in virtsnd_kctl_get() local
114 size_t response_size = sizeof(struct virtio_snd_hdr) + sizeof(*kvalue); in virtsnd_kctl_get()
132 kvalue = (void *)((u8 *)virtsnd_ctl_msg_response(msg) + in virtsnd_kctl_get()
140 le32_to_cpu(kvalue->value.integer[i]); in virtsnd_kctl_get()
145 le64_to_cpu(kvalue->value.integer64[i]); in virtsnd_kctl_get()
150 le32_to_cpu(kvalue->value.enumerated[i]); in virtsnd_kctl_get()
153 memcpy(uvalue->value.bytes.data, kvalue->value.bytes, count); in virtsnd_kctl_get()
156 memcpy(&uvalue->value.iec958, &kvalue->value.iec958, in virtsnd_kctl_get()
185 struct virtio_snd_ctl_value *kvalue; in virtsnd_kctl_put() local
186 size_t request_size = sizeof(*hdr) + sizeof(*kvalue); in virtsnd_kctl_put()
[all …]
/linux-6.12.1/kernel/bpf/
Dbpf_struct_ops.c54 struct bpf_struct_ops_value kvalue; member
442 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
449 kvalue = &st_map->kvalue; in bpf_struct_ops_map_sys_lookup_elem()
451 state = smp_load_acquire(&kvalue->common.state); in bpf_struct_ops_map_sys_lookup_elem()
595 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
628 kvalue = (struct bpf_struct_ops_value *)&st_map->kvalue; in bpf_struct_ops_map_update_elem()
632 if (kvalue->common.state != BPF_STRUCT_OPS_STATE_INIT) { in bpf_struct_ops_map_update_elem()
640 kdata = &kvalue->data; in bpf_struct_ops_map_update_elem()
758 smp_store_release(&kvalue->common.state, BPF_STRUCT_OPS_STATE_READY); in bpf_struct_ops_map_update_elem()
775 smp_store_release(&kvalue->common.state, BPF_STRUCT_OPS_STATE_INUSE); in bpf_struct_ops_map_update_elem()
[all …]
/linux-6.12.1/fs/
Dxattr.c612 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy()
613 if (IS_ERR(ctx->kvalue)) { in setxattr_copy()
614 error = PTR_ERR(ctx->kvalue); in setxattr_copy()
615 ctx->kvalue = NULL; in setxattr_copy()
627 ctx->kvalue, ctx->size); in do_setxattr()
630 ctx->kvalue, ctx->size, ctx->flags); in do_setxattr()
640 .kvalue = NULL, in path_setxattr()
668 kvfree(ctx.kvalue); in path_setxattr()
692 .kvalue = NULL, in SYSCALL_DEFINE5()
714 kvfree(ctx.kvalue); in SYSCALL_DEFINE5()
[all …]
Dinternal.h276 void *kvalue; member
295 const char *acl_name, const void *kvalue, size_t size);
297 const char *acl_name, void *kvalue, size_t size);
301 const void *kvalue, size_t size) in do_set_acl() argument
307 void *kvalue, size_t size) in do_get_acl() argument
Dposix_acl.c1264 const char *acl_name, const void *kvalue, size_t size) in do_set_acl() argument
1274 acl = posix_acl_from_xattr(current_user_ns(), kvalue, size); in do_set_acl()
1285 const char *acl_name, void *kvalue, size_t size) in do_get_acl() argument
1295 acl, kvalue, size); in do_get_acl()
/linux-6.12.1/io_uring/
Dxattr.c33 kvfree(ix->ctx.kvalue); in io_xattr_cleanup()
55 ix->ctx.kvalue = NULL; in __io_getxattr_prep()
161 ix->ctx.kvalue = NULL; in __io_setxattr_prep()