Lines Matching refs:max_xfer
431 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
440 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init()
442 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init()
474 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
475 if (read_size < max_xfer) { in nd_label_data_init()
477 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init()
478 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init()
480 if (max_xfer < read_size) in nd_label_data_init()
481 max_xfer = read_size; in nd_label_data_init()
485 read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, in nd_label_data_init()
529 label_read_size = DIV_ROUND_UP(label_read_size, max_xfer) * in nd_label_data_init()
530 max_xfer; in nd_label_data_init()