/scripts/coccinelle/tests/ |
D | unsigned_lesser_than_zero.cocci | 27 size_t, bool, u8, u16, u32, u64} v; 31 \( v = e \| &v \) 33 (\( v@p < 0 \| v@p <= 0 \| v@p >= 0 \| v@p > 0 \)) 39 expression c, e, v; 44 v = f(...)@vs; 45 ... when != v = e; 46 * (\( v@p <=@e 0 \| v@p >@e 0 \)) 50 (\( v@p < 0 \| v@p <= 0 \)) || ... || (\( v >= c \| v > c \)) 52 (\( v >= c \| v > c \)) || ... || (\( v@p < 0 \| v@p <= 0 \)) 54 (\( v@p >= 0 \| v@p > 0 \)) && ... && (\( v < c \| v <= c \)) [all …]
|
/scripts/atomic/ |
D | atomics.tbl | 7 # * v - void: returns void 16 # * v - pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t) 21 set s v i 22 add vRF i v 23 sub vRF i v 24 inc vRF v 25 dec vRF v 26 and vF i v 27 andnot vF i v 28 or vF i v [all …]
|
/scripts/kconfig/ |
D | preprocess.c | 241 struct variable *v; in variable_lookup() local 243 list_for_each_entry(v, &variable_list, node) { in variable_lookup() 244 if (!strcmp(name, v->name)) in variable_lookup() 245 return v; in variable_lookup() 253 struct variable *v; in variable_expand() local 256 v = variable_lookup(name); in variable_expand() 257 if (!v) in variable_expand() 260 if (argc == 0 && v->exp_count) in variable_expand() 264 if (v->exp_count > 1000) in variable_expand() 267 v->exp_count++; in variable_expand() [all …]
|
D | qconf.h | 126 ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument 127 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem() 131 ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument 132 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem() 136 ConfigItem(ConfigList *parent, ConfigItem *after, bool v) in ConfigItem() argument 137 : Parent(parent, after), nextItem(0), menu(0), visible(v), goParent(true) in ConfigItem() 145 void testUpdateMenu(bool v);
|
D | qconf.cc | 215 void ConfigItem::testUpdateMenu(bool v) in testUpdateMenu() argument 219 visible = v; in testUpdateMenu() 994 ConfigView* v; in updateList() local 996 for (v = viewList; v; v = v->nextView) in updateList() 997 v->list->updateList(item); in updateList() 1002 ConfigView* v; in updateListAll() local 1004 for (v = viewList; v; v = v->nextView) in updateListAll() 1005 v->list->updateListAll(); in updateListAll() 1855 ConfigMainWindow* v; in main() local 1882 v = new ConfigMainWindow(); in main() [all …]
|
/scripts/atomic/fallbacks/ |
D | fetch_add_unless | 4 * @v: pointer of type ${atomic}_t 5 * @a: the amount to add to v... 6 * @u: ...unless v is equal to u. 8 * Atomically adds @a to @v, so long as @v was not already @u. 9 * Returns original value of @v 12 ${atomic}_fetch_add_unless(${atomic}_t *v, ${int} a, ${int} u) 14 ${int} c = ${atomic}_read(v); 19 } while (!${atomic}_try_cmpxchg(v, &c, c + a));
|
D | add_unless | 4 * @v: pointer of type ${atomic}_t 5 * @a: the amount to add to v... 6 * @u: ...unless v is equal to u. 8 * Atomically adds @a to @v, if @v was not already @u. 12 ${atomic}_add_unless(${atomic}_t *v, ${int} a, ${int} u) 14 return ${atomic}_fetch_add_unless(v, a, u) != u;
|
D | inc_not_zero | 4 * @v: pointer of type ${atomic}_t 6 * Atomically increments @v by 1, if @v is non-zero. 10 ${atomic}_inc_not_zero(${atomic}_t *v) 12 return ${atomic}_add_unless(v, 1, 0);
|
D | dec_and_test | 4 * @v: pointer of type ${atomic}_t 6 * Atomically decrements @v by 1 and 11 ${atomic}_dec_and_test(${atomic}_t *v) 13 return ${atomic}_dec_return(v) == 0;
|
D | inc_and_test | 4 * @v: pointer of type ${atomic}_t 6 * Atomically increments @v by 1 11 ${atomic}_inc_and_test(${atomic}_t *v) 13 return ${atomic}_inc_return(v) == 0;
|
D | sub_and_test | 5 * @v: pointer of type ${atomic}_t 7 * Atomically subtracts @i from @v and returns 12 ${atomic}_sub_and_test(${int} i, ${atomic}_t *v) 14 return ${atomic}_sub_return(i, v) == 0;
|
D | add_negative | 5 * @v: pointer of type ${atomic}_t 7 * Atomically adds @i to @v and returns true 12 ${atomic}_add_negative(${int} i, ${atomic}_t *v) 14 return ${atomic}_add_return(i, v) < 0;
|
D | dec_unless_positive | 3 ${atomic}_dec_unless_positive(${atomic}_t *v) 5 ${int} c = ${atomic}_read(v); 10 } while (!${atomic}_try_cmpxchg(v, &c, c - 1));
|
D | inc_unless_negative | 3 ${atomic}_inc_unless_negative(${atomic}_t *v) 5 ${int} c = ${atomic}_read(v); 10 } while (!${atomic}_try_cmpxchg(v, &c, c + 1));
|
D | dec_if_positive | 3 ${atomic}_dec_if_positive(${atomic}_t *v) 5 ${int} dec, c = ${atomic}_read(v); 11 } while (!${atomic}_try_cmpxchg(v, &c, dec));
|
D | read_acquire | 3 ${atomic}_read_acquire(const ${atomic}_t *v) 5 return smp_load_acquire(&(v)->counter);
|
D | set_release | 3 ${atomic}_set_release(${atomic}_t *v, ${int} i) 5 smp_store_release(&(v)->counter, i);
|
D | dec | 3 ${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v) 5 ${retstmt}${atomic}_${pfx}sub${sfx}${order}(1, v);
|
D | inc | 3 ${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v) 5 ${retstmt}${atomic}_${pfx}add${sfx}${order}(1, v);
|
D | andnot | 3 ${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v) 5 ${retstmt}${atomic}_${pfx}and${sfx}${order}(~i, v);
|
D | try_cmpxchg | 3 ${atomic}_try_cmpxchg${order}(${atomic}_t *v, ${int} *old, ${int} new) 6 r = ${atomic}_cmpxchg${order}(v, o, new);
|
/scripts/ |
D | Kconfig.include | 32 ld-option = $(success,$(LD) -v $(1)) 35 $(error-if,$(failure,command -v $(CC)),compiler '$(CC)' not found) 36 $(error-if,$(failure,command -v $(LD)),linker '$(LD)' not found) 39 $(error-if,$(success, $(LD) -v | grep -q gold), gold linker '$(LD)' not supported)
|
D | sign-file.c | 116 static int pem_pw_cb(char *buf, int len, int w, void *v) in pem_pw_cb() argument
|
D | unifdef.c | 746 static Linetype op_strict(int *p, int v, Linetype at, Linetype bt) { in op_strict() argument 748 return (*p = v, v ? LT_TRUE : LT_FALSE); in op_strict()
|
/scripts/genksyms/ |
D | lex.l | 60 [ \t\f\v\r]+ ;
|