Home
last modified time | relevance | path

Searched full:vec (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/OK3568_Linux_fs/kernel/mm/
H A Dframe_vector.c16 * @vec: structure which receives pages / pfns of the addresses mapped.
19 * This function maps virtual addresses from @start and fills @vec structure
35 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames() argument
45 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
46 nr_frames = vec->nr_allocated; in get_vaddr_frames()
72 vec->got_ref = true; in get_vaddr_frames()
73 vec->is_pfns = false; in get_vaddr_frames()
75 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
82 vec->nr_frames = 0; in get_vaddr_frames()
90 vec->nr_frames = ret; in get_vaddr_frames()
[all …]
H A Dmincore.c29 unsigned char *vec = walk->private; in mincore_hugetlb() local
36 for (; addr != end; vec++, addr += PAGE_SIZE) in mincore_hugetlb()
37 *vec = present; in mincore_hugetlb()
38 walk->private = vec; in mincore_hugetlb()
72 struct vm_area_struct *vma, unsigned char *vec) in __mincore_unmapped_range() argument
82 vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); in __mincore_unmapped_range()
85 vec[i] = 0; in __mincore_unmapped_range()
105 unsigned char *vec = walk->private; in mincore_pte_range() local
110 memset(vec, 1, nr); in mincore_pte_range()
116 __mincore_unmapped_range(addr, end, vma, vec); in mincore_pte_range()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_vec.c9 * The VEC encoder generates PAL or NTSC composite video output.
40 /* VEC Registers */
157 /* General VEC hardware state. */
173 #define VEC_READ(offset) readl(vec->regs + (offset))
174 #define VEC_WRITE(offset, val) writel(val, vec->regs + (offset))
176 /* VC4 VEC encoder KMS struct */
179 struct vc4_vec *vec; member
188 /* VC4 VEC connector KMS struct */
191 struct vc4_vec *vec; member
215 void (*mode_set)(struct vc4_vec *vec);
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/
H A Dmatx.hpp189 Vec<_Tp, n> solve(const Vec<_Tp, m>& rhs, int method) const;
306 /////////////////////// Vec (used as element of multi-channel images /////////////////////
319 In addition to the universal notation like Vec<float, 3>, you can use shorter aliases
320 for the most popular specialized variants of Vec, e.g. Vec3f ~ Vec<float, 3>.
322 It is possible to convert Vec\<T,2\> to/from Point_, Vec\<T,3\> to/from Point3_ , and Vec\<T,4\>
323 to CvScalar or Scalar_. Use operator[] to access the elements of Vec.
334 The Vec class is commonly used to describe pixel types of multi-channel arrays. See Mat for details.
336 template<typename _Tp, int cn> class Vec : public Matx<_Tp, cn, 1> class
350 Vec();
352 Vec(_Tp v0); //!< 1-element vector constructor
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/
H A Dmatx.hpp189 Vec<_Tp, n> solve(const Vec<_Tp, m>& rhs, int method) const;
306 /////////////////////// Vec (used as element of multi-channel images /////////////////////
319 In addition to the universal notation like Vec<float, 3>, you can use shorter aliases
320 for the most popular specialized variants of Vec, e.g. Vec3f ~ Vec<float, 3>.
322 It is possible to convert Vec\<T,2\> to/from Point_, Vec\<T,3\> to/from Point3_ , and Vec\<T,4\>
323 to CvScalar or Scalar_. Use operator[] to access the elements of Vec.
334 The Vec class is commonly used to describe pixel types of multi-channel arrays. See Mat for details.
336 template<typename _Tp, int cn> class Vec : public Matx<_Tp, cn, 1> class
350 Vec();
352 Vec(_Tp v0); //!< 1-element vector constructor
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/
H A Dmatx.hpp189 Vec<_Tp, n> solve(const Vec<_Tp, m>& rhs, int method) const;
306 /////////////////////// Vec (used as element of multi-channel images /////////////////////
319 In addition to the universal notation like Vec<float, 3>, you can use shorter aliases
320 for the most popular specialized variants of Vec, e.g. Vec3f ~ Vec<float, 3>.
322 It is possible to convert Vec\<T,2\> to/from Point_, Vec\<T,3\> to/from Point3_ , and Vec\<T,4\>
323 to CvScalar or Scalar_. Use operator[] to access the elements of Vec.
334 The Vec class is commonly used to describe pixel types of multi-channel arrays. See Mat for details.
336 template<typename _Tp, int cn> class Vec : public Matx<_Tp, cn, 1> class
350 Vec();
352 Vec(_Tp v0); //!< 1-element vector constructor
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dvec.h116 * Embeddable vectors (vec<T, A, vl_embed>)
145 * Space efficient vector (vec<T, A, vl_ptr>)
171 vec<tree, va_gc, vl_ptr> v;
185 /* Hashtable mapping vec addresses to descriptors. */
196 /* Memory allocation support routines in vec.c. */
202 /* Note that vec_prefix should be a base class for vec, but we use
206 To compensate, we make vec_prefix a field inside vec and make
207 vec a friend class of vec_prefix so it can access its fields. */
208 template <typename, typename, typename> friend struct vec;
235 template<typename, typename, typename> struct vec;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dvec.h116 * Embeddable vectors (vec<T, A, vl_embed>)
145 * Space efficient vector (vec<T, A, vl_ptr>)
171 vec<tree, va_gc, vl_ptr> v;
185 /* Hashtable mapping vec addresses to descriptors. */
196 /* Memory allocation support routines in vec.c. */
202 /* Note that vec_prefix should be a base class for vec, but we use
206 To compensate, we make vec_prefix a field inside vec and make
207 vec a friend class of vec_prefix so it can access its fields. */
208 template <typename, typename, typename> friend struct vec;
235 template<typename, typename, typename> struct vec;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/container/vector/detail/cpp03/preprocessed/
H A Dvector30.hpp48 operator=(vector_data21 const& vec) in operator =()
50vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
119 operator=(vector21 const& vec) in operator =()
121 base_type::operator=(vec); in operator =()
126 operator=(vector21&& vec) in operator =()
128vec.m0); this->m1 = std::forward< T1>(vec.m1); this->m2 = std::forward< T2>(vec.m2); this->m3 = st… in operator =()
138 … , U6 , U7 , U8 , U9 , U10 , U11 , U12 , U13 , U14 , U15 , U16 , U17 , U18 , U19 , U20> const& vec) in vector21()
139vec.m0 , vec.m1 , vec.m2 , vec.m3 , vec.m4 , vec.m5 , vec.m6 , vec.m7 , vec.m8 , vec.m9 , vec.m10 … in vector21()
163 … , U6 , U7 , U8 , U9 , U10 , U11 , U12 , U13 , U14 , U15 , U16 , U17 , U18 , U19 , U20> const& vec) in operator =()
165vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
[all …]
H A Dvector40.hpp48 operator=(vector_data31 const& vec) in operator =()
50vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
119 operator=(vector31 const& vec) in operator =()
121 base_type::operator=(vec); in operator =()
126 operator=(vector31&& vec) in operator =()
128vec.m0); this->m1 = std::forward< T1>(vec.m1); this->m2 = std::forward< T2>(vec.m2); this->m3 = st… in operator =()
138 …16 , U17 , U18 , U19 , U20 , U21 , U22 , U23 , U24 , U25 , U26 , U27 , U28 , U29 , U30> const& vec) in vector31()
139vec.m0 , vec.m1 , vec.m2 , vec.m3 , vec.m4 , vec.m5 , vec.m6 , vec.m7 , vec.m8 , vec.m9 , vec.m10 … in vector31()
163 …16 , U17 , U18 , U19 , U20 , U21 , U22 , U23 , U24 , U25 , U26 , U27 , U28 , U29 , U30> const& vec) in operator =()
165vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
[all …]
H A Dvector50.hpp48 operator=(vector_data41 const& vec) in operator =()
50vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
119 operator=(vector41 const& vec) in operator =()
121 base_type::operator=(vec); in operator =()
126 operator=(vector41&& vec) in operator =()
128vec.m0); this->m1 = std::forward< T1>(vec.m1); this->m2 = std::forward< T2>(vec.m2); this->m3 = st… in operator =()
138 …26 , U27 , U28 , U29 , U30 , U31 , U32 , U33 , U34 , U35 , U36 , U37 , U38 , U39 , U40> const& vec) in vector41()
139vec.m0 , vec.m1 , vec.m2 , vec.m3 , vec.m4 , vec.m5 , vec.m6 , vec.m7 , vec.m8 , vec.m9 , vec.m10 … in vector41()
163 …26 , U27 , U28 , U29 , U30 , U31 , U32 , U33 , U34 , U35 , U36 , U37 , U38 , U39 , U40> const& vec) in operator =()
165vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
[all …]
H A Dvector20.hpp48 operator=(vector_data11 const& vec) in operator =()
50vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
119 operator=(vector11 const& vec) in operator =()
121 base_type::operator=(vec); in operator =()
126 operator=(vector11&& vec) in operator =()
128vec.m0); this->m1 = std::forward< T1>(vec.m1); this->m2 = std::forward< T2>(vec.m2); this->m3 = st… in operator =()
138 vector11<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9 , U10> const& vec) in vector11()
139 …: base_type(vec.m0 , vec.m1 , vec.m2 , vec.m3 , vec.m4 , vec.m5 , vec.m6 , vec.m7 , vec.m8 , vec.m… in vector11()
163 operator=(vector11<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9 , U10> const& vec) in operator =()
165vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec in operator =()
[all …]
H A Dvector10.hpp48 operator=(vector_data1 const& vec) in operator =()
50 this->m0 = vec.m0; in operator =()
123 operator=(vector1 const& vec) in operator =()
125 base_type::operator=(vec); in operator =()
130 operator=(vector1&& vec) in operator =()
132 this->m0 = std::forward< T0>(vec.m0); in operator =()
142 vector1<U0> const& vec) in vector1()
143 : base_type(vec.m0) {} in vector1()
169 operator=(vector1<U0> const& vec) in operator =()
171 this->m0 = vec.m0; in operator =()
[all …]
H A Dvvector10.hpp32 : vec() {} in vector()
36 : vec(rhs.vec) {} in vector()
39 : vec(rhs.vec) {} in vector()
44 : vec(BOOST_FUSION_VECTOR_COPY_INIT()) {} in vector()
59 : vec(arg0) {} in vector()
69 : vec(std::forward<U0>( arg0)) {} in vector()
77 : vec(arg0 , arg1) {} in vector()
86 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1)) {} in vector()
94 : vec(arg0 , arg1 , arg2) {} in vector()
103 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2)) {} in vector()
[all …]
H A Dvvector20.hpp32 : vec() {} in vector()
36 : vec(rhs.vec) {} in vector()
39 : vec(rhs.vec) {} in vector()
44 : vec(BOOST_FUSION_VECTOR_COPY_INIT()) {} in vector()
59 : vec(arg0) {} in vector()
69 : vec(std::forward<U0>( arg0)) {} in vector()
77 : vec(arg0 , arg1) {} in vector()
86 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1)) {} in vector()
94 : vec(arg0 , arg1 , arg2) {} in vector()
103 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2)) {} in vector()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dfips140-selftests.c200 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_aes_library() local
205 if (WARN_ON(vec->message_size != AES_BLOCK_SIZE)) in fips_test_aes_library()
208 err = aes_expandkey(&ctx, vec->key, vec->key_size); in fips_test_aes_library()
213 aes_encrypt(&ctx, block, vec->plaintext); in fips_test_aes_library()
214 err = fips_check_result(block, vec->ciphertext, AES_BLOCK_SIZE, in fips_test_aes_library()
219 return fips_check_result(block, vec->plaintext, AES_BLOCK_SIZE, in fips_test_aes_library()
227 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_skcipher() local
235 if (WARN_ON(vec->iv_size > MAX_IV_SIZE)) in fips_test_skcipher()
237 if (WARN_ON(vec->message_size <= 0)) in fips_test_skcipher()
246 if (crypto_skcipher_ivsize(tfm) != vec->iv_size) { in fips_test_skcipher()
[all …]
H A Dtestmgr.c1126 const struct hash_testvec *vec, in build_hash_sglist() argument
1134 kv.iov_base = (void *)vec->plaintext; in build_hash_sglist()
1135 kv.iov_len = vec->psize; in build_hash_sglist()
1136 iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize); in build_hash_sglist()
1137 return build_test_sglist(tsgl, cfg->src_divs, alignmask, vec->psize, in build_hash_sglist()
1143 const struct hash_testvec *vec, in check_hash_result() argument
1148 if (memcmp(result, vec->digest, digestsize) != 0) { in check_hash_result()
1178 const struct hash_testvec *vec, in test_shash_vec_cfg() argument
1195 if (vec->ksize) { in test_shash_vec_cfg()
1196 err = do_setkey(crypto_shash_setkey, tfm, vec->key, vec->ksize, in test_shash_vec_cfg()
[all …]
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dinterrupts.c56 ulong vec, v_bit; in external_interrupt() local
62 vec = in_be32(&immr->im_siu_conf.sc_sivec); in external_interrupt()
63 irq = vec >> 26; in external_interrupt()
92 irq, vec); in external_interrupt()
110 uint vec; in cpm_interrupt() local
117 vec = in_be16(&immr->im_cpic.cpic_civr); in cpm_interrupt()
118 vec >>= 11; in cpm_interrupt()
120 if (cpm_vecs[vec].handler != NULL) { in cpm_interrupt()
121 (*cpm_vecs[vec].handler) (cpm_vecs[vec].arg); in cpm_interrupt()
123 clrbits_be32(&immr->im_cpic.cpic_cimr, 1 << vec); in cpm_interrupt()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/mincore/
H A Dmincore_selftest.c35 unsigned char vec[1]; in TEST() local
41 retval = mincore(0, 0, vec); in TEST()
46 retval = mincore(NULL, page_size, vec); in TEST()
59 retval = mincore(addr + 1, page_size, vec); in TEST()
65 retval = mincore(addr, -1, vec); in TEST()
69 /* <vec> argument points to an illegal address */ in TEST()
86 unsigned char vec[1]; in TEST() local
100 retval = mincore(addr, page_size, vec); in TEST()
102 ASSERT_EQ(0, vec[0]) { in TEST()
109 retval = mincore(addr, page_size, vec); in TEST()
[all …]
/OK3568_Linux_fs/u-boot/arch/m68k/lib/
H A Dinterrupts.c46 void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg) in irq_install_handler() argument
48 if ((vec < 0) || (vec >= NR_IRQS)) { in irq_install_handler()
50 vec); in irq_install_handler()
54 irq_vecs[vec].handler = handler; in irq_install_handler()
55 irq_vecs[vec].arg = arg; in irq_install_handler()
58 void irq_free_handler (int vec) in irq_free_handler() argument
60 if ((vec < 0) || (vec >= NR_IRQS)) { in irq_free_handler()
64 irq_vecs[vec].handler = NULL; in irq_free_handler()
65 irq_vecs[vec].arg = NULL; in irq_free_handler()
88 int vec; in int_handler() local
[all …]
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dlabel.c158 * @vec: vector of profiles to compare (NOT NULL)
159 * @n: length of @vec
161 * Returns: <0 if a < vec
162 * ==0 if a == vec
163 * >0 if a > vec
186 static bool vec_is_stale(struct aa_profile **vec, int n) in vec_is_stale() argument
190 AA_BUG(!vec); in vec_is_stale()
193 if (profile_is_stale(vec[i])) in vec_is_stale()
200 static bool vec_unconfined(struct aa_profile **vec, int n) in vec_unconfined() argument
204 AA_BUG(!vec); in vec_unconfined()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/container/vector/detail/cpp03/
H A Dvector.hpp40 return rhs.vec; \
109 : vec() {} in vector()
114 : vec(rhs.vec) {} in vector()
118 : vec(rhs.vec) {} in vector()
124 : vec(BOOST_FUSION_VECTOR_COPY_INIT()) {} in vector()
132 // : vec(arg0, arg1) {}
140 vec = rhs.vec; in operator =()
149 vec = rhs; in operator =()
157 vec = rhs.vec; in operator =()
168 : vec(std::forward<vector_n>(rhs.vec)) {} in vector()
[all …]
/OK3568_Linux_fs/u-boot/scripts/
H A Ddocproc.c256 char **vec; in docfunctions() local
260 vec = malloc((2 + 2 * symcnt + 3) * sizeof(char *)); in docfunctions()
261 if (vec == NULL) { in docfunctions()
265 vec[idx++] = KERNELDOC; in docfunctions()
266 vec[idx++] = DOCBOOK; in docfunctions()
267 vec[idx++] = NODOCSECTIONS; in docfunctions()
271 vec[idx++] = type; in docfunctions()
273 vec[idx++] = sym->symbollist[j].name; in docfunctions()
276 vec[idx++] = filename; in docfunctions()
277 vec[idx] = NULL; in docfunctions()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/
H A Dtm-unavailable.c5 * Force FP, VEC and VSX unavailable exception during transaction in all
6 * possible scenarios regarding the MSR.FP and MSR.VEC state, e.g. when FP
7 * is enable and VEC is disable, when FP is disable and VEC is enable, and
9 * FP and VEC registers to the previous state we set just before we entered
11 * VEC/Altivec registers on abortion due to an unavailable exception in TM.
14 * representatives of FP and VEC/Altivec reg sets.
59 * If both FP and VEC are touched it does not mean that touching VSX in expecting_failure()
60 * won't raise an exception. However since FP and VEC state are already in expecting_failure()
111 printf("If MSR.FP=%d MSR.VEC=%d: ", flags.touch_fp, flags.touch_vec); in tm_una_ping()
139 * overflow and MSR.FP, MSR.VEC, and MSR.VSX become zero (off). in tm_una_ping()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/common/videobuf2/
H A Dvideobuf2-memops.c42 struct frame_vector *vec; in vb2_create_framevec() local
48 vec = frame_vector_create(nr); in vb2_create_framevec()
49 if (!vec) in vb2_create_framevec()
51 ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, vec); in vb2_create_framevec()
59 return vec; in vb2_create_framevec()
61 put_vaddr_frames(vec); in vb2_create_framevec()
63 frame_vector_destroy(vec); in vb2_create_framevec()
70 * @vec: vector of pfns / pages to release
72 * This releases references to all pages in the vector @vec (if corresponding
75 void vb2_destroy_framevec(struct frame_vector *vec) in vb2_destroy_framevec() argument
[all …]

12345678910>>...29