spi_nor_regi...heck_overlay(9)
π spi_nor_regi...heck_overlay(9)
okay bestie, welcome to the Kernel API Manual β¨ and yes the title is literally truncated with ... in the middle, that's just how it's printed, not a me thing, the kernel is just Like That π
πΈ NAME πΈ
spi_nor_region_check_overlay β sets the overlay bit when the region is overlaid. that's it. that's the whole job. lowkey iconic for being so specific π
β¨ SYNOPSIS β¨
void spi_nor_region_check_overlay (struct spi_nor_erase_region *region ,
const struct spi_nor_erase_type *erase , const u8 erase_type );
it returns void btw β no return value, no drama, it just does the thing and leaves π«Ά
π¦ ARGUMENTS π¦
regionβ pointer to a structure that describes a SPI NOR erase region. this is the main character of the operation fr πeraseβ pointer to a structure that describes a SPI NOR erase type. the supporting cast πerase_typeβ erase type bitmask. it's au8, so keep it smol and cute π
π SEE ALSO π
bestie the cross-references go CRAZY here, look at this whole friend group π
- Kernel file
./drivers/mtd/spi-nor/sfdp.c spi_nor_read_raw(9)spi_nor_read_sfdp(9)spi_nor_read_sfdp_dma_unsafe(9)spi_nor_set_erase_settings_from_bfpt(9)spi_nor_map_cmp_erase_type(9)spi_nor_sort_erase_mask(9)spi_nor_regions_sort_erase_types(9)spi_nor_parse_bfpt(9)spi_nor_smpt_addr_nbytes(9)spi_nor_smpt_read_dummy(9)spi_nor_get_map_in_use(9)spi_nor_init_non_uniform_erase_map(9)spi_nor_parse_smpt(9)spi_nor_parse_4bait(9)spi_nor_parse_profile1(9)spi_nor_parse_sccr(9)spi_nor_parse_sccr_mc(9)spi_nor_post_sfdp_fixups(9)spi_nor_check_sfdp_signature(9)spi_nor_parse_sfdp(9)
like, the whole sfdp.c squad pulled up ππ
and that's the tea π§ lived in ./drivers/mtd/spi-nor, dated October 2026, and signed off by the manual itself with the title spi_nor_regi...heck_overlay(9) β slay, periodt π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms