Searched refs:is_bad_pmem (Results 1 – 4 of 4) sorted by relevance
/drivers/nvdimm/ |
D | claim.c | 270 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) in nsio_rw_bytes() 277 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) { in nsio_rw_bytes()
|
D | pmem.c | 172 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_read() 187 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) { in pmem_do_write() 359 if (!is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) >> SECTOR_SHIFT, len)) in pmem_recovery_write()
|
D | nd.h | 665 static inline bool is_bad_pmem(struct badblocks *bb, sector_t sector, in is_bad_pmem() function
|
D | btt.c | 1305 return is_bad_pmem(btt->phys_bb, phys_sector, arena->internal_lbasize); in btt_is_badblock()
|