Lines Matching refs:config_size
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()
415 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
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()
447 ndd->data = kvzalloc(config_size, GFP_KERNEL); in nd_label_data_init()
458 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
461 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init()
462 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init()
470 config_size); in nd_label_data_init()
517 if (read_size + label_read_size > config_size) in nd_label_data_init()
518 label_read_size = config_size - read_size; in nd_label_data_init()
1184 memset(nsindex, 0, ndd->nsarea.config_size); in init_labels()