Searched refs:lockmap (Results 1 – 2 of 2) sorted by relevance
584 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()2430 if (!region->lockmap) in cfi_intelext_save_locks()2440 set_bit(block, region->lockmap); in cfi_intelext_save_locks()2442 clear_bit(block, region->lockmap); in cfi_intelext_save_locks()2530 if (!region->lockmap) in cfi_intelext_restore_locks()2537 if (!test_bit(block, region->lockmap)) in cfi_intelext_restore_locks()2621 if (region->lockmap) in cfi_intelext_destroy()2622 kfree(region->lockmap); in cfi_intelext_destroy()
66 unsigned long *lockmap; /* If keeping bitmap of locks */ member