Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/android/
Dbinder_alloc.c389 struct rb_node *best_fit = NULL; in binder_alloc_new_buf_locked() local
435 best_fit = n; in binder_alloc_new_buf_locked()
440 best_fit = n; in binder_alloc_new_buf_locked()
444 if (best_fit == NULL) { in binder_alloc_new_buf_locked()
481 buffer = rb_entry(best_fit, struct binder_buffer, rb_node); in binder_alloc_new_buf_locked()
516 rb_erase(best_fit, &alloc->free_buffers); in binder_alloc_new_buf_locked()
/Linux-v5.10/drivers/media/i2c/
Dmt9v111.c886 unsigned int best_fit = ~0L; in mt9v111_set_format() local
916 if (fit < best_fit) { in mt9v111_set_format()
917 best_fit = fit; in mt9v111_set_format()