Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c592 int ltb_size; /* size of one ltb */ in alloc_ltb_set() local
601 ltb_size = rounddown(IBMVNIC_ONE_LTB_SIZE, buff_size); in alloc_ltb_set()
604 if (ltb_size > tot_size) in alloc_ltb_set()
605 ltb_size = tot_size; in alloc_ltb_set()
607 nltbs = tot_size / ltb_size; in alloc_ltb_set()
608 if (tot_size % ltb_size) in alloc_ltb_set()
658 if (ltb_size > rem_size) in alloc_ltb_set()
659 ltb_size = rem_size; in alloc_ltb_set()
661 rem_size -= ltb_size; in alloc_ltb_set()
663 rc = alloc_long_term_buff(adapter, &new_set.ltbs[i], ltb_size); in alloc_ltb_set()