Searched refs:DOC_LAYOUT_OOB_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/mtd/devices/ |
D | docg3.h | 35 #define DOC_LAYOUT_OOB_SIZE 16 macro 38 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_SIZE) 299 u8 oob_write_buf[DOC_LAYOUT_OOB_SIZE];
|
D | docg3.c | 891 if (ooblen % DOC_LAYOUT_OOB_SIZE) in doc_read_oob() 904 nboob = min_t(size_t, ooblen, (size_t)DOC_LAYOUT_OOB_SIZE); in doc_read_oob() 923 doc_read_page_getbytes(docg3, DOC_LAYOUT_OOB_SIZE - nboob, in doc_read_oob() 929 if (nboob >= DOC_LAYOUT_OOB_SIZE) { in doc_read_oob() 1272 doc_write_page_putbytes(docg3, DOC_LAYOUT_OOB_SIZE, oob); in doc_write_page() 1349 if (ooblen != DOC_LAYOUT_OOB_SIZE) in doc_backup_oob() 1361 memcpy(docg3->oob_write_buf, ops->oobbuf, DOC_LAYOUT_OOB_SIZE); in doc_backup_oob() 1362 ops->oobretlen = DOC_LAYOUT_OOB_SIZE; in doc_backup_oob() 1390 u8 oob[DOC_LAYOUT_OOB_SIZE]; in doc_write_oob() 1440 memcpy(oob, docg3->oob_write_buf, DOC_LAYOUT_OOB_SIZE); in doc_write_oob() [all …]
|