Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 1384) sorted by relevance

12345678910>>...56

/linux-6.6.21/arch/riscv/kernel/
Dkexec_relocate.S33 mv s4, zero
37 mv s8, zero
38 mv s9, zero
39 mv s10, zero
40 mv s11, zero
43 csrw CSR_SIE, zero
44 csrw CSR_SIP, zero
78 csrw CSR_SATP, zero
79 jalr zero, s8, 0
113 mv a3, zero
[all …]
Dhead.S134 csrw CSR_IE, zero
135 csrw CSR_IP, zero
186 csrw CSR_SCRATCH, zero
199 csrw CSR_IE, zero
200 csrw CSR_IP, zero
288 REG_S zero, (a3)
398 fmv.s.x f0, zero
399 fmv.s.x f1, zero
400 fmv.s.x f2, zero
401 fmv.s.x f3, zero
[all …]
/linux-6.6.21/arch/loongarch/lib/
Dclear_user.S33 1: st.b zero, a0, 0
55 0: st.d zero, a0, 0
59 bstrins.d a0, zero, 2, 0
66 1: st.d zero, a0, 0
67 2: st.d zero, a0, 8
68 3: st.d zero, a0, 16
69 4: st.d zero, a0, 24
70 5: st.d zero, a0, 32
71 6: st.d zero, a0, 40
72 7: st.d zero, a0, 48
[all …]
/linux-6.6.21/arch/powerpc/crypto/
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 …]
Daesp10-ppc.pl121 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6));
185 vxor $zero,$zero,$zero
191 ?vperm $outmask,$zero,$outmask,$outperm
202 vsldoi $tmp,$zero,$in0,12 # >>32
211 vsldoi $tmp,$zero,$tmp,12 # >>32
213 vsldoi $tmp,$zero,$tmp,12 # >>32
222 vsldoi $tmp,$zero,$in0,12 # >>32
231 vsldoi $tmp,$zero,$tmp,12 # >>32
233 vsldoi $tmp,$zero,$tmp,12 # >>32
239 vsldoi $tmp,$zero,$in0,12 # >>32
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/loongarch/mm/
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-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_sockmap_listen.c58 __u32 zero = 0; in prog_stream_verdict() local
62 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, 0); in prog_stream_verdict()
64 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, 0); in prog_stream_verdict()
77 __u32 zero = 0; in prog_skb_verdict() local
81 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, in prog_skb_verdict()
84 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, in prog_skb_verdict()
98 __u32 zero = 0; in prog_msg_verdict() local
102 verdict = bpf_msg_redirect_map(msg, &sock_map, zero, 0); in prog_msg_verdict()
104 verdict = bpf_msg_redirect_hash(msg, &sock_hash, &zero, 0); in prog_msg_verdict()
118 __u32 zero = 0; in prog_reuseport() local
[all …]
Dtest_tc_neigh.c89 __u8 zero[ETH_ALEN * 2]; in tc_dst() local
104 __builtin_memset(&zero, 0, sizeof(zero)); in tc_dst()
105 if (bpf_skb_store_bytes(skb, 0, &zero, sizeof(zero), 0) < 0) in tc_dst()
114 __u8 zero[ETH_ALEN * 2]; in tc_src() local
129 __builtin_memset(&zero, 0, sizeof(zero)); in tc_src()
130 if (bpf_skb_store_bytes(skb, 0, &zero, sizeof(zero), 0) < 0) in tc_src()
Dtest_sockmap_kern.h112 int len, *f, ret, zero = 0; in bpf_prog2() local
124 f = bpf_map_lookup_elem(&sock_skb_opts, &zero); in bpf_prog2()
239 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
242 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
245 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
248 start = bpf_map_lookup_elem(&sock_bytes, &zero); in bpf_prog4()
269 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local
274 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
277 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog6()
281 start = bpf_map_lookup_elem(&sock_bytes, &zero); in bpf_prog6()
[all …]
/linux-6.6.21/arch/xtensa/lib/
Dstrnlen_user.S74 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
102 # the zero byte in order to include the NULL terminator in the count.
104 .Lz3: # byte 3 is zero
105 addi a4, a4, 3 # point to zero byte
106 .Lz0: # byte 0 is zero
[all …]
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-6.6.21/arch/nios2/kernel/
Dinsnemu.S115 stw zero, 0(sp) /* Save zero on stack to avoid special case for r0. */
212 bne r7, zero, multiply
262 bne r7, zero, unsigned_division
270 bge r3,zero,dividend_is_nonnegative
271 sub r3, zero, r3 /* -r3 */
273 bge r5, zero, divisor_is_nonnegative
274 sub r5, zero, r5 /* -r5 */
304 cmplt r7, r3, zero /* r7 = MSB of r3 */
325 bne r14, zero, divide_loop
340 bge r17, zero, quotient_is_nonnegative
[all …]
/linux-6.6.21/lib/
Dstackinit_kunit.c72 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
73 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
78 #define ZERO_CLONE_STRUCT(zero) \ argument
80 memset(&(zero), 0xFF, sizeof(zero)); \
81 zero.one = 0; \
82 zero.two = 0; \
83 zero.three = 0; \
84 zero.four = 0; \
151 var_type zero INIT_CLONE_ ## which; \
156 BUILD_BUG_ON(sizeof(zero) > MAX_VAR_SIZE); \
[all …]
/linux-6.6.21/drivers/misc/lkdtm/
Drefcount.c108 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO() local
111 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
114 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
116 check_zero(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
208 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_INC_ZERO() local
211 if (!refcount_inc_not_zero(&zero)) { in lkdtm_REFCOUNT_INC_ZERO()
213 if (refcount_read(&zero) == 0) in lkdtm_REFCOUNT_INC_ZERO()
222 refcount_inc(&zero); in lkdtm_REFCOUNT_INC_ZERO()
224 check_from_zero(&zero); in lkdtm_REFCOUNT_INC_ZERO()
233 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_ADD_ZERO() local
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dtlbflush.h318 const int zero = 0; in __local_flush_tlb_all() local
321 tlb_op(TLB_V4_U_FULL | TLB_V6_U_FULL, "c8, c7, 0", zero); in __local_flush_tlb_all()
322 tlb_op(TLB_V4_D_FULL | TLB_V6_D_FULL, "c8, c6, 0", zero); in __local_flush_tlb_all()
323 tlb_op(TLB_V4_I_FULL | TLB_V6_I_FULL, "c8, c5, 0", zero); in __local_flush_tlb_all()
328 const int zero = 0; in local_flush_tlb_all() local
335 tlb_op(TLB_V7_UIS_FULL, "c8, c7, 0", zero); in local_flush_tlb_all()
345 const int zero = 0; in __flush_tlb_all() local
352 tlb_op(TLB_V7_UIS_FULL, "c8, c3, 0", zero); in __flush_tlb_all()
362 const int zero = 0; in __local_flush_tlb_mm() local
368 tlb_op(TLB_V4_U_FULL, "c8, c7, 0", zero); in __local_flush_tlb_mm()
[all …]
/linux-6.6.21/net/sunrpc/xprtrdma/
Dsvc_rdma.c66 static unsigned int zero; variable
173 .extra1 = &zero,
174 .extra2 = &zero,
182 .extra1 = &zero,
183 .extra2 = &zero,
191 .extra1 = &zero,
192 .extra2 = &zero,
200 .extra1 = &zero,
201 .extra2 = &zero,
209 .extra1 = &zero,
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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
/linux-6.6.21/arch/arm/mach-zynq/
Dplatsmp.c40 static u8 __iomem *zero; in zynq_cpun_start() local
47 zero = ioremap(0, trampoline_code_size); in zynq_cpun_start()
48 if (!zero) { in zynq_cpun_start()
53 zero = (__force u8 __iomem *)PAGE_OFFSET; in zynq_cpun_start()
62 memcpy_toio(zero, &zynq_secondary_trampoline, in zynq_cpun_start()
64 writel(address, zero + trampoline_size); in zynq_cpun_start()
71 iounmap(zero); in zynq_cpun_start()
/linux-6.6.21/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
/linux-6.6.21/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 …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dcore_retro.c9 int err, zero = 0, res, my_pid = getpid(); in test_core_retro() local
17 err = bpf_map__update_elem(skel->maps.exp_tgid_map, &zero, sizeof(zero), in test_core_retro()
30 err = bpf_map__lookup_elem(skel->maps.results, &zero, sizeof(zero), &res, sizeof(res), 0); in test_core_retro()

12345678910>>...56