Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/jffs2/
Dfile.c141 uint32_t pageofs = index << PAGE_SHIFT; in jffs2_write_begin() local
146 if (pageofs > inode->i_size) { in jffs2_write_begin()
153 (unsigned int)inode->i_size, pageofs); in jffs2_write_begin()
173 ri.isize = cpu_to_je32(max((uint32_t)inode->i_size, pageofs)); in jffs2_write_begin()
176 ri.dsize = cpu_to_je32(pageofs - inode->i_size); in jffs2_write_begin()
206 inode->i_size = pageofs; in jffs2_write_begin()
/kernel/linux/linux-5.10/drivers/tty/
Dmoxa.c1873 u16 pageno, pageofs, bufhead; in MoxaPortWriteData() local
1904 pageofs = tail & Page_mask; in MoxaPortWriteData()
1906 len = Page_size - pageofs; in MoxaPortWriteData()
1910 ofs = baseAddr + DynPage_addr + pageofs; in MoxaPortWriteData()
1915 pageofs = 0; in MoxaPortWriteData()
1932 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local
1962 pageofs = head & Page_mask; in MoxaPortReadData()
1965 ofs = baseAddr + DynPage_addr + pageofs; in MoxaPortReadData()
1967 min(Page_size - pageofs, count)); in MoxaPortReadData()
1971 pageofs = (pageofs + len) & Page_mask; in MoxaPortReadData()
[all …]
/kernel/linux/linux-5.10/fs/erofs/
Dzdata.h29 unsigned short pageofs; member
Dzdata.c343 if (cl->pageofs != (map->m_la & ~PAGE_MASK)) { in z_erofs_lookup_collection()
417 cl->pageofs = map->m_la & ~PAGE_MASK; in z_erofs_register_collection()
871 if (nr_pages << PAGE_SHIFT >= cl->pageofs + llen) { in z_erofs_decompress_pcluster()
875 outputsize = (nr_pages << PAGE_SHIFT) - cl->pageofs; in z_erofs_decompress_pcluster()
883 .pageofs_out = cl->pageofs, in z_erofs_decompress_pcluster()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdcore.c1383 u32 ebofs, pageofs; in mtd_io_emulated_slc() local
1390 pageofs = mtd_mod_by_ws(ebofs, mtd); in mtd_io_emulated_slc()
1405 if (adjops.len > mtd->writesize - pageofs) in mtd_io_emulated_slc()
1406 adjops.len = mtd->writesize - pageofs; in mtd_io_emulated_slc()
1413 ret = mtd_read_oob_std(mtd, pos + pageofs, &adjops); in mtd_io_emulated_slc()
1417 ret = mtd_write_oob_std(mtd, pos + pageofs, &adjops); in mtd_io_emulated_slc()
1429 pageofs = 0; in mtd_io_emulated_slc()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch2462 - uint32_t pageofs = index << PAGE_SHIFT;
2467 - if (pageofs > inode->i_size) {
2474 - (unsigned int)inode->i_size, pageofs);
2494 - ri.isize = cpu_to_je32(max((uint32_t)inode->i_size, pageofs));
2497 - ri.dsize = cpu_to_je32(pageofs - inode->i_size);
2527 - inode->i_size = pageofs;