Home
last modified time | relevance | path

Searched refs:lockmap (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/chips/
Dcfi_cmdset_0001.c630 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()
631 if (!mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap) in cfi_intelext_setup()
672 kfree(mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap); in cfi_intelext_setup()
2490 if (!region->lockmap) in cfi_intelext_save_locks()
2500 set_bit(block, region->lockmap); in cfi_intelext_save_locks()
2502 clear_bit(block, region->lockmap); in cfi_intelext_save_locks()
2590 if (!region->lockmap) in cfi_intelext_restore_locks()
2593 for_each_clear_bit(block, region->lockmap, region->numblocks) { in cfi_intelext_restore_locks()
2681 kfree(region->lockmap); in cfi_intelext_destroy()
/kernel/linux/linux-5.10/include/linux/mtd/
Dmtd.h40 unsigned long *lockmap; /* If keeping bitmap of locks */ member
/kernel/linux/linux-5.10/Documentation/locking/
Dlocktypes.rst183 - If lockdep is enabled the local_lock gains a lockmap which allows to