Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 3374) sorted by relevance

12345678910>>...135

/OK3568_Linux_fs/kernel/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument
63 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_active()
86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument
92 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_get()
95 flush_tmregs_to_thread(target); in tm_cgpr_get()
96 flush_fp_to_thread(target); in tm_cgpr_get()
97 flush_altivec_to_thread(target); in tm_cgpr_get()
99 membuf_write(&to, &target->thread.ckpt_regs, in tm_cgpr_get()
101 membuf_store(&to, get_user_ckpt_msr(target)); in tm_cgpr_get()
106 membuf_write(&to, &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_get()
[all …]
H A Dptrace-vsx.c21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
27 flush_fp_to_thread(target); in fpr_get()
31 buf[i] = target->thread.TS_FPR(i); in fpr_get()
32 buf[32] = target->thread.fp_state.fpscr; in fpr_get()
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
56 flush_fp_to_thread(target); in fpr_set()
59 buf[i] = target->thread.TS_FPR(i); in fpr_set()
60 buf[32] = target->thread.fp_state.fpscr; in fpr_set()
68 target->thread.TS_FPR(i) = buf[i]; in fpr_set()
69 target->thread.fp_state.fpscr = buf[32]; in fpr_set()
[all …]
H A Dptrace-decl.h67 int fpr_set(struct task_struct *target, const struct user_regset *regset,
73 int vsr_active(struct task_struct *target, const struct user_regset *regset);
75 int vsr_set(struct task_struct *target, const struct user_regset *regset,
81 int vr_active(struct task_struct *target, const struct user_regset *regset);
83 int vr_set(struct task_struct *target, const struct user_regset *regset,
89 int evr_active(struct task_struct *target, const struct user_regset *regset);
91 int evr_set(struct task_struct *target, const struct user_regset *regset,
97 int gpr32_get_common(struct task_struct *target,
101 int gpr32_set_common(struct task_struct *target,
115 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset);
[all …]
H A Dptrace-spe.c19 int evr_active(struct task_struct *target, const struct user_regset *regset) in evr_active() argument
21 flush_spe_to_thread(target); in evr_active()
22 return target->thread.used_spe ? regset->n : 0; in evr_active()
25 int evr_get(struct task_struct *target, const struct user_regset *regset, in evr_get() argument
28 flush_spe_to_thread(target); in evr_get()
30 membuf_write(&to, &target->thread.evr, sizeof(target->thread.evr)); in evr_get()
35 return membuf_write(&to, &target->thread.acc, in evr_get()
39 int evr_set(struct task_struct *target, const struct user_regset *regset, in evr_set() argument
45 flush_spe_to_thread(target); in evr_set()
48 &target->thread.evr, in evr_set()
[all …]
H A Dptrace-view.c217 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument
222 if (target->thread.regs == NULL) in gpr_get()
225 if (!FULL_REGS(target->thread.regs)) { in gpr_get()
228 target->thread.regs->gpr[i] = NV_REG_POISON; in gpr_get()
231 membuf_write(&to, target->thread.regs, offsetof(struct pt_regs, msr)); in gpr_get()
232 membuf_store(&to, get_user_msr(target)); in gpr_get()
237 membuf_write(&to, &target->thread.regs->orig_gpr3, in gpr_get()
244 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument
251 if (target->thread.regs == NULL) in gpr_set()
254 CHECK_FULL_REGS(target->thread.regs); in gpr_set()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dtarget.h8 struct target { struct
47 enum target_errno target__validate(struct target *target);
48 enum target_errno target__parse_uid(struct target *target);
50 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
52 static inline bool target__has_task(struct target *target) in target__has_task() argument
54 return target->tid || target->pid || target->uid_str; in target__has_task()
57 static inline bool target__has_cpu(struct target *target) in target__has_cpu() argument
59 return target->system_wide || target->cpu_list; in target__has_cpu()
62 static inline bool target__none(struct target *target) in target__none() argument
64 return !target__has_task(target) && !target__has_cpu(target); in target__none()
[all …]
H A Dtarget.c17 enum target_errno target__validate(struct target *target) in target__validate() argument
21 if (target->pid) in target__validate()
22 target->tid = target->pid; in target__validate()
25 if (target->tid && target->cpu_list) { in target__validate()
26 target->cpu_list = NULL; in target__validate()
32 if (target->tid && target->uid_str) { in target__validate()
33 target->uid_str = NULL; in target__validate()
39 if (target->uid_str && target->cpu_list) { in target__validate()
40 target->cpu_list = NULL; in target__validate()
46 if (target->tid && target->system_wide) { in target__validate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target);
29 static void ath6kl_htc_mbox_stop(struct htc_target *target);
30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target,
32 static void ath6kl_htc_set_credit_dist(struct htc_target *target,
375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument
378 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf()
379 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf()
380 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf()
383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument
389 buf_list = tx ? &target->free_ctrl_txbuf : &target->free_ctrl_rxbuf; in htc_get_control_buf()
[all …]
H A Dhtc-ops.h28 static inline int ath6kl_htc_wait_target(struct htc_target *target) in ath6kl_htc_wait_target() argument
30 return target->dev->ar->htc_ops->wait_target(target); in ath6kl_htc_wait_target()
33 static inline int ath6kl_htc_start(struct htc_target *target) in ath6kl_htc_start() argument
35 return target->dev->ar->htc_ops->start(target); in ath6kl_htc_start()
38 static inline int ath6kl_htc_conn_service(struct htc_target *target, in ath6kl_htc_conn_service() argument
42 return target->dev->ar->htc_ops->conn_service(target, req, resp); in ath6kl_htc_conn_service()
45 static inline int ath6kl_htc_tx(struct htc_target *target, in ath6kl_htc_tx() argument
48 return target->dev->ar->htc_ops->tx(target, packet); in ath6kl_htc_tx()
51 static inline void ath6kl_htc_stop(struct htc_target *target) in ath6kl_htc_stop() argument
53 return target->dev->ar->htc_ops->stop(target); in ath6kl_htc_stop()
[all …]
H A Dhtc_pipe.c56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); in do_send_completion()
72 ep->ep_cb.tx_complete(ep->target, packet); in do_send_completion()
77 static void send_packet_completion(struct htc_target *target, in send_packet_completion() argument
80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; in send_packet_completion()
91 static void get_htc_packet_credit_based(struct htc_target *target, in get_htc_packet_credit_based() argument
118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based()
122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based()
123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based()
173 static void get_htc_packet(struct htc_target *target, in get_htc_packet() argument
203 static int htc_issue_packets(struct htc_target *target, in htc_issue_packets() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/srp/
H A Dib_srp.c216 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument
222 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin()
223 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin()
275 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument
285 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp()
286 target->srp_host->port, in srp_init_ib_qp()
287 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp()
295 attr->port_num = target->srp_host->port; in srp_init_ib_qp()
310 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id() local
313 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_ib_cm_id()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Dtest-reexec26 target=$1
28 sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2`
29 sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2`
30 sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2`
54 echo "Removing ${sstate_dir}/${sstate_pkgspec}*_${sstask}.tgz* for $target"
61 target=$1
66 if [ -f $LOGS/force.$target.$task ]; then
75 echo "Attempting target $target, task $task"
77 bitbake $target -c cleansstate > $LOGS/initial.$target.$task
78 bitbake $target >> $LOGS/initial.$target.$task
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/
H A Dmakedbs.sh19 target=$VAR_DB/passwd.db
26 makedb --quiet -o $target -
32 target=$VAR_DB/group.db
51 makedb --quiet -o $target -
57 target=$VAR_DB/ethers.db
63 makedb --quiet -o $target -
69 target=$VAR_DB/protocols.db
77 makedb --quiet -o $target -
83 target=$VAR_DB/rpc.db
91 makedb --quiet -o $target -
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c21 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send() argument
26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send()
35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send()
88 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy() argument
94 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy()
96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy()
99 atomic_inc(&target->tgt_ready); in htc_process_target_rdy()
100 complete(&target->target_wait); in htc_process_target_rdy()
103 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp() argument
122 endpoint = &target->endpoint[epid]; in htc_process_conn_rsp()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/
H A Ddnf.py19 status, output = self.target.run(command, 1500)
56 '0.0.0.0', port=cls.tc.target.server_port,
66 deploy_url = 'http://%s:%s/' %(self.target.server_ip, self.repo_server.port)
102 status, output = self.target.run('find /var/cache/dnf -name run-postinsts-dev*rpm', 1500)
111 url = 'http://%s:%s/%s' %(self.target.server_ip, self.repo_server.port, rpm_path)
126 self.target.run('mkdir -p %s/etc' % rootpath, 1500)
127 …self.target.run('mkdir -p %s/bin %s/sbin %s/usr/bin %s/usr/sbin' % (rootpath, rootpath, rootpath, …
128 self.target.run('mkdir -p %s/dev' % rootpath, 1500)
130 self.target.run('mkdir -p %s/lib' % rootpath, 1500)
131 self.target.run('mkdir -p %s/libx32' % rootpath, 1500)
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/numa/
H A Dhmat.c95 struct memory_target *target; in find_mem_target() local
97 list_for_each_entry(target, &targets, node) in find_mem_target()
98 if (target->memory_pxm == mem_pxm) in find_mem_target()
99 return target; in find_mem_target()
126 struct memory_target *target; in alloc_memory_target() local
128 target = find_mem_target(mem_pxm); in alloc_memory_target()
129 if (!target) { in alloc_memory_target()
130 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target()
131 if (!target) in alloc_memory_target()
133 target->memory_pxm = mem_pxm; in alloc_memory_target()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_io.c15 u16 target = reg >> TARGET_OFFSET; in __ocelot_read_ix() local
18 WARN_ON(!target); in __ocelot_read_ix()
20 regmap_read(ocelot->targets[target], in __ocelot_read_ix()
21 ocelot->map[target][reg & REG_MASK] + offset, &val); in __ocelot_read_ix()
28 u16 target = reg >> TARGET_OFFSET; in __ocelot_write_ix() local
30 WARN_ON(!target); in __ocelot_write_ix()
32 regmap_write(ocelot->targets[target], in __ocelot_write_ix()
33 ocelot->map[target][reg & REG_MASK] + offset, val); in __ocelot_write_ix()
40 u16 target = reg >> TARGET_OFFSET; in __ocelot_rmw_ix() local
42 WARN_ON(!target); in __ocelot_rmw_ix()
[all …]
/OK3568_Linux_fs/kernel/Documentation/target/
H A Dtcm_mod_builder.rst13 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD
15 This script will create a new drivers/target/$TCM_NEW_MOD/, and will do the following
17 1) Generate new API callers for drivers/target/target_core_fabric_configs.c logic
25 using drivers/target/target_core_fabric_lib.c logic.
32target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_n…
33 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../
36 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h
43 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dtaskdata.py19 def re_match_strings(target, strings): argument
26 if re.match(name, target):
28 elif name == target:
183 def have_build_target(self, target): argument
187 if target in self.build_targets and self.build_targets[target]:
191 def have_runtime_target(self, target): argument
195 if target in self.run_targets and self.run_targets[target]:
237 def mark_external_target(self, target): argument
241 if target not in self.external_targets:
242 self.external_targets.append(target)
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/
H A Dclock.c79 u32 target; in enable_usboh3_clk() local
86 target = CLK_ROOT_ON | in enable_usboh3_clk()
90 clock_set_target_val(USB_HSIC_CLK_ROOT, target); in enable_usboh3_clk()
527 u32 target; in enable_i2c_clk() local
537 target = CLK_ROOT_ON | in enable_i2c_clk()
541 clock_set_target_val(I2C1_CLK_ROOT + i2c_num, target); in enable_i2c_clk()
554 u32 target; in init_clk_esdhc() local
562 target = CLK_ROOT_ON | USDHC1_CLK_ROOT_FROM_PLL_SYS_PFD0_392M_CLK | in init_clk_esdhc()
565 clock_set_target_val(USDHC1_CLK_ROOT, target); in init_clk_esdhc()
567 target = CLK_ROOT_ON | USDHC1_CLK_ROOT_FROM_PLL_SYS_PFD0_392M_CLK | in init_clk_esdhc()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/arch/s390/annotate/
H A Dinstructions.c9 struct addr_map_symbol target = { in s390_call__parse() local
17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse()
34 ops->target.name = strdup(name); in s390_call__parse()
37 if (ops->target.name == NULL) in s390_call__parse()
39 target.addr = map__objdump_2mem(map, ops->target.addr); in s390_call__parse()
41 if (maps__find_ams(ms->maps, &target) == 0 && in s390_call__parse()
42 map__rip_2objdump(target.ms.map, map->map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse()
43 ops->target.sym = target.ms.sym; in s390_call__parse()
60 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse() local
72 target = ++s; in s390_mov__parse()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dptrace_32.c48 static int regwindow32_get(struct task_struct *target, in regwindow32_get() argument
55 if (target == current) { in regwindow32_get()
59 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_get()
66 static int regwindow32_set(struct task_struct *target, in regwindow32_set() argument
73 if (target == current) { in regwindow32_set()
77 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_set()
84 static int genregs32_get(struct task_struct *target, in genregs32_get() argument
88 const struct pt_regs *regs = target->thread.kregs; in genregs32_get()
91 if (target == current) in genregs32_get()
97 if (regwindow32_get(target, regs, uregs)) in genregs32_get()
[all …]
H A Dptrace_64.c161 static int get_from_target(struct task_struct *target, unsigned long uaddr, in get_from_target() argument
164 if (target == current) { in get_from_target()
168 int len2 = access_process_vm(target, uaddr, kbuf, len, in get_from_target()
176 static int set_to_target(struct task_struct *target, unsigned long uaddr, in set_to_target() argument
179 if (target == current) { in set_to_target()
183 int len2 = access_process_vm(target, uaddr, kbuf, len, in set_to_target()
191 static int regwindow64_get(struct task_struct *target, in regwindow64_get() argument
201 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) in regwindow64_get()
209 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) in regwindow64_get()
216 static int regwindow64_set(struct task_struct *target, in regwindow64_set() argument
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gcc/gcc/
H A D0002-CVE-2021-42574.patch230 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
234 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
236 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
240 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
243 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
246 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
248 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
250 +/* { dg-warning "unpaired" "" { target *-*-* } .-1 } */
263 +/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */
265 +/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifs_unicode.c33 convert_sfu_char(const __u16 src_char, char *target) in convert_sfu_char() argument
42 *target = ':'; in convert_sfu_char()
45 *target = '*'; in convert_sfu_char()
48 *target = '?'; in convert_sfu_char()
51 *target = '|'; in convert_sfu_char()
54 *target = '>'; in convert_sfu_char()
57 *target = '<'; in convert_sfu_char()
67 convert_sfm_char(const __u16 src_char, char *target) in convert_sfm_char() argument
70 *target = src_char - 0xF000; in convert_sfm_char()
75 *target = ':'; in convert_sfm_char()
[all …]

12345678910>>...135