Lines Matching full:logical
12 * This sub-system is responsible for I/O to/from logical eraseblock.
18 * The EBA sub-system implements per-logical eraseblock locking. Before
19 * accessing a logical eraseblock it is locked for reading or writing. The
20 * per-logical eraseblock locking is implemented by means of the lock tree. The
21 * lock tree is an RB-tree which refers all the currently locked logical
26 * time a logical eraseblock is mapped to a physical eraseblock and it is
83 * @lnum: logical eraseblock number
86 * object if the logical eraseblock is locked and %NULL if it is not.
121 * @lnum: logical eraseblock number
123 * This function adds new entry for logical eraseblock (@vol_id, @lnum) to the
147 * This logical eraseblock is already locked. The newly in ltree_add_entry()
190 * leb_read_lock - lock logical eraseblock for reading.
193 * @lnum: logical eraseblock number
195 * This function locks a logical eraseblock for reading. Returns zero in case
210 * leb_read_unlock - unlock logical eraseblock.
213 * @lnum: logical eraseblock number
232 * leb_write_lock - lock logical eraseblock for writing.
235 * @lnum: logical eraseblock number
237 * This function locks a logical eraseblock for writing. Returns zero in case
252 * leb_write_lock - lock logical eraseblock for writing.
255 * @lnum: logical eraseblock number
257 * This function locks a logical eraseblock for writing if there is no
286 * leb_write_unlock - unlock logical eraseblock.
289 * @lnum: logical eraseblock number
308 * ubi_eba_unmap_leb - un-map logical eraseblock.
311 * @lnum: logical eraseblock number
313 * This function un-maps logical eraseblock @lnum and schedules corresponding
331 /* This logical eraseblock is already unmapped */ in ubi_eba_unmap_leb()
350 * @lnum: logical eraseblock number
356 * If the logical eraseblock @lnum is unmapped, @buf is filled with 0xFF
379 * The logical eraseblock is not mapped, fill the whole buffer in ubi_eba_read_leb()
381 * it is an error to read unmapped logical eraseblocks. in ubi_eba_read_leb()
482 * @lnum: logical eraseblock number
539 * @lnum: logical eraseblock number
645 * @lnum: logical eraseblock number
647 * @offset: offset within the logical eraseblock where to write
650 * This function writes data to logical eraseblock @lnum of a dynamic volume
687 * The logical eraseblock is not mapped. We have to get a free physical in ubi_eba_write_leb()
770 * @lnum: logical eraseblock number
773 * @used_ebs: how many logical eraseblocks will this volume contain
775 * This function writes data to logical eraseblock @lnum of static volume
776 * @vol. The @used_ebs argument should contain total number of logical
779 * When writing to the last logical eraseblock, the @len argument doesn't have
784 * It is prohibited to write more than once to logical eraseblocks of static
889 * ubi_eba_atomic_leb_change - change logical eraseblock atomically.
892 * @lnum: logical eraseblock number
896 * This function changes the contents of a logical eraseblock atomically. @buf
897 * has to contain new logical eraseblock data, and @len - the length of the
1041 * ubi_eba_copy_leb - copy logical eraseblock.
1047 * This function copies logical eraseblock from physical eraseblock @from to
1077 * this logical eraseblock belongs to might be being deleted. Since the in ubi_eba_copy_leb()
1078 * volume deletion un-maps all the volume's logical eraseblocks, it will in ubi_eba_copy_leb()
1090 * We do not want anybody to write to this logical eraseblock while we in ubi_eba_copy_leb()