Home
last modified time | relevance | path

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

12345678910>>...162

/linux/drivers/media/platform/chips-media/coda/
H A 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 …]
/linux/arch/riscv/kernel/
H A Dkexec_relocate.S29 mv s5, zero
30 mv s6, zero
33 csrw CSR_SIE, zero
34 csrw CSR_SIP, zero
73 csrw CSR_SATP, zero
107 mv a3, zero
108 mv a4, zero
109 mv a5, zero
110 mv a6, zero
111 mv a7, zero
[all …]
H A Dhead.S131 csrw CSR_IE, zero
132 csrw CSR_IP, zero
192 csrw CSR_SCRATCH, zero
199 csrw CSR_IE, zero
200 csrw CSR_IP, zero
287 REG_S zero, (a3)
402 fmv.s.x f0, zero
403 fmv.s.x f1, zero
404 fmv.s.x f2, zero
405 fmv.s.x f3, zero
[all …]
/linux/arch/loongarch/lib/
H A Dclear_user.S34 1: st.b zero, a0, 0
56 0: st.d zero, a0, 0
60 bstrins.d a0, zero, 2, 0
67 1: st.d zero, a0, 0
68 2: st.d zero, a0, 8
69 3: st.d zero, a0, 16
70 4: st.d zero, a0, 24
71 5: st.d zero, a0, 32
72 6: st.d zero, a0, 40
73 7: st.d zero, a0, 48
[all …]
/linux/drivers/misc/lkdtm/
H A 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 …]
/linux/arch/s390/include/asm/
H A Dscsw.h28 * @zcc: zero condition code
228 * Return non-zero if the specified scsw is a transport mode scsw, zero
390 * Return non-zero if the key field of the specified command mode scsw is
391 * valid, zero otherwise.
402 * Return non-zero if the sctl field of the specified command mode scsw is
403 * valid, zero otherwise.
414 * Return non-zero if the eswf field of the specified command mode scsw is
415 * valid, zero otherwise.
426 * Return non-zero if the cc field of the specified command mode scsw is
427 * valid, zero otherwise.
[all …]
/linux/arch/xtensa/lib/
H A 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 …]
H A Dstrncpy_user.S55 beqz a4, .Lret # if len is zero
72 beqz a9, .Lret # if byte 0 is zero
75 beqz a4, .Lret # if len is zero
82 beqz a9, .Lret # if byte 0 is zero
85 beqz a4, .Lret # if len is zero
89 beqz a9, .Lret # if byte 0 is zero
113 bnone a9, a5, .Lz0 # if byte 0 is zero
114 bnone a9, a6, .Lz1 # if byte 1 is zero
115 bnone a9, a7, .Lz2 # if byte 2 is zero
117 bnone a9, a8, .Lz3 # if byte 3 is zero
[all …]
/linux/arch/loongarch/mm/
H A Dpage.S16 st.d zero, a0, 0
17 st.d zero, a0, 8
18 st.d zero, a0, 16
19 st.d zero, a0, 24
20 st.d zero, a0, 32
21 st.d zero, a0, 40
22 st.d zero, a0, 48
23 st.d zero, a0, 56
25 st.d zero, a0, -64
26 st.d zero, a0, -56
[all …]
/linux/drivers/hid/
H A Dhid-uclogic-params.h28 /* Normal reports: zero - out of proximity, one - in proximity */
30 /* Inverted reports: zero - in proximity, one - out of proximity */
52 * subreport. If zero, the subreport should be considered invalid and
59 * report is equal to "value". Only valid if "value" is not zero.
88 /* Report ID, if reports should be tweaked, zero if not */
90 /* The list of subreports, only valid if "id" is not zero */
92 /* Type of in-range reporting, only valid if "id" is not zero */
97 * Only valid if "id" is not zero.
103 * Only valid if "id" is not zero.
128 * Report ID, if reports should be tweaked, zero if not.
[all …]
/linux/arch/powerpc/crypto/
H A Dghashp10-ppc.pl57 my ($zero,$t0,$t1,$t2,$xC2,$H,$Hh,$Hl,$lemask)=map("v$_",(4..12));
85 vxor $zero,$zero,$zero
87 vsldoi $xC2,$xC2,$zero,15 # 0xe1...
88 vsldoi $t1,$zero,$t0,1 # ...1
99 vsldoi $xC2,$zero,$xC2,8 # 0xc2.0
100 vsldoi $Hl,$zero,$H,8 # ... and split
101 vsldoi $Hh,$H,$zero,8
127 vxor $zero,$zero,$zero
129 vsldoi $xC2,$xC2,$zero,15 # 0xe1...
130 vsldoi $t1,$zero,$t0,1 # ...1
[all …]
H A 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 …]
/linux/arch/m68k/fpsp040/
H A 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 …]
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_sdiv.c15 __description("SDIV32, non-zero imm divisor, check 1")
27 __description("SDIV32, non-zero imm divisor, check 2")
39 __description("SDIV32, non-zero imm divisor, check 3")
51 __description("SDIV32, non-zero imm divisor, check 4")
63 __description("SDIV32, non-zero imm divisor, check 5")
75 __description("SDIV32, non-zero imm divisor, check 6")
87 __description("SDIV32, non-zero imm divisor, check 7")
99 __description("SDIV32, non-zero imm divisor, check 8")
111 __description("SDIV32, non-zero reg divisor, check 1")
124 __description("SDIV32, non-zero reg divisor, check 2")
[all …]
H A Dverifier_subreg.c8 /* This file contains sub-register zero extension checks for insns defining
22 __description("add32 reg zero extend check")
39 __description("add32 imm zero extend check")
51 * But, they should still zero high 32-bit. \ in add32_imm_zero_extend_check()
69 __description("sub32 reg zero extend check")
86 __description("sub32 imm zero extend check")
110 __description("mul32 reg zero extend check")
127 __description("mul32 imm zero extend check")
151 __description("div32 reg zero extend check")
168 __description("div32 imm zero extend check")
[all …]
H A Dverifier_div0.c9 __description("DIV32 by 0, zero check 1")
23 __description("DIV32 by 0, zero check 2")
37 __description("DIV64 by 0, zero check")
51 __description("MOD32 by 0, zero check 1")
65 __description("MOD32 by 0, zero check 2")
79 __description("MOD64 by 0, zero check")
93 __description("DIV32 by 0, zero check ok, cls")
108 __description("DIV32 by 0, zero check 1, cls")
121 __description("DIV32 by 0, zero check 2, cls")
134 __description("DIV64 by 0, zero check, cls")
[all …]
H A Dtest_sockmap_listen.c65 __u32 zero = 0; in prog_stream_verdict() local
69 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, 0); in prog_stream_verdict()
71 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, 0); in prog_stream_verdict()
84 __u32 zero = 0; in prog_skb_verdict() local
88 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, in prog_skb_verdict()
91 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, in prog_skb_verdict()
105 __u32 zero = 0; in prog_msg_verdict() local
109 verdict = bpf_msg_redirect_map(msg, &sock_map, zero, 0); in prog_msg_verdict()
111 verdict = bpf_msg_redirect_hash(msg, &sock_hash, &zero, 0); in prog_msg_verdict()
125 __u32 zero = 0; in prog_reuseport() local
[all …]
/linux/drivers/scsi/
H A 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 …]
/linux/Documentation/admin-guide/device-mapper/
H A 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
/linux/arch/alpha/lib/
H A 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 :
H A 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 :
H A 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 …]
/linux/lib/
H A Dstackinit_kunit.c4 * -ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
81 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
82 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
87 #define ZERO_CLONE_STRUCT(zero) \ argument
89 memset(&(zero), 0xFF, sizeof(zero)); \
90 zero.one = 0; \
91 zero.two = 0; \
92 zero.three = 0; \
93 zero.four = 0; \
160 var_type zero INIT_CLONE_ ## which; \
[all …]
/linux/arch/m68k/math-emu/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws.h256 * Return: zero on success non zero otherwise.
290 * Return: zero on success non zero otherwise.
311 * Return: zero on success non zero otherwise.
338 * Return: Zero on success, non-zero otherwise.
359 * Return: zero on success non zero otherwise.
394 * Return: Zero on success, non-zero otherwise.
404 * Return: Zero on success, non-zero otherwise.
427 * Return: Zero on successful move, non-zero otherwise.
442 * Return: Zero on success, non-zero otherwise.
459 * Return: Zero on successful enqueue, non-zero otherwise.
[all …]

12345678910>>...162