Searched refs:fastmap (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A DMakefile6 ubi-$(CONFIG_MTD_UBI_FASTMAP) += fastmap.o
H A Dattach.c291 * physical eraseblock @pnum and adds it to the 'fastmap' list.
307 list_add(&aeb->u.list, &ai->fastmap);
309 dbg_bld("add to fastmap list: PEB %d, vol_id %d, sqnum: %llu", pnum,
1333 list_for_each_entry_safe(aeb, aeb_tmp, &ai->fastmap, u.list) {
1462 INIT_LIST_HEAD(&ai->fastmap);
1478 * scan_fast - try to find a fastmap and attach from it.
1484 * UBI_NO_FASTMAP denotes that no fastmap was found.
1485 * UBI_BAD_FASTMAP denotes that the found fastmap was invalid.
1525 * Didn't attach via fastmap, do a full scan but reuse what
1565 /* On small flash devices we disable fastmap i
[all...]
H A Dfastmap.c54 * self_check_seen - check whether all PEB have been seen by fastmap.
67 ubi_err(ubi, "self-check failed for PEB %d, fastmap didn't see it", pnum);
76 * ubi_calc_fm_size - calculates the fastmap size in bytes for an UBI device.
97 * new_fm_vbuf() - allocate a new volume header for fastmap usage.
117 /* UBI implementations without fastmap support have to delete the
118 * fastmap.
263 /* This case can happen if the fastmap gets written
352 ubi_err(ubi, "orphaned volume in fastmap pool!");
364 * If fastmap detects a free PEB in the pool it has to check whether
365 * this PEB has been unmapped after writing the fastmap
[all...]
H A Dubi.h138 * Return codes of the fastmap sub-system
140 * UBI_NO_FASTMAP: No fastmap super block was found
141 * UBI_BAD_FASTMAP: A fastmap was found but it's unusable
225 * struct ubi_fastmap_layout - in-memory fastmap data structure.
226 * @e: PEBs used by the current fastmap
241 * struct ubi_fm_pool - in-memory fastmap pool
248 * If all PEBs within the pool are used a new fastmap will be written
389 * @chk_fastmap: if UBI fastmap extra checks are enabled
402 * @dfs_chk_fastmap: debugfs knob to enable UBI fastmap extra checks
476 * @fm_disabled: non-zero if fastmap i
765 struct list_head fastmap; member in struct:ubi_attach_info
[all...]
H A Dwl.c375 * If no fastmap has been written and fm_anchor is not
378 * that fastmap can use the anchor PEB later.
1878 list_for_each_entry(aeb, &ai->fastmap, u.list) {
1899 * The fastmap update code might not find a free PEB for
1900 * writing the fastmap anchor to and then reuses the
1901 * current fastmap anchor PEB. When this PEB gets erased
1903 * must make sure that the fastmap attach code doesn't
1904 * find any outdated fastmap anchors, hence we erase the
1905 * outdated fastmap anchor PEBs synchronously here.
2170 #include "fastmap
[all...]
/linux-master/net/sched/
H A Dcls_route.c36 struct route4_fastmap fastmap[16]; member in struct:route4_head
72 memset(head->fastmap, 0, sizeof(head->fastmap));
82 /* fastmap updates must look atomic to aling id, iff, filter */
84 head->fastmap[h].id = id;
85 head->fastmap[h].iif = iif;
86 head->fastmap[h].filter = f;
147 if (id == head->fastmap[h].id &&
148 iif == head->fastmap[h].iif &&
149 (f = head->fastmap[
[all...]

Completed in 157 milliseconds