Lines Matching full:oob

121  * Read oob data from flash
142 * Write oob data to flash
165 * Write data and oob to flash
168 size_t *retlen, uint8_t *buf, uint8_t *oob) in nftl_write() argument
177 ops.oobbuf = oob; in nftl_write()
241 struct nftl_oob oob; in NFTL_foldchain() local
268 (char *)&oob); in NFTL_foldchain()
270 foldmark = oob.u.c.FoldMark | oob.u.c.FoldMark1; in NFTL_foldchain()
281 status = oob.b.Status | oob.b.Status1; in NFTL_foldchain()
380 oob.u.c.FoldMark = oob.u.c.FoldMark1 = cpu_to_le16(FOLD_MARK_IN_PROGRESS); in NFTL_foldchain()
381 oob.u.c.unused = 0xffffffff; in NFTL_foldchain()
383 8, &retlen, (char *)&oob.u); in NFTL_foldchain()
420 memset(&oob, 0xff, sizeof(struct nftl_oob)); in NFTL_foldchain()
421 oob.b.Status = oob.b.Status1 = SECTOR_USED; in NFTL_foldchain()
424 (block * 512), 512, &retlen, movebuf, (char *)&oob); in NFTL_foldchain()
428 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); in NFTL_foldchain()
429 oob.u.a.ReplUnitNum = oob.u.a.SpareReplUnitNum = BLOCK_NIL; in NFTL_foldchain()
432 8, &retlen, (char *)&oob.u); in NFTL_foldchain()
531 struct nftl_oob oob; in NFTL_findwriteunit() local
641 &retlen, (char *)&oob.u); in NFTL_findwriteunit()
643 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); in NFTL_findwriteunit()
646 &retlen, (char *)&oob.u); in NFTL_findwriteunit()
656 8, &retlen, (char *)&oob.u); in NFTL_findwriteunit()
658 oob.u.a.ReplUnitNum = oob.u.a.SpareReplUnitNum in NFTL_findwriteunit()
662 8, &retlen, (char *)&oob.u); in NFTL_findwriteunit()
681 struct nftl_oob oob; in nftl_writeblock() local
692 memset(&oob, 0xff, sizeof(struct nftl_oob)); in nftl_writeblock()
693 oob.b.Status = oob.b.Status1 = SECTOR_USED; in nftl_writeblock()
696 512, &retlen, (char *)buffer, (char *)&oob); in nftl_writeblock()