Lines Matching refs:nvdimm_drvdata
28 struct nvdimm_drvdata { struct
39 static inline const u8 *nsl_ref_name(struct nvdimm_drvdata *ndd, in nsl_ref_name() argument
47 static inline u8 *nsl_get_name(struct nvdimm_drvdata *ndd, in nsl_get_name()
55 static inline u8 *nsl_set_name(struct nvdimm_drvdata *ndd, in nsl_set_name()
65 static inline u32 nsl_get_slot(struct nvdimm_drvdata *ndd, in nsl_get_slot()
73 static inline void nsl_set_slot(struct nvdimm_drvdata *ndd, in nsl_set_slot()
82 static inline u64 nsl_get_checksum(struct nvdimm_drvdata *ndd, in nsl_get_checksum()
90 static inline void nsl_set_checksum(struct nvdimm_drvdata *ndd, in nsl_set_checksum()
100 static inline u32 nsl_get_flags(struct nvdimm_drvdata *ndd, in nsl_get_flags()
108 static inline void nsl_set_flags(struct nvdimm_drvdata *ndd, in nsl_set_flags()
117 static inline u64 nsl_get_dpa(struct nvdimm_drvdata *ndd, in nsl_get_dpa()
125 static inline void nsl_set_dpa(struct nvdimm_drvdata *ndd, in nsl_set_dpa()
134 static inline u64 nsl_get_rawsize(struct nvdimm_drvdata *ndd, in nsl_get_rawsize()
142 static inline void nsl_set_rawsize(struct nvdimm_drvdata *ndd, in nsl_set_rawsize()
152 static inline u64 nsl_get_isetcookie(struct nvdimm_drvdata *ndd, in nsl_get_isetcookie()
162 static inline void nsl_set_isetcookie(struct nvdimm_drvdata *ndd, in nsl_set_isetcookie()
170 static inline bool nsl_validate_isetcookie(struct nvdimm_drvdata *ndd, in nsl_validate_isetcookie()
183 static inline u16 nsl_get_position(struct nvdimm_drvdata *ndd, in nsl_get_position()
191 static inline void nsl_set_position(struct nvdimm_drvdata *ndd, in nsl_set_position()
201 static inline u16 nsl_get_nlabel(struct nvdimm_drvdata *ndd, in nsl_get_nlabel()
209 static inline void nsl_set_nlabel(struct nvdimm_drvdata *ndd, in nsl_set_nlabel()
217 static inline u16 nsl_get_nrange(struct nvdimm_drvdata *ndd, in nsl_get_nrange()
225 static inline void nsl_set_nrange(struct nvdimm_drvdata *ndd, in nsl_set_nrange()
233 static inline u64 nsl_get_lbasize(struct nvdimm_drvdata *ndd, in nsl_get_lbasize()
245 static inline void nsl_set_lbasize(struct nvdimm_drvdata *ndd, in nsl_set_lbasize()
255 static inline const uuid_t *nsl_get_uuid(struct nvdimm_drvdata *ndd, in nsl_get_uuid()
266 static inline const uuid_t *nsl_set_uuid(struct nvdimm_drvdata *ndd, in nsl_set_uuid()
277 static inline bool nsl_uuid_equal(struct nvdimm_drvdata *ndd, in nsl_uuid_equal()
290 static inline const u8 *nsl_uuid_raw(struct nvdimm_drvdata *ndd, in nsl_uuid_raw()
298 bool nsl_validate_type_guid(struct nvdimm_drvdata *ndd,
300 enum nvdimm_claim_class nsl_get_claim_class(struct nvdimm_drvdata *ndd,
329 struct nvdimm_drvdata *ndd, int i) in to_namespace_index()
338 struct nvdimm_drvdata *ndd) in to_current_namespace_index()
344 struct nvdimm_drvdata *ndd) in to_next_namespace_index()
349 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd);
400 struct nvdimm_drvdata *ndd;
429 struct nvdimm_drvdata *ndd, in nsl_validate_nlabel()
511 struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping);
513 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd);
514 int nvdimm_init_config_data(struct nvdimm_drvdata *ndd);
515 int nvdimm_get_config_data(struct nvdimm_drvdata *ndd, void *buf,
517 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset,
631 void put_ndd(struct nvdimm_drvdata *ndd);
632 int nd_label_reserve_dpa(struct nvdimm_drvdata *ndd);
633 void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res);
634 struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd,