Home
last modified time | relevance | path

Searched refs:usize (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/cpu/mcheck/
Ddev-mcelog.c164 static int __mce_read_apei(char __user **ubuf, size_t usize) in __mce_read_apei() argument
170 if (usize < sizeof(struct mce)) in __mce_read_apei()
205 size_t usize, loff_t *off) in mce_chrdev_read() argument
214 err = __mce_read_apei(&buf, usize); in mce_chrdev_read()
221 if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce)) in mce_chrdev_read()
296 size_t usize, loff_t *off) in mce_chrdev_write() argument
309 if ((unsigned long)usize > sizeof(struct mce)) in mce_chrdev_write()
310 usize = sizeof(struct mce); in mce_chrdev_write()
311 if (copy_from_user(&m, ubuf, usize)) in mce_chrdev_write()
325 return usize; in mce_chrdev_write()
/arch/parisc/kernel/
Dcache.c515 unsigned long usize = 0; in mm_total_size() local
518 usize += vma->vm_end - vma->vm_start; in mm_total_size()
519 return usize; in mm_total_size()
/arch/arm/mm/
Ddma-mapping.c1605 unsigned long usize = vma->vm_end - vma->vm_start; in __arm_iommu_mmap_attrs() local
1613 if (off >= nr_pages || (usize >> PAGE_SHIFT) > nr_pages - off) in __arm_iommu_mmap_attrs()
1625 usize -= PAGE_SIZE; in __arm_iommu_mmap_attrs()
1626 } while (usize > 0); in __arm_iommu_mmap_attrs()