Home
last modified time | relevance | path

Searched refs:pagesize (Results 1 – 25 of 232) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgruhandles.c141 int asid, int pagesize, int global, int n, in tgh_invalidate() argument
146 tgh->pagesize = pagesize; in tgh_invalidate()
159 int pagesize) in tfh_write_only() argument
166 tfh->pagesize = pagesize; in tfh_write_only()
175 int pagesize) in tfh_write_restart() argument
182 tfh->pagesize = pagesize; in tfh_write_restart()
Dgruhandles.h204 unsigned int pagesize:5; member
291 unsigned int pagesize:5; member
508 unsigned long vaddrmask, int asid, int pagesize, int global, int n,
511 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
513 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
Dgrutlbpurge.c152 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local
156 pagesize = (1UL << pageshift); in gru_flush_tlb_range()
158 num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); in gru_flush_tlb_range()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dalauda.c87 unsigned int pagesize; /* page size in bytes */ member
431 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media()
745 data, (MEDIA_INFO(us).pagesize + 64) * pages, NULL); in alauda_read_block_raw()
758 unsigned int pagesize = MEDIA_INFO(us).pagesize; in alauda_read_block() local
766 int dest_offset = i * pagesize; in alauda_read_block()
767 int src_offset = i * (pagesize + 64); in alauda_read_block()
768 memmove(data + dest_offset, data + src_offset, pagesize); in alauda_read_block()
796 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, in alauda_write_block()
817 unsigned int pagesize = MEDIA_INFO(us).pagesize; in alauda_write_lba() local
850 memset(blockbuffer, 0, blocksize * (pagesize + 64)); in alauda_write_lba()
[all …]
Dsddr09.c249 int pagesize; /* Size of page in bytes */ member
755 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_read_data()
900 cptr = bptr + info->pagesize; in sddr09_write_lba()
907 nand_compute_ecc(bptr+(info->pagesize / 2), ecc); in sddr09_write_lba()
921 cptr = bptr + info->pagesize; in sddr09_write_lba()
922 memcpy(bptr, xptr, info->pagesize); in sddr09_write_lba()
923 xptr += info->pagesize; in sddr09_write_lba()
926 nand_compute_ecc(bptr+(info->pagesize / 2), ecc); in sddr09_write_lba()
1000 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_write_data()
1602 info->pagesize = (1 << info->pageshift); in sddr09_transport()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
Dtm-signal-pagefault.c52 static size_t pagesize; variable
78 uf_mem_offset = (uf_mem_offset + pagesize - 1) & ~(pagesize - 1); in get_uf_mem()
122 uffdio_copy.dst = msg.arg.pagefault.address & ~(pagesize-1); in fault_handler_thread()
127 uffdio_copy.len = pagesize; in fault_handler_thread()
145 pagesize = sysconf(_SC_PAGE_SIZE); in setup_uf_mem()
/kernel/linux/linux-5.10/arch/mips/dec/prom/
Dmemory.c73 mem_size += (8 * bm->pagesize); in rex_setup_memory_region()
75 mem_start += (8 * bm->pagesize); in rex_setup_memory_region()
78 mem_start += mem_size + (8 * bm->pagesize); in rex_setup_memory_region()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dhugetlbpage.c62 size_t pagesize = huge_page_size(h); in arch_hugetlb_migration_supported() local
64 switch (pagesize) { in arch_hugetlb_migration_supported()
74 __func__, pagesize); in arch_hugetlb_migration_supported()
346 size_t pagesize = huge_page_size(hstate_vma(vma)); in arch_make_huge_pte() local
348 if (pagesize == CONT_PTE_SIZE) { in arch_make_huge_pte()
350 } else if (pagesize == CONT_PMD_SIZE) { in arch_make_huge_pte()
352 } else if (pagesize != PUD_SIZE && pagesize != PMD_SIZE) { in arch_make_huge_pte()
354 __func__, pagesize); in arch_make_huge_pte()
/kernel/linux/linux-5.10/drivers/iommu/amd/
Damd_iommu_types.h293 #define PAGE_SIZE_LEVEL(pagesize) \ argument
294 ((__ffs(pagesize) - 12) / 9)
299 #define PAGE_SIZE_PTE_COUNT(pagesize) \ argument
300 (1ULL << ((__ffs(pagesize) - 12) % 9))
306 #define PAGE_SIZE_ALIGN(address, pagesize) \ argument
307 ((address) & ~((pagesize) - 1))
313 #define PAGE_SIZE_PTE(address, pagesize) \ argument
314 (((address) | ((pagesize) - 1)) & \
315 (~(pagesize >> 1)) & PM_ADDR_MASK)
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_samsung.c26 memorg->pagesize = 2048 << (extid & 0x03); in samsung_nand_decode_id()
27 mtd->writesize = memorg->pagesize; in samsung_nand_decode_id()
69 memorg->pagesize; in samsung_nand_decode_id()
Dnand_amd.c28 memorg->pagesize == 512) { in amd_nand_decode_id()
32 memorg->pagesize; in amd_nand_decode_id()
Dnand_jedec.c98 memorg->pagesize = le32_to_cpu(p->byte_per_page); in nand_jedec_detect()
99 mtd->writesize = memorg->pagesize; in nand_jedec_detect()
104 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; in nand_jedec_detect()
Dnand_hynix.c489 memorg->oobsize *= memorg->pagesize / SZ_8K; in hynix_nand_extract_oobsize()
631 memorg->pagesize = 2048 << (chip->id.data[3] & 0x03); in hynix_nand_decode_id()
632 mtd->writesize = memorg->pagesize; in hynix_nand_decode_id()
644 memorg->pagesize; in hynix_nand_decode_id()
648 memorg->pagesize; in hynix_nand_decode_id()
652 memorg->pagesize; in hynix_nand_decode_id()
Dnand_onfi.c245 memorg->pagesize = le32_to_cpu(p->byte_per_page); in nand_onfi_detect()
246 mtd->writesize = memorg->pagesize; in nand_onfi_detect()
255 mtd->erasesize = memorg->pages_per_eraseblock * memorg->pagesize; in nand_onfi_detect()
/kernel/linux/linux-5.10/include/linux/mtd/
Dnand.h31 unsigned int pagesize; member
44 .pagesize = (ps), \
387 return nand->memorg.pagesize; in nanddev_page_size()
436 return nand->memorg.pagesize * nand->memorg.pages_per_eraseblock; in nanddev_eraseblock_size()
474 nand->memorg.pagesize; in nanddev_target_size()
635 pageoffs = do_div(tmp, nand->memorg.pagesize); in nanddev_offs_to_pos()
695 return (loff_t)npages * nand->memorg.pagesize; in nanddev_pos_to_offs()
816 nand->memorg.pagesize - iter->req.dataoffs, in nanddev_io_iter_init()
841 iter->req.datalen = min_t(unsigned int, nand->memorg.pagesize, in nanddev_io_iter_next_page()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/
DIt_posix_pthread.c88 long pagesize, minstacksize; in ScenarInit() local
91 pagesize = sysconf(_SC_PAGESIZE); in ScenarInit()
97 if (pagesize && minstacksize % pagesize) { in ScenarInit()
166 g_scenarii[i].bottom = malloc(minstacksize + pagesize); in ScenarInit()
/kernel/linux/linux-5.10/drivers/mtd/nand/
Dcore.c233 if (!memorg->bits_per_cell || !memorg->pagesize || in nanddev_init()
249 mtd->erasesize = memorg->pagesize * memorg->pages_per_eraseblock; in nanddev_init()
250 mtd->writesize = memorg->pagesize; in nanddev_init()
251 mtd->writebufsize = memorg->pagesize; in nanddev_init()
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dmtd_dataflash.c616 int pagesize, int pageoffset, char revision) in add_dataflash_otp() argument
630 priv->page_size = pagesize; in add_dataflash_otp()
640 device->size = nr_pages * pagesize; in add_dataflash_otp()
641 device->erasesize = pagesize; in add_dataflash_otp()
642 device->writesize = pagesize; in add_dataflash_otp()
658 pagesize, otp_tag); in add_dataflash_otp()
673 int nr_pages, int pagesize, int pageoffset) in add_dataflash() argument
675 return add_dataflash_otp(spi, name, nr_pages, pagesize, in add_dataflash()
689 u16 pagesize; member
857 info->pagesize, info->pageoffset, in dataflash_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c29 queue->current_q_offset += queue->pagesize; in hw_qpageit_get_inc()
31 queue->current_q_offset -= queue->pagesize; in hw_qpageit_get_inc()
41 const u32 pagesize, const u32 qe_size) in hw_queue_ctor() argument
43 int pages_per_kpage = PAGE_SIZE / pagesize; in hw_queue_ctor()
46 if ((pagesize > PAGE_SIZE) || (!pages_per_kpage)) { in hw_queue_ctor()
48 (int)PAGE_SIZE, (int)pagesize); in hw_queue_ctor()
52 queue->queue_length = nr_of_pages * pagesize; in hw_queue_ctor()
70 kpage += pagesize; in hw_queue_ctor()
77 queue->pagesize = pagesize; in hw_queue_ctor()
98 pages_per_kpage = PAGE_SIZE / queue->pagesize; in hw_queue_dtor()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsocfpga_cyclone5_vining_fpga.dts140 pagesize = <8>;
192 pagesize = <8>;
203 pagesize = <8>;
216 pagesize = <8>;
Dimx6qdl-gw5907.dtsi254 pagesize = <16>;
260 pagesize = <16>;
266 pagesize = <16>;
272 pagesize = <16>;
Dimx6qdl-gw5913.dtsi252 pagesize = <16>;
258 pagesize = <16>;
264 pagesize = <16>;
270 pagesize = <16>;
/kernel/liteos_a/tools/scripts/make_rootfs/
Drootfsimg.sh64 ${WIN_JFFS2_TOOL} -q -o ${ROOTFS_IMG} -d ${ROOTFS_DIR} --pagesize=4096
67 ${JFFS2_TOOL} -q -o ${ROOTFS_IMG} -d ${ROOTFS_DIR} --pagesize=4096
/kernel/linux/linux-5.10/arch/alpha/boot/
Dmain.c159 if (INIT_HWRPB->pagesize != 8192) { in start_kernel()
160 srm_printk("Expected 8kB pages, got %ldkB\n", INIT_HWRPB->pagesize >> 10); in start_kernel()
Dbootp.c153 if (INIT_HWRPB->pagesize != 8192) { in start_kernel()
155 INIT_HWRPB->pagesize >> 10); in start_kernel()

12345678910