Home
last modified time | relevance | path

Searched refs:DOC_LAYOUT_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/mtd/devices/
Ddocg3.c464 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { in doc_read_seek()
515 if (ofs < 2 * DOC_LAYOUT_PAGE_SIZE) { in doc_write_seek()
723 if (offset >= DOC_LAYOUT_PAGE_SIZE * 2) in doc_read_page_prepare()
724 offset -= 2 * DOC_LAYOUT_PAGE_SIZE; in doc_read_page_prepare()
841 sector = from / DOC_LAYOUT_PAGE_SIZE; in calc_block_sector()
897 skip = from % DOC_LAYOUT_PAGE_SIZE; in doc_read_oob()
903 nbdata = min_t(size_t, len, DOC_LAYOUT_PAGE_SIZE - skip); in doc_read_oob()
918 DOC_LAYOUT_PAGE_SIZE - nbdata - skip, in doc_read_oob()
946 (nbdata == DOC_LAYOUT_PAGE_SIZE)) { in doc_read_oob()
966 from += DOC_LAYOUT_PAGE_SIZE; in doc_read_oob()
[all …]
Ddocg3.h34 #define DOC_LAYOUT_PAGE_SIZE 512 macro
38 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_SIZE)
41 (DOC_LAYOUT_PAGES_PER_BLOCK * DOC_LAYOUT_PAGE_SIZE)
51 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_PAGEINFO_SZ + \