Lines Matching +full:32 +full:- +full:bits
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* -*- mode: c; c-basic-offset: 8; -*-
13 * ability to enable sets of debugging output at run-time. In the future this
18 * maintained with help from /proc. If any of the bits match the message is
26 * one of the longs. This leads to having infrequently given bits that are
27 * frequently matched in the high bits.
39 * indication of which bits are allowed (allow) or denied (off/deny).
53 * Echoing allow/deny/off string into the logmask files can flip the bits
61 * The debugfs.ocfs2 tool can also flip the bits with the -l option:
63 * debugfs.ocfs2 -l TCP allow
69 /* bits that are frequently given and infrequently matched in the low word */
89 /* bits that are infrequently given and frequently matched in the high word */
118 #if BITS_PER_LONG == 32
120 #define __mlog_test_u64(mask, bits) \ argument
121 ( (u32)(mask & 0xffffffff) & bits.words[0] || \
122 ((u64)(mask) >> 32) & bits.words[1] )
123 #define __mlog_set_u64(mask, bits) do { \ argument
124 bits.words[0] |= (u32)(mask & 0xffffffff); \
125 bits.words[1] |= (u64)(mask) >> 32; \
127 #define __mlog_clear_u64(mask, bits) do { \ argument
128 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \
129 bits.words[1] &= ~((u64)(mask) >> 32); \
134 [1] = (u64)(mask) >> 32, \
138 #else /* 32bit long above, 64bit long below */
140 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument
141 #define __mlog_set_u64(mask, bits) do { \ argument
142 bits.words[0] |= (mask); \
144 #define __mlog_clear_u64(mask, bits) do { \ argument
145 bits.words[0] &= ~(mask); \
178 if (_st != -ERESTARTSYS && _st != -EINTR && \
179 _st != AOP_TRUNCATED_PAGE && _st != -ENOSPC && \
180 _st != -EDQUOT) \