Lines Matching full:physical

92  * ubi_io_read - read data from a physical eraseblock.
95 * @pnum: physical eraseblock number to read from
96 * @offset: offset within the physical eraseblock from where to read
99 * This function reads data from offset @offset of physical eraseblock @pnum
206 * ubi_io_write - write data to a physical eraseblock.
209 * @pnum: physical eraseblock number to write to
210 * @offset: offset within the physical eraseblock where to write
214 * of physical eraseblock @pnum. If all the data were successfully written,
216 * error code. If %-EIO is returned, the physical eraseblock most probably went
252 * We write to the data area of the physical eraseblock. Make in ubi_io_write()
299 * do_sync_erase - synchronously erase a physical eraseblock.
301 * @pnum: the physical eraseblock number to erase
303 * This function synchronously erases physical eraseblock @pnum and returns
305 * %-EIO is returned, the physical eraseblock most probably went bad.
351 /* Patterns to write to a physical eraseblock when torturing it */
355 * torture_peb - test a supposedly bad physical eraseblock.
357 * @pnum: the physical eraseblock number to test
359 * This function returns %-EIO if the physical eraseblock did not pass the
420 * physical eraseblock which means something is wrong with it. in torture_peb()
432 * @pnum: physical eraseblock number to prepare
508 * ubi_io_sync_erase - synchronously erase a physical eraseblock.
510 * @pnum: physical eraseblock number to erase
511 * @torture: if this physical eraseblock has to be tortured
513 * This function synchronously erases physical eraseblock @pnum. If @torture
514 * flag is not zero, the physical eraseblock is checked by means of writing
516 * the physical eraseblock is erased more than once.
520 * codes in case of other errors. Note, %-EIO means that the physical
558 * ubi_io_is_bad - check if a physical eraseblock is bad.
560 * @pnum: the physical eraseblock number to check
562 * This function returns a positive number if the physical eraseblock is bad,
587 * ubi_io_mark_bad - mark a physical eraseblock as bad.
589 * @pnum: the physical eraseblock number to mark
668 * @pnum: physical eraseblock to read from
673 * This function reads erase counter header from physical eraseblock @pnum and
719 * 0xFF. If yes, this physical eraseblock is assumed to be in ubi_io_read_ec_hdr()
723 /* The physical eraseblock is supposedly empty */ in ubi_io_read_ec_hdr()
784 * @pnum: physical eraseblock to write to
787 * This function writes erase counter header described by @ec_hdr to physical
793 * case of failure. If %-EIO is returned, the physical eraseblock most probably
952 * @pnum: physical eraseblock number to read from
956 * This function reads the volume identifier header from physical eraseblock
1036 * @pnum: the physical eraseblock number to write to
1040 * physical eraseblock @pnum. This function automatically fills the
1045 * case of failure. If %-EIO is returned, the physical eraseblock probably went
1081 * self_check_not_bad - ensure that a physical eraseblock is not bad.
1083 * @pnum: physical eraseblock number to check
1085 * This function returns zero if the physical eraseblock is good, %-EINVAL if
1107 * @pnum: physical eraseblock number the erase counter header belongs to
1146 * @pnum: the physical eraseblock number to check
1190 * @pnum: physical eraseblock number the volume identifier header belongs to
1231 * @pnum: the physical eraseblock number to check
1281 * @pnum: physical eraseblock number the data were written to
1282 * @offset: offset within the physical eraseblock the data were written to
1346 * @pnum: the physical eraseblock number to check
1347 * @offset: the starting offset within the physical eraseblock to check
1351 * @offset of the physical eraseblock @pnum, and a negative error code if not