diff options
author | Daniel Rosenberg <[email protected]> | 2020-07-08 02:12:34 -0700 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2020-09-10 14:03:31 -0700 |
commit | 3d7bfea8b8378277a25b42b28fe5a2a5ca76a7cf (patch) | |
tree | 70947df66e566caf2bd0bc776c4ca85417fc7747 /include/linux/fpga/fpga-bridge.h | |
parent | e6c3948de2f8213010e584009d47e9bc0934b32c (diff) |
unicode: Add utf8_casefold_hash
This adds a case insensitive hash function to allow taking the hash
without needing to allocate a casefolded copy of the string.
The existing d_hash implementations for casefolding allocate memory
within rcu-walk, by avoiding it we can be more efficient and avoid
worrying about a failed allocation.
Signed-off-by: Daniel Rosenberg <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions