nd.h (8176f147891258a8eb42bf5579fa344fef34e5bc) | nd.h (f56541a7122c68ef3074e41c2cb14182eb11d3a5) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 4 */ 5#ifndef __ND_H__ 6#define __ND_H__ 7#include <linux/libnvdimm.h> 8#include <linux/badblocks.h> --- 163 unchanged lines hidden (view full) --- 172 173static inline void nsl_set_lbasize(struct nvdimm_drvdata *ndd, 174 struct nd_namespace_label *nd_label, 175 u64 lbasize) 176{ 177 nd_label->lbasize = __cpu_to_le64(lbasize); 178} 179 | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 4 */ 5#ifndef __ND_H__ 6#define __ND_H__ 7#include <linux/libnvdimm.h> 8#include <linux/badblocks.h> --- 163 unchanged lines hidden (view full) --- 172 173static inline void nsl_set_lbasize(struct nvdimm_drvdata *ndd, 174 struct nd_namespace_label *nd_label, 175 u64 lbasize) 176{ 177 nd_label->lbasize = __cpu_to_le64(lbasize); 178} 179 |
180bool nsl_validate_blk_isetcookie(struct nvdimm_drvdata *ndd, 181 struct nd_namespace_label *nd_label, 182 u64 isetcookie); 183 |
|
180struct nd_region_data { 181 int ns_count; 182 int ns_active; 183 unsigned int hints_shift; 184 void __iomem *flush_wpq[]; 185}; 186 187static inline void __iomem *ndrd_get_flush_wpq(struct nd_region_data *ndrd, --- 371 unchanged lines hidden --- | 184struct nd_region_data { 185 int ns_count; 186 int ns_active; 187 unsigned int hints_shift; 188 void __iomem *flush_wpq[]; 189}; 190 191static inline void __iomem *ndrd_get_flush_wpq(struct nd_region_data *ndrd, --- 371 unchanged lines hidden --- |