Home
last modified time | relevance | path

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

12345678910>>...118

/linux/arch/riscv/kernel/
A Dkexec_relocate.S33 mv s4, zero
37 mv s8, zero
38 mv s9, zero
39 mv s10, zero
40 mv s11, zero
113 mv a3, zero
114 mv a4, zero
115 mv a5, zero
116 mv a6, zero
117 mv a7, zero
[all …]
A Dhead.S150 csrw CSR_IE, zero
151 csrw CSR_IP, zero
216 csrw CSR_IE, zero
301 REG_S zero, (a3)
412 fmv.s.x f0, zero
413 fmv.s.x f1, zero
414 fmv.s.x f2, zero
415 fmv.s.x f3, zero
416 fmv.s.x f4, zero
417 fmv.s.x f5, zero
[all …]
/linux/drivers/crypto/vmx/
A Dghashp8-ppc.pl83 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
99 vsldoi $Hh,$H,$zero,8
130 vxor $zero,$zero,$zero
138 vsldoi $t0,$Xm,$zero,8
139 vsldoi $t1,$zero,$Xm,8
178 vxor $zero,$zero,$zero
199 vsldoi $t0,$Xm,$zero,8
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_sockmap_listen.c44 __u32 zero = 0; in prog_stream_verdict() local
48 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, 0); in prog_stream_verdict()
50 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, 0); in prog_stream_verdict()
63 __u32 zero = 0; in prog_skb_verdict() local
67 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, in prog_skb_verdict()
70 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, in prog_skb_verdict()
84 __u32 zero = 0; in prog_msg_verdict() local
88 verdict = bpf_msg_redirect_map(msg, &sock_map, zero, 0); in prog_msg_verdict()
90 verdict = bpf_msg_redirect_hash(msg, &sock_hash, &zero, 0); in prog_msg_verdict()
104 __u32 zero = 0; in prog_reuseport() local
[all …]
A 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()
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()
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()
290 f = bpf_map_lookup_elem(&sock_redir_flags, &zero); in bpf_prog6()
307 int ret = 0, *bytes, zero = 0; in bpf_prog8() local
324 int ret = 0, *bytes, zero = 0; in bpf_prog9() local
326 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog9()
[all …]
A 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()
/linux/arch/xtensa/lib/
A Dstrnlen_user.S74 bnone a9, a5, .Lz0 # if byte 0 is zero
75 bnone a9, a6, .Lz1 # if byte 1 is zero
88 bnone a9, a5, .Lz0 # if byte 0 is zero
89 bnone a9, a6, .Lz1 # if byte 1 is zero
104 .Lz3: # byte 3 is zero
105 addi a4, a4, 3 # point to zero byte
106 .Lz0: # byte 0 is zero
110 .Lz1: # byte 1 is zero
114 .Lz2: # byte 2 is zero
122 beqz a9, .Lz3 # if byte 0 is zero
[all …]
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
142 beqz a9, .Lret # if byte is zero
147 .Lz3: # byte 3 is zero
151 .Lz0: # byte 0 is zero
158 .Lz1: # byte 1 is zero
[all …]
/linux/lib/
A Dmemcpy_kunit.c62 struct some_bytes zero = { }; in memcpy_test() local
83 check(zero, 0); in memcpy_test()
92 compare("complete overwrite", dest, zero); in memcpy_test()
96 memcpy(dest.data + 12, zero.data, 7); in memcpy_test()
103 memcpy(ptr++, zero.data, count++); in memcpy_test()
105 memcpy(ptr++, zero.data, count++); in memcpy_test()
120 struct some_bytes zero = { }; in memmove_test() local
155 check(zero, 0); in memmove_test()
168 memmove(dest.data + 12, zero.data, 7); in memmove_test()
175 memmove(ptr++, zero.data, count++); in memmove_test()
[all …]
A Dtest_stackinit.c127 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
128 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
135 memset(&(zero), 0xFF, sizeof(zero)); \
136 zero.one = 0; \
137 zero.two = 0; \
138 zero.three = 0; \
139 zero.four = 0; \
214 ZERO_CLONE_ ## which(zero); \
219 FETCH_ARG_ ## which(zero)); \
473 test_scalars(zero); in test_stackinit_init()
[all …]
/linux/drivers/misc/lkdtm/
A 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
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()
238 if (refcount_read(&zero) == 0) in lkdtm_REFCOUNT_ADD_ZERO()
247 refcount_add(3, &zero); in lkdtm_REFCOUNT_ADD_ZERO()
[all …]
/linux/arch/nios2/kernel/
A Dinsnemu.S212 bne r7, zero, multiply
271 sub r3, zero, r3 /* -r3 */
274 sub r5, zero, r5 /* -r5 */
325 bne r14, zero, divide_loop
341 sub r3, zero, r3 /* -r3 */
447 beq r7, zero, mulx_skip
459 bge r5, zero, mul_skip
507 beq r7, zero, store_product
514 beq r7, zero, store_product
520 bge r3, zero, mulxsu_skip
[all …]
/linux/arch/arm/include/asm/
A Dtlbflush.h318 const int zero = 0; in __local_flush_tlb_all() local
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
415 const int zero = 0; in __local_flush_tlb_page() local
474 const int zero = 0; in __local_flush_tlb_kernel_page() local
530 const int zero = 0; in __local_flush_bp_all() local
539 const int zero = 0; in local_flush_bp_all() local
[all …]
/linux/drivers/mfd/
A 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/net/sunrpc/xprtrdma/
A 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/arch/alpha/lib/
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 :
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 :
A 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
A Dstxncpy.S55 lda t2, -1 # e1 : build a mask against false zero
74 cmpbge zero, t0, t8 # .. e1 (stall)
129 addq zero, 1, t10 # .. e1 :
166 cmpbge zero, t6, t8 # e0 :
188 cmpbge zero, t2, t8 # .. e1 :
242 cmpbge zero, t0, t8 # e0 :
282 1: cmpbge zero, t1, t8
301 mov zero, t0 # .. e1 :
302 mov zero, t6 # e0 :
318 cmpbge zero, t1, t8 # .. e1 : is there a zero?
[all …]
A 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
209 cmpbge zero, t1, t8 # .. e1 :
244 mov zero, t0 # .. e1 :
245 mov zero, t6 # e0 :
[all …]
/linux/arch/m68k/fpsp040/
A Ddo_func.S118 bne ld_mzero |if neg, load neg zero
119 bra ld_pzero |load positive zero
259 .long smod_zro | 01,00 zero,norm = +-zero
260 .long smod_oper | 01,01 zero,zero = nan with operr
261 .long smod_zro | 01,10 zero,inf = +-zero
288 | ;01 = zero
416 .long sscale | 00,01 norm,zero = fpn
419 .long scl_zro | 01,00 zero,norm = +-zero
420 .long scl_zro | 01,01 zero,zero = +-zero
422 .long scl_snan | 01,11 zero,nan = nan
[all …]
A Dtbldo.S59 .long szero |$01-1 fint zero
68 .long szero |$02-1 fsinh zero
77 .long szero |$03-1 fintrz zero
104 .long szero |$06-1 flognp1 zero
131 .long szero |$09-1 ftanh zero
140 .long szero |$0a-1 fatan zero
158 .long szero |$0c-1 fasin zero
176 .long szero |$0e-1 fsin zero
185 .long szero |$0f-1 ftan zero
230 .long t_dz2 |$14-1 flogn zero
[all …]
/linux/Documentation/admin-guide/device-mapper/
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/arm/mach-zynq/
A 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/arch/mips/alchemy/common/
A 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 */

Completed in 45 milliseconds

12345678910>>...118