Searched refs:usize (Results 1 – 6 of 6) sorted by relevance
/arch/x86/kernel/cpu/mcheck/ |
D | mce-inject.c | 204 size_t usize, loff_t *off) in mce_write() argument 217 if ((unsigned long)usize > sizeof(struct mce)) in mce_write() 218 usize = sizeof(struct mce); in mce_write() 219 if (copy_from_user(&m, ubuf, usize)) in mce_write() 234 return usize; in mce_write()
|
D | mce.c | 1804 static int __mce_read_apei(char __user **ubuf, size_t usize) in __mce_read_apei() argument 1810 if (usize < sizeof(struct mce)) in __mce_read_apei() 1845 size_t usize, loff_t *off) in mce_chrdev_read() argument 1859 err = __mce_read_apei(&buf, usize); in mce_chrdev_read() 1868 if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce)) in mce_chrdev_read() 1965 size_t usize, loff_t *off); 1969 size_t usize, loff_t *off)) in register_mce_write_callback() argument 1976 size_t usize, loff_t *off) in mce_chrdev_write() argument 1979 return mce_write(filp, ubuf, usize, off); in mce_chrdev_write()
|
/arch/parisc/kernel/ |
D | cache.c | 496 unsigned long usize = 0; in mm_total_size() local 499 usize += vma->vm_end - vma->vm_start; in mm_total_size() 500 return usize; in mm_total_size()
|
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 318 size_t *usize; in load_ucode_amd_ap() local 328 usize = (size_t *)__pa_nodebug(&container_size); in load_ucode_amd_ap() 330 if (!*ucode || !*usize) in load_ucode_amd_ap() 333 apply_ucode_in_initrd(*ucode, *usize, false); in load_ucode_amd_ap()
|
/arch/x86/include/asm/ |
D | mce.h | 235 size_t usize, loff_t *off));
|
/arch/arm/mm/ |
D | dma-mapping.c | 1426 unsigned long usize = vma->vm_end - vma->vm_start; in arm_iommu_mmap_attrs() local 1436 if (off >= nr_pages || (usize >> PAGE_SHIFT) > nr_pages - off) in arm_iommu_mmap_attrs() 1448 usize -= PAGE_SIZE; in arm_iommu_mmap_attrs() 1449 } while (usize > 0); in arm_iommu_mmap_attrs()
|