Searched refs:fastmap (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_route.c | 35 struct route4_fastmap fastmap[16]; member 71 memset(head->fastmap, 0, sizeof(head->fastmap)); in route4_reset_fastmap() 81 /* fastmap updates must look atomic to aling id, iff, filter */ in route4_set_fastmap() 83 head->fastmap[h].id = id; in route4_set_fastmap() 84 head->fastmap[h].iif = iif; in route4_set_fastmap() 85 head->fastmap[h].filter = f; in route4_set_fastmap() 145 if (id == head->fastmap[h].id && in route4_classify() 146 iif == head->fastmap[h].iif && in route4_classify() 147 (f = head->fastmap[ in route4_classify() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | cls_route.c | 36 struct route4_fastmap fastmap[16]; member 72 memset(head->fastmap, 0, sizeof(head->fastmap)); in route4_reset_fastmap() 82 /* fastmap updates must look atomic to aling id, iff, filter */ in route4_set_fastmap() 84 head->fastmap[h].id = id; in route4_set_fastmap() 85 head->fastmap[h].iif = iif; in route4_set_fastmap() 86 head->fastmap[h].filter = f; in route4_set_fastmap() 147 if (id == head->fastmap[h].id && in route4_classify() 148 iif == head->fastmap[h].iif && in route4_classify() 149 (f = head->fastmap[ in route4_classify() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | attach.c | 291 * physical eraseblock @pnum and adds it to the 'fastmap' list. 307 list_add(&aeb->u.list, &ai->fastmap); in add_fastmap() 309 dbg_bld("add to fastmap list: PEB %d, vol_id %d, sqnum: %llu", pnum, in add_fastmap() 1333 list_for_each_entry_safe(aeb, aeb_tmp, &ai->fastmap, u.list) { in destroy_ai() 1462 INIT_LIST_HEAD(&ai->fastmap); in alloc_ai() 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 in scan_fast() 1565 /* On small flash devices we disable fastmap i in ubi_attach() [all...] |
H A D | fastmap.c | 55 * self_check_seen - check whether all PEB have been seen by fastmap. 68 ubi_err(ubi, "self-check failed for PEB %d, fastmap didn't see it", pnum); in self_check_seen() 77 * ubi_calc_fm_size - calculates the fastmap size in bytes for an UBI device. 97 * new_fm_vhdr - allocate a new volume header for fastmap usage. 117 /* UBI implementations without fastmap support have to delete the in new_fm_vbuf() 118 * fastmap. in new_fm_vbuf() 263 /* This case can happen if the fastmap gets written in update_vol() 352 ubi_err(ubi, "orphaned volume in fastmap pool!"); in process_pool_aeb() 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 D | ubi.h | 135 * Return codes of the fastmap sub-system 137 * UBI_NO_FASTMAP: No fastmap super block was found 138 * UBI_BAD_FASTMAP: A fastmap was found but it's unusable 233 * struct ubi_fastmap_layout - in-memory fastmap data structure. 234 * @e: PEBs used by the current fastmap 249 * struct ubi_fm_pool - in-memory fastmap pool 256 * If all PEBs within the pool are used a new fastmap will be written 398 * @chk_fastmap: if UBI fastmap extra checks are enabled 410 * @dfs_chk_fastmap: debugfs knob to enable UBI fastmap extra checks 481 * @fm_disabled: non-zero if fastmap i 767 struct list_head fastmap; global() member [all...] |
H A D | wl.c | 364 /* If no fastmap has been written and this WL entry can be used in find_mean_wl_entry() 366 * WL entry such that fastmap can use the anchor PEB later. */ in find_mean_wl_entry() 1856 list_for_each_entry(aeb, &ai->fastmap, u.list) { 1877 * The fastmap update code might not find a free PEB for 1878 * writing the fastmap anchor to and then reuses the 1879 * current fastmap anchor PEB. When this PEB gets erased 1881 * must make sure that the fastmap attach code doesn't 1882 * find any outdated fastmap anchors, hence we erase the 1883 * outdated fastmap anchor PEBs synchronously here. 2148 #include "fastmap [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | attach.c | 291 * physical eraseblock @pnum and adds it to the 'fastmap' list. 307 list_add(&aeb->u.list, &ai->fastmap); in add_fastmap() 309 dbg_bld("add to fastmap list: PEB %d, vol_id %d, sqnum: %llu", pnum, in add_fastmap() 1333 list_for_each_entry_safe(aeb, aeb_tmp, &ai->fastmap, u.list) { in destroy_ai() 1462 INIT_LIST_HEAD(&ai->fastmap); in alloc_ai() 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 in scan_fast() 1565 /* On small flash devices we disable fastmap i in ubi_attach() [all...] |
H A D | fastmap.c | 54 * 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); in self_check_seen() 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 in new_fm_vbuf() 118 * fastmap. in new_fm_vbuf() 263 /* This case can happen if the fastmap gets written in update_vol() 352 ubi_err(ubi, "orphaned volume in fastmap pool!"); in process_pool_aeb() 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 D | ubi.h | 135 * Return codes of the fastmap sub-system 137 * UBI_NO_FASTMAP: No fastmap super block was found 138 * UBI_BAD_FASTMAP: A fastmap was found but it's unusable 233 * struct ubi_fastmap_layout - in-memory fastmap data structure. 234 * @e: PEBs used by the current fastmap 249 * struct ubi_fm_pool - in-memory fastmap pool 256 * If all PEBs within the pool are used a new fastmap will be written 396 * @chk_fastmap: if UBI fastmap extra checks are enabled 408 * @dfs_chk_fastmap: debugfs knob to enable UBI fastmap extra checks 479 * @fm_disabled: non-zero if fastmap i 765 struct list_head fastmap; global() member [all...] |
H A D | wl.c | 364 /* If no fastmap has been written and this WL entry can be used in find_mean_wl_entry() 366 * WL entry such that fastmap can use the anchor PEB later. */ in find_mean_wl_entry() 1866 list_for_each_entry(aeb, &ai->fastmap, u.list) { 1887 * The fastmap update code might not find a free PEB for 1888 * writing the fastmap anchor to and then reuses the 1889 * current fastmap anchor PEB. When this PEB gets erased 1891 * must make sure that the fastmap attach code doesn't 1892 * find any outdated fastmap anchors, hence we erase the 1893 * outdated fastmap anchor PEBs synchronously here. 2158 #include "fastmap [all...] |
Completed in 14 milliseconds