Home
last modified time | relevance | path

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

/linux-6.15/fs/ntfs3/
H A Dlznt.c31 const u8 *best_match; member
78 ctx->best_match = hash[1]; in longest_match_std()
81 ctx->best_match = hash[0]; in longest_match_std()
103 ctx->best_match = ptr; in longest_match_best()
179 t16 = make_pair(up - ctx->best_match, max_len, idx); in compress_chunk()
/linux-6.15/rust/kernel/
H A Drbtree.rs423 let mut best_match: Option<NonNull<Node<K, V>>> = None; in cursor_lower_bound() localVariable
436 best_match = NonNull::new(this); in cursor_lower_bound()
443 let is_better_match = match best_match { in cursor_lower_bound()
452 best_match = NonNull::new(this); in cursor_lower_bound()
459 let best = best_match?; in cursor_lower_bound()
/linux-6.15/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c407 struct et8ek8_reglist *best_match = NULL; in et8ek8_reglist_find_mode_fmt() local
438 if (dist < max_dist_match || !best_match) { in et8ek8_reglist_find_mode_fmt()
439 best_match = *list; in et8ek8_reglist_find_mode_fmt()
450 return best_match ? best_match : best_other; in et8ek8_reglist_find_mode_fmt()
/linux-6.15/drivers/mtd/spi-nor/
H A Dcore.c2388 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2391 if (best_match < 0) in spi_nor_select_read()
2394 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2419 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2422 if (best_match < 0) in spi_nor_select_pp()
2425 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/linux-6.15/drivers/of/
H A Dbase.c1076 const struct of_device_id *best_match = NULL; in __of_match_node() local
1086 best_match = matches; in __of_match_node()
1091 return best_match; in __of_match_node()
/linux-6.15/net/ipv4/
H A Dtcp_ipv4.c1270 struct tcp_md5sig_key *best_match = NULL; local
1299 if (match && better_md5_match(best_match, key))
1300 best_match = key;
1302 return best_match;