Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/chips/
Dcfi_cmdset_0001.c648 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()
649 if (!mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap) in cfi_intelext_setup()
690 kfree(mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap); in cfi_intelext_setup()
2508 if (!region->lockmap) in cfi_intelext_save_locks()
2518 set_bit(block, region->lockmap); in cfi_intelext_save_locks()
2520 clear_bit(block, region->lockmap); in cfi_intelext_save_locks()
2609 if (!region->lockmap) in cfi_intelext_restore_locks()
2612 for_each_clear_bit(block, region->lockmap, region->numblocks) { in cfi_intelext_restore_locks()
2700 kfree(region->lockmap); in cfi_intelext_destroy()
/linux-6.6.21/include/linux/mtd/
Dmtd.h40 unsigned long *lockmap; /* If keeping bitmap of locks */ member
/linux-6.6.21/Documentation/locking/
Dlocktypes.rst183 - If lockdep is enabled the local_lock gains a lockmap which allows to