Lines Matching refs:config_size
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()
436 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
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()
468 ndd->data = kvzalloc(config_size, GFP_KERNEL); in nd_label_data_init()
479 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
482 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init()
483 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init()
491 config_size); in nd_label_data_init()
538 if (read_size + label_read_size > config_size) in nd_label_data_init()
539 label_read_size = config_size - read_size; in nd_label_data_init()
998 memset(nsindex, 0, ndd->nsarea.config_size); in init_labels()