Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/chips/
Dcfi_cmdset_0001.c631 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()
632 if (!mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap) in cfi_intelext_setup()
673 kfree(mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap); in cfi_intelext_setup()
2491 if (!region->lockmap) in cfi_intelext_save_locks()
2501 set_bit(block, region->lockmap); in cfi_intelext_save_locks()
2503 clear_bit(block, region->lockmap); in cfi_intelext_save_locks()
2592 if (!region->lockmap) in cfi_intelext_restore_locks()
2595 for_each_clear_bit(block, region->lockmap, region->numblocks) { in cfi_intelext_restore_locks()
2683 kfree(region->lockmap); in cfi_intelext_destroy()
/linux-6.1.9/include/linux/mtd/
Dmtd.h40 unsigned long *lockmap; /* If keeping bitmap of locks */ member
/linux-6.1.9/Documentation/locking/
Dlocktypes.rst183 - If lockdep is enabled the local_lock gains a lockmap which allows to