Home
last modified time | relevance | path

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

12345678910>>...209

/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-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-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-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-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-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-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 :
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 :
Dev67-strrchr.S40 mov zero, t6 # E : t6 is last match aligned addr
43 mov zero, t8 # E : t8 is last match byte compare mask
55 cmpbge zero, t0, t1 # E : bits set iff byte == zero
57 xor t0, a1, t2 # E : make bytes == c zero
58 cmpbge zero, t4, t4 # E : bits set iff byte is garbage
60 cmpbge zero, t2, t3 # E : bits set iff byte == c
77 cmpbge zero, t0, t1 # E : bits set iff byte == zero
78 cmpbge zero, t2, t3 # E : bits set iff byte == c
103 subq t5, t2, t5 # E : Normalize leading zero count
Dstxncpy.S19 * Furthermore, COUNT may not be zero.
55 lda t2, -1 # e1 : build a mask against false zero
60 cmpbge zero, t2, t8 # .. e1 : bits set iff null found
74 cmpbge zero, t0, t8 # .. e1 (stall)
129 addq zero, 1, t10 # .. e1 :
150 full source word. We can still find a zero at the end of it
165 or t0, t6, t6 # e1 : mask original data for zero test
166 cmpbge zero, t6, t8 # e0 :
175 cmpbge zero, t2, t8 # e0 : find nulls in second partial
188 cmpbge zero, t2, t8 # .. e1 :
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sockmap_listen.c43 __u32 zero = 0; in prog_skb_verdict() local
47 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, 0); in prog_skb_verdict()
49 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, 0); in prog_skb_verdict()
62 __u32 zero = 0; in prog_msg_verdict() local
66 verdict = bpf_msg_redirect_map(msg, &sock_map, zero, 0); in prog_msg_verdict()
68 verdict = bpf_msg_redirect_hash(msg, &sock_hash, &zero, 0); in prog_msg_verdict()
82 __u32 zero = 0; in prog_reuseport() local
85 err = bpf_sk_select_reuseport(reuse, &sock_map, &zero, 0); in prog_reuseport()
87 err = bpf_sk_select_reuseport(reuse, &sock_hash, &zero, 0); in prog_reuseport()
Dtest_sockmap_kern.h111 int len, *f, ret, zero = 0; in bpf_prog2() local
120 f = bpf_map_lookup_elem(&sock_skb_opts, &zero); in bpf_prog2()
237 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
240 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
243 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
246 start = bpf_map_lookup_elem(&sock_bytes, &zero); in bpf_prog4()
264 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local
268 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
271 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog6()
275 start = bpf_map_lookup_elem(&sock_bytes, &zero); in bpf_prog6()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dethtool.h272 * or zero.
277 * or zero.
287 * Should fill in the magic field. Don't need to check len for zero
290 * Returns an error or zero.
292 * Should validate the magic field. Don't need to check len for zero
294 * or zero.
296 * error code or zero.
299 * Returns a negative error code or zero.
301 * @set_ringparam: Set ring sizes. Returns a negative error code or zero.
302 * @get_pause_stats: Report pause frame statistics. Drivers must not zero
[all …]
Dbtf_ids.h34 ".zero 4 \n" \
45 * to 4 zero bytes.
60 * .zero 4
62 * .zero 4
87 * The BTF_ID_UNUSED macro defines 4 zero bytes.
100 ".zero 4 \n" \
113 * .zero 4
116 * .zero 4
118 * .zero 4
126 ".zero 4 \n" \
/kernel/linux/linux-5.10/drivers/crypto/vmx/
Dghashp8-ppc.pl57 my ($zero,$t0,$t1,$t2,$xC2,$H,$Hh,$Hl,$lemask)=map("v$_",(4..12));
83 vxor $zero,$zero,$zero
85 vsldoi $xC2,$xC2,$zero,15 # 0xe1...
86 vsldoi $t1,$zero,$t0,1 # ...1
97 vsldoi $xC2,$zero,$xC2,8 # 0xc2.0
98 vsldoi $Hl,$zero,$H,8 # ... and split
99 vsldoi $Hh,$H,$zero,8
130 vxor $zero,$zero,$zero
138 vsldoi $t0,$Xm,$zero,8
139 vsldoi $t1,$zero,$Xm,8
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
D88pm860x-i2c.c143 unsigned char zero; in pm860x_page_reg_write() local
147 read_device(i2c, 0xFA, 0, &zero); in pm860x_page_reg_write()
148 read_device(i2c, 0xFB, 0, &zero); in pm860x_page_reg_write()
149 read_device(i2c, 0xFF, 0, &zero); in pm860x_page_reg_write()
151 read_device(i2c, 0xFE, 0, &zero); in pm860x_page_reg_write()
152 read_device(i2c, 0xFC, 0, &zero); in pm860x_page_reg_write()
161 unsigned char zero = 0; in pm860x_page_bulk_read() local
165 read_device(i2c, 0xfa, 0, &zero); in pm860x_page_bulk_read()
166 read_device(i2c, 0xfb, 0, &zero); in pm860x_page_bulk_read()
167 read_device(i2c, 0xff, 0, &zero); in pm860x_page_bulk_read()
[all …]
/kernel/linux/linux-5.10/arch/m68k/math-emu/
Dfp_util.S99 clr.l %d1 | sign defaults to zero
101 jeq fp_l2e_zero | is source zero?
114 | source is zero
135 jeq fp_s2e_small | zero / denormal?
149 | exponent is zero, so explizit bit is already zero too
173 jeq fp_d2e_small | zero / denormal?
194 | exponent is zero, so explizit bit is already zero too
220 jpl fp_e2e_small | zero / denorm?
240 jpl 9f | zero is closer
244 jeq 9f | round to zero
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-s-hw-freq-seek.rst37 zero out the ``reserved`` array of a struct
41 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value
82 - If non-zero, seek upward from the current frequency, else seek
86 - If non-zero, wrap around when at the end of the frequency range,
91 - If non-zero, defines the hardware seek resolution in Hz. The
93 If spacing is zero a reasonable default value is used.
96 - If non-zero, the lowest tunable frequency of the band to search in
102 ``rangelow`` is zero a reasonable default value is used.
105 - If non-zero, the highest tunable frequency of the band to search
111 ``rangehigh`` is zero a reasonable default value is used.
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-g-topology.rst61 this field starts with zero. Every time a graph element is added
75 stored, converted to a 64-bits integer. It can be zero. if zero,
90 stored, converted to a 64-bits integer. It can be zero. if zero,
105 converted to a 64-bits integer. It can be zero. if zero, the ioctl
119 converted to a 64-bits integer. It can be zero. if zero, the ioctl
157 this array to zero.
185 this array to zero.
242 this array to zero.
278 this array to zero.
289 num_interfaces, num_links or num_pads are non-zero and are
[all …]
/kernel/linux/linux-5.10/tools/include/linux/
Dbtf_ids.h34 ".zero 4 \n" \
45 * to 4 zero bytes.
60 * .zero 4
62 * .zero 4
87 * The BTF_ID_UNUSED macro defines 4 zero bytes.
100 ".zero 4 \n" \
113 * .zero 4
116 * .zero 4
118 * .zero 4
126 ".zero 4 \n" \

12345678910>>...209