Lines Matching +full:cpu +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
41 * struct nvdimm_pmu - data structure for nvdimm perf driver
44 * @cpu: designated cpu for counter access.
45 * @node: node for cpu hotplug notifier link.
46 * @cpuhp_state: state for cpu hotplug notification.
47 * @arch_cpumask: cpumask to get designated cpu for counter access.
52 int cpu; member
72 return -ENXIO; in register_nvdimm_pmu()
94 * struct nd_namespace_common - core infrastructure of a namespace
99 * @rw_bytes: access the raw namespace capacity with byte-aligned transfers
106 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset,
116 * struct nd_namespace_io - device representation of a persistent memory range
132 * struct nd_namespace_pmem - namespace device for dimm-backed interleaved memory
134 * @lbasize: logical sector size for the namespace in block-device-mode
160 * nvdimm_read_bytes() - synchronously read bytes from an nvdimm namespace
162 * @offset: namespace-relative starting offset
166 * @buf is up-to-date upon return from this routine.
169 resource_size_t offset, void *buf, size_t size, in nvdimm_read_bytes() argument
172 return ndns->rw_bytes(ndns, offset, buf, size, READ, flags); in nvdimm_read_bytes()
176 * nvdimm_write_bytes() - synchronously write bytes to an nvdimm namespace
178 * @offset: namespace-relative starting offset
183 * the @ndns, the contents of @buf may be in cpu cache, platform buffers,
188 resource_size_t offset, void *buf, size_t size, in nvdimm_write_bytes() argument
191 return ndns->rw_bytes(ndns, offset, buf, size, WRITE, flags); in nvdimm_write_bytes()
204 driver_unregister(&drv->drv); in nd_driver_unregister()