Home
last modified time | relevance | path

Searched refs:pageshift (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/sgi-gru/
Dgrufault.c192 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()
219 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument
250 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup()
252 *pageshift = PAGE_SHIFT; in atomic_pte_lookup()
261 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument
288 *pageshift = ps; in gru_vtop()
325 int ret, pageshift; in gru_preload_tlb() local
340 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb()
[all …]
Dgrutlbpurge.c165 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/
Dsddr09.c122 char pageshift; /* 1<<ps bytes in a page */ member
262 int pageshift; /* log2 of pagesize */ member
451 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument
452 int bulklen = nr_of_pages << pageshift; in sddr09_read20()
492 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument
494 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22()
628 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument
630 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace()
759 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()
783 len = pages << info->pageshift; in sddr09_read_data()
[all …]
Dalauda.c105 unsigned char pageshift; member
182 unsigned char pageshift; /* 1<<ps bytes in a page */ member
299 + media_info->blockshift + media_info->pageshift; in alauda_free_maps()
438 MEDIA_INFO(us).pageshift = media_info->pageshift; in alauda_init_media()
442 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media()
450 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media()
925 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_read_data() local
948 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data()
971 len = pages << pageshift; in alauda_read_data()
1019 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_write_data() local
[all …]
Dsddr55.c101 int pageshift; /* log2 of pagesize */ member
241 len = pages << info->pageshift; in sddr55_read_data()
368 len = pages << info->pageshift; in sddr55_write_data()
588 info->pageshift = 9; in sddr55_get_capacity()
599 info->pageshift = 8; in sddr55_get_capacity()
605 info->pageshift = 8; in sddr55_get_capacity()
664 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
886 info->max_log_blks = ((info->capacity >> (info->pageshift + info->blockshift)) / 256) * 250; in sddr55_transport()
/drivers/xen/
Dtmem.c115 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()