Lines Matching refs:max_xfer
436 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
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()
479 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
480 if (read_size < max_xfer) { 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()
485 if (max_xfer < read_size) in nd_label_data_init()
486 max_xfer = read_size; in nd_label_data_init()
490 read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, in nd_label_data_init()
534 label_read_size = DIV_ROUND_UP(label_read_size, max_xfer) * in nd_label_data_init()
535 max_xfer; in nd_label_data_init()