Home
last modified time | relevance | path

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

12345678910>>...170

/openbmc/linux/tools/perf/util/
H A Dtarget.h8 struct target { struct
55 enum target_errno target__validate(struct target *target);
56 enum target_errno target__parse_uid(struct target *target);
58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
60 static inline bool target__has_task(struct target *target) in target__has_task() argument
62 return target->tid || target->pid || target->uid_str; in target__has_task()
65 static inline bool target__has_cpu(struct target *target) in target__has_cpu() argument
67 return target->system_wide || target->cpu_list; in target__has_cpu()
70 static inline bool target__none(struct target *target) in target__none() argument
72 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 …]
/openbmc/linux/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
97 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_get()
100 flush_tmregs_to_thread(target); in tm_cgpr_get()
101 flush_fp_to_thread(target); in tm_cgpr_get()
102 flush_altivec_to_thread(target); in tm_cgpr_get()
104 membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs)); in tm_cgpr_get()
106 membuf_store(&to_msr, get_user_ckpt_msr(target)); in tm_cgpr_get()
134 int tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_set() argument
[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.h73 int fpr_set(struct task_struct *target, const struct user_regset *regset,
79 int vsr_active(struct task_struct *target, const struct user_regset *regset);
81 int vsr_set(struct task_struct *target, const struct user_regset *regset,
87 int vr_active(struct task_struct *target, const struct user_regset *regset);
89 int vr_set(struct task_struct *target, const struct user_regset *regset,
95 int evr_active(struct task_struct *target, const struct user_regset *regset);
97 int evr_set(struct task_struct *target, const struct user_regset *regset,
103 int gpr32_get_common(struct task_struct *target,
107 int gpr32_set_common(struct task_struct *target,
121 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset);
[all …]
/openbmc/phosphor-state-manager/target_files/
H A Dmeson.build2 'obmc-bmc-service-quiesce@.target',
3 'obmc-chassis-blackout@.target',
4 'obmc-chassis-hard-poweroff@.target',
5 'obmc-chassis-powered-off@.target',
6 'obmc-chassis-poweroff@.target',
7 'obmc-chassis-poweron@.target',
8 'obmc-chassis-powerreset@.target',
9 'obmc-chassis-powercycle@.target',
10 'obmc-fan-control-ready@.target',
11 'obmc-fan-control.target',
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
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_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_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 …]
/openbmc/openbmc/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 …]
/openbmc/openbmc/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 …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c111 static void test_tc_opts_before_target(int target) in test_tc_opts_before_target() argument
139 assert_mprog_count(target, 0); in test_tc_opts_before_target()
141 err = bpf_prog_attach_opts(fd1, loopback, target, &opta); in test_tc_opts_before_target()
145 assert_mprog_count(target, 1); in test_tc_opts_before_target()
147 err = bpf_prog_attach_opts(fd2, loopback, target, &opta); in test_tc_opts_before_target()
151 assert_mprog_count(target, 2); in test_tc_opts_before_target()
158 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target()
181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_before_target()
188 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target()
204 err = bpf_prog_attach_opts(fd4, loopback, target, &opta); in test_tc_opts_before_target()
[all …]
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c211 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument
217 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin()
218 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin()
270 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument
280 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp()
281 target->srp_host->port, in srp_init_ib_qp()
282 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp()
290 attr->port_num = target->srp_host->port; in srp_init_ib_qp()
305 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id() local
308 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_ib_cm_id()
[all …]
/openbmc/linux/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
128 endpoint = &target->endpoint[epid]; in htc_process_conn_rsp()
[all …]
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dsmack.py20 status, output = cls.tc.target.run("grep smack /proc/mounts | awk '{print $2}'")
28 status,output = self.target.run("cat /proc/self/attr/current")
35 self.target.run("touch %s" %filename)
36 status, output = self.target.run("chsmack -a %s %s" %(LABEL, filename))
41 status, output = self.target.run("chsmack %s" %filename)
42 self.target.run("rm %s" %filename)
58 self.target.run("touch %s" %filename)
59 status, output = self.target.run("chsmack -e %s %s" %(LABEL, filename))
64 status, output = self.target.run("chsmack %s" %filename)
65 self.target.run("rm %s" %filename)
[all …]
/openbmc/linux/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c12 struct addr_map_symbol target = { in loongarch_call__parse() local
20 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse()
34 ops->target.name = strdup(name); in loongarch_call__parse()
37 if (ops->target.name == NULL) in loongarch_call__parse()
40 target.addr = map__objdump_2mem(map, ops->target.addr); in loongarch_call__parse()
42 if (maps__find_ams(ms->maps, &target) == 0 && in loongarch_call__parse()
43 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_call__parse()
44 ops->target.sym = target.ms.sym; in loongarch_call__parse()
58 struct addr_map_symbol target = { in loongarch_jump__parse() local
71 ops->target.addr = strtoull(c, NULL, 16); in loongarch_jump__parse()
[all …]
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit.h99 #define hppa_ldo(im14, reg, target) \ argument
100 hppa_t1_insn(0x0d, reg, target, im14) /* ldo val14(reg),target */
103 #define hppa_or(reg1, reg2, target) \ argument
104 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x09, target) /* or reg1,reg2,target */
105 #define hppa_or_cond(reg1, reg2, cond, f, target) \ argument
106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target)
107 #define hppa_and(reg1, reg2, target) \ argument
108 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x08, target) /* and reg1,reg2,target */
109 #define hppa_and_cond(reg1, reg2, cond, f, target) \ argument
110 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x08, target)
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_io.c16 enum ocelot_target target; in __ocelot_bulk_read_ix() local
19 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_bulk_read_ix()
20 WARN_ON(!target); in __ocelot_bulk_read_ix()
22 return regmap_bulk_read(ocelot->targets[target], addr + offset, in __ocelot_bulk_read_ix()
29 enum ocelot_target target; in __ocelot_read_ix() local
32 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_read_ix()
33 WARN_ON(!target); in __ocelot_read_ix()
35 regmap_read(ocelot->targets[target], addr + offset, &val); in __ocelot_read_ix()
43 enum ocelot_target target; in __ocelot_write_ix() local
46 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_write_ix()
[all …]
/openbmc/linux/drivers/acpi/numa/
H A Dhmat.c94 struct memory_target *target; in find_mem_target() local
96 list_for_each_entry(target, &targets, node) in find_mem_target()
97 if (target->memory_pxm == mem_pxm) in find_mem_target()
98 return target; in find_mem_target()
125 struct memory_target *target; in alloc_memory_target() local
127 target = find_mem_target(mem_pxm); in alloc_memory_target()
128 if (!target) { in alloc_memory_target()
129 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target()
130 if (!target) in alloc_memory_target()
132 target->memory_pxm = mem_pxm; in alloc_memory_target()
[all …]
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/
H A Dop-proc-control-systemd-links.bb15 mkdir -p $D$systemd_system_unitdir/obmc-host-stop@0.target.wants
16 mkdir -p $D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires
17 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.requires
18 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants
19 mkdir -p $D$systemd_system_unitdir/obmc-host-diagnostic-mode@0.target.requires
20 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires
21 mkdir -p $D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants
23 LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/op-stop-instructions@0.service"
27 …LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-clear-sys-dump-active@0.servic…
31 LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-stop-instructions@0.service"
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c322 static int kfd_dbg_set_workaround(struct kfd_process *target, bool enable) in kfd_dbg_set_workaround() argument
324 struct process_queue_manager *pqm = &target->pqm; in kfd_dbg_set_workaround()
341 target->runtime_info.runtime_state = r == -EBUSY ? in kfd_dbg_set_workaround()
503 static void kfd_dbg_clear_process_address_watch(struct kfd_process *target) in kfd_dbg_clear_process_address_watch() argument
507 for (i = 0; i < target->n_pdds; i++) in kfd_dbg_clear_process_address_watch()
509 kfd_dbg_trap_clear_dev_address_watch(target->pdds[i], j); in kfd_dbg_clear_process_address_watch()
512 int kfd_dbg_trap_set_flags(struct kfd_process *target, uint32_t *flags) in kfd_dbg_trap_set_flags() argument
514 uint32_t prev_flags = target->dbg_flags; in kfd_dbg_trap_set_flags()
517 for (i = 0; i < target->n_pdds; i++) { in kfd_dbg_trap_set_flags()
518 if (!kfd_dbg_is_per_vmid_supported(target->pdds[i]->dev) && in kfd_dbg_trap_set_flags()
[all …]
/openbmc/linux/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 …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Ddnf.py21 status, output = self.target.run(command, 1500)
58 '0.0.0.0', port=cls.tc.target.server_port,
68 deploy_url = 'http://%s:%s/' %(self.target.server_ip, self.repo_server.port)
99 status, output = self.target.run('find /var/cache/dnf -name dnf-test-dep*rpm')
108 url = 'http://%s:%s/%s' %(self.target.server_ip, self.repo_server.port, rpm_path)
123 self.target.run('mkdir -p %s/etc' % rootpath, 1500)
124 …self.target.run('mkdir -p %s/bin %s/sbin %s/usr/bin %s/usr/sbin' % (rootpath, rootpath, rootpath, …
125 self.target.run('mkdir -p %s/dev' % rootpath, 1500)
127 self.target.run('mkdir -p %s/lib' % rootpath, 1500)
128 self.target.run('mkdir -p %s/libx32' % rootpath, 1500)
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/
H A Dphosphor-state-manager-systemd-links.inc2 multi-user.target.wants/obmc-host-reset@{}.target \
3 multi-user.target.wants/phosphor-discover-system-state@{}.service \
4 obmc-host-start@{}.target.requires/obmc-host-startmin@{}.target \
5 obmc-host-start@{}.target.requires/phosphor-reset-host-reboot-attempts@{}.service \
6 obmc-host-startmin@{}.target.wants/phosphor-set-host-transition-to-running@{}.service \
7 obmc-host-stop@{}.target.wants/phosphor-set-host-transition-to-off@{}.service \
8 obmc-host-reset@{}.target.requires/phosphor-reset-host-running@{}.service \
9 obmc-host-stop@{}.target.wants/phosphor-reset-sensor-states@{}.service \
10 obmc-host-shutdown@{}.target.requires/obmc-host-stop@{}.target \
11 obmc-host-graceful-quiesce@{}.target.wants/obmc-host-quiesce@{}.target \
[all …]
/openbmc/linux/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()
57 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse() local
69 target = ++s; in s390_mov__parse()
[all …]

12345678910>>...170