/linux-6.6.21/include/trace/events/ |
D | io_uring.h | 117 __field( u64, user_data ) 124 __entry->user_data = req->cqe.user_data; 129 __entry->ctx, __entry->req, __entry->user_data, __entry->fd) 149 __field( u64, user_data ) 161 __entry->user_data = req->cqe.user_data; 171 __entry->ctx, __entry->req, __entry->user_data, 202 __entry->data = req->cqe.user_data; 292 __field( unsigned long long, user_data ) 302 __entry->user_data = req->cqe.user_data; 310 __entry->ctx, __entry->req, __entry->user_data, [all …]
|
/linux-6.6.21/drivers/android/ |
D | binder_alloc.c | 64 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size() 65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size() 115 if (new_buffer->user_data < buffer->user_data) in binder_insert_allocated_buffer_locked() 117 else if (new_buffer->user_data > buffer->user_data) in binder_insert_allocated_buffer_locked() 140 if (uptr < buffer->user_data) in binder_alloc_prepare_to_free_locked() 142 else if (uptr > buffer->user_data) in binder_alloc_prepare_to_free_locked() 481 (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); in binder_alloc_new_buf_locked() 484 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in binder_alloc_new_buf_locked() 488 PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); in binder_alloc_new_buf_locked() 501 new_buffer->user_data = (u8 __user *)buffer->user_data + size; in binder_alloc_new_buf_locked() [all …]
|
D | binder_alloc_selftest.c | 100 end = (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in check_buffer_pages_allocated() 101 page_addr = buffer->user_data; in check_buffer_pages_allocated()
|
/linux-6.6.21/scripts/kconfig/ |
D | gconf.c | 258 const gchar * new_text, gpointer user_data); 410 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data); 412 gpointer user_data) in on_window1_delete_event() argument 456 void on_window1_destroy(GtkObject * object, gpointer user_data) in on_window1_destroy() argument 464 GtkRequisition * requisition, gpointer user_data) in on_window1_size_request() argument 486 load_filename(GtkFileSelection * file_selector, gpointer user_data) in load_filename() argument 491 (user_data)); in load_filename() 499 void on_load1_activate(GtkMenuItem * menuitem, gpointer user_data) in on_load1_activate() argument 519 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data) in on_save_activate() argument 528 store_filename(GtkFileSelection * file_selector, gpointer user_data) in store_filename() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_gem.c | 209 shmem_pread(struct page *page, int offset, int len, char __user *user_data, in shmem_pread() argument 220 ret = __copy_to_user(user_data, vaddr + offset, len); in shmem_pread() 232 char __user *user_data; in i915_gem_shmem_pread() local 254 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pread() 260 ret = shmem_pread(page, offset, length, user_data, in i915_gem_shmem_pread() 266 user_data += length; in i915_gem_shmem_pread() 283 char __user *user_data, int length) in gtt_user_read() argument 290 unwritten = __copy_to_user_inatomic(user_data, in gtt_user_read() 296 unwritten = copy_to_user(user_data, in gtt_user_read() 390 void __user *user_data; in i915_gem_gtt_pread() local [all …]
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | ptrace.c | 418 u32 user_data[2] = {0}; in ptrace_gethbpregs() local 432 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs() 433 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs() 436 user_data[1] |= DBREAKC_LOAD_MASK; in ptrace_gethbpregs() 438 user_data[1] |= DBREAKC_STOR_MASK; in ptrace_gethbpregs() 442 if (copy_to_user(datap, user_data, sizeof(user_data))) in ptrace_gethbpregs() 453 u32 user_data[2]; in ptrace_sethbpregs() local 462 if (copy_from_user(user_data, datap, sizeof(user_data))) in ptrace_sethbpregs() 467 if (user_data[1] & DBREAKC_LOAD_MASK) in ptrace_sethbpregs() 469 if (user_data[1] & DBREAKC_STOR_MASK) in ptrace_sethbpregs() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_task.c | 48 uint32_t user_data = 0; in dump_task_sleepable() local 58 ret = bpf_copy_from_user_task(&user_data, sizeof(uint32_t), ptr, task, 0); in dump_task_sleepable() 76 ret = bpf_copy_from_user_task(&user_data, sizeof(uint32_t), ptr, task, 0); in dump_task_sleepable() 86 BPF_SEQ_PRINTF(seq, "%8d %8d %8d\n", task->tgid, task->pid, user_data); in dump_task_sleepable()
|
/linux-6.6.21/fs/coda/ |
D | pioctl.c | 30 unsigned long user_data); 51 unsigned long user_data) in coda_pioctl() argument 61 if (copy_from_user(&data, (void __user *)user_data, sizeof(data))) in coda_pioctl()
|
/linux-6.6.21/sound/soc/atmel/ |
D | mchp-spdifrx.c | 282 struct mchp_spdifrx_user_data user_data[SPDIFRX_CHANNELS]; member 331 u8 *user_data = &ctrl->user_data[channel].data[0]; in mchp_spdifrx_channel_user_data_read() local 335 for (i = 0; i < ARRAY_SIZE(ctrl->user_data[channel].data) / 4; i++) { in mchp_spdifrx_channel_user_data_read() 337 *user_data++ = val & 0xFF; in mchp_spdifrx_channel_user_data_read() 338 *user_data++ = (val >> 8) & 0xFF; in mchp_spdifrx_channel_user_data_read() 339 *user_data++ = (val >> 16) & 0xFF; in mchp_spdifrx_channel_user_data_read() 340 *user_data++ = (val >> 24) & 0xFF; in mchp_spdifrx_channel_user_data_read() 364 complete(&ctrl->user_data[ch].done); in mchp_spdif_interrupt() 619 struct mchp_spdifrx_user_data *user_data = &ctrl->user_data[channel]; in mchp_spdifrx_subcode_ch_get() local 640 reinit_completion(&user_data->done); in mchp_spdifrx_subcode_ch_get() [all …]
|
D | mchp-spdiftx.c | 186 unsigned char user_data[SPDIFTX_UD_BITS / 8]; member 231 for (i = 0; i < ARRAY_SIZE(ctrl->user_data) / 4; i++) { in mchp_spdiftx_user_data_write() 232 val = (ctrl->user_data[(i * 4) + 0] << 0) | in mchp_spdiftx_user_data_write() 233 (ctrl->user_data[(i * 4) + 1] << 8) | in mchp_spdiftx_user_data_write() 234 (ctrl->user_data[(i * 4) + 2] << 16) | in mchp_spdiftx_user_data_write() 235 (ctrl->user_data[(i * 4) + 3] << 24); in mchp_spdiftx_user_data_write() 614 memcpy(uvalue->value.iec958.subcode, ctrl->user_data, in mchp_spdiftx_subcode_get() 615 sizeof(ctrl->user_data)); in mchp_spdiftx_subcode_get() 632 for (i = 0; i < ARRAY_SIZE(ctrl->user_data); i++) { in mchp_spdiftx_subcode_put() 633 if (ctrl->user_data[i] != uvalue->value.iec958.subcode[i]) in mchp_spdiftx_subcode_put() [all …]
|
/linux-6.6.21/drivers/pci/pcie/ |
D | rcec.c | 21 void *user_data; member 63 rcec_data->user_callback(dev, rcec_data->user_data); in walk_rcec_helper() 119 rcec_data.user_data = NULL; in pcie_link_rcec() 144 rcec_data.user_data = userdata; in pcie_walk_rcec()
|
/linux-6.6.21/io_uring/ |
D | msg_ring.c | 25 u64 user_data; member 115 if (!io_post_aux_cqe(target_ctx, msg->user_data, msg->len, flags)) in io_msg_tw_complete() 150 if (io_post_aux_cqe(target_ctx, msg->user_data, msg->len, flags)) in io_msg_ring_data() 154 if (io_post_aux_cqe(target_ctx, msg->user_data, msg->len, flags)) in io_msg_ring_data() 203 if (!io_post_aux_cqe(target_ctx, msg->user_data, ret, 0)) in io_msg_install_complete() 257 msg->user_data = READ_ONCE(sqe->off); in io_msg_ring_prep()
|
D | fdinfo.c | 108 sqe->buf_index, sqe->user_data); in io_uring_show_fdinfo() 129 entry & cq_mask, cqe->user_data, cqe->res, in io_uring_show_fdinfo() 207 cqe->user_data, cqe->res, cqe->flags); in io_uring_show_fdinfo()
|
D | timeout.c | 313 .data = prev->cqe.user_data, in io_req_task_link_timeout() 374 static int io_linked_timeout_update(struct io_ring_ctx *ctx, __u64 user_data, in io_linked_timeout_update() argument 385 if (user_data == tmp->cqe.user_data) { in io_linked_timeout_update() 402 static int io_timeout_update(struct io_ring_ctx *ctx, __u64 user_data, in io_timeout_update() argument 406 struct io_cancel_data cd = { .ctx = ctx, .data = user_data, }; in io_timeout_update()
|
D | io_uring.c | 790 static bool io_cqring_event_overflow(struct io_ring_ctx *ctx, u64 user_data, in io_cqring_event_overflow() argument 803 trace_io_uring_cqe_overflow(ctx, user_data, res, cflags, ocqe); in io_cqring_event_overflow() 819 ocqe->cqe.user_data = user_data; in io_cqring_event_overflow() 832 io_cqring_event_overflow(req->ctx, req->cqe.user_data, in io_req_cqe_overflow() 875 static bool io_fill_cqe_aux(struct io_ring_ctx *ctx, u64 user_data, s32 res, in io_fill_cqe_aux() argument 888 trace_io_uring_complete(ctx, NULL, user_data, res, cflags, 0, 0); in io_fill_cqe_aux() 890 WRITE_ONCE(cqe->user_data, user_data); in io_fill_cqe_aux() 913 if (!io_fill_cqe_aux(ctx, cqe->user_data, cqe->res, cqe->flags)) { in __io_flush_post_cqes() 916 io_cqring_event_overflow(ctx, cqe->user_data, in __io_flush_post_cqes() 920 io_cqring_event_overflow(ctx, cqe->user_data, in __io_flush_post_cqes() [all …]
|
/linux-6.6.21/include/uapi/drm/ |
D | exynos_drm.h | 131 __u64 user_data; member 348 __u64 user_data; member 403 __u64 user_data; member 412 __u64 user_data; member
|
D | drm_mode.h | 1004 __u64 user_data; member 1032 __u64 user_data; member 1126 __u64 user_data; member
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_phys.c | 148 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pwrite_phys() local 165 if (copy_from_user(vaddr, user_data, args->size)) in i915_gem_object_pwrite_phys() 179 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pread_phys() local 189 if (copy_to_user(user_data, vaddr, args->size)) in i915_gem_object_pread_phys()
|
D | i915_gem_shmem.c | 426 char __user *user_data = u64_to_user_ptr(arg->data_ptr); in shmem_pwrite() local 431 GEM_BUG_ON(!access_ok(user_data, arg->size)); in shmem_pwrite() 475 err = __get_user(c, user_data); in shmem_pwrite() 479 err = __get_user(c, user_data + len - 1); in shmem_pwrite() 490 user_data, in shmem_pwrite() 504 user_data += len; in shmem_pwrite()
|
/linux-6.6.21/net/iucv/ |
D | af_iucv.c | 334 unsigned char user_data[16]; in iucv_sever_path() local 341 low_nmcpy(user_data, iucv->src_name); in iucv_sever_path() 342 high_nmcpy(user_data, iucv->dst_name); in iucv_sever_path() 343 ASCEBC(user_data, sizeof(user_data)); in iucv_sever_path() 344 pr_iucv->path_sever(path, user_data); in iucv_sever_path() 674 unsigned char user_data[16]; in afiucv_path_connect() local 677 high_nmcpy(user_data, sa->siucv_name); in afiucv_path_connect() 678 low_nmcpy(user_data, iucv->src_name); in afiucv_path_connect() 679 ASCEBC(user_data, sizeof(user_data)); in afiucv_path_connect() 689 sa->siucv_user_id, NULL, user_data, in afiucv_path_connect() [all …]
|
/linux-6.6.21/drivers/scsi/megaraid/ |
D | megaraid_mm.c | 411 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc() 427 kioc->user_data = mimd.data; in mimd_to_kioc() 459 if (copy_from_user(kioc->buf_vaddr, kioc->user_data, in mimd_to_kioc() 487 if (copy_from_user(kioc->buf_vaddr, kioc->user_data, in mimd_to_kioc() 620 kioc->user_data = NULL; in mraid_mm_alloc_kioc() 859 if (kioc->user_data) { in kioc_to_mimd() 860 if (copy_to_user(kioc->user_data, kioc->buf_vaddr, in kioc_to_mimd()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | io_uring_zerocopy_tx.c | 401 sqe->user_data = NONZC_TAG; in do_tx() 410 sqe->user_data = ZC_TAG; in do_tx() 425 if (cqe->user_data != NONZC_TAG && in do_tx() 426 cqe->user_data != ZC_TAG) in do_tx() 440 if (cqe->user_data != ZC_TAG) in do_tx()
|
/linux-6.6.21/drivers/s390/char/ |
D | uvdevice.c | 97 memcpy(uvcb_attest->user_data, uvio_attest->user_data, sizeof(uvcb_attest->user_data)); in uvio_build_uvcb_attest()
|
/linux-6.6.21/tools/testing/selftests/sgx/ |
D | main.c | 298 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 307 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 371 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 380 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 439 EXPECT_EQ(self->run.user_data, 0); 448 EXPECT_EQ(self->run.user_data, 0); 520 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 529 EXPECT_EQ(self->run.user_data, 0); in TEST_F() 535 run->user_data = 0; in test_handler() 551 self->run.user_data = 0xdeadbeef; in TEST_F() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | sev-guest.h | 19 __u8 user_data[64]; member
|