Searched refs:nsarea (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/nvdimm/ |
D | label.c | 59 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots() 67 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots() 84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index() 90 ndd->nsarea.config_size, sizeof_namespace_label(ndd)); in sizeof_namespace_index() 207 > ndd->nsarea.config_size) { in __nd_label_validate() 209 i, nslot, ndd->nsarea.config_size); in __nd_label_validate() 445 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init() 447 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init() 467 config_size = ndd->nsarea.config_size; in nd_label_data_init() 479 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init() [all …]
|
D | dimm_devs.c | 60 struct nd_cmd_get_config_size *cmd = &ndd->nsarea; in nvdimm_init_nsarea() 93 if (offset + len > ndd->nsarea.config_size) in nvdimm_get_config_data() 96 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data() 139 if (offset + len > ndd->nsarea.config_size) in nvdimm_set_config_data() 142 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
|
D | dimm.c | 96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
|
D | nd.h | 31 struct nd_cmd_get_config_size nsarea; member
|