Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 38) sorted by relevance

12

/drivers/android/
Dbinder_alloc.c65 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size()
66 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
116 if (new_buffer->user_data < buffer->user_data) in binder_insert_allocated_buffer_locked()
118 else if (new_buffer->user_data > buffer->user_data) in binder_insert_allocated_buffer_locked()
141 if (uptr < buffer->user_data) in binder_alloc_prepare_to_free_locked()
143 else if (uptr > buffer->user_data) in binder_alloc_prepare_to_free_locked()
484 (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); in binder_alloc_new_buf_locked()
487 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in binder_alloc_new_buf_locked()
491 PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); in binder_alloc_new_buf_locked()
504 new_buffer->user_data = (u8 __user *)buffer->user_data + size; in binder_alloc_new_buf_locked()
[all …]
Dbinder_alloc_selftest.c100 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()
Dbinder_alloc.h59 void __user *user_data; member
/drivers/gpu/drm/i915/
Di915_gem.c193 shmem_pread(struct page *page, int offset, int len, char __user *user_data, in shmem_pread() argument
204 ret = __copy_to_user(user_data, vaddr + offset, len); in shmem_pread()
217 char __user *user_data; in i915_gem_shmem_pread() local
237 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pread()
243 ret = shmem_pread(page, offset, length, user_data, in i915_gem_shmem_pread()
249 user_data += length; in i915_gem_shmem_pread()
266 char __user *user_data, int length) in gtt_user_read() argument
273 unwritten = __copy_to_user_inatomic(user_data, in gtt_user_read()
279 unwritten = copy_to_user(user_data, in gtt_user_read()
372 void __user *user_data; in i915_gem_gtt_pread() local
[all …]
/drivers/pci/pcie/
Drcec.c21 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()
/drivers/gpu/drm/i915/gem/
Di915_gem_phys.c142 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pwrite_phys() local
158 if (copy_from_user(vaddr, user_data, args->size)) in i915_gem_object_pwrite_phys()
172 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pread_phys() local
182 if (copy_to_user(user_data, vaddr, args->size)) in i915_gem_object_pread_phys()
Di915_gem_shmem.c366 char __user *user_data = u64_to_user_ptr(arg->data_ptr); in shmem_pwrite() local
371 GEM_BUG_ON(!access_ok(user_data, arg->size)); in shmem_pwrite()
415 err = __get_user(c, user_data); in shmem_pwrite()
419 err = __get_user(c, user_data + len - 1); in shmem_pwrite()
431 user_data, in shmem_pwrite()
446 user_data += len; in shmem_pwrite()
/drivers/scsi/megaraid/
Dmegaraid_mm.c411 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()
Dmegaraid_ioctl.h130 void __user * user_data; member
/drivers/mtd/nand/raw/
Dsunxi_nand.c714 static inline void sunxi_nfc_user_data_to_buf(u32 user_data, u8 *buf) in sunxi_nfc_user_data_to_buf() argument
716 buf[0] = user_data; in sunxi_nfc_user_data_to_buf()
717 buf[1] = user_data >> 8; in sunxi_nfc_user_data_to_buf()
718 buf[2] = user_data >> 16; in sunxi_nfc_user_data_to_buf()
719 buf[3] = user_data >> 24; in sunxi_nfc_user_data_to_buf()
745 u8 user_data[4]; in sunxi_nfc_hw_ecc_set_prot_oob_bytes() local
749 memcpy(user_data, oob, sizeof(user_data)); in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
750 sunxi_nfc_randomize_bbm(nand, page, user_data); in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
751 oob = user_data; in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c1055 uint64_t user_data, in vmw_event_fence_action_create() argument
1072 event->event.user_data = user_data; in vmw_event_fence_action_create()
1167 arg->user_data, in vmw_fence_event_ioctl()
/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c695 struct drm_file *file_priv, uint64_t user_data) in exynos_drm_ipp_event_create() argument
706 e->event.user_data = user_data; in exynos_drm_ipp_event_create()
908 arg->user_data); in exynos_drm_ipp_commit_ioctl()
Dexynos_drm_g2d.c1179 e->event.user_data = req->user_data; in exynos_g2d_set_cmdlist_ioctl()
/drivers/gpu/drm/tegra/
Dsubmit.c469 struct tegra_drm_submit_data *job_data = job->user_data; in release_job()
573 job->user_data = job_data; in tegra_drm_ioctl_channel_submit()
/drivers/gpu/drm/
Ddrm_atomic_uapi.c933 struct drm_crtc *crtc, uint64_t user_data) in create_vblank_event() argument
944 e->event.vbl.user_data = user_data; in create_vblank_event()
1164 e = create_vblank_event(crtc, arg->user_data); in prepare_signaling()
Ddrm_vblank.c1638 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
2135 e->event.seq.user_data = queue_seq->user_data; in drm_crtc_queue_sequence_ioctl()
Ddrm_plane.c1346 e->event.vbl.user_data = page_flip->user_data; in drm_mode_page_flip_ioctl()
/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-msg.h276 u32 user_data; member
/drivers/scsi/cxgbi/
Dlibcxgbi.c844 csk, csk->state, csk->flags, csk->user_data); in cxgbi_inform_iscsi_conn_closing()
848 if (csk->user_data) in cxgbi_inform_iscsi_conn_closing()
849 iscsi_conn_failure(csk->user_data, in cxgbi_inform_iscsi_conn_closing()
1453 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_tx_open()
1629 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_pdu_ready()
2705 csk->user_data = conn; in cxgbi_bind_conn()
2976 cep->csk->user_data = NULL; in cxgbi_ep_disconnect()
Dlibcxgbi.h163 void *user_data; member
/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c25 static irqreturn_t isr_uh_routine(int irq, void *user_data) in isr_uh_routine() argument
27 struct wilc *wilc = user_data; in isr_uh_routine()
/drivers/char/ipmi/
Dipmi_msghandler.c1908 smi_msg->user_data = recv_msg; in i_ipmi_req_sysintf()
1989 smi_msg->user_data = recv_msg; in i_ipmi_req_ipmb()
2116 smi_msg->user_data = recv_msg; in i_ipmi_req_lan()
4198 recv_msg = (struct ipmi_recv_msg *) msg->user_data; in handle_bmc_rsp()
4238 && (msg->user_data == NULL)) { in handle_one_recv_msg()
4311 && (msg->user_data != NULL)) { in handle_one_recv_msg()
4316 struct ipmi_recv_msg *recv_msg = msg->user_data; in handle_one_recv_msg()
4811 rv->user_data = NULL; in ipmi_alloc_smi_msg()
/drivers/net/ethernet/intel/igc/
Digc.h543 u8 user_data[8]; member
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c106 void *user_data; member
3893 return dispc.user_handler(irq, dispc.user_data); in dispc_irq_handler()
3904 dispc.user_data = dev_id; in dispc_request_irq()
3913 dispc.user_data = NULL; in dispc_request_irq()
3925 dispc.user_data = NULL; in dispc_free_irq()
/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1320 state = r_dev_addr->user_data; in drxbsp_i2c_write_read()
1328 state = w_dev_addr->user_data; in drxbsp_i2c_write_read()
1336 state = w_dev_addr->user_data; in drxbsp_i2c_write_read()
1361 state = w_dev_addr->user_data; in drxbsp_i2c_write_read()
2686 wake_up_addr.user_data = dev_addr->user_data; in power_up_device()
8872 struct drx39xxj_state *state = dev_addr->user_data; in qam64auto()
9020 struct drx39xxj_state *state = dev_addr->user_data; in qam256auto()
9463 struct drx39xxj_state *state = dev_addr->user_data; in ctrl_get_qam_sig_quality()
10680 struct drx39xxj_state *state = dev_addr->user_data; in ctrl_sig_quality()
12319 demod->my_i2c_dev_addr->user_data = state; in drx39xxj_attach()

12