Lines Matching refs:sect
2653 struct ppb_lock *sect; in cfi_ppb_unlock() local
2668 sect = kzalloc(MAX_SECTORS * sizeof(struct ppb_lock), GFP_KERNEL); in cfi_ppb_unlock()
2669 if (!sect) in cfi_ppb_unlock()
2692 sect[sectors].chip = &cfi->chips[chipnum]; in cfi_ppb_unlock()
2693 sect[sectors].adr = adr; in cfi_ppb_unlock()
2694 sect[sectors].locked = do_ppb_xxlock( in cfi_ppb_unlock()
2720 kfree(sect); in cfi_ppb_unlock()
2729 kfree(sect); in cfi_ppb_unlock()
2738 if (sect[i].locked) in cfi_ppb_unlock()
2739 do_ppb_xxlock(map, sect[i].chip, sect[i].adr, 0, in cfi_ppb_unlock()
2743 kfree(sect); in cfi_ppb_unlock()