Home
last modified time | relevance | path

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

1234

/linux-6.6.21/lib/raid6/
Drecov_loongarch_simd.c30 int failb, void **ptrs) in raid6_2data_recov_lsx() argument
36 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_lsx()
37 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_lsx()
44 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_lsx()
45 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_lsx()
46 ptrs[disks - 2] = dp; in raid6_2data_recov_lsx()
47 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_lsx()
48 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_lsx()
49 ptrs[disks - 1] = dq; in raid6_2data_recov_lsx()
51 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_lsx()
[all …]
Drecov.c20 int failb, void **ptrs) in raid6_2data_recov_intx1() argument
27 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_intx1()
28 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_intx1()
33 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1()
34 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
35 ptrs[disks-2] = dp; in raid6_2data_recov_intx1()
36 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1()
37 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1()
38 ptrs[disks-1] = dq; in raid6_2data_recov_intx1()
40 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_intx1()
[all …]
Drecov_neon.c24 int failb, void **ptrs) in raid6_2data_recov_neon() argument
30 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_neon()
31 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_neon()
38 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_neon()
39 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon()
40 ptrs[disks - 2] = dp; in raid6_2data_recov_neon()
41 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_neon()
42 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon()
43 ptrs[disks - 1] = dq; in raid6_2data_recov_neon()
45 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 …]
Dneon.h3 void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
5 unsigned long bytes, void **ptrs);
6 void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
8 unsigned long bytes, void **ptrs);
9 void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
11 unsigned long bytes, void **ptrs);
12 void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
14 unsigned long bytes, void **ptrs);
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 …]
Dloongarch_simd.c33 static void raid6_lsx_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_lsx_gen_syndrome() argument
35 u8 **dptr = (u8 **)ptrs; in raid6_lsx_gen_syndrome()
115 size_t bytes, void **ptrs) in raid6_lsx_xor_syndrome() argument
117 u8 **dptr = (u8 **)ptrs; in raid6_lsx_xor_syndrome()
264 static void raid6_lasx_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_lasx_gen_syndrome() argument
266 u8 **dptr = (u8 **)ptrs; in raid6_lasx_gen_syndrome()
324 size_t bytes, void **ptrs) in raid6_lasx_xor_syndrome() argument
326 u8 **dptr = (u8 **)ptrs; in raid6_lasx_xor_syndrome()
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);
/linux-6.6.21/kernel/bpf/
Dreuseport_array.c13 struct sock __rcu *ptrs[]; member
58 return rcu_dereference(array->ptrs[index]); in reuseport_array_lookup_elem()
72 if (!rcu_access_pointer(array->ptrs[index])) in reuseport_array_delete_elem()
77 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem()
82 RCU_INIT_POINTER(array->ptrs[index], NULL); in reuseport_array_delete_elem()
127 sk = rcu_dereference(array->ptrs[i]); in reuseport_array_free()
137 RCU_INIT_POINTER(array->ptrs[i], NULL); in reuseport_array_free()
155 array = bpf_map_area_alloc(struct_size(array, ptrs, attr->max_entries), numa_node); in reuseport_array_alloc()
271 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
285 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_bios.c201 const struct bdb_lvds_lfp_data_ptrs *ptrs; in lfp_data_min_size() local
204 ptrs = bdb_find_section(i915, BDB_LVDS_LFP_DATA_PTRS); in lfp_data_min_size()
205 if (!ptrs) in lfp_data_min_size()
209 if (ptrs->panel_name.table_size) in lfp_data_min_size()
210 size = max(size, ptrs->panel_name.offset + in lfp_data_min_size()
217 const struct bdb_lvds_lfp_data_ptrs *ptrs) in validate_lfp_data_ptrs() argument
233 if (ptrs->lvds_entries != 3) in validate_lfp_data_ptrs()
236 fp_timing_size = ptrs->ptr[0].fp_timing.table_size; in validate_lfp_data_ptrs()
237 dvo_timing_size = ptrs->ptr[0].dvo_timing.table_size; in validate_lfp_data_ptrs()
238 panel_pnp_id_size = ptrs->ptr[0].panel_pnp_id.table_size; in validate_lfp_data_ptrs()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/ethernet/8390/
Dzorro8390.c111 short *ptrs; in zorro8390_get_8390_hdr() local
132 ptrs = (short *)hdr; in zorro8390_get_8390_hdr()
134 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
154 short *ptrs; in zorro8390_block_input() local
173 ptrs = (short *)buf; in zorro8390_block_input()
175 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
189 short *ptrs; in zorro8390_block_output() local
220 ptrs = (short *)buf; in zorro8390_block_output()
222 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
Dapne.c383 short *ptrs; in apne_get_8390_hdr() local
403 ptrs = (short*)hdr; in apne_get_8390_hdr()
405 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
429 short *ptrs; in apne_block_input() local
448 ptrs = (short*)buf; in apne_block_input()
450 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
471 short *ptrs; in apne_block_output() local
501 ptrs = (short*)buf; in apne_block_output()
503 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-6.6.21/include/media/
Dframe_vector.h11 void *ptrs[]; /* Array of pinned pfns / pages. Use member
37 return (struct page **)(vec->ptrs); in frame_vector_pages()
44 return (unsigned long *)(vec->ptrs); in frame_vector_pfns()
/linux-6.6.21/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c48 struct bpf_perf_event_value___local *ptrs[MAX_NUM_MATRICS]; in BPF_PROG() local
56 ptrs[i] = bpf_map_lookup_elem(&fentry_readings, &flag); in BPF_PROG()
57 if (!ptrs[i]) in BPF_PROG()
69 *(ptrs[i]) = reading; in BPF_PROG()

1234