aboutsummaryrefslogtreecommitdiff
path: root/crypto/ivgen-plain.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-04 13:57:36 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-10 14:16:53 +0200
commitd51c349b642d2c50611085db521cf31f5f985488 (patch)
tree44137de5c7fa76f4dd9c69df324dc9517ee34908 /crypto/ivgen-plain.h
parent57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3 (diff)
graph-lock: Add GRAPH_UNLOCKED(_PTR)
For some functions, it is part of their interface to be called without holding the graph lock. Add a new macro to document this. The macro expands to TSA_EXCLUDES(), which is a relatively weak check because it passes in cases where the compiler just doesn't know if the lock is held. Function pointers can't be checked at all. Therefore, its primary purpose is documentation. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20230504115750.54437-7-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'crypto/ivgen-plain.h')
0 files changed, 0 insertions, 0 deletions