Home
last modified time | relevance | path

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

12345678910>>...66

/linux-6.3-rc2/tools/perf/util/
A Dtarget.h8 struct target { struct
56 enum target_errno target__validate(struct target *target);
57 enum target_errno target__parse_uid(struct target *target);
61 static inline bool target__has_task(struct target *target) in target__has_task() argument
63 return target->tid || target->pid || target->uid_str; in target__has_task()
66 static inline bool target__has_cpu(struct target *target) in target__has_cpu() argument
68 return target->system_wide || target->cpu_list; in target__has_cpu()
71 static inline bool target__none(struct target *target) in target__none() argument
84 return target__none(target) && !target->initial_delay; in target__enable_on_exec()
89 return target->system_wide && target->per_thread; in target__has_per_thread()
[all …]
A Dtarget.c22 target->tid = target->pid; in target__validate()
25 if (target->tid && target->cpu_list) { in target__validate()
32 if (target->tid && target->uid_str) { in target__validate()
39 if (target->uid_str && target->cpu_list) { in target__validate()
46 if (target->tid && target->system_wide) { in target__validate()
53 if (target->uid_str && target->system_wide) { in target__validate()
60 if (target->bpf_str && target->cpu_list) { in target__validate()
67 if (target->bpf_str && target->tid) { in target__validate()
74 if (target->bpf_str && target->uid_str) { in target__validate()
81 if (target->bpf_str && target->per_thread) { in target__validate()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace-tm.c101 flush_fp_to_thread(target); in tm_cgpr_get()
148 flush_fp_to_thread(target); in tm_cgpr_set()
242 flush_fp_to_thread(target); in tm_cfpr_get()
287 flush_fp_to_thread(target); in tm_cfpr_set()
359 flush_fp_to_thread(target); in tm_cvmx_get()
408 flush_fp_to_thread(target); in tm_cvmx_set()
448 flush_vsx_to_thread(target); in tm_cvsx_active()
483 flush_fp_to_thread(target); in tm_cvsx_get()
527 flush_fp_to_thread(target); in tm_cvsx_set()
587 flush_fp_to_thread(target); in tm_spr_get()
[all …]
A Dptrace-vsx.c27 flush_fp_to_thread(target); in fpr_get()
31 buf[i] = target->thread.TS_FPR(i); in fpr_get()
56 flush_fp_to_thread(target); in fpr_set()
81 flush_vsx_to_thread(target); in vsr_active()
103 flush_tmregs_to_thread(target); in vsr_get()
104 flush_fp_to_thread(target); in vsr_get()
105 flush_altivec_to_thread(target); in vsr_get()
106 flush_vsx_to_thread(target); in vsr_get()
133 flush_tmregs_to_thread(target); in vsr_set()
134 flush_fp_to_thread(target); in vsr_set()
[all …]
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,
137 int tm_spr_set(struct task_struct *target, const struct user_regset *regset,
[all …]
A Dptrace-spe.c21 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()
45 flush_spe_to_thread(target); in evr_set()
48 &target->thread.evr, in evr_set()
49 0, sizeof(target->thread.evr)); in evr_set()
56 &target->thread.acc, in evr_set()
[all …]
A Dptrace-altivec.c23 int vr_active(struct task_struct *target, const struct user_regset *regset) in vr_active() argument
25 flush_altivec_to_thread(target); in vr_active()
26 return target->thread.used_vr ? regset->n : 0; in vr_active()
43 int vr_get(struct task_struct *target, const struct user_regset *regset, in vr_get() argument
51 flush_altivec_to_thread(target); in vr_get()
56 membuf_write(&to, &target->thread.vr_state, 33 * sizeof(vector128)); in vr_get()
61 vrsave.word = target->thread.vrsave; in vr_get()
85 flush_altivec_to_thread(target); in vr_set()
91 &target->thread.vr_state, 0, in vr_set()
104 vrsave.word = target->thread.vrsave; in vr_set()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/
A Dhtc-ops.h30 return target->dev->ar->htc_ops->wait_target(target); in ath6kl_htc_wait_target()
35 return target->dev->ar->htc_ops->start(target); in ath6kl_htc_start()
42 return target->dev->ar->htc_ops->conn_service(target, req, resp); in ath6kl_htc_conn_service()
48 return target->dev->ar->htc_ops->tx(target, packet); in ath6kl_htc_tx()
53 return target->dev->ar->htc_ops->stop(target); in ath6kl_htc_stop()
58 return target->dev->ar->htc_ops->cleanup(target); in ath6kl_htc_cleanup()
65 return target->dev->ar->htc_ops->flush_txep(target, endpoint, tag); in ath6kl_htc_flush_txep()
70 return target->dev->ar->htc_ops->flush_rx_buf(target); in ath6kl_htc_flush_rx_buf()
84 return target->dev->ar->htc_ops->get_rxbuf_num(target, endpoint); in ath6kl_htc_get_rxbuf_num()
90 return target->dev->ar->htc_ops->add_rxbuf_multiple(target, pktq); in ath6kl_htc_add_rxbuf_multiple()
[all …]
A Dhtc_mbox.c429 target->credit_info, &target->cred_dist_list); in htc_tx_comp_update()
759 struct htc_target *target = endpoint->target; in ath6kl_htc_tx_bundle() local
1237 target->credit_info, &target->cred_dist_list); in ath6kl_htc_mbox_activity_changed()
2586 endpoint->target = target; in reset_ep_state()
2617 target->msg_per_bndl_max = min(target->max_scat_entries, in htc_setup_msg_bndl()
2625 target->max_rx_bndl_sz = target->max_xfer_szper_scatreq; in htc_setup_msg_bndl()
2631 target->max_rx_bndl_sz, target->max_tx_bndl_sz); in htc_setup_msg_bndl()
2640 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()
2687 target->tgt_creds, target->tgt_cred_sz); in ath6kl_htc_mbox_wait_target()
2846 target = kzalloc(sizeof(*target), GFP_KERNEL); in ath6kl_htc_mbox_create()
[all …]
A Dhtc_pipe.c1186 ep->target = target; in reset_endpoint_states()
1433 target->dev = kzalloc(sizeof(*target->dev), GFP_KERNEL); in ath6kl_htc_pipe_create()
1434 if (!target->dev) { in ath6kl_htc_pipe_create()
1440 target->dev->htc_cnxt = target; in ath6kl_htc_pipe_create()
1448 return target; in ath6kl_htc_pipe_create()
1452 if (target != NULL) in ath6kl_htc_pipe_create()
1455 target = NULL; in ath6kl_htc_pipe_create()
1457 return target; in ath6kl_htc_pipe_create()
1472 kfree(target->dev); in ath6kl_htc_pipe_cleanup()
1475 kfree(target); in ath6kl_htc_pipe_cleanup()
[all …]
/linux-6.3-rc2/drivers/infiniband/ulp/srp/
A Dib_srp.c310 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id() local
336 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id() local
380 struct srp_target_port *target = ch->target; in srp_new_cm_id() local
530 struct srp_target_port *target = ch->target; in srp_create_ch_ib() local
705 struct srp_target_port *target = ch->target; in srp_path_rec_completion() local
718 struct srp_target_port *target = ch->target; in srp_ib_lookup_path() local
757 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path() local
777 struct srp_target_port *target = ch->target; in srp_lookup_path() local
3838 target->ch = kcalloc(target->ch_count, sizeof(*target->ch), in add_target_store()
3845 ch->target = target; in add_target_store()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dhtc_hst.c35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send()
142 complete(&target->cmd_wait); in htc_process_conn_rsp()
314 target->hif->stop(target->hif_dev); in htc_stop()
319 target->hif->start(target->hif_dev); in htc_start()
324 target->hif->sta_drain(target->hif_dev, idx); in htc_sta_drain()
491 struct htc_target *target; in ath9k_htc_hw_alloc() local
494 if (!target) in ath9k_htc_hw_alloc()
500 target->hif = hif; in ath9k_htc_hw_alloc()
502 target->dev = dev; in ath9k_htc_hw_alloc()
511 return target; in ath9k_htc_hw_alloc()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_io.c16 u16 target = reg >> TARGET_OFFSET; in __ocelot_bulk_read_ix() local
18 WARN_ON(!target); in __ocelot_bulk_read_ix()
31 WARN_ON(!target); in __ocelot_read_ix()
43 WARN_ON(!target); in __ocelot_write_ix()
55 WARN_ON(!target); in __ocelot_rmw_ix()
69 WARN_ON(!target); in ocelot_port_readl()
71 regmap_read(port->target, ocelot->map[target][reg & REG_MASK], &val); in ocelot_port_readl()
81 WARN_ON(!target); in ocelot_port_writel()
83 regmap_write(port->target, ocelot->map[target][reg & REG_MASK], val); in ocelot_port_writel()
116 u16 target; in ocelot_regfields_init() local
[all …]
/linux-6.3-rc2/drivers/acpi/numa/
A Dhmat.c94 struct memory_target *target; in find_mem_target() local
98 return target; in find_mem_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()
340 if (target && target->processor_pxm == inits[init]) { in hmat_parse_locality()
376 if (!target) in hmat_parse_cache()
442 if (!target) { in hmat_parse_proximity_domain()
776 if (!target) in hmat_callback()
798 list_del(&target->node); in hmat_free_structures()
[all …]
/linux-6.3-rc2/Documentation/target/
A Dtcm_mod_builder.rst36 /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
43 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
51 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kbuild
53 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kconfig
58 line to drivers/target/Kbuild::
72 target:/mnt/sdb/lio-core-2.6.git# ls -la drivers/target/tcm_nab5000/
98 target:/mnt/sdb/lio-core-2.6.git# insmod drivers/target/tcm_nab5000.ko
101target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# ln -s /sys/kernel/config/target
103 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# cd -
[all …]
/linux-6.3-rc2/tools/perf/arch/s390/annotate/
A Dinstructions.c9 struct addr_map_symbol target = { in s390_call__parse() local
37 if (ops->target.name == NULL) in s390_call__parse()
39 target.addr = map__objdump_2mem(map, ops->target.addr); 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()
72 target = ++s; in s390_mov__parse()
73 ops->target.raw = strdup(target); in s390_mov__parse()
74 if (ops->target.raw == NULL) in s390_mov__parse()
77 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
78 if (endptr == target) in s390_mov__parse()
[all …]
/linux-6.3-rc2/drivers/misc/lkdtm/
A Dfortify.c15 struct target { in lkdtm_FORTIFY_STR_OBJECT() struct
18 } target[3] = {}; in lkdtm_FORTIFY_STR_OBJECT() local
28 strncpy(target[0].a, target[1].a, size); in lkdtm_FORTIFY_STR_OBJECT()
39 struct target { in lkdtm_FORTIFY_STR_MEMBER() struct
42 } target; in lkdtm_FORTIFY_STR_MEMBER() local
57 strncpy(target.a, src, size); in lkdtm_FORTIFY_STR_MEMBER()
71 struct target { in lkdtm_FORTIFY_MEM_OBJECT() struct
74 } target = {}; in lkdtm_FORTIFY_MEM_OBJECT() local
104 struct target { in lkdtm_FORTIFY_MEM_MEMBER() struct
107 } target; in lkdtm_FORTIFY_MEM_MEMBER() local
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dptrace.c596 sve_sync_to_fpsimd(target); in __fpr_get()
609 if (target == current) in fpr_get()
666 if (target == current) in tls_get()
796 if (target == current) in sve_get_common()
895 sve_alloc(target, true); in sve_set_common()
924 sve_alloc(target, true); in sve_set_common()
1041 if (target == current) in za_get()
1093 sve_alloc(target, false); in za_set()
1101 sme_alloc(target); in za_set()
1172 sme_alloc(target); in zt_set()
[all …]
/linux-6.3-rc2/lib/
A Dsyscall.c13 if (!try_get_task_stack(target)) { in collect_syscall()
20 regs = task_pt_regs(target); in collect_syscall()
22 put_task_stack(target); in collect_syscall()
29 info->data.nr = syscall_get_nr(target, regs); in collect_syscall()
31 syscall_get_arguments(target, regs, args); in collect_syscall()
40 put_task_stack(target); in collect_syscall()
74 if (target == current) in task_current_syscall()
75 return collect_syscall(target, info); in task_current_syscall()
77 state = READ_ONCE(target->__state); in task_current_syscall()
81 ncsw = wait_task_inactive(target, state); in task_current_syscall()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dptrace_32.c54 if (target == current) { in regwindow32_get()
72 if (target == current) { in regwindow32_set()
90 if (target == current) in genregs32_get()
116 if (target == current) in genregs32_set()
171 if (target == current) in fpregs32_get()
191 if (target == current) in fpregs32_set()
250 if (target == current) in getregs_get()
269 if (target == current) in setregs_set()
292 if (target == current) in getfpregs_get()
309 if (target == current) in setfpregs_set()
[all …]
A Dptrace_64.c163 if (target == current) { in get_from_target()
178 if (target == current) { in set_to_target()
253 if (target == current) in genregs64_get()
275 if (target == current) in genregs64_set()
348 if (target == current) in fpregs64_get()
380 if (target == current) in fpregs64_set()
448 if (target == current) in getregs64_get()
467 if (target == current) in setregs64_set()
540 if (target == current) in genregs32_get()
569 if (target == current) in genregs32_set()
[all …]
/linux-6.3-rc2/fs/cifs/
A Dcifs_unicode.c41 *target = ':'; in convert_sfu_char()
44 *target = '*'; in convert_sfu_char()
47 *target = '?'; in convert_sfu_char()
50 *target = '|'; in convert_sfu_char()
53 *target = '>'; in convert_sfu_char()
56 *target = '<'; in convert_sfu_char()
74 *target = ':'; in convert_sfm_char()
77 *target = '"'; in convert_sfm_char()
80 *target = '*'; in convert_sfm_char()
83 *target = '?'; in convert_sfm_char()
[all …]
/linux-6.3-rc2/drivers/macintosh/
A Dwindfarm_pid.c36 s32 target; in wf_pid_run() local
70 target += st->target; in wf_pid_run()
71 target = max(target, st->param.min); in wf_pid_run()
72 target = min(target, st->param.max); in wf_pid_run()
73 st->target = target; in wf_pid_run()
75 return st->target; in wf_pid_run()
137 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run()
138 target = max(target, st->param.min); in wf_cpu_pid_run()
139 target = min(target, st->param.max); in wf_cpu_pid_run()
140 st->target = target; in wf_cpu_pid_run()
[all …]
/linux-6.3-rc2/drivers/of/
A Doverlay.c41 struct target { struct
99 struct target *target, const struct device_node *overlay_node);
166 nd.target = fragment->target; in overlay_notify()
301 struct target *target, struct property *overlay_prop, in add_changeset_property() argument
322 target->np); in add_changeset_property()
406 struct target *target, struct device_node *node) in add_changeset_node() argument
478 struct target *target, const struct device_node *overlay_node) in build_changeset_next_level() argument
510 struct target *target, in build_changeset_symbols_node() argument
635 struct target target; in build_changeset() local
650 target.np = fragment->target; in build_changeset()
[all …]
/linux-6.3-rc2/drivers/scsi/ibmvscsi_tgt/
A Dlibsrp.c109 spin_lock_init(&target->lock); in srp_target_alloc()
111 target->dev = dev; in srp_target_alloc()
114 target->rx_ring_size = nr; in srp_target_alloc()
115 target->rx_ring = srp_ring_alloc(target->dev, nr, iu_size); in srp_target_alloc()
116 if (!target->rx_ring) in srp_target_alloc()
118 err = srp_iu_pool_alloc(&target->iu_queue, nr, target->rx_ring); in srp_target_alloc()
122 dev_set_drvdata(target->dev, target); in srp_target_alloc()
126 srp_ring_free(target->dev, target->rx_ring, nr, iu_size); in srp_target_alloc()
133 srp_ring_free(target->dev, target->rx_ring, target->rx_ring_size, in srp_target_free()
134 target->srp_iu_size); in srp_target_free()
[all …]

Completed in 83 milliseconds

12345678910>>...66