Home
last modified time | relevance | path

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

12

/drivers/android/
Dbinder_alloc.c64 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()
453 (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); in binder_alloc_new_buf_locked()
456 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in binder_alloc_new_buf_locked()
460 PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); in binder_alloc_new_buf_locked()
473 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.h53 void __user *user_data; member
Dbinder.c2564 (parent->buffer - (uintptr_t)buffer->user_data) + in binder_transaction_buffer_release()
2809 fda_offset = (parent->buffer - (uintptr_t)t->buffer->user_data) + in binder_translate_fd_array()
2878 (uintptr_t)parent->buffer - (uintptr_t)b->user_data; in binder_fixup_parent()
3360 t->security_ctx = (uintptr_t)t->buffer->user_data + buf_offset; in binder_transaction()
3592 t->buffer->user_data + sg_buf_offset; in binder_transaction()
4698 trd->data.ptr.buffer = (uintptr_t)t->buffer->user_data; in binder_thread_read()
5785 buffer->user_data); in print_binder_transaction_ilocked()
/drivers/gpu/drm/i915/
Di915_gem.c140 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_phys_pwrite() local
148 if (copy_from_user(vaddr, user_data, args->size)) in i915_gem_phys_pwrite()
244 shmem_pread(struct page *page, int offset, int len, char __user *user_data, in shmem_pread() argument
255 ret = __copy_to_user(user_data, vaddr + offset, len); in shmem_pread()
269 char __user *user_data; in i915_gem_shmem_pread() local
283 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pread()
289 ret = shmem_pread(page, offset, length, user_data, in i915_gem_shmem_pread()
295 user_data += length; in i915_gem_shmem_pread()
306 char __user *user_data, int length) in gtt_user_read() argument
313 unwritten = __copy_to_user_inatomic(user_data, in gtt_user_read()
[all …]
/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c333 char __user *user_data = u64_to_user_ptr(arg->data_ptr); in shmem_pwrite() local
338 GEM_BUG_ON(!access_ok(user_data, arg->size)); in shmem_pwrite()
379 err = __get_user(c, user_data); in shmem_pwrite()
383 err = __get_user(c, user_data + len - 1); in shmem_pwrite()
395 user_data, in shmem_pwrite()
410 user_data += len; in shmem_pwrite()
/drivers/scsi/megaraid/
Dmegaraid_mm.c415 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc()
431 kioc->user_data = mimd.data; in mimd_to_kioc()
463 if (copy_from_user(kioc->buf_vaddr, kioc->user_data, in mimd_to_kioc()
491 if (copy_from_user(kioc->buf_vaddr, kioc->user_data, in mimd_to_kioc()
624 kioc->user_data = NULL; in mraid_mm_alloc_kioc()
858 if (kioc->user_data) { in kioc_to_mimd()
859 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.c703 static inline void sunxi_nfc_user_data_to_buf(u32 user_data, u8 *buf) in sunxi_nfc_user_data_to_buf() argument
705 buf[0] = user_data; in sunxi_nfc_user_data_to_buf()
706 buf[1] = user_data >> 8; in sunxi_nfc_user_data_to_buf()
707 buf[2] = user_data >> 16; in sunxi_nfc_user_data_to_buf()
708 buf[3] = user_data >> 24; in sunxi_nfc_user_data_to_buf()
734 u8 user_data[4]; in sunxi_nfc_hw_ecc_set_prot_oob_bytes() local
738 memcpy(user_data, oob, sizeof(user_data)); in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
739 sunxi_nfc_randomize_bbm(nand, page, user_data); in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
740 oob = user_data; in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c1053 uint64_t user_data, in vmw_event_fence_action_create() argument
1070 event->event.user_data = user_data; in vmw_event_fence_action_create()
1165 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.c1175 e->event.user_data = req->user_data; in exynos_g2d_set_cmdlist_ioctl()
/drivers/gpu/drm/
Ddrm_atomic_uapi.c896 struct drm_crtc *crtc, uint64_t user_data) in create_vblank_event() argument
907 e->event.vbl.user_data = user_data; in create_vblank_event()
1127 e = create_vblank_event(crtc, arg->user_data); in prepare_signaling()
Ddrm_vblank.c1471 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
1937 e->event.seq.user_data = queue_seq->user_data; in drm_crtc_queue_sequence_ioctl()
Ddrm_plane.c1171 e->event.vbl.user_data = page_flip->user_data; in drm_mode_page_flip_ioctl()
/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-msg.h276 u32 user_data; member
/drivers/scsi/cxgbi/
Dlibcxgbi.c842 csk, csk->state, csk->flags, csk->user_data); in cxgbi_inform_iscsi_conn_closing()
846 if (csk->user_data) in cxgbi_inform_iscsi_conn_closing()
847 iscsi_conn_failure(csk->user_data, in cxgbi_inform_iscsi_conn_closing()
1529 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_tx_open()
1705 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_pdu_ready()
2404 csk->user_data = conn; in cxgbi_bind_conn()
2674 cep->csk->user_data = NULL; in cxgbi_ep_disconnect()
Dlibcxgbi.h155 void *user_data; member
/drivers/staging/wilc1000/
Dwilc_netdev.c18 static irqreturn_t isr_uh_routine(int irq, void *user_data) in isr_uh_routine() argument
20 struct net_device *dev = user_data; in isr_uh_routine()
/drivers/char/ipmi/
Dipmi_msghandler.c1925 smi_msg->user_data = recv_msg; in i_ipmi_req_sysintf()
2006 smi_msg->user_data = recv_msg; in i_ipmi_req_ipmb()
2133 smi_msg->user_data = recv_msg; in i_ipmi_req_lan()
4197 recv_msg = (struct ipmi_recv_msg *) msg->user_data; in handle_bmc_rsp()
4237 && (msg->user_data == NULL)) { in handle_one_recv_msg()
4310 && (msg->user_data != NULL)) { in handle_one_recv_msg()
4315 struct ipmi_recv_msg *recv_msg = msg->user_data; in handle_one_recv_msg()
4808 rv->user_data = NULL; in ipmi_alloc_smi_msg()
Dipmi_watchdog.c946 static void ipmi_wdog_panic_handler(void *user_data) in ipmi_wdog_panic_handler() argument
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c106 void *user_data; member
4004 return dispc.user_handler(irq, dispc.user_data); in dispc_irq_handler()
4015 dispc.user_data = dev_id; in dispc_request_irq()
4024 dispc.user_data = NULL; in dispc_request_irq()
4036 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()
2687 wake_up_addr.user_data = dev_addr->user_data; in power_up_device()
8867 struct drx39xxj_state *state = dev_addr->user_data; in qam64auto()
9015 struct drx39xxj_state *state = dev_addr->user_data; in qam256auto()
9458 struct drx39xxj_state *state = dev_addr->user_data; in ctrl_get_qam_sig_quality()
10675 struct drx39xxj_state *state = dev_addr->user_data; in ctrl_sig_quality()
12317 demod->my_i2c_dev_addr->user_data = state; in drx39xxj_attach()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1515 u8 *user_data = data; in bnx2x_get_module_eeprom() local
1539 user_data); in bnx2x_get_module_eeprom()
1546 user_data += xfer_size; in bnx2x_get_module_eeprom()
1564 user_data); in bnx2x_get_module_eeprom()
/drivers/firewire/
Dnosy.c43 u32 user_data; member

12