Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dgenelf.c162 Elf_Scn *scn; in jit_add_eh_frame_info() local
169 scn = elf_newscn(e); in jit_add_eh_frame_info()
170 if (!scn) { in jit_add_eh_frame_info()
175 d = elf_newdata(scn); in jit_add_eh_frame_info()
188 shdr = elf_getshdr(scn); in jit_add_eh_frame_info()
203 scn = elf_newscn(e); in jit_add_eh_frame_info()
204 if (!scn) { in jit_add_eh_frame_info()
209 d = elf_newdata(scn); in jit_add_eh_frame_info()
222 shdr = elf_getshdr(scn); in jit_add_eh_frame_info()
252 Elf_Scn *scn; in jit_write_elf() local
[all …]
H A Dgenelf_debug.c487 Elf_Scn *scn; in jit_add_debug_info() local
502 scn = elf_newscn(e); in jit_add_debug_info()
503 if (!scn) { in jit_add_debug_info()
508 d = elf_newdata(scn); in jit_add_debug_info()
521 shdr = elf_getshdr(scn); in jit_add_debug_info()
536 scn = elf_newscn(e); in jit_add_debug_info()
537 if (!scn) { in jit_add_debug_info()
542 d = elf_newdata(scn); in jit_add_debug_info()
555 shdr = elf_getshdr(scn); in jit_add_debug_info()
570 scn = elf_newscn(e); in jit_add_debug_info()
[all …]
H A Dprobe-finder.c1670 Elf_Scn *scn; in debuginfo__get_text_offset() local
1688 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset()
1689 if (!scn) in debuginfo__get_text_offset()
1691 shdr = gelf_getshdr(scn, &mem); in debuginfo__get_text_offset()
H A Dsymbol-elf.c2313 Elf_Scn *scn = NULL; in construct_sdt_notes_list() local
2331 scn = elf_section_by_name(elf, &ehdr, &shdr, SDT_NOTE_SCN, NULL); in construct_sdt_notes_list()
2332 if (!scn) { in construct_sdt_notes_list()
2342 data = elf_getdata(scn, NULL); in construct_sdt_notes_list()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp110 template <typename T, int scn, int dcn, int bidx> struct RGB2RGB
111 : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type>
113 …__device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type&… in operator ()()
148 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ argument
151 typedef ::cv::cuda::device::color_detail::RGB2RGB<T, scn, dcn, bidx> functor_type; \
196 template<int scn, int bidx, int green_bits> struct RGB2RGB5x5;
221 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB5x5_TRAITS(name, scn, bidx, green_bits) \ argument
224 typedef ::cv::cuda::device::color_detail::RGB2RGB5x5<scn, bidx, green_bits> functor_type; \
462 …template <typename T, int scn, int bidx> struct RGB2Gray : unary_function<typename TypeVec<T, scn>…
464 … __device__ __forceinline__ T operator()(const typename TypeVec<T, scn>::vec_type& src) const in operator ()()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp110 template <typename T, int scn, int dcn, int bidx> struct RGB2RGB
111 : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type>
113 …__device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type&… in operator ()()
148 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ argument
151 typedef ::cv::cuda::device::color_detail::RGB2RGB<T, scn, dcn, bidx> functor_type; \
196 template<int scn, int bidx, int green_bits> struct RGB2RGB5x5;
221 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB5x5_TRAITS(name, scn, bidx, green_bits) \ argument
224 typedef ::cv::cuda::device::color_detail::RGB2RGB5x5<scn, bidx, green_bits> functor_type; \
462 …template <typename T, int scn, int bidx> struct RGB2Gray : unary_function<typename TypeVec<T, scn>…
464 … __device__ __forceinline__ T operator()(const typename TypeVec<T, scn>::vec_type& src) const in operator ()()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp110 template <typename T, int scn, int dcn, int bidx> struct RGB2RGB
111 : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type>
113 …__device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type&… in operator ()()
148 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ argument
151 typedef ::cv::cuda::device::color_detail::RGB2RGB<T, scn, dcn, bidx> functor_type; \
196 template<int scn, int bidx, int green_bits> struct RGB2RGB5x5;
221 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB5x5_TRAITS(name, scn, bidx, green_bits) \ argument
224 typedef ::cv::cuda::device::color_detail::RGB2RGB5x5<scn, bidx, green_bits> functor_type; \
462 …template <typename T, int scn, int bidx> struct RGB2Gray : unary_function<typename TypeVec<T, scn>…
464 … __device__ __forceinline__ T operator()(const typename TypeVec<T, scn>::vec_type& src) const in operator ()()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/elfutils/files/
H A D0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch30 - if (scn->data_base != scn->rawdata_base)
31 + if ((scn->data_base != scn->rawdata_base)
32 + && (scn->data_list.data.d.d_buf != NULL))
33 free (scn->data_base);
39 || scn->rawdata_base == scn->zdata_base
40 || (scn->flags & ELF_F_MALLOCED) != 0)
41 + && (scn->data_list.data.d.d_buf != NULL))
42 free (scn->rawdata_base);
/OK3568_Linux_fs/kernel/tools/objtool/
H A Dorc_dump.c73 Elf_Scn *scn; in orc_dump() local
107 scn = elf_getscn(elf, i); in orc_dump()
108 if (!scn) { in orc_dump()
113 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
124 data = elf_getdata(scn, NULL); in orc_dump()
167 scn = elf_getscn(elf, sym.st_shndx); in orc_dump()
168 if (!scn) { in orc_dump()
173 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/imgproc/hal/
H A Dhal.hpp119 int depth, int scn, int dcn, bool swapBlue);
124 int scn, bool swapBlue, int greenBits);
134 int depth, int scn, bool swapBlue);
153 int depth, int scn, bool swapBlue, bool isCbCr);
163 int depth, int scn, bool swapBlue);
173 int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV);
183 int depth, int scn, bool swapBlue, bool isLab, bool srgb);
209 int scn, bool swapBlue, int uIdx);
215 int scn, bool swapBlue, int uIdx);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/imgproc/hal/
H A Dhal.hpp119 int depth, int scn, int dcn, bool swapBlue);
124 int scn, bool swapBlue, int greenBits);
134 int depth, int scn, bool swapBlue);
153 int depth, int scn, bool swapBlue, bool isCbCr);
163 int depth, int scn, bool swapBlue);
173 int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV);
183 int depth, int scn, bool swapBlue, bool isLab, bool srgb);
209 int scn, bool swapBlue, int uIdx);
215 int scn, bool swapBlue, int uIdx);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/imgproc/hal/
H A Dhal.hpp119 int depth, int scn, int dcn, bool swapBlue);
124 int scn, bool swapBlue, int greenBits);
134 int depth, int scn, bool swapBlue);
153 int depth, int scn, bool swapBlue, bool isCbCr);
163 int depth, int scn, bool swapBlue);
173 int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV);
183 int depth, int scn, bool swapBlue, bool isLab, bool srgb);
209 int scn, bool swapBlue, int uIdx);
215 int scn, bool swapBlue, int uIdx);
/OK3568_Linux_fs/kernel/tools/bpf/resolve_btfids/
H A Dmain.c276 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument
291 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix()
301 Elf_Scn *scn = NULL; in elf_collect() local
337 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect()
343 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect()
354 data = elf_getdata(scn, 0); in elf_collect()
376 if (compressed_section_fix(elf, scn, &sh)) in elf_collect()
385 Elf_Scn *scn = NULL; in symbols_collect() local
390 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
391 if (!scn) in symbols_collect()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/fsl/dpio/
H A Dqbman-portal.h367 static inline u8 qbman_result_SCN_state(const struct dpaa2_dq *scn) in qbman_result_SCN_state() argument
369 return scn->scn.state; in qbman_result_SCN_state()
377 static inline u32 qbman_result_SCN_rid(const struct dpaa2_dq *scn) in qbman_result_SCN_rid() argument
379 return le32_to_cpu(scn->scn.rid_tok) & SCN_RID_MASK; in qbman_result_SCN_rid()
385 static inline u64 qbman_result_SCN_ctx(const struct dpaa2_dq *scn) in qbman_result_SCN_ctx() argument
387 return le64_to_cpu(scn->scn.ctx); in qbman_result_SCN_ctx()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dbpf_load.c319 Elf_Scn *scn; in get_sec() local
321 scn = elf_getscn(elf, i); in get_sec()
322 if (!scn) in get_sec()
325 if (gelf_getshdr(scn, shdr) != shdr) in get_sec()
332 *data = elf_getdata(scn, 0); in get_sec()
333 if (!*data || elf_getdata(scn, *data) != NULL) in get_sec()
407 Elf_Scn *scn; in load_elf_maps_section() local
416 scn = elf_getscn(elf, maps_shndx); in load_elf_maps_section()
417 if (scn) in load_elf_maps_section()
418 data_maps = elf_getdata(scn, NULL); in load_elf_maps_section()
[all …]
/OK3568_Linux_fs/kernel/include/soc/fsl/
H A Ddpaa2-global.h34 struct scn { struct
41 } scn; member
189 return !!(cscn->scn.state & DPAA2_CSCN_STATE_CG); in dpaa2_cscn_state_congested()
/OK3568_Linux_fs/kernel/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c5254 static void bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn,
5257 struct bfa_fcs_lport_scn_s *scn,
5259 static void bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn,
5261 static void bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn,
5263 static void bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn,
5270 bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_offline() argument
5275 bfa_sm_set_state(scn, bfa_fcs_lport_scn_sm_sending_scr); in bfa_fcs_lport_scn_sm_offline()
5276 bfa_fcs_lport_scn_send_scr(scn, NULL); in bfa_fcs_lport_scn_sm_offline()
5283 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5288 bfa_fcs_lport_scn_sm_sending_scr(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_sending_scr() argument
[all …]
H A Dbfa_svc.c3413 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) in bfa_trunk_scn() argument
3423 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && in bfa_trunk_scn()
3424 scn->trunk_state != BFA_TRUNK_OFFLINE); in bfa_trunk_scn()
3427 bfa_trc(fcport->bfa, scn->trunk_state); in bfa_trunk_scn()
3428 bfa_trc(fcport->bfa, scn->trunk_speed); in bfa_trunk_scn()
3435 trunk->attr.state = scn->trunk_state; in bfa_trunk_scn()
3436 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn()
3439 tlink = &scn->tlink[i]; in bfa_trunk_scn()
3482 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { in bfa_trunk_scn()
3483 bfa_fcport_scn(fcport, (scn->trunk_state == BFA_TRUNK_ONLINE) ? in bfa_trunk_scn()
[all …]
H A Dbfa_fcs.h107 struct bfa_fcs_lport_scn_s scn; /* scn component of port */ member
156 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn)
H A Dbfi.h1170 struct bfi_diag_dport_scn_s scn; member
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c482 static int elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn, GElf_Shdr *hdr);
483 static const char *elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn);
484 static Elf_Data *elf_sec_data(const struct bpf_object *obj, Elf_Scn *scn);
1250 Elf_Scn *scn = elf_sec_by_name(obj, name); in bpf_object__section_size() local
1251 Elf_Data *data = elf_sec_data(obj, scn); in bpf_object__section_size()
1752 Elf_Scn *scn; in bpf_object__init_user_maps() local
1761 scn = elf_sec_by_idx(obj, obj->efile.maps_shndx); in bpf_object__init_user_maps()
1762 data = elf_sec_data(obj, scn); in bpf_object__init_user_maps()
1763 if (!scn || !data) { in bpf_object__init_user_maps()
2290 Elf_Scn *scn; in bpf_object__init_user_btf_maps() local
[all …]
H A Dbtf.c795 Elf_Scn *scn = NULL; in btf__parse_elf() local
827 while ((scn = elf_nextscn(elf, scn)) != NULL) { in btf__parse_elf()
832 if (gelf_getshdr(scn, &sh) != &sh) { in btf__parse_elf()
844 btf_data = elf_getdata(scn, 0); in btf__parse_elf()
852 btf_ext_data = elf_getdata(scn, 0); in btf__parse_elf()
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dinterrupt.c44 int c, scn; in sca_ext_call_pending() local
57 scn = sigp_ctrl.scn; in sca_ext_call_pending()
64 scn = sigp_ctrl.scn; in sca_ext_call_pending()
69 *src_id = scn; in sca_ext_call_pending()
86 new_val.scn = src_id; in sca_inject_ext_call()
98 new_val.scn = src_id; in sca_inject_ext_call()
3004 int scn; in kvm_s390_get_irq_state() local
3044 if (sca_ext_call_pending(vcpu, &scn)) { in kvm_s390_get_irq_state()
3049 irq.u.extcall.code = scn; in kvm_s390_get_irq_state()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dkvm_host.h58 __u8 scn : 6; member
67 __u8 scn; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dpmcraid.h679 struct pmcraid_state_msg scn; /* controller state change msg */ member

12