Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-queue.c127 int from_free = from == &s->q_free; in ivtv_queue_move() local
133 from_free = 1; in ivtv_queue_move()
137 bytes_available = from_free ? from->length : from->bytesused; in ivtv_queue_move()
138 bytes_steal = (from_free && steal) ? steal->length : 0; in ivtv_queue_move()
167 if (from_free) { in ivtv_queue_move()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c307 int allocated, free, reserved, guaranteed, from_free; in mlx4_grant_resource() local
337 from_free = count - (guaranteed - allocated); in mlx4_grant_resource()
339 from_free = count; in mlx4_grant_resource()
341 from_rsvd = count - from_free; in mlx4_grant_resource()
343 if (free - from_free >= reserved) in mlx4_grant_resource()
348 from_free, reserved); in mlx4_grant_resource()