/include/linux/ |
D | ctype.h | 23 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument 24 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument 25 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 26 static inline int isdigit(int c) in isdigit() argument 28 return '0' <= c && c <= '9'; in isdigit() 30 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument 31 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 32 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument 33 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 35 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument [all …]
|
D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ 46 #define __jhash_final(a, b, c) \ argument 48 c ^= b; c -= rol32(b, 14); \ 49 a ^= c; a -= rol32(c, 11); \ [all …]
|
D | dm-bufio.h | 32 void dm_bufio_client_destroy(struct dm_bufio_client *c); 39 void dm_bufio_set_sector_offset(struct dm_bufio_client *c, sector_t start); 55 void *dm_bufio_read(struct dm_bufio_client *c, sector_t block, 62 void *dm_bufio_get(struct dm_bufio_client *c, sector_t block, 69 void *dm_bufio_new(struct dm_bufio_client *c, sector_t block, 77 void dm_bufio_prefetch(struct dm_bufio_client *c, 108 void dm_bufio_write_dirty_buffers_async(struct dm_bufio_client *c); 114 int dm_bufio_write_dirty_buffers(struct dm_bufio_client *c); 119 int dm_bufio_issue_flush(struct dm_bufio_client *c); 132 void dm_bufio_forget(struct dm_bufio_client *c, sector_t block); [all …]
|
D | debug_locks.h | 25 #define DEBUG_LOCKS_WARN_ON(c) \ argument 29 if (!oops_in_progress && unlikely(c)) { \ 31 WARN(1, "DEBUG_LOCKS_WARN_ON(%s)", #c); \ 38 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c) argument 40 # define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) argument
|
D | consolemap.h | 23 extern u32 conv_8bit_to_uni(unsigned char c); 30 #define conv_8bit_to_uni(c) ((uint32_t)(c)) argument 31 #define conv_uni_to_8bit(c) ((int) ((c) & 0xff)) argument 32 #define console_map_init(c) do { ; } while (0) argument
|
D | intel-iommu.h | 132 #define cap_5lp_support(c) (((c) >> 60) & 1) argument 133 #define cap_pi_support(c) (((c) >> 59) & 1) argument 134 #define cap_fl1gp_support(c) (((c) >> 56) & 1) argument 135 #define cap_read_drain(c) (((c) >> 55) & 1) argument 136 #define cap_write_drain(c) (((c) >> 54) & 1) argument 137 #define cap_max_amask_val(c) (((c) >> 48) & 0x3f) argument 138 #define cap_num_fault_regs(c) ((((c) >> 40) & 0xff) + 1) argument 139 #define cap_pgsel_inv(c) (((c) >> 39) & 1) argument 141 #define cap_super_page_val(c) (((c) >> 34) & 0xf) argument 142 #define cap_super_offset(c) (((find_first_bit(&cap_super_page_val(c), 4)) \ argument [all …]
|
D | siphash.h | 34 u64 siphash_3u64(const u64 a, const u64 b, const u64 c, 36 u64 siphash_4u64(const u64 a, const u64 b, const u64 c, const u64 d, 39 u64 siphash_3u32(const u32 a, const u32 b, const u32 c, 47 static inline u64 siphash_4u32(const u32 a, const u32 b, const u32 c, in siphash_4u32() argument 50 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key); in siphash_4u32() 101 u32 hsiphash_3u32(const u32 a, const u32 b, const u32 c, 103 u32 hsiphash_4u32(const u32 a, const u32 b, const u32 c, const u32 d, 145 #define SIPHASH_PERMUTATION(a, b, c, d) ( \ argument 147 (c) += (d), (d) = rol64((d), 16), (d) ^= (c), \ 149 (c) += (b), (b) = rol64((b), 17), (b) ^= (c), (c) = rol64((c), 32)) [all …]
|
D | crc-ccitt.h | 13 static inline u16 crc_ccitt_byte(u16 crc, const u8 c) in crc_ccitt_byte() argument 15 return (crc >> 8) ^ crc_ccitt_table[(crc ^ c) & 0xff]; in crc_ccitt_byte() 18 static inline u16 crc_ccitt_false_byte(u16 crc, const u8 c) in crc_ccitt_false_byte() argument 20 return (crc << 8) ^ crc_ccitt_false_table[(crc >> 8) ^ c]; in crc_ccitt_false_byte()
|
D | slub_def.h | 54 #define slub_percpu_partial(c) ((c)->partial) argument 56 #define slub_set_percpu_partial(c, p) \ argument 58 slub_percpu_partial(c) = (p)->next; \ 61 #define slub_percpu_partial_read_once(c) READ_ONCE(slub_percpu_partial(c)) argument 63 #define slub_percpu_partial(c) NULL argument 65 #define slub_set_percpu_partial(c, p) argument 67 #define slub_percpu_partial_read_once(c) NULL argument
|
D | capability.h | 96 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) argument 98 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) argument 99 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) argument 100 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) argument 102 #define CAP_BOP_ALL(c, a, b, OP) \ argument 106 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \ 110 #define CAP_UOP_ALL(c, a, OP) \ argument 114 c.cap[__capi] = OP a.cap[__capi]; \ 142 static inline kernel_cap_t cap_invert(const kernel_cap_t c) in cap_invert() argument 145 CAP_UOP_ALL(dest, c, ~); in cap_invert()
|
D | rcupdate.h | 293 #define RCU_LOCKDEP_WARN(c, s) \ argument 296 if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \ 323 #define RCU_LOCKDEP_WARN(c, s) do { } while (0) argument 349 #define __rcu_dereference_check(p, c, space) \ argument 353 RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \ 357 #define __rcu_dereference_protected(p, c, space) \ argument 359 RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_protected() usage"); \ 429 #define rcu_replace_pointer(rcu_ptr, ptr, c) \ argument 431 typeof(ptr) __tmp = rcu_dereference_protected((rcu_ptr), (c)); \ 446 #define rcu_swap_protected(rcu_ptr, ptr, c) do { \ argument [all …]
|
D | nls.h | 62 static inline unsigned char nls_tolower(struct nls_table *t, unsigned char c) in nls_tolower() argument 64 unsigned char nc = t->charset2lower[c]; in nls_tolower() 66 return nc ? nc : c; in nls_tolower() 69 static inline unsigned char nls_toupper(struct nls_table *t, unsigned char c) in nls_toupper() argument 71 unsigned char nc = t->charset2upper[c]; in nls_toupper() 73 return nc ? nc : c; in nls_toupper()
|
D | stringhash.h | 43 partial_name_hash(unsigned long c, unsigned long prevhash) in partial_name_hash() argument 45 return (prevhash + (c << 4) + (c >> 4)) * 11; in partial_name_hash()
|
D | ppp_defs.h | 13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
|
/include/asm-generic/ |
D | atomic.h | 39 int c, old; \ 41 c = v->counter; \ 42 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \ 43 c = old; \ 49 int c, old; \ 51 c = v->counter; \ 52 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \ 53 c = old; \ 55 return c c_op i; \ 61 int c, old; \ [all …]
|
D | word-at-a-time.h | 17 …ic inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) in prep_zero_mask() argument 19 unsigned long mask = (val & c->low_bits) + c->low_bits; in prep_zero_mask() 41 …line unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a_time *c) in has_zero() argument 43 unsigned long rhs = val | c->low_bits; in has_zero() 45 return (val + c->high_bits) & ~rhs; in has_zero() 93 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() argument 95 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() 100 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask() argument
|
/include/linux/mfd/ |
D | ingenic-tcu.h | 51 #define TCU_REG_TDFRc(c) (TCU_REG_TDFR0 + ((c) * TCU_CHANNEL_STRIDE)) argument 52 #define TCU_REG_TDHRc(c) (TCU_REG_TDHR0 + ((c) * TCU_CHANNEL_STRIDE)) argument 53 #define TCU_REG_TCNTc(c) (TCU_REG_TCNT0 + ((c) * TCU_CHANNEL_STRIDE)) argument 54 #define TCU_REG_TCSRc(c) (TCU_REG_TCSR0 + ((c) * TCU_CHANNEL_STRIDE)) argument
|
/include/uapi/linux/ |
D | uuid.h | 27 #define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument 31 (c) & 0xff, ((c) >> 8) & 0xff, \ 36 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument 37 GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
|
D | atm.h | 60 #define __SO_LEVEL_MATCH(c,m) (((c) >> 22) == ((m) & 0x1FF)) argument 61 #define __SO_NUMBER(c) (((c) >> 16) & 0x3f) argument 62 #define __SO_SIZE(c) ((c) & 0x3fff) argument
|
D | map_to_7segment.h | 79 static __inline__ int map_to_seg7(struct seg7_conversion_map *map, int c) in map_to_seg7() argument 81 return c >= 0 && c < sizeof(map->table) ? map->table[c] : -EINVAL; in map_to_seg7() 98 #define _SEG7(l,a,b,c,d,e,f,g) \ argument 99 ( a<<BIT_SEG7_A | b<<BIT_SEG7_B | c<<BIT_SEG7_C | d<<BIT_SEG7_D | \
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 20 #define _IP_SET_MODULE_DESC(a, b, c) \ argument 21 MODULE_DESCRIPTION(a " type of IP sets, revisions " b "-" c) 22 #define IP_SET_MODULE_DESC(a, b, c) \ argument 23 _IP_SET_MODULE_DESC(a, __stringify(b), __stringify(c)) 105 struct ip_set_comment_rcu __rcu *c; member 541 struct ip_set_comment_rcu *c = rcu_dereference_protected(comment->c, 1); in ip_set_init_comment() local 544 if (unlikely(c)) { in ip_set_init_comment() 545 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 546 kfree_rcu(c, rcu); in ip_set_init_comment() 547 rcu_assign_pointer(comment->c, NULL); in ip_set_init_comment() [all …]
|
/include/acpi/platform/ |
D | acgcc.h | 39 #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) argument
|
/include/linux/clk/ |
D | analogbits-wrpll-cln28hpc.h | 71 int wrpll_configure_for_rate(struct wrpll_cfg *c, u32 target_rate, 74 unsigned int wrpll_calc_max_lock_us(const struct wrpll_cfg *c); 76 unsigned long wrpll_calc_output_rate(const struct wrpll_cfg *c,
|
/include/linux/crush/ |
D | hash.h | 19 extern __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c); 20 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d); 21 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
|
/include/linux/platform_data/ |
D | mcs.h | 11 #define MCS_KEY_MAP(v, c) ((((v) & 0xff) << 16) | ((c) & 0xffff)) argument
|