Searched refs:ns_offset (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/nvdimm/ |
A D | blk.c | 32 resource_size_t ns_offset, unsigned int len) in to_dev_offset() argument 37 if (ns_offset < resource_size(nsblk->res[i])) { in to_dev_offset() 38 if (ns_offset + len > resource_size(nsblk->res[i])) { in to_dev_offset() 43 return nsblk->res[i]->start + ns_offset; in to_dev_offset() 45 ns_offset -= resource_size(nsblk->res[i]); in to_dev_offset() 68 resource_size_t dev_offset, ns_offset; in nd_blk_rw_integrity() local 74 ns_offset = lba * internal_lbasize + sector_size; in nd_blk_rw_integrity() 75 dev_offset = to_dev_offset(nsblk, ns_offset, len); in nd_blk_rw_integrity() 121 resource_size_t dev_offset, ns_offset; in nsblk_do_bvec() local 141 ns_offset = lba * internal_lbasize; in nsblk_do_bvec() [all …]
|
A D | badrange.c | 185 static void __add_badblock_range(struct badblocks *bb, u64 ns_offset, u64 len) in __add_badblock_range() argument 192 start_sector = div_u64(ns_offset, sector_size); in __add_badblock_range() 193 end_sector = div_u64_rem(ns_offset + len, sector_size, &rem); in __add_badblock_range()
|
/linux/kernel/time/ |
A D | timecounter.c | 34 u64 ns_offset; in timecounter_read_delta() local 43 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delta, in timecounter_read_delta() 49 return ns_offset; in timecounter_read_delta()
|
Completed in 5 milliseconds