Home
last modified time | relevance | path

Searched full:zero (Results 1 – 25 of 5753) sorted by relevance

12345678910>>...231

/kernel/linux/linux-4.19/drivers/media/platform/coda/
Dcoda-gdi.c27 XY2(ZERO, 0, ZERO, 0),
28 XY2(ZERO, 0, ZERO, 0),
29 XY2(ZERO, 0, ZERO, 0),
30 XY2(ZERO, 0, ZERO, 0),
31 XY2(ZERO, 0, ZERO, 0),
32 XY2(ZERO, 0, ZERO, 0),
33 XY2(ZERO, 0, ZERO, 0),
34 XY2(ZERO, 0, ZERO, 0),
35 XY2(ZERO, 0, ZERO, 0),
36 XY2(ZERO, 0, ZERO, 0),
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-gdi.c23 XY2(ZERO, 0, ZERO, 0),
24 XY2(ZERO, 0, ZERO, 0),
25 XY2(ZERO, 0, ZERO, 0),
26 XY2(ZERO, 0, ZERO, 0),
27 XY2(ZERO, 0, ZERO, 0),
28 XY2(ZERO, 0, ZERO, 0),
29 XY2(ZERO, 0, ZERO, 0),
30 XY2(ZERO, 0, ZERO, 0),
31 XY2(ZERO, 0, ZERO, 0),
32 XY2(ZERO, 0, ZERO, 0),
[all …]
/kernel/linux/linux-4.19/drivers/misc/lkdtm/
Drefcount.c4 * underflow, reaching zero untested, etc).
75 pr_warn("Weird: refcount_inc_not_zero() reported zero\n"); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
87 pr_warn("Weird: refcount_add_not_zero() reported zero\n"); in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
96 pr_info("Zero detected: saturated\n"); in check_zero()
99 pr_warn("Zero detected: unsafely reset to max\n"); in check_zero()
102 pr_warn("Still at zero: refcount_inc/add() must not inc-from-0\n"); in check_zero()
111 * zero it should either saturate (when inc-from-zero isn't protected)
112 * or stay at zero (when inc-from-zero is protected) and should WARN for both.
116 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO() local
119 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
[all …]
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Drefcount.c4 * underflow, reaching zero untested, etc).
67 pr_warn("Weird: refcount_inc_not_zero() reported zero\n"); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
79 pr_warn("Weird: refcount_add_not_zero() reported zero\n"); in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
88 pr_info("Zero detected: saturated\n"); in check_zero()
91 pr_warn("Zero detected: unsafely reset to max\n"); in check_zero()
94 pr_warn("Still at zero: refcount_inc/add() must not inc-from-0\n"); in check_zero()
103 * zero it should either saturate (when inc-from-zero isn't protected)
104 * or stay at zero (when inc-from-zero is protected) and should WARN for both.
108 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO() local
111 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
[all …]
/kernel/linux/linux-4.19/arch/s390/include/asm/
Dscsw.h27 * @zcc: zero condition code
222 * Return non-zero if the specified scsw is a transport mode scsw, zero
384 * Return non-zero if the key field of the specified command mode scsw is
385 * valid, zero otherwise.
396 * Return non-zero if the sctl field of the specified command mode scsw is
397 * valid, zero otherwise.
408 * Return non-zero if the eswf field of the specified command mode scsw is
409 * valid, zero otherwise.
420 * Return non-zero if the cc field of the specified command mode scsw is
421 * valid, zero otherwise.
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dscsw.h27 * @zcc: zero condition code
222 * Return non-zero if the specified scsw is a transport mode scsw, zero
384 * Return non-zero if the key field of the specified command mode scsw is
385 * valid, zero otherwise.
396 * Return non-zero if the sctl field of the specified command mode scsw is
397 * valid, zero otherwise.
408 * Return non-zero if the eswf field of the specified command mode scsw is
409 * valid, zero otherwise.
420 * Return non-zero if the cc field of the specified command mode scsw is
421 * valid, zero otherwise.
[all …]
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dhead.S125 csrw CSR_IE, zero
126 csrw CSR_IP, zero
175 csrw CSR_SCRATCH, zero
189 csrw CSR_IE, zero
190 csrw CSR_IP, zero
252 REG_S zero, (a3)
275 sw zero, TASK_TI_CPU(tp)
353 fmv.s.x f0, zero
354 fmv.s.x f1, zero
355 fmv.s.x f2, zero
[all …]
/kernel/linux/linux-4.19/arch/xtensa/lib/
Dstrnlen_user.S8 * Returns strnlen, including trailing zero terminator.
9 * Zero indicates error.
74 bnone a9, a5, .Lz0 # if byte 0 is zero
75 bnone a9, a6, .Lz1 # if byte 1 is zero
76 bnone a9, a7, .Lz2 # if byte 2 is zero
77 bnone a9, a8, .Lz3 # if byte 3 is zero
88 bnone a9, a5, .Lz0 # if byte 0 is zero
89 bnone a9, a6, .Lz1 # if byte 1 is zero
93 # Actually, we don't need to check. Zero or nonzero, we'll add one.
102 # the zero byte in order to include the NULL terminator in the count.
[all …]
Dstrncpy_user.S56 beqz a4, .Lret # if len is zero
73 beqz a9, .Lret # if byte 0 is zero
76 beqz a4, .Lret # if len is zero
83 beqz a9, .Lret # if byte 0 is zero
86 beqz a4, .Lret # if len is zero
90 beqz a9, .Lret # if byte 0 is zero
114 bnone a9, a5, .Lz0 # if byte 0 is zero
115 bnone a9, a6, .Lz1 # if byte 1 is zero
116 bnone a9, a7, .Lz2 # if byte 2 is zero
118 bnone a9, a8, .Lz3 # if byte 3 is zero
[all …]
/kernel/linux/linux-5.10/arch/xtensa/lib/
Dstrnlen_user.S8 * Returns strnlen, including trailing zero terminator.
9 * Zero indicates error.
74 bnone a9, a5, .Lz0 # if byte 0 is zero
75 bnone a9, a6, .Lz1 # if byte 1 is zero
76 bnone a9, a7, .Lz2 # if byte 2 is zero
77 bnone a9, a8, .Lz3 # if byte 3 is zero
88 bnone a9, a5, .Lz0 # if byte 0 is zero
89 bnone a9, a6, .Lz1 # if byte 1 is zero
93 # Actually, we don't need to check. Zero or nonzero, we'll add one.
102 # the zero byte in order to include the NULL terminator in the count.
[all …]
Dstrncpy_user.S56 beqz a4, .Lret # if len is zero
73 beqz a9, .Lret # if byte 0 is zero
76 beqz a4, .Lret # if len is zero
83 beqz a9, .Lret # if byte 0 is zero
86 beqz a4, .Lret # if len is zero
90 beqz a9, .Lret # if byte 0 is zero
114 bnone a9, a5, .Lz0 # if byte 0 is zero
115 bnone a9, a6, .Lz1 # if byte 1 is zero
116 bnone a9, a7, .Lz2 # if byte 2 is zero
118 bnone a9, a8, .Lz3 # if byte 3 is zero
[all …]
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Ddo_func.S8 | tbldo.sa. Cases of zero, infinity and NaN are handled in
101 | Load a signed zero to fp0 and set inex2/ainex
110 bsr ld_mzero |if neg, load neg zero, return here
113 | Load a signed zero to fp0; do not set inex2/ainex
118 bne ld_mzero |if neg, load neg zero
119 bra ld_pzero |load positive zero
169 fbeq t_dz2 |if = -1, divide by zero exception
183 | Test for 1.0 as an input argument, returning +zero. Also check
256 .long smod_oper | 00,01 norm,zero = nan with operr
259 .long smod_zro | 01,00 zero,norm = +-zero
[all …]
/kernel/linux/linux-4.19/arch/m68k/fpsp040/
Ddo_func.S8 | tbldo.sa. Cases of zero, infinity and NaN are handled in
101 | Load a signed zero to fp0 and set inex2/ainex
110 bsr ld_mzero |if neg, load neg zero, return here
113 | Load a signed zero to fp0; do not set inex2/ainex
118 bne ld_mzero |if neg, load neg zero
119 bra ld_pzero |load positive zero
169 fbeq t_dz2 |if = -1, divide by zero exception
183 | Test for 1.0 as an input argument, returning +zero. Also check
256 .long smod_oper | 00,01 norm,zero = nan with operr
259 .long smod_zro | 01,00 zero,norm = +-zero
[all …]
/kernel/linux/linux-4.19/drivers/scsi/
Dst_options.h13 /* If TRY_DIRECT_IO is non-zero, the driver tries to transfer data directly
15 buffer is used. If TRY_DIRECT_IO is zero, driver buffer is always used. */
19 to the user program if ST_NOWAIT is non-zero. This helps if the SCSI
26 because of buffered reads. Should be set to zero to support also drives
31 /* If ST_RECOVERED_WRITE_FATAL is non-zero, recovered errors while writing
40 Must be non-zero. */
59 /* If ST_TWO_FM is non-zero, the driver writes two filemarks after a
64 /* If ST_BUFFER_WRITES is non-zero, writes in fixed block mode are
69 /* If ST_ASYNC_WRITES is non-zero, the SCSI write command may be started
74 /* If ST_READ_AHEAD is non-zero, blocks are read ahead in fixed block
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dst_options.h13 /* If TRY_DIRECT_IO is non-zero, the driver tries to transfer data directly
15 buffer is used. If TRY_DIRECT_IO is zero, driver buffer is always used. */
19 to the user program if ST_NOWAIT is non-zero. This helps if the SCSI
26 because of buffered reads. Should be set to zero to support also drives
31 /* If ST_RECOVERED_WRITE_FATAL is non-zero, recovered errors while writing
40 Must be non-zero. */
59 /* If ST_TWO_FM is non-zero, the driver writes two filemarks after a
64 /* If ST_BUFFER_WRITES is non-zero, writes in fixed block mode are
69 /* If ST_ASYNC_WRITES is non-zero, the SCSI write command may be started
74 /* If ST_READ_AHEAD is non-zero, blocks are read ahead in fixed block
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
Dtest_sockmap_kern.h105 int len, *f, ret, zero = 0; in bpf_prog2() local
114 f = bpf_map_lookup_elem(&sock_skb_opts, &zero); in bpf_prog2()
184 int *bytes, zero = 0, one = 1; in bpf_prog4() local
187 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
190 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
193 start = bpf_map_lookup_elem(&sock_pull_bytes, &zero); in bpf_prog4()
203 int err1 = -1, err2 = -1, zero = 0, one = 1; in bpf_prog5() local
206 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog5()
209 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog5()
213 start = bpf_map_lookup_elem(&sock_pull_bytes, &zero); in bpf_prog5()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
Ddiv0.c2 "DIV32 by 0, zero check 1",
14 "DIV32 by 0, zero check 2",
26 "DIV64 by 0, zero check",
38 "MOD32 by 0, zero check 1",
50 "MOD32 by 0, zero check 2",
62 "MOD64 by 0, zero check",
74 "DIV32 by 0, zero check ok, cls",
88 "DIV32 by 0, zero check 1, cls",
100 "DIV32 by 0, zero check 2, cls",
112 "DIV64 by 0, zero check, cls",
[all …]
Dsubreg.c1 /* This file contains sub-register zero extension checks for insns defining
14 "add32 reg zero extend check",
27 "add32 imm zero extend check",
36 * But, they should still zero high 32-bit.
53 "sub32 reg zero extend check",
66 "sub32 imm zero extend check",
86 "mul32 reg zero extend check",
99 "mul32 imm zero extend check",
119 "div32 reg zero extend check",
132 "div32 imm zero extend check",
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dzero.rst2 dm-zero
5 Device-Mapper's "zero" target provides a block-device that always returns
6 zero'd data on reads and silently drops writes. This is similar behavior to
7 /dev/zero, but as a block-device instead of a character-device.
9 Dm-zero has no target-specific parameters.
11 One very interesting use of dm-zero is for creating "sparse" devices in
15 device. Reads to previously unwritten areas will return a zero'd buffer. When
20 To create a sparse device, start by creating a dm-zero device that's the
25 echo "0 $TEN_TERABYTES zero" | dmsetup create zero1
27 Then create a snapshot of the zero device, using any available block-device as
/kernel/linux/linux-4.19/Documentation/device-mapper/
Dzero.txt1 dm-zero
4 Device-Mapper's "zero" target provides a block-device that always returns
5 zero'd data on reads and silently drops writes. This is similar behavior to
6 /dev/zero, but as a block-device instead of a character-device.
8 Dm-zero has no target-specific parameters.
10 One very interesting use of dm-zero is for creating "sparse" devices in
14 device. Reads to previously unwritten areas will return a zero'd buffer. When
19 To create a sparse device, start by creating a dm-zero device that's the
24 echo "0 $TEN_TERABYTES zero" | dmsetup create zero1
26 Then create a snapshot of the zero device, using any available block-device as
/kernel/linux/linux-4.19/arch/alpha/lib/
Dstrrchr.S22 zapnot a1, 1, a1 # e0 : zero extend our test character
23 mov zero, t6 # .. e1 : t6 is last match aligned addr
25 mov zero, t8 # .. e1 : t8 is last match byte compare mask
33 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
36 xor t0, a1, t2 # e0 : make bytes == c zero
37 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
38 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
50 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
51 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
85 mov zero, v0 # e0 :
Dstrchr.S22 zapnot a1, 1, a1 # e0 : zero extend the search character
29 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero
33 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
35 xor t0, a1, t1 # .. e1 : make bytes == c zero
36 cmpbge zero, t1, t3 # e0 : bits set iff byte == c
37 or t2, t3, t0 # e1 : bits set iff char match or zero match
45 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0
46 cmpbge zero, t1, t3 # .. e1 : bits set iff byte == c
68 mov zero, v0 # e0 :
/kernel/linux/linux-5.10/arch/alpha/lib/
Dstrrchr.S22 zapnot a1, 1, a1 # e0 : zero extend our test character
23 mov zero, t6 # .. e1 : t6 is last match aligned addr
25 mov zero, t8 # .. e1 : t8 is last match byte compare mask
33 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
36 xor t0, a1, t2 # e0 : make bytes == c zero
37 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
38 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
50 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
51 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
85 mov zero, v0 # e0 :
/kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh5/
Dentry.S275 or SP, ZERO, r5
278 blink tr0, ZERO
396 or SP, ZERO, r5
399 blink tr0, ZERO
437 or SP, ZERO, r5
440 blink tr0, ZERO
570 or SP, ZERO, r5
573 blink tr0, ZERO
631 or SP, ZERO, r5
670 bne r6, ZERO, tr0 /* Original stack pointer is fine */
[all …]
/kernel/linux/linux-4.19/include/linux/
Dethtool.h190 * or zero.
193 * settings. Returns a negative error code or zero.
202 * or zero.
207 * or zero.
212 * Should fill in the magic field. Don't need to check len for zero
215 * Returns an error or zero.
217 * Should validate the magic field. Don't need to check len for zero
219 * or zero.
221 * error code or zero.
223 * error code or zero.
[all …]

12345678910>>...231