Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mtd/chips/
Dcfi_cmdset_0001.c584 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()
/linux-2.6.39/include/linux/mtd/
Dmtd.h66 unsigned long *lockmap; /* If keeping bitmap of locks */ member