Searched refs:pageshift (Results 1 – 6 of 6) sorted by relevance
/drivers/misc/sgi-gru/ |
D | grufault.c | 192 unsigned long *paddr, int *pageshift) in non_atomic_pte_lookup() argument 197 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup() 199 *pageshift = PAGE_SHIFT; in non_atomic_pte_lookup() 220 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument 251 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup() 253 *pageshift = PAGE_SHIFT; in atomic_pte_lookup() 262 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument 289 *pageshift = ps; in gru_vtop() 326 int ret, pageshift; in gru_preload_tlb() local 341 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb() [all …]
|
D | grutlbpurge.c | 165 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local 168 pageshift = PAGE_SHIFT; in gru_flush_tlb_range() 169 pagesize = (1UL << pageshift); in gru_flush_tlb_range() 170 grupagesize = GRU_PAGESIZE(pageshift); in gru_flush_tlb_range() 171 num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); in gru_flush_tlb_range()
|
/drivers/usb/storage/ |
D | sddr09.c | 118 char pageshift; /* 1<<ps bytes in a page */ member 258 int pageshift; /* log2 of pagesize */ member 447 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 448 int bulklen = nr_of_pages << pageshift; in sddr09_read20() 488 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 490 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22() 624 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument 626 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace() 755 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data() 781 len = pages << info->pageshift; in sddr09_read_data() [all …]
|
D | alauda.c | 102 unsigned char pageshift; member 179 unsigned char pageshift; /* 1<<ps bytes in a page */ member 291 + media_info->blockshift + media_info->pageshift; in alauda_free_maps() 430 MEDIA_INFO(us).pageshift = media_info->pageshift; in alauda_init_media() 434 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media() 442 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media() 915 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_read_data() local 940 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data() 963 len = pages << pageshift; in alauda_read_data() 1009 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_write_data() local [all …]
|
D | sddr55.c | 97 int pageshift; /* log2 of pagesize */ member 236 len = pages << info->pageshift; in sddr55_read_data() 363 len = pages << info->pageshift; in sddr55_write_data() 583 info->pageshift = 9; in sddr55_get_capacity() 594 info->pageshift = 8; in sddr55_get_capacity() 600 info->pageshift = 8; in sddr55_get_capacity() 659 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map() 870 info->max_log_blks = ((info->capacity >> (info->pageshift + info->blockshift)) / 256) * 250; in sddr55_transport()
|
/drivers/xen/ |
D | tmem.c | 115 int rc = 0, pageshift; in xen_tmem_new_pool() local 117 for (pageshift = 0; pagesize != 1; pageshift++) in xen_tmem_new_pool() 119 flags |= (pageshift - 12) << TMEM_POOL_PAGESIZE_SHIFT; in xen_tmem_new_pool()
|