Lines Matching full:logical

11  * This sub-system is responsible for I/O to/from logical eraseblock.
17 * The EBA sub-system implements per-logical eraseblock locking. Before
18 * accessing a logical eraseblock it is locked for reading or writing. The
19 * per-logical eraseblock locking is implemented by means of the lock tree. The
20 * lock tree is an RB-tree which refers all the currently locked logical
25 * time a logical eraseblock is mapped to a physical eraseblock and it is
82 * @lnum: logical eraseblock number
85 * object if the logical eraseblock is locked and %NULL if it is not.
120 * @lnum: logical eraseblock number
122 * This function adds new entry for logical eraseblock (@vol_id, @lnum) to the
146 * This logical eraseblock is already locked. The newly in ltree_add_entry()
189 * leb_read_lock - lock logical eraseblock for reading.
192 * @lnum: logical eraseblock number
194 * This function locks a logical eraseblock for reading. Returns zero in case
209 * leb_read_unlock - unlock logical eraseblock.
212 * @lnum: logical eraseblock number
231 * leb_write_lock - lock logical eraseblock for writing.
234 * @lnum: logical eraseblock number
236 * This function locks a logical eraseblock for writing. Returns zero in case
251 * leb_write_lock - lock logical eraseblock for writing.
254 * @lnum: logical eraseblock number
256 * This function locks a logical eraseblock for writing if there is no
285 * leb_write_unlock - unlock logical eraseblock.
288 * @lnum: logical eraseblock number
307 * ubi_eba_unmap_leb - un-map logical eraseblock.
310 * @lnum: logical eraseblock number
312 * This function un-maps logical eraseblock @lnum and schedules corresponding
330 /* This logical eraseblock is already unmapped */ in ubi_eba_unmap_leb()
349 * @lnum: logical eraseblock number
355 * If the logical eraseblock @lnum is unmapped, @buf is filled with 0xFF
378 * The logical eraseblock is not mapped, fill the whole buffer in ubi_eba_read_leb()
380 * it is an error to read unmapped logical eraseblocks. in ubi_eba_read_leb()
481 * @lnum: logical eraseblock number
538 * @lnum: logical eraseblock number
644 * @lnum: logical eraseblock number
646 * @offset: offset within the logical eraseblock where to write
649 * This function writes data to logical eraseblock @lnum of a dynamic volume
686 * The logical eraseblock is not mapped. We have to get a free physical in ubi_eba_write_leb()
769 * @lnum: logical eraseblock number
772 * @used_ebs: how many logical eraseblocks will this volume contain
774 * This function writes data to logical eraseblock @lnum of static volume
775 * @vol. The @used_ebs argument should contain total number of logical
778 * When writing to the last logical eraseblock, the @len argument doesn't have
783 * It is prohibited to write more than once to logical eraseblocks of static
888 * ubi_eba_atomic_leb_change - change logical eraseblock atomically.
891 * @lnum: logical eraseblock number
895 * This function changes the contents of a logical eraseblock atomically. @buf
896 * has to contain new logical eraseblock data, and @len - the length of the
1040 * ubi_eba_copy_leb - copy logical eraseblock.
1046 * This function copies logical eraseblock from physical eraseblock @from to
1076 * this logical eraseblock belongs to might be being deleted. Since the in ubi_eba_copy_leb()
1077 * volume deletion un-maps all the volume's logical eraseblocks, it will in ubi_eba_copy_leb()
1089 * We do not want anybody to write to this logical eraseblock while we in ubi_eba_copy_leb()