Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 120) sorted by relevance

12345

/include/linux/
Dctype.h22 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument
23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
25 static inline int isdigit(int c) in isdigit() argument
27 return '0' <= c && c <= '9'; in isdigit()
29 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument
30 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
31 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument
32 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
34 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
[all …]
Djhash.h35 #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 …]
Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ argument
28 if (!oops_in_progress && unlikely(c)) { \
30 WARN(1, "DEBUG_LOCKS_WARN_ON(%s)", #c); \
37 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c) argument
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) argument
Dconsolemap.h22 extern u32 conv_8bit_to_uni(unsigned char c);
29 #define conv_8bit_to_uni(c) ((uint32_t)(c)) argument
30 #define conv_uni_to_8bit(c) ((int) ((c) & 0xff)) argument
31 #define console_map_init(c) do { ; } while (0) argument
Dintel-iommu.h99 #define cap_pi_support(c) (((c) >> 59) & 1) argument
100 #define cap_read_drain(c) (((c) >> 55) & 1) argument
101 #define cap_write_drain(c) (((c) >> 54) & 1) argument
102 #define cap_max_amask_val(c) (((c) >> 48) & 0x3f) argument
103 #define cap_num_fault_regs(c) ((((c) >> 40) & 0xff) + 1) argument
104 #define cap_pgsel_inv(c) (((c) >> 39) & 1) argument
106 #define cap_super_page_val(c) (((c) >> 34) & 0xf) argument
107 #define cap_super_offset(c) (((find_first_bit(&cap_super_page_val(c), 4)) \ argument
110 #define cap_fault_reg_offset(c) ((((c) >> 24) & 0x3ff) * 16) argument
111 #define cap_max_fault_reg_offset(c) \ argument
[all …]
Dcapability.h94 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) argument
96 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) argument
97 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) argument
98 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) argument
100 #define CAP_BOP_ALL(c, a, b, OP) \ argument
104 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \
108 #define CAP_UOP_ALL(c, a, OP) \ argument
112 c.cap[__capi] = OP a.cap[__capi]; \
140 static inline kernel_cap_t cap_invert(const kernel_cap_t c) in cap_invert() argument
143 CAP_UOP_ALL(dest, c, ~); in cap_invert()
Dnls.h61 static inline unsigned char nls_tolower(struct nls_table *t, unsigned char c) in nls_tolower() argument
63 unsigned char nc = t->charset2lower[c]; in nls_tolower()
65 return nc ? nc : c; in nls_tolower()
68 static inline unsigned char nls_toupper(struct nls_table *t, unsigned char c) in nls_toupper() argument
70 unsigned char nc = t->charset2upper[c]; in nls_toupper()
72 return nc ? nc : c; in nls_toupper()
Dstringhash.h42 partial_name_hash(unsigned long c, unsigned long prevhash) in partial_name_hash() argument
44 return (prevhash + (c << 4) + (c >> 4)) * 11; in partial_name_hash()
Dppp_defs.h16 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
Drcupdate.h100 unsigned long c);
122 unsigned long c);
124 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
548 #define RCU_LOCKDEP_WARN(c, s) \ argument
551 if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
580 #define RCU_LOCKDEP_WARN(c, s) do { } while (0) argument
607 #define __rcu_dereference_check(p, c, space) \ argument
611 RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
615 #define __rcu_dereference_protected(p, c, space) \ argument
617 RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_protected() usage"); \
[all …]
Dnvram.h9 extern void __nvram_write_byte(unsigned char c, int i);
10 extern void nvram_write_byte(unsigned char c, int i);
Dcrc-ccitt.h10 static inline u16 crc_ccitt_byte(u16 crc, const u8 c) in crc_ccitt_byte() argument
12 return (crc >> 8) ^ crc_ccitt_table[(crc ^ c) & 0xff]; in crc_ccitt_byte()
Dhid-debug.h53 #define hid_dump_input(a,b,c) do { } while (0) argument
54 #define hid_dump_report(a,b,c,d) do { } while (0) argument
56 #define hid_dump_field(a,b,c) do { } while (0) argument
/include/linux/netfilter/ipset/
Dip_set_comment.h26 struct ip_set_comment_rcu *c = rcu_dereference_protected(comment->c, 1); in ip_set_init_comment() local
29 if (unlikely(c)) { in ip_set_init_comment()
30 kfree_rcu(c, rcu); in ip_set_init_comment()
31 rcu_assign_pointer(comment->c, NULL); in ip_set_init_comment()
37 c = kzalloc(sizeof(*c) + len + 1, GFP_ATOMIC); in ip_set_init_comment()
38 if (unlikely(!c)) in ip_set_init_comment()
40 strlcpy(c->str, ext->comment, len + 1); in ip_set_init_comment()
41 rcu_assign_pointer(comment->c, c); in ip_set_init_comment()
48 struct ip_set_comment_rcu *c = rcu_dereference_bh(comment->c); in ip_set_put_comment() local
50 if (!c) in ip_set_put_comment()
[all …]
/include/asm-generic/
Datomic.h45 int c, old; \
47 c = v->counter; \
48 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
49 c = old; \
55 int c, old; \
57 c = v->counter; \
58 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
59 c = old; \
61 return c c_op i; \
67 int c, old; \
[all …]
Dword-at-a-time.h16 …ic inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) in prep_zero_mask() argument
18 unsigned long mask = (val & c->low_bits) + c->low_bits; in prep_zero_mask()
40 static inline bool has_zero(unsigned long val, unsigned long *data, const struct word_at_a_time *c) in has_zero() argument
42 unsigned long rhs = val | c->low_bits; in has_zero()
44 return (val + c->high_bits) & ~rhs; in has_zero()
92 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() argument
94 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero()
99 …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/uwb/
Dwhci.h38 # define UWBCAPINFO_TO_N_CAPS(c) (((c) >> 0) & 0xFull) argument
40 # define UWBCAPDATA_TO_VERSION(c) (((c) >> 32) & 0xFFFFull) argument
41 # define UWBCAPDATA_TO_OFFSET(c) (((c) >> 18) & 0x3FFFull) argument
42 # define UWBCAPDATA_TO_BAR(c) (((c) >> 16) & 0x3ull) argument
43 # define UWBCAPDATA_TO_SIZE(c) ((((c) >> 8) & 0xFFull) * sizeof(u32)) argument
44 # define UWBCAPDATA_TO_CAP_ID(c) (((c) >> 0) & 0xFFull) argument
/include/linux/mmc/
Dcard.h448 #define mmc_card_mmc(c) ((c)->type == MMC_TYPE_MMC) argument
449 #define mmc_card_sd(c) ((c)->type == MMC_TYPE_SD) argument
450 #define mmc_card_sdio(c) ((c)->type == MMC_TYPE_SDIO) argument
452 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) argument
453 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) argument
454 #define mmc_card_blockaddr(c) ((c)->state & MMC_STATE_BLOCKADDR) argument
455 #define mmc_card_ext_capacity(c) ((c)->state & MMC_CARD_SDXC) argument
456 #define mmc_card_removed(c) ((c) && ((c)->state & MMC_CARD_REMOVED)) argument
457 #define mmc_card_doing_bkops(c) ((c)->state & MMC_STATE_DOING_BKOPS) argument
458 #define mmc_card_suspended(c) ((c)->state & MMC_STATE_SUSPENDED) argument
[all …]
/include/uapi/linux/
Duuid.h31 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
35 (c) & 0xff, ((c) >> 8) & 0xff, \
38 #define UUID_BE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
42 ((c) >> 8) & 0xff, (c) & 0xff, \
Datm.h59 #define __SO_LEVEL_MATCH(c,m) (((c) >> 22) == ((m) & 0x1FF)) argument
60 #define __SO_NUMBER(c) (((c) >> 16) & 0x3f) argument
61 #define __SO_SIZE(c) ((c) & 0x3fff) argument
Dmap_to_7segment.h78 static __inline__ int map_to_seg7(struct seg7_conversion_map *map, int c) in map_to_seg7() argument
80 return c >= 0 && c < sizeof(map->table) ? map->table[c] : -EINVAL; in map_to_seg7()
97 #define _SEG7(l,a,b,c,d,e,f,g) \ argument
98 ( a<<BIT_SEG7_A | b<<BIT_SEG7_B | c<<BIT_SEG7_C | d<<BIT_SEG7_D | \
/include/acpi/platform/
Dacgcc.h73 #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) argument
/include/linux/crush/
Dhash.h18 extern __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c);
19 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d);
20 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
/include/net/irda/
Dcrc.h24 #define irda_fcs(fcs, c) crc_ccitt_byte(fcs, c) argument
/include/linux/i2c/
Dmcs.h16 #define MCS_KEY_MAP(v, c) ((((v) & 0xff) << 16) | ((c) & 0xffff)) argument

12345