Home
last modified time | relevance | path

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

123456

/include/linux/
A Dctype.h26 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
27 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
29 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
31 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
33 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
34 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument
41 #define isdigit(c) __builtin_isdigit(c) argument
45 return '0' <= c && c <= '9'; in isdigit()
63 #define tolower(c) __tolower(c) argument
64 #define toupper(c) __toupper(c) argument
[all …]
A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
42 c -= b; c ^= rol32(b, 4); b += a; \
48 c ^= b; c -= rol32(b, 14); \
49 a ^= c; a -= rol32(c, 11); \
51 c ^= b; c -= rol32(b, 16); \
52 a ^= c; a -= rol32(c, 4); \
54 c ^= b; c -= rol32(b, 24); \
107 return c; in jhash()
[all …]
A Ddm-bufio.h39 void dm_bufio_client_destroy(struct dm_bufio_client *c);
41 void dm_bufio_client_reset(struct dm_bufio_client *c);
64 void *dm_bufio_read(struct dm_bufio_client *c, sector_t block,
74 void *dm_bufio_get(struct dm_bufio_client *c, sector_t block,
81 void *dm_bufio_new(struct dm_bufio_client *c, sector_t block,
89 void dm_bufio_prefetch(struct dm_bufio_client *c,
92 void dm_bufio_prefetch_with_ioprio(struct dm_bufio_client *c,
130 int dm_bufio_write_dirty_buffers(struct dm_bufio_client *c);
135 int dm_bufio_issue_flush(struct dm_bufio_client *c);
147 void dm_bufio_forget(struct dm_bufio_client *c, sector_t block);
[all …]
A Dinstrumentation.h11 #define __instrumentation_begin(c) ({ \ argument
12 asm volatile(__stringify(c) ": nop\n\t" \
13 ANNOTATE_INSTR_BEGIN(__ASM_BREF(c)) \
14 : : "i" (c)); \
49 #define __instrumentation_end(c) ({ \ argument
50 asm volatile(__stringify(c) ": nop\n\t" \
51 ANNOTATE_INSTR_END(__ASM_BREF(c)) \
52 : : "i" (c)); \
A Datomic.h28 #define atomic_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) argument
29 #define atomic_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c)) argument
31 #define atomic64_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) argument
32 #define atomic64_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c)) argument
A Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ argument
28 if (!oops_in_progress && unlikely(c)) { \
31 WARN(1, "DEBUG_LOCKS_WARN_ON(%s)", #c); \
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c) argument
41 # define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) argument
A Dsiphash.h35 u64 siphash_3u64(const u64 a, const u64 b, const u64 c,
37 u64 siphash_4u64(const u64 a, const u64 b, const u64 c, const u64 d,
40 u64 siphash_3u32(const u32 a, const u32 b, const u32 c,
51 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key); in siphash_4u32()
102 u32 hsiphash_3u32(const u32 a, const u32 b, const u32 c,
146 #define SIPHASH_PERMUTATION(a, b, c, d) ( \ argument
148 (c) += (d), (d) = rol64((d), 16), (d) ^= (c), \
150 (c) += (b), (b) = rol64((b), 17), (b) ^= (c), (c) = rol64((c), 32))
157 #define HSIPHASH_PERMUTATION(a, b, c, d) ( \ argument
159 (c) += (d), (d) = rol32((d), 8), (d) ^= (c), \
[all …]
A Drbtree.h229 int c; in rb_find_add_cached() local
235 if (c < 0) { in rb_find_add_cached()
265 int c; in rb_find_add() local
271 if (c < 0) in rb_find_add()
273 else if (c > 0) in rb_find_add()
301 int c; in rb_find_add_rcu() local
307 if (c < 0) in rb_find_add_rcu()
337 if (c < 0) in rb_find()
368 if (c < 0) in rb_find_rcu()
397 if (c <= 0) { in rb_find_first()
[all …]
A Drcuref.h41 unsigned int c = atomic_read(&ref->refcnt); in rcuref_read() local
44 return c >= RCUREF_RELEASED ? 0 : c + 1; in rcuref_read()
58 unsigned int c = atomic_read(&ref->refcnt); in rcuref_is_dead() local
60 return (c >= RCUREF_RELEASED) && (c < RCUREF_NOREF); in rcuref_is_dead()
A Dnls.h62 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()
A Dconsole_struct.h178 #define CUR_SIZE(c) ((c) & 0x00000f) argument
191 #define CUR_CHANGE(c) ((c) & 0x00ff00) argument
192 #define CUR_SET(c) (((c) & 0xff0000) >> 8) argument
A Drcupdate.h144 #define RCU_NOCB_LOCKDEP_WARN(c, s) RCU_LOCKDEP_WARN(c, s) argument
153 #define RCU_NOCB_LOCKDEP_WARN(c, s) argument
396 #define RCU_LOCKDEP_WARN(c, s) \ argument
483 #define RCU_LOCKDEP_WARN(c, s) do { } while (0 && (c)) argument
679 #define rcu_dereference_check(p, c) \ argument
681 (c) || rcu_read_lock_held(), __rcu)
695 #define rcu_dereference_bh_check(p, c) \ argument
697 (c) || rcu_read_lock_bh_held(), __rcu)
711 #define rcu_dereference_sched_check(p, c) \ argument
713 (c) || rcu_read_lock_sched_held(), \
[all …]
A Dstringhash.h43 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()
A Duuid.h23 #define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
27 (c) & 0xff, ((c) >> 8) & 0xff, \
30 #define UUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
34 ((c) >> 8) & 0xff, (c) & 0xff, \
/include/asm-generic/
A Datomic.h22 int c, old; \
24 c = v->counter; \
25 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
26 c = old; \
32 int c, old; \
35 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
36 c = old; \
44 int c, old; \
47 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
48 c = old; \
[all …]
A Dword-at-a-time.h18 …ic inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) in prep_zero_mask() argument
20 unsigned long mask = (val & c->low_bits) + c->low_bits; in prep_zero_mask()
42 …line unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a_time *c) in has_zero() argument
44 unsigned long rhs = val | c->low_bits; in has_zero()
46 return (val + c->high_bits) & ~rhs; in has_zero()
94 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() argument
96 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero()
101 …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/
A Dingenic-tcu.h51 #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/net/bluetooth/
A Dhci_core.h1076 return c->acl_num + c->sco_num + c->le_num + c->iso_num; in hci_conn_count()
1126 if (bacmp(&c->dst, ba) || c->type != BIS_LINK) in hci_conn_hash_lookup_bis()
1155 return c; in hci_conn_hash_lookup_create_pa_sync()
1174 if (bacmp(&c->dst, ba) || c->type != BIS_LINK || in hci_conn_hash_lookup_per_adv_bis()
1217 if (c->type == type && !bacmp(&c->dst, ba)) { in hci_conn_hash_lookup_ba()
1241 if (ba_type == c->dst_type && !bacmp(&c->dst, ba)) { in hci_conn_hash_lookup_le()
1367 if (c->type != BIS_LINK || c->state != state || c->role != role) in hci_conn_hash_lookup_big_state()
1447 if (c->type == type && c->state == state) in hci_conn_hash_list_state()
1467 if (c->type == type && test_bit(flag, &c->flags)) in hci_conn_hash_list_flag()
1482 if (c->type == LE_LINK && c->state == BT_CONNECT && in hci_lookup_le_connect()
[all …]
/include/uapi/linux/
A Dmei_uuid.h18 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
22 (c) & 0xff, ((c) >> 8) & 0xff, \
A Dmap_to_7segment.h70 static __inline__ int map_to_seg7(struct seg7_conversion_map *map, int c) in map_to_seg7() argument
72 return c >= 0 && c < sizeof(map->table) ? map->table[c] : -EINVAL; in map_to_seg7()
89 #define _SEG7(l,a,b,c,d,e,f,g) \ argument
90 ( a<<BIT_SEG7_A | b<<BIT_SEG7_B | c<<BIT_SEG7_C | d<<BIT_SEG7_D | \
A Datm.h60 #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
/include/acpi/platform/
A Dacgcc.h31 #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) argument
/include/trace/events/
A Dfilelock.h87 __entry->pid = fl ? fl->c.flc_pid : 0;
88 __entry->flags = fl ? fl->c.flc_flags : 0;
89 __entry->type = fl ? fl->c.flc_type : 0;
142 __entry->flags = fl ? fl->c.flc_flags : 0;
143 __entry->type = fl ? fl->c.flc_type : 0;
193 __entry->owner = fl->c.flc_owner;
194 __entry->flags = fl->c.flc_flags;
195 __entry->type = fl->c.flc_type;
223 __entry->l_fl_flags = lease->c.flc_flags;
224 __entry->l_fl_type = lease->c.flc_type;
[all …]
/include/linux/clk/
A Danalogbits-wrpll-cln28hpc.h71 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/
A Dhash.h19 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,

Completed in 32 milliseconds

123456