Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvdimm/
Dregion_devs.c971 struct nd_percpu_lane *ndl_lock, *ndl_count; in nd_region_acquire_lane() local
974 ndl_count = per_cpu_ptr(nd_region->lane, cpu); in nd_region_acquire_lane()
976 if (ndl_count->count++ == 0) in nd_region_acquire_lane()
989 struct nd_percpu_lane *ndl_lock, *ndl_count; in nd_region_release_lane() local
991 ndl_count = per_cpu_ptr(nd_region->lane, cpu); in nd_region_release_lane()
993 if (--ndl_count->count == 0) in nd_region_release_lane()