Home
last modified time | relevance | path

Searched refs:ptrs (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.10/lib/raid6/
Drecov.c21 int failb, void **ptrs) in raid6_2data_recov_intx1() argument
28 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_intx1()
29 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_intx1()
34 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1()
35 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
36 ptrs[disks-2] = dp; in raid6_2data_recov_intx1()
37 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1()
38 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
39 ptrs[disks-1] = dq; in raid6_2data_recov_intx1()
41 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_intx1()
[all …]
Drecov_neon.c30 int failb, void **ptrs) in raid6_2data_recov_neon() argument
36 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_neon()
37 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_neon()
44 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_neon()
45 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon()
46 ptrs[disks - 2] = dp; in raid6_2data_recov_neon()
47 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_neon()
48 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon()
49 ptrs[disks - 1] = dq; in raid6_2data_recov_neon()
51 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_neon()
[all …]
Drecov_s390xc.c24 int failb, void **ptrs) in raid6_2data_recov_s390xc() argument
31 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_s390xc()
32 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_s390xc()
37 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_s390xc()
38 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_s390xc()
39 ptrs[disks-2] = dp; in raid6_2data_recov_s390xc()
40 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_s390xc()
41 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_s390xc()
42 ptrs[disks-1] = dq; in raid6_2data_recov_s390xc()
44 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_s390xc()
[all …]
Drecov_avx2.c17 int failb, void **ptrs) in raid6_2data_recov_avx2() argument
24 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_avx2()
25 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_avx2()
30 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx2()
31 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx2()
32 ptrs[disks-2] = dp; in raid6_2data_recov_avx2()
33 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_avx2()
34 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx2()
35 ptrs[disks-1] = dq; in raid6_2data_recov_avx2()
37 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_avx2()
[all …]
Drecov_avx512.c25 int failb, void **ptrs) in raid6_2data_recov_avx512() argument
32 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_avx512()
33 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_avx512()
41 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx512()
42 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx512()
43 ptrs[disks-2] = dp; in raid6_2data_recov_avx512()
44 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_avx512()
45 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx512()
46 ptrs[disks-1] = dq; in raid6_2data_recov_avx512()
48 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_avx512()
[all …]
Drecov_ssse3.c17 int failb, void **ptrs) in raid6_2data_recov_ssse3() argument
26 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_ssse3()
27 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_ssse3()
32 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_ssse3()
33 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_ssse3()
34 ptrs[disks-2] = dp; in raid6_2data_recov_ssse3()
35 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_ssse3()
36 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_ssse3()
37 ptrs[disks-1] = dq; in raid6_2data_recov_ssse3()
39 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_ssse3()
[all …]
Davx512.c44 static void raid6_avx5121_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx5121_gen_syndrome() argument
46 u8 **dptr = (u8 **)ptrs; in raid6_avx5121_gen_syndrome()
102 size_t bytes, void **ptrs) in raid6_avx5121_xor_syndrome() argument
104 u8 **dptr = (u8 **)ptrs; in raid6_avx5121_xor_syndrome()
171 static void raid6_avx5122_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx5122_gen_syndrome() argument
173 u8 **dptr = (u8 **)ptrs; in raid6_avx5122_gen_syndrome()
234 size_t bytes, void **ptrs) in raid6_avx5122_xor_syndrome() argument
236 u8 **dptr = (u8 **)ptrs; in raid6_avx5122_xor_syndrome()
330 static void raid6_avx5124_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx5124_gen_syndrome() argument
332 u8 **dptr = (u8 **)ptrs; in raid6_avx5124_gen_syndrome()
[all …]
Davx2.c34 static void raid6_avx21_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx21_gen_syndrome() argument
36 u8 **dptr = (u8 **)ptrs; in raid6_avx21_gen_syndrome()
83 size_t bytes, void **ptrs) in raid6_avx21_xor_syndrome() argument
85 u8 **dptr = (u8 **)ptrs; in raid6_avx21_xor_syndrome()
141 static void raid6_avx22_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx22_gen_syndrome() argument
143 u8 **dptr = (u8 **)ptrs; in raid6_avx22_gen_syndrome()
193 size_t bytes, void **ptrs) in raid6_avx22_xor_syndrome() argument
195 u8 **dptr = (u8 **)ptrs; in raid6_avx22_xor_syndrome()
273 static void raid6_avx24_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_avx24_gen_syndrome() argument
275 u8 **dptr = (u8 **)ptrs; in raid6_avx24_gen_syndrome()
[all …]
Dsse2.c36 static void raid6_sse21_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse21_gen_syndrome() argument
38 u8 **dptr = (u8 **)ptrs; in raid6_sse21_gen_syndrome()
88 size_t bytes, void **ptrs) in raid6_sse21_xor_syndrome() argument
90 u8 **dptr = (u8 **)ptrs; in raid6_sse21_xor_syndrome()
146 static void raid6_sse22_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse22_gen_syndrome() argument
148 u8 **dptr = (u8 **)ptrs; in raid6_sse22_gen_syndrome()
199 size_t bytes, void **ptrs) in raid6_sse22_xor_syndrome() argument
201 u8 **dptr = (u8 **)ptrs; in raid6_sse22_xor_syndrome()
278 static void raid6_sse24_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse24_gen_syndrome() argument
280 u8 **dptr = (u8 **)ptrs; in raid6_sse24_gen_syndrome()
[all …]
Dneon.c31 size_t bytes, void **ptrs) \
37 (unsigned long)bytes, ptrs); \
42 size_t bytes, void **ptrs) \
48 start, stop, (unsigned long)bytes, ptrs); \
Dmmx.c35 static void raid6_mmx1_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_mmx1_gen_syndrome() argument
37 u8 **dptr = (u8 **)ptrs; in raid6_mmx1_gen_syndrome()
83 static void raid6_mmx2_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_mmx2_gen_syndrome() argument
85 u8 **dptr = (u8 **)ptrs; in raid6_mmx2_gen_syndrome()
Dsse1.c40 static void raid6_sse11_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse11_gen_syndrome() argument
42 u8 **dptr = (u8 **)ptrs; in raid6_sse11_gen_syndrome()
99 static void raid6_sse12_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse12_gen_syndrome() argument
101 u8 **dptr = (u8 **)ptrs; in raid6_sse12_gen_syndrome()
Dvpermxor.uc44 void **ptrs)
46 u8 **dptr = (u8 **)ptrs;
72 static void raid6_vpermxor$#_gen_syndrome(int disks, size_t bytes, void **ptrs)
77 raid6_vpermxor$#_gen_syndrome_real(disks, bytes, ptrs);
Daltivec.uc71 raid6_altivec$#_gen_syndrome_real(int disks, size_t bytes, void **ptrs)
73 u8 **dptr = (u8 **)ptrs;
100 static void raid6_altivec$#_gen_syndrome(int disks, size_t bytes, void **ptrs)
105 raid6_altivec$#_gen_syndrome_real(disks, bytes, ptrs);
/Linux-v5.10/kernel/bpf/
Dreuseport_array.c12 struct sock __rcu *ptrs[]; member
60 return rcu_dereference(array->ptrs[index]); in reuseport_array_lookup_elem()
74 if (!rcu_access_pointer(array->ptrs[index])) in reuseport_array_delete_elem()
79 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem()
84 RCU_INIT_POINTER(array->ptrs[index], NULL); in reuseport_array_delete_elem()
129 sk = rcu_dereference(array->ptrs[i]); in reuseport_array_free()
139 RCU_INIT_POINTER(array->ptrs[i], NULL); in reuseport_array_free()
288 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
302 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem()
310 sk_user_data = (uintptr_t)&array->ptrs[index] | SK_USER_DATA_NOCOPY | in bpf_fd_reuseport_array_update_elem()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_iext_tree.c119 void *ptrs[KEYS_PER_NODE]; member
168 node = node->ptrs[0]; in xfs_iext_find_first_leaf()
187 if (!node->ptrs[i]) in xfs_iext_find_last_leaf()
189 node = node->ptrs[i - 1]; in xfs_iext_find_last_leaf()
320 node = node->ptrs[i - 1]; in xfs_iext_find_level()
408 node->ptrs[0] = prev; in xfs_iext_grow()
415 node->ptrs[0] = prev; in xfs_iext_grow()
443 node = node->ptrs[i - 1]; in xfs_iext_update_node()
473 new->ptrs[i] = node->ptrs[nr_keep + i]; in xfs_iext_split_node()
476 node->ptrs[nr_keep + i] = NULL; in xfs_iext_split_node()
[all …]
/Linux-v5.10/crypto/async_tx/
Draid6test.c58 struct page **ptrs, unsigned int *offs) in raid6_dual_recov() argument
72 tx = async_gen_syndrome(ptrs, offs, in raid6_dual_recov()
88 blocks[count++] = ptrs[i]; in raid6_dual_recov()
90 dest = ptrs[faila]; in raid6_dual_recov()
96 tx = async_gen_syndrome(ptrs, offs, in raid6_dual_recov()
104 faila, ptrs, offs, &submit); in raid6_dual_recov()
109 faila, failb, ptrs, offs, &submit); in raid6_dual_recov()
114 tx = async_syndrome_val(ptrs, offs, in raid6_dual_recov()
/Linux-v5.10/drivers/net/ethernet/8390/
Dzorro8390.c116 short *ptrs; in zorro8390_get_8390_hdr() local
137 ptrs = (short *)hdr; in zorro8390_get_8390_hdr()
139 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
159 short *ptrs; in zorro8390_block_input() local
178 ptrs = (short *)buf; in zorro8390_block_input()
180 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
194 short *ptrs; in zorro8390_block_output() local
225 ptrs = (short *)buf; in zorro8390_block_output()
227 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
Dapne.c394 short *ptrs; in apne_get_8390_hdr() local
414 ptrs = (short*)hdr; in apne_get_8390_hdr()
416 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
440 short *ptrs; in apne_block_input() local
459 ptrs = (short*)buf; in apne_block_input()
461 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
482 short *ptrs; in apne_block_output() local
512 ptrs = (short*)buf; in apne_block_output()
514 outw(*ptrs++, NE_BASE+NE_DATAPORT); in apne_block_output()
Dhydra.c205 short *ptrs; in hydra_get_8390_hdr() local
208 ptrs = (short *)hdr; in hydra_get_8390_hdr()
210 *(ptrs++) = z_readw(hdr_start); in hydra_get_8390_hdr()
213 *(ptrs++) = z_readw(hdr_start); in hydra_get_8390_hdr()
/Linux-v5.10/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c42 struct bpf_perf_event_value *ptrs[MAX_NUM_MATRICS]; in BPF_PROG() local
50 ptrs[i] = bpf_map_lookup_elem(&fentry_readings, &flag); in BPF_PROG()
51 if (!ptrs[i]) in BPF_PROG()
63 *(ptrs[i]) = reading; in BPF_PROG()
/Linux-v5.10/drivers/atm/
Dambassador.c543 volatile amb_cq_ptrs * ptrs = &cq->ptrs; in command_do() local
556 my_slot = ptrs->in; in command_do()
562 *ptrs->in = *cmd; in command_do()
564 ptrs->in = NEXTQ (ptrs->in, ptrs->start, ptrs->limit); in command_do()
567 wr_mem (dev, offsetof(amb_mem, mb.adapter.cmd_address), virt_to_bus (ptrs->in)); in command_do()
579 while (ptrs->out != my_slot) { in command_do()
580 PRINTD (DBG_CMD, "wait: command slot (now at %p)", ptrs->out); in command_do()
586 while (ptrs->out->request != cpu_to_be32 (SRB_COMPLETE)) { in command_do()
597 *cmd = *ptrs->out; in command_do()
598 ptrs->out = NEXTQ (ptrs->out, ptrs->start, ptrs->limit); in command_do()
[all …]
/Linux-v5.10/include/linux/raid/
Dpq.h161 void **ptrs);
163 void **ptrs);
165 void **ptrs);
/Linux-v5.10/fs/nilfs2/
Dbmap.c101 __u64 ptrs[NILFS_BMAP_SMALL_HIGH + 1]; in nilfs_bmap_do_insert() local
108 bmap, keys, ptrs, NILFS_BMAP_SMALL_HIGH + 1); in nilfs_bmap_do_insert()
112 bmap, key, ptr, keys, ptrs, n); in nilfs_bmap_do_insert()
156 __u64 ptrs[NILFS_BMAP_LARGE_LOW + 1]; in nilfs_bmap_do_delete() local
163 bmap, keys, ptrs, NILFS_BMAP_LARGE_LOW + 1); in nilfs_bmap_do_delete()
167 bmap, key, keys, ptrs, n); in nilfs_bmap_do_delete()
/Linux-v5.10/drivers/tty/
Dmips_ejtag_fdc.c216 static struct fdc_word mips_ejtag_fdc_encode(const char **ptrs, in mips_ejtag_fdc_encode() argument
221 const char **ptrs_end = ptrs + ranges; in mips_ejtag_fdc_encode()
223 for (; ptrs < ptrs_end; ++ptrs) { in mips_ejtag_fdc_encode()
224 const char *ptr = *(ptrs++); in mips_ejtag_fdc_encode()
420 const char *ptrs[2]; in mips_ejtag_fdc_put_chan() local
428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
432 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
434 word = mips_ejtag_fdc_encode(ptrs, sizes, 1 + !!sizes[1]); in mips_ejtag_fdc_put_chan()
438 min_t(int, word.bytes, sizes[0]), ptrs[0], in mips_ejtag_fdc_put_chan()
439 max_t(int, 0, word.bytes - sizes[0]), ptrs[1]); in mips_ejtag_fdc_put_chan()

123