Searched refs:DOC_LAYOUT_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
456 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { in doc_read_seek()507 if (ofs < 2 * DOC_LAYOUT_PAGE_SIZE) { in doc_write_seek()715 if (offset >= DOC_LAYOUT_PAGE_SIZE * 2) in doc_read_page_prepare()716 offset -= 2 * DOC_LAYOUT_PAGE_SIZE; in doc_read_page_prepare()833 sector = from / DOC_LAYOUT_PAGE_SIZE; in calc_block_sector()891 skip = from % DOC_LAYOUT_PAGE_SIZE; in doc_read_oob()896 nbdata = min_t(size_t, len, DOC_LAYOUT_PAGE_SIZE - skip); in doc_read_oob()911 DOC_LAYOUT_PAGE_SIZE - nbdata - skip, in doc_read_oob()939 (nbdata == DOC_LAYOUT_PAGE_SIZE)) { in doc_read_oob()959 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 + \