diff options
author | Tomer Tayar <ttayar@habana.ai> | 2023-02-16 20:54:32 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-15 14:29:14 +0300 |
commit | b041e788a73153893342e955ff7b8284f9e237e5 (patch) | |
tree | c7630d01a2ce9eaf53b65d8e651a67d9cbd86df9 /scripts/lib/kdoc/kdoc_files.py | |
parent | d1bae8199abb23644bf39fa0fb09e87a578f05dd (diff) | |
download | linux-b041e788a73153893342e955ff7b8284f9e237e5.tar.xz |
accel/habanalabs: add helper function to get vm hash node
Add a helper function to search the vm hash for a node with a given
virtual address.
As opposed to the current code, this function explicitly returns NULL
when no node is found, instead of basing on the loop cursor object's
value.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions