projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1f002
)
seqlock,tags: Add support for SEQCOUNT_LOCKTYPE()
author
Peter Zijlstra
<peterz@infradead.org>
Wed, 29 Jul 2020 18:12:32 +0000
(20:12 +0200)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 26 Aug 2020 10:42:01 +0000
(12:42 +0200)
Such that we might easily find seqcount_LOCKTYPE_t and
seqcount_LOCKTYPE_init().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lkml.kernel.org/r/20200729161938.GB2678@hirez.programming.kicks-ass.net
scripts/tags.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index 32d3f53af10ba85a3f8d9a2c649d1c29a143f483..fc5b53259a167260d78f5aecaa9568a8a7a71d11 100755
(executable)
--- a/
scripts/tags.sh
+++ b/
scripts/tags.sh
@@
-201,6
+201,8
@@
regex_c=(
'/\<DEVICE_ATTR_\(RW\|RO\|WO\)(\([[:alnum:]_]\+\)/dev_attr_\2/'
'/\<DRIVER_ATTR_\(RW\|RO\|WO\)(\([[:alnum:]_]\+\)/driver_attr_\2/'
'/\<\(DEFINE\|DECLARE\)_STATIC_KEY_\(TRUE\|FALSE\)\(\|_RO\)(\([[:alnum:]_]\+\)/\4/'
+ '/^SEQCOUNT_LOCKTYPE(\([^,]*\),[[:space:]]*\([^,]*\),[^)]*)/seqcount_\2_t/'
+ '/^SEQCOUNT_LOCKTYPE(\([^,]*\),[[:space:]]*\([^,]*\),[^)]*)/seqcount_\2_init/'
)
regex_kconfig=(
'/^[[:blank:]]*\(menu\|\)config[[:blank:]]\+\([[:alnum:]_]\+\)/\2/'