usize 525 arch/parisc/kernel/cache.c unsigned long usize = 0; usize 528 arch/parisc/kernel/cache.c usize += vma->vm_end - vma->vm_start; usize 529 arch/parisc/kernel/cache.c return usize; usize 160 arch/x86/kernel/cpu/mce/dev-mcelog.c static int __mce_read_apei(char __user **ubuf, size_t usize) usize 166 arch/x86/kernel/cpu/mce/dev-mcelog.c if (usize < sizeof(struct mce)) usize 201 arch/x86/kernel/cpu/mce/dev-mcelog.c size_t usize, loff_t *off) usize 210 arch/x86/kernel/cpu/mce/dev-mcelog.c err = __mce_read_apei(&buf, usize); usize 217 arch/x86/kernel/cpu/mce/dev-mcelog.c if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce)) usize 292 arch/x86/kernel/cpu/mce/dev-mcelog.c size_t usize, loff_t *off) usize 305 arch/x86/kernel/cpu/mce/dev-mcelog.c if ((unsigned long)usize > sizeof(struct mce)) usize 306 arch/x86/kernel/cpu/mce/dev-mcelog.c usize = sizeof(struct mce); usize 307 arch/x86/kernel/cpu/mce/dev-mcelog.c if (copy_from_user(&m, ubuf, usize)) usize 321 arch/x86/kernel/cpu/mce/dev-mcelog.c return usize; usize 83 drivers/acpi/apei/erst-dbg.c size_t usize, loff_t *off) usize 140 drivers/acpi/apei/erst-dbg.c if (len > usize) usize 153 drivers/acpi/apei/erst-dbg.c size_t usize, loff_t *off) usize 161 drivers/acpi/apei/erst-dbg.c if (usize > ERST_DBG_RECORD_LEN_MAX) { usize 168 drivers/acpi/apei/erst-dbg.c if (usize > erst_dbg_buf_len) { usize 171 drivers/acpi/apei/erst-dbg.c p = kmalloc(usize, GFP_KERNEL); usize 176 drivers/acpi/apei/erst-dbg.c erst_dbg_buf_len = usize; usize 178 drivers/acpi/apei/erst-dbg.c rc = copy_from_user(erst_dbg_buf, ubuf, usize); usize 185 drivers/acpi/apei/erst-dbg.c if (rcd->record_length != usize) usize 192 drivers/acpi/apei/erst-dbg.c return rc < 0 ? rc : usize; usize 1087 drivers/crypto/qat/qat_common/qat_hal.c int usize = 0; usize 1093 drivers/crypto/qat/qat_common/qat_hal.c usize = ARRAY_SIZE(inst_4b); usize 1095 drivers/crypto/qat/qat_common/qat_hal.c for (i = 0; i < usize; i++) usize 1784 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c unsigned int usize, asize; usize 1796 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c usize = asize = _IOC_SIZE(cmd); usize 1831 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (asize > usize) usize 1832 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c memset(kdata + usize, 0, asize - usize); usize 1836 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (copy_from_user(kdata, (void __user *)arg, usize) != 0) { usize 1841 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c memset(kdata, 0, usize); usize 1847 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (copy_to_user((void __user *)arg, kdata, usize) != 0) usize 501 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c u64 total = 0, lcomm = ~0, lower, ubase, usize; usize 520 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c usize = total - lower; usize 523 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c nvkm_debug(subdev, "Upper: %4lld MiB @ %010llx\n", usize >> 20, ubase); usize 550 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c (usize - rsvd_tail) >> NVKM_RAM_MM_SHIFT, 1); usize 1523 drivers/media/platform/coda/coda-common.c unsigned int max_w, max_h, usize, csize; usize 1529 drivers/media/platform/coda/coda-common.c usize = max_w * max_h * 3 / 2; usize 1530 drivers/media/platform/coda/coda-common.c csize = coda_estimate_sizeimage(ctx, usize, max_w, max_h); usize 1551 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].sizeimage = usize; usize 1558 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].sizeimage = usize; usize 359 drivers/misc/habanalabs/habanalabs_ioctl.c unsigned int usize, asize; usize 380 drivers/misc/habanalabs/habanalabs_ioctl.c usize = asize = _IOC_SIZE(cmd); usize 399 drivers/misc/habanalabs/habanalabs_ioctl.c if (copy_from_user(kdata, (void __user *)arg, usize)) { usize 404 drivers/misc/habanalabs/habanalabs_ioctl.c memset(kdata, 0, usize); usize 410 drivers/misc/habanalabs/habanalabs_ioctl.c if (copy_to_user((void __user *)arg, kdata, usize)) usize 486 drivers/pci/pcie/aer_inject.c size_t usize, loff_t *off) usize 493 drivers/pci/pcie/aer_inject.c if (usize < offsetof(struct aer_error_inj, domain) || usize 494 drivers/pci/pcie/aer_inject.c usize > sizeof(einj)) usize 498 drivers/pci/pcie/aer_inject.c if (copy_from_user(&einj, ubuf, usize)) usize 502 drivers/pci/pcie/aer_inject.c return ret ? ret : usize; usize 107 drivers/xen/mcelog.c size_t usize, loff_t *off) usize 119 drivers/xen/mcelog.c if (*off != 0 || usize < XEN_MCE_LOG_LEN*sizeof(struct xen_mce)) usize 593 fs/fat/namei_vfat.c int err, ulen, usize, i; usize 602 fs/fat/namei_vfat.c err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, usize 624 fs/fat/namei_vfat.c *nr_slots = usize / 13; usize 285 include/linux/uaccess.h size_t usize) usize 287 include/linux/uaccess.h size_t size = min(ksize, usize); usize 288 include/linux/uaccess.h size_t rest = max(ksize, usize) - size; usize 291 include/linux/uaccess.h if (usize < ksize) { usize 293 include/linux/uaccess.h } else if (usize > ksize) { usize 2529 kernel/fork.c size_t usize) usize 2534 kernel/fork.c if (unlikely(usize > PAGE_SIZE)) usize 2536 kernel/fork.c if (unlikely(usize < CLONE_ARGS_SIZE_VER0)) usize 2539 kernel/fork.c err = copy_struct_from_user(&args, sizeof(args), uargs, usize); usize 5304 kernel/sched/core.c unsigned int usize) usize 5308 kernel/sched/core.c if (!access_ok(uattr, usize)) usize 5324 kernel/sched/core.c kattr->size = min(usize, ksize); usize 5340 kernel/sched/core.c unsigned int, usize, unsigned int, flags) usize 5346 kernel/sched/core.c if (!uattr || pid < 0 || usize > PAGE_SIZE || usize 5347 kernel/sched/core.c usize < SCHED_ATTR_SIZE_VER0 || flags) usize 5377 kernel/sched/core.c return sched_attr_copy_to_user(uattr, &kattr, usize); usize 28 lib/mpi/generic_mpih-lshift.c mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) usize 38 lib/mpi/generic_mpih-lshift.c i = usize - 1; usize 29 lib/mpi/generic_mpih-rshift.c mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) usize 42 lib/mpi/generic_mpih-rshift.c for (i = 1; i < usize; i++) { usize 46 lib/mpi/mpi-cmp.c mpi_size_t usize, vsize; usize 51 lib/mpi/mpi-cmp.c usize = u->nlimbs; usize 57 lib/mpi/mpi-cmp.c if (usize != vsize && !u->sign && !v->sign) usize 58 lib/mpi/mpi-cmp.c return usize - vsize; usize 59 lib/mpi/mpi-cmp.c if (usize != vsize && u->sign && v->sign) usize 60 lib/mpi/mpi-cmp.c return vsize - usize; usize 61 lib/mpi/mpi-cmp.c if (!usize) usize 63 lib/mpi/mpi-cmp.c cmp = mpihelp_cmp(u->d, v->d, usize); usize 133 lib/mpi/mpi-internal.h int mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, usize 140 lib/mpi/mpi-internal.h mpi_ptr_t up, mpi_size_t usize, usize 154 lib/mpi/mpi-internal.h mpi_limb_t mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, usize 156 lib/mpi/mpi-internal.h mpi_limb_t mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, usize 322 lib/mpi/mpih-mul.c mpi_ptr_t up, mpi_size_t usize, usize 341 lib/mpi/mpih-mul.c usize -= vsize; usize 342 lib/mpi/mpih-mul.c if (usize >= vsize) { usize 363 lib/mpi/mpih-mul.c usize -= vsize; usize 364 lib/mpi/mpih-mul.c } while (usize >= vsize); usize 367 lib/mpi/mpih-mul.c if (usize) { usize 368 lib/mpi/mpih-mul.c if (usize < KARATSUBA_THRESHOLD) { usize 370 lib/mpi/mpih-mul.c if (mpihelp_mul(ctx->tspace, vp, vsize, up, usize, &tmp) usize 381 lib/mpi/mpih-mul.c up, usize, usize 387 lib/mpi/mpih-mul.c mpihelp_add_1(prodp + vsize, ctx->tspace + vsize, usize, cy); usize 427 lib/mpi/mpih-mul.c mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, usize 430 lib/mpi/mpih-mul.c mpi_ptr_t prod_endp = prodp + usize + vsize - 1; usize 448 lib/mpi/mpih-mul.c MPN_COPY(prodp, up, usize); usize 450 lib/mpi/mpih-mul.c MPN_ZERO(prodp, usize); usize 453 lib/mpi/mpih-mul.c cy = mpihelp_mul_1(prodp, up, usize, v_limb); usize 455 lib/mpi/mpih-mul.c prodp[usize] = cy; usize 466 lib/mpi/mpih-mul.c usize); usize 468 lib/mpi/mpih-mul.c cy = mpihelp_addmul_1(prodp, up, usize, v_limb); usize 470 lib/mpi/mpih-mul.c prodp[usize] = cy; usize 479 lib/mpi/mpih-mul.c if (mpihelp_mul_karatsuba_case(prodp, up, usize, vp, vsize, &ctx) < 0) usize 110 lib/test_user_copy.c size_t ksize, usize; usize 129 lib/test_user_copy.c usize = size; usize 134 lib/test_user_copy.c ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), usize 141 lib/test_user_copy.c usize = size / 2; usize 143 lib/test_user_copy.c memcpy(expected, umem_src, usize); usize 144 lib/test_user_copy.c memset(expected + usize, 0x0, ksize - usize); usize 147 lib/test_user_copy.c ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), usize 154 lib/test_user_copy.c usize = size; usize 157 lib/test_user_copy.c ret |= test(copy_struct_from_user(kmem, ksize, umem, usize) != -E2BIG, usize 162 lib/test_user_copy.c usize = size; usize 165 lib/test_user_copy.c ret |= test(clear_user(umem + ksize, usize - ksize), usize 169 lib/test_user_copy.c ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), usize 2732 net/netfilter/nf_tables_api.c unsigned int size, i, n, ulen = 0, usize = 0; usize 2823 net/netfilter/nf_tables_api.c usize = sizeof(struct nft_userdata) + ulen; usize 2827 net/netfilter/nf_tables_api.c rule = kzalloc(sizeof(*rule) + size + usize, GFP_KERNEL); usize 399 tools/perf/util/jitdump.c int ret, csize, usize; usize 409 tools/perf/util/jitdump.c usize = jd->unwinding_mapped_size; usize 459 tools/perf/util/jitdump.c event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; usize 510 tools/perf/util/jitdump.c int usize; usize 521 tools/perf/util/jitdump.c usize = jd->unwinding_mapped_size; usize 550 tools/perf/util/jitdump.c event->mmap2.len = usize ? ALIGN_8(jr->move.code_size) + usize usize 60 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c int max_len, max_buildid_len, usize, ksize, total_size; usize 86 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); usize 87 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c if (usize < 0) usize 90 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); usize 94 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c total_size = usize + ksize;