Home
last modified time | relevance | path

Searched refs:curr_alloc_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe_main.c2471 unsigned int i, j, alloc_size, curr_alloc_size; in beiscsi_alloc_mem() local
2518 curr_alloc_size = min(be_max_phys_size * 1024, alloc_size); in beiscsi_alloc_mem()
2522 curr_alloc_size, &bus_add, GFP_KERNEL); in beiscsi_alloc_mem()
2524 if (curr_alloc_size <= BE_MIN_MEM_SIZE) in beiscsi_alloc_mem()
2526 if (curr_alloc_size - in beiscsi_alloc_mem()
2527 rounddown_pow_of_two(curr_alloc_size)) in beiscsi_alloc_mem()
2528 curr_alloc_size = rounddown_pow_of_two in beiscsi_alloc_mem()
2529 (curr_alloc_size); in beiscsi_alloc_mem()
2531 curr_alloc_size = curr_alloc_size / 2; in beiscsi_alloc_mem()
2535 mem_arr->size = curr_alloc_size; in beiscsi_alloc_mem()
[all …]