Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 55) sorted by relevance

123

/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci27 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/gdb/linux/
Dvmalloc.py38 v = vmap_area['vm']
39 gdb.write("0x%x-0x%x %10d" % (v['addr'], v['addr'] + v['size'], v['size']))
40 if v['caller']:
41 gdb.write(" %s" % str(v['caller']).split(' ')[-1])
42 if v['nr_pages']:
43 gdb.write(" pages=%d" % v['nr_pages'])
44 if v['phys_addr']:
45 gdb.write(" phys=0x%x" % v['phys_addr'])
46 if v['flags'] & constants.LX_VM_IOREMAP:
48 if v['flags'] & constants.LX_VM_ALLOC:
[all …]
/scripts/atomic/
Datomics.tbl7 # * 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/
Dpreprocess.c241 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 …]
/scripts/atomic/kerneldoc/
Ddec_if_positive4 * @v: pointer to ${atomic}_t
6 * If (@v > 0), atomically updates @v to (@v - 1) with ${desc_order} ordering.
10 * Return: The old value of (@v - 1), regardless of whether @v was updated.
Dinc_unless_negative4 * @v: pointer to ${atomic}_t
6 * If (@v >= 0), atomically updates @v to (@v + 1) with ${desc_order} ordering.
10 * Return: @true if @v was updated, @false otherwise.
Ddec_unless_positive4 * @v: pointer to ${atomic}_t
6 * If (@v <= 0), atomically updates @v to (@v - 1) with ${desc_order} ordering.
10 * Return: @true if @v was updated, @false otherwise.
Dinc_not_zero4 * @v: pointer to ${atomic}_t
6 * If (@v != 0), atomically updates @v to (@v + 1) with ${desc_order} ordering.
10 * Return: @true if @v was updated, @false otherwise.
Dadd_unless2 desc_return="Return: @true if @v was updated, @false otherwise."
8 * @v: pointer to ${atomic}_t
12 * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering.
Dinc_and_test4 * @v: pointer to ${atomic}_t
6 * Atomically updates @v to (@v + 1) with ${desc_order} ordering.
10 * Return: @true if the resulting value of @v is zero, @false otherwise.
Ddec_and_test4 * @v: pointer to ${atomic}_t
6 * Atomically updates @v to (@v - 1) with ${desc_order} ordering.
10 * Return: @true if the resulting value of @v is zero, @false otherwise.
Dsub_and_test5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v - @i) with ${desc_order} ordering.
11 * Return: @true if the resulting value of @v is zero, @false otherwise.
Dadd_negative5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v + @i) with ${desc_order} ordering.
11 * Return: @true if the resulting value of @v is negative, @false otherwise.
Dcmpxchg4 * @v: pointer to ${atomic}_t
8 * If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
12 * Return: The original value of @v.
Dtry_cmpxchg4 * @v: pointer to ${atomic}_t
8 * If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
9 * Otherwise, updates @old to the current value of @v.
Dinc4 * @v: pointer to ${atomic}_t
6 * Atomically updates @v to (@v + 1) with ${desc_order} ordering.
Ddec4 * @v: pointer to ${atomic}_t
6 * Atomically updates @v to (@v - 1) with ${desc_order} ordering.
Dxor5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v ^ @i) with ${desc_order} ordering.
Dand5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v & @i) with ${desc_order} ordering.
Dor5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v | @i) with ${desc_order} ordering.
Dadd5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v + @i) with ${desc_order} ordering.
Dandnot5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v & ~@i) with ${desc_order} ordering.
Dsub5 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to (@v - @i) with ${desc_order} ordering.
Dread4 * @v: pointer to ${atomic}_t
6 * Atomically loads the value of @v with ${desc_order} ordering.
10 * Return: The value loaded from @v.
Dxchg4 * @v: pointer to ${atomic}_t
7 * Atomically updates @v to @new with ${desc_order} ordering.
11 * Return: The original value of @v.

123