Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/pci/ivtv/
Divtv-queue.c115 int from_free = from == &s->q_free; in ivtv_queue_move() local
121 from_free = 1; in ivtv_queue_move()
125 bytes_available = from_free ? from->length : from->bytesused; in ivtv_queue_move()
126 bytes_steal = (from_free && steal) ? steal->length : 0; in ivtv_queue_move()
155 if (from_free) { in ivtv_queue_move()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c315 int allocated, free, reserved, guaranteed, from_free; in mlx4_grant_resource() local
345 from_free = count - (guaranteed - allocated); in mlx4_grant_resource()
347 from_free = count; in mlx4_grant_resource()
349 from_rsvd = count - from_free; in mlx4_grant_resource()
351 if (free - from_free >= reserved) in mlx4_grant_resource()
356 from_free, reserved); in mlx4_grant_resource()