Searched refs:DOC_LAYOUT_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
478 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { in doc_read_seek()529 if (ofs < 2 * DOC_LAYOUT_PAGE_SIZE) { in doc_write_seek()737 if (offset >= DOC_LAYOUT_PAGE_SIZE * 2) in doc_read_page_prepare()738 offset -= 2 * DOC_LAYOUT_PAGE_SIZE; in doc_read_page_prepare()855 sector = from / DOC_LAYOUT_PAGE_SIZE; in calc_block_sector()910 skip = from % DOC_LAYOUT_PAGE_SIZE; in doc_read_oob()915 nbdata = min_t(size_t, len, DOC_LAYOUT_PAGE_SIZE - skip); in doc_read_oob()930 DOC_LAYOUT_PAGE_SIZE - nbdata - skip, in doc_read_oob()958 (nbdata == DOC_LAYOUT_PAGE_SIZE)) { in doc_read_oob()978 from += DOC_LAYOUT_PAGE_SIZE; in doc_read_oob()[all …]
48 #define DOC_LAYOUT_PAGE_SIZE 512 macro52 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_SIZE)55 (DOC_LAYOUT_PAGES_PER_BLOCK * DOC_LAYOUT_PAGE_SIZE)65 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_PAGEINFO_SZ + \