Searched refs:nsarea (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/nvdimm/ |
D | label.c | 51 return (ndd->nsarea.config_size - index_size * 2) / in __nvdimm_num_label_slots() 59 tmp_nslot = ndd->nsarea.config_size / sizeof_namespace_label(ndd); in nvdimm_num_label_slots() 76 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index() 82 ndd->nsarea.config_size, sizeof_namespace_label(ndd)); in sizeof_namespace_index() 199 > ndd->nsarea.config_size) { in __nd_label_validate() 201 i, nslot, ndd->nsarea.config_size); in __nd_label_validate() 424 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init() 426 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init() 446 config_size = ndd->nsarea.config_size; in nd_label_data_init() 458 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init() [all …]
|
D | dimm.c | 96 dev_dbg(dev, "config data size: %d\n", ndd->nsarea.config_size); in nvdimm_probe()
|
D | dimm_devs.c | 64 struct nd_cmd_get_config_size *cmd = &ndd->nsarea; in nvdimm_init_nsarea() 97 if (offset + len > ndd->nsarea.config_size) in nvdimm_get_config_data() 100 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data() 143 if (offset + len > ndd->nsarea.config_size) in nvdimm_set_config_data() 146 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
|
D | nd.h | 31 struct nd_cmd_get_config_size nsarea; member
|