Searched refs:is_bad_pmem (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/tools/testing/nvdimm/ |
D | pmem-dax.c | 15 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access()
|
/Linux-v5.10/drivers/nvdimm/ |
D | claim.c | 269 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) in nsio_rw_bytes() 276 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) { in nsio_rw_bytes()
|
D | pmem.c | 148 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_read() 165 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_write() 262 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access()
|
D | nd.h | 400 static inline bool is_bad_pmem(struct badblocks *bb, sector_t sector, in is_bad_pmem() function
|
D | btt.c | 1307 return is_bad_pmem(btt->phys_bb, phys_sector, arena->internal_lbasize); in btt_is_badblock()
|