Home
last modified time | relevance | path

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

12345678910>>...49

/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)
276 sw zero, TASK_TI_CPU(tp)
354 fmv.s.x f0, zero
355 fmv.s.x f1, zero
356 fmv.s.x f2, zero
[all …]
/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/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.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/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 …]
/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_tc_neigh.c103 __u8 zero[ETH_ALEN * 2]; in tc_dst() local
118 __builtin_memset(&zero, 0, sizeof(zero)); in tc_dst()
119 if (bpf_skb_store_bytes(skb, 0, &zero, sizeof(zero), 0) < 0) in tc_dst()
127 __u8 zero[ETH_ALEN * 2]; in tc_src() local
142 __builtin_memset(&zero, 0, sizeof(zero)); in tc_src()
143 if (bpf_skb_store_bytes(skb, 0, &zero, sizeof(zero), 0) < 0) in tc_src()
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()
267 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local
272 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
275 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog6()
279 start = bpf_map_lookup_elem(&sock_bytes, &zero); in bpf_prog6()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dtlbflush.h325 const int zero = 0; in __local_flush_tlb_all() local
328 tlb_op(TLB_V4_U_FULL | TLB_V6_U_FULL, "c8, c7, 0", zero); in __local_flush_tlb_all()
329 tlb_op(TLB_V4_D_FULL | TLB_V6_D_FULL, "c8, c6, 0", zero); in __local_flush_tlb_all()
330 tlb_op(TLB_V4_I_FULL | TLB_V6_I_FULL, "c8, c5, 0", zero); in __local_flush_tlb_all()
335 const int zero = 0; in local_flush_tlb_all() local
342 tlb_op(TLB_V7_UIS_FULL, "c8, c7, 0", zero); in local_flush_tlb_all()
352 const int zero = 0; in __flush_tlb_all() local
359 tlb_op(TLB_V7_UIS_FULL, "c8, c3, 0", zero); in __flush_tlb_all()
369 const int zero = 0; in __local_flush_tlb_mm() local
375 tlb_op(TLB_V4_U_FULL, "c8, c7, 0", zero); in __local_flush_tlb_mm()
[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/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.S55 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 :
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 :
217 cmpbge zero, t2, t8 # e1 : test new word for eos (stall)
233 cmpbge zero, t0, t8 # e0 : is the null in this first bit?
[all …]
Dev67-strchr.S49 cmpbge zero, t0, t2 # E : bits set iff byte == zero
50 cmpbge zero, t4, t4 # E : bits set iff byte is garbage
54 xor t0, a1, t1 # E : make bytes == c zero
55 cmpbge zero, t1, t3 # E : bits set iff byte == c
56 or t2, t3, t0 # E : bits set iff char match or zero match
72 cmpbge zero, t0, t2 # E : bits set iff byte == 0
74 cmpbge zero, t1, t3 # E : bits set iff byte == c
Dstxcpy.S47 lda t2, -1 # e1 : build a mask against false zero
52 cmpbge zero, t2, t8 # .. e1 : bits set iff null found
65 cmpbge zero, t1, t8 # e0 (stall)
143 cmpbge zero, t6, t8 # .. e1 :
149 cmpbge zero, t2, t8 # e0 : testing eos
160 cmpbge zero, t2, t8 # .. e1 :
187 cmpbge zero, t2, t8 # e0 : test new word for eos
202 cmpbge zero, t1, t8 # e0 : is the null in this first bit?
209 cmpbge zero, t1, t8 # .. e1 :
244 mov zero, t0 # .. e1 :
[all …]
/kernel/linux/linux-5.10/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()
/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/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/mm/
Drodata_test.c19 int zero = 0; in rodata_test() local
30 (void *)&zero, sizeof(zero))) { in rodata_test()
36 if (rodata_test_data == zero) { in rodata_test()
/kernel/linux/linux-5.10/net/mac80211/
Daes_gmac.c21 u8 *zero, *__aad, iv[AES_BLOCK_SIZE]; in ieee80211_aes_gmac() local
34 zero = (u8 *)aead_req + reqsize; in ieee80211_aes_gmac()
35 __aad = zero + GMAC_MIC_LEN; in ieee80211_aes_gmac()
43 sg_set_buf(&sg[1], zero, 8); in ieee80211_aes_gmac()
45 sg_set_buf(&sg[3], zero, GMAC_MIC_LEN); in ieee80211_aes_gmac()
51 sg_set_buf(&sg[2], zero, GMAC_MIC_LEN); in ieee80211_aes_gmac()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Dsleeper.S73 sw zero, 0x0078(t3) /* sys_slppwr */
75 sw zero, 0x007c(t3) /* sys_sleep */
102 sw zero, 0x001c(a0) /* Precharge */
104 sw zero, 0x0020(a0) /* Auto Refresh */
106 sw zero, 0x0030(a0) /* Sleep */
128 sw zero, 0x08c0(a0) /* Precharge */
130 sw zero, 0x08d0(a0) /* Self Refresh */
137 beq t2, zero, 2b
174 sw zero, 0x868(a0) /* mem_sdportcfga */
190 sw zero, 0x08c8(a0) /* mem_sdautoref */
/kernel/linux/linux-5.10/samples/bpf/
Dibumad_kern.c80 u64 zero = 0, *val; in on_ib_umad_read_recv() local
87 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_recv()
100 u64 zero = 0, *val; in on_ib_umad_read_send() local
107 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_send()
120 u64 zero = 0, *val; in on_ib_umad_write() local
127 bpf_map_update_elem(&write_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_write()
/kernel/linux/linux-5.10/arch/mips/kernel/
Drelocate_kernel.S35 beq s3, zero, 1f
42 beq s3, zero, 1f
49 beq s3, zero, 1f
54 beq s3, zero, process_entry
65 beq s6, zero, process_entry
81 LONG_S zero,(t0)
126 bne s0, zero,1b

12345678910>>...49