Home
last modified time | relevance | path

Searched refs:user_size (Results 1 – 23 of 23) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c29 BUG_ON(buffer->user_size >= buffer->size); in OUT()
31 vaddr[buffer->user_size / 4] = data; in OUT()
32 buffer->user_size += 4; in OUT()
40 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LOAD_STATE()
51 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_END()
58 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_WAIT()
66 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LINK()
76 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_STALL()
154 if (buffer->user_size + cmd_dwords * sizeof(u64) > buffer->size) in etnaviv_buffer_reserve()
155 buffer->user_size = 0; in etnaviv_buffer_reserve()
[all …]
Detnaviv_drv.c169 size - buf->user_size); in etnaviv_buffer_dump()
372 if (offset_in_page(args->user_ptr | args->user_size) || in etnaviv_ioctl_gem_userptr()
374 (u32)args->user_size != args->user_size || in etnaviv_ioctl_gem_userptr()
379 args->user_size)) in etnaviv_ioctl_gem_userptr()
383 args->user_size, args->flags, in etnaviv_ioctl_gem_userptr()
Detnaviv_cmdbuf.h24 u32 user_size; member
Detnaviv_gpu.c1395 submit->cmdbuf.user_size = submit->cmdbuf.size - 8; in etnaviv_gpu_submit()
/linux-5.19.10/scripts/
Dfaddr2line100 local user_size=
103 [[ $func_addr =~ "/" ]] && user_size=${func_addr#*/}
210 if [[ -n $user_size ]] && [[ $user_size -ne $sym_size ]]; then
212 echo "skipping $sym_name address at $addr due to size mismatch ($user_size != $sym_size)"
/linux-5.19.10/arch/x86/kernel/fpu/
Dsignal.c41 fx_sw->xstate_size > current->thread.fpu.fpstate->user_size || in check_xstate_in_sigframe()
109 sw_bytes->extended_size = fpstate->user_size + FP_XSTATE_MAGIC2_SIZE; in save_sw_bytes()
111 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
133 (__u32 __user *)(buf + fpstate->user_size)); in save_xstate_epilog()
236 if (!__clear_user(buf_fx, fpstate->user_size)) in copy_fpstate_to_sigframe()
356 state_size = fpu->fpstate->user_size; in __fpu_restore_sig()
452 unsigned int size = fpstate->user_size; in xstate_sigframe_size()
Dxstate.c698 unsigned int user_size, kernel_size, kernel_default_size; in init_xstate_size() local
702 user_size = get_xsave_size_user(); in init_xstate_size()
715 kernel_size = user_size; in init_xstate_size()
728 fpu_user_cfg.max_size = user_size; in init_xstate_size()
1462 newfps->user_size = usize; in fpstate_realloc()
Dcore.c525 fpstate->user_size = fpu_user_cfg.default_size; in __fpstate_reset()
/linux-5.19.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c513 if (i915_gem_object_size_2big(args->user_size)) in i915_gem_userptr_ioctl()
516 if (!args->user_size) in i915_gem_userptr_ioctl()
519 if (offset_in_page(args->user_ptr | args->user_size)) in i915_gem_userptr_ioctl()
522 if (!access_ok((char __user *)(unsigned long)args->user_ptr, args->user_size)) in i915_gem_userptr_ioctl()
542 ret = probe_range(current->mm, args->user_ptr, args->user_size); in i915_gem_userptr_ioctl()
552 drm_gem_private_object_init(dev, &obj->base, args->user_size); in i915_gem_userptr_ioctl()
/linux-5.19.10/drivers/misc/genwqe/
Dcard_utils.c292 void __user *user_addr, size_t user_size, int write) in genwqe_alloc_sync_sgl() argument
298 sgl->fpage_size = min_t(size_t, PAGE_SIZE-sgl->fpage_offs, user_size); in genwqe_alloc_sync_sgl()
299 sgl->nr_pages = DIV_ROUND_UP(sgl->fpage_offs + user_size, PAGE_SIZE); in genwqe_alloc_sync_sgl()
300 sgl->lpage_size = (user_size - sgl->fpage_size) % PAGE_SIZE; in genwqe_alloc_sync_sgl()
303 __func__, user_addr, user_size, sgl->nr_pages, in genwqe_alloc_sync_sgl()
307 sgl->user_size = user_size; in genwqe_alloc_sync_sgl()
346 if (copy_from_user(sgl->lpage, user_addr + user_size - in genwqe_alloc_sync_sgl()
381 size_t size = sgl->user_size; in genwqe_setup_sgl()
498 offset = sgl->user_size - sgl->lpage_size; in genwqe_free_sync_sgl()
Dcard_base.h352 size_t user_size; /* size of memory area */ member
369 void __user *user_addr, size_t user_size, int write);
/linux-5.19.10/arch/sparc/kernel/
Dpci.c766 unsigned long space_size, user_offset, user_size; in __pci_mmap_make_offset_bus() local
776 user_size = vma->vm_end - vma->vm_start; in __pci_mmap_make_offset_bus()
779 (user_offset + user_size) > space_size) in __pci_mmap_make_offset_bus()
807 unsigned long user_paddr, user_size; in __pci_mmap_make_offset() local
828 user_size = vma->vm_end - vma->vm_start; in __pci_mmap_make_offset()
858 (user_paddr + user_size) <= aligned_end) in __pci_mmap_make_offset()
/linux-5.19.10/drivers/video/fbdev/
Damba-clcd.c788 unsigned long off, user_size, kernel_size; in clcdfb_of_vram_mmap() local
792 user_size = vma->vm_end - vma->vm_start; in clcdfb_of_vram_mmap()
795 if (off >= kernel_size || user_size > (kernel_size - off)) in clcdfb_of_vram_mmap()
800 user_size, in clcdfb_of_vram_mmap()
/linux-5.19.10/drivers/crypto/ccp/
Dsev-dev.c899 u64 data_size, user_size; in sev_ioctl_do_get_id() local
913 user_size = sizeof(struct sev_user_data_get_id); in sev_ioctl_do_get_id()
915 mem = kzalloc(data_size + user_size, GFP_KERNEL); in sev_ioctl_do_get_id()
923 data->len = user_size; in sev_ioctl_do_get_id()
/linux-5.19.10/net/ethtool/
Dioctl.c1071 u32 user_size, dev_size; in ethtool_get_rxfh_indir() local
1082 if (copy_from_user(&user_size, in ethtool_get_rxfh_indir()
1084 sizeof(user_size))) in ethtool_get_rxfh_indir()
1095 if (user_size < dev_size) in ethtool_get_rxfh_indir()
1096 return user_size == 0 ? 0 : -EINVAL; in ethtool_get_rxfh_indir()
1120 u32 user_size, dev_size, i; in ethtool_set_rxfh_indir() local
1134 if (copy_from_user(&user_size, in ethtool_set_rxfh_indir()
1136 sizeof(user_size))) in ethtool_set_rxfh_indir()
1139 if (user_size != 0 && user_size != dev_size) in ethtool_set_rxfh_indir()
1151 if (user_size == 0) { in ethtool_set_rxfh_indir()
[all …]
/linux-5.19.10/include/uapi/drm/
Detnaviv_drm.h234 __u64 user_size; /* in, page aligned user size */ member
Di915_drm.h2478 __u64 user_size; member
/linux-5.19.10/arch/x86/include/asm/fpu/
Dtypes.h349 unsigned int user_size; member
/linux-5.19.10/net/netfilter/
Dnft_compat.c311 unsigned int size, unsigned int user_size) in nft_extension_dump_info() argument
320 info_size = user_size ? : size; in nft_extension_dump_info()
/linux-5.19.10/kernel/
Dptrace.c987 ptrace_get_syscall_info(struct task_struct *child, unsigned long user_size, in ptrace_get_syscall_info() argument
1025 write_size = min(actual_size, user_size); in ptrace_get_syscall_info()
/linux-5.19.10/net/bpf/
Dtest_run.c741 static void *bpf_test_init(const union bpf_attr *kattr, u32 user_size, in BTF_ID()
750 if (user_size > size) in BTF_ID()
757 if (copy_from_user(data + headroom, data_in, user_size)) { in BTF_ID()
/linux-5.19.10/drivers/mtd/chips/
Dcfi_cmdset_0002.c1495 size_t user_size, factory_size, otpsize; in cfi_amdstd_otp_walk() local
1504 user_size = 0; in cfi_amdstd_otp_walk()
1531 user_size = 0x100; in cfi_amdstd_otp_walk()
1562 otpsize = user_regs ? user_size : factory_size; in cfi_amdstd_otp_walk()
/linux-5.19.10/tools/include/uapi/drm/
Di915_drm.h2478 __u64 user_size; member