Home
last modified time | relevance | path

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

12345678910>>...74

/linux/tools/perf/util/
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);
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
83 return target__none(target) && !target->initial_delay; in target__enable_on_exec()
88 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/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.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,
143 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 …]
/linux/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.c428 target->credit_info, &target->cred_dist_list); in htc_tx_comp_update()
758 struct htc_target *target = endpoint->target; in ath6kl_htc_tx_bundle() local
1236 target->credit_info, &target->cred_dist_list); in ath6kl_htc_mbox_activity_changed()
2585 endpoint->target = target; in reset_ep_state()
2616 target->msg_per_bndl_max = min(target->max_scat_entries, in htc_setup_msg_bndl()
2624 target->max_rx_bndl_sz = target->max_xfer_szper_scatreq; in htc_setup_msg_bndl()
2630 target->max_rx_bndl_sz, target->max_tx_bndl_sz); in htc_setup_msg_bndl()
2639 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()
2686 target->tgt_creds, target->tgt_cred_sz); in ath6kl_htc_mbox_wait_target()
2845 target = kzalloc(sizeof(*target), GFP_KERNEL); in ath6kl_htc_mbox_create()
[all …]
A Dhtc_pipe.c962 if (!target) { in ath6kl_htc_pipe_rx_complete()
1185 ep->target = target; in reset_endpoint_states()
1432 target->dev = kzalloc(sizeof(*target->dev), GFP_KERNEL); in ath6kl_htc_pipe_create()
1433 if (!target->dev) { in ath6kl_htc_pipe_create()
1439 target->dev->htc_cnxt = target; in ath6kl_htc_pipe_create()
1447 return target; in ath6kl_htc_pipe_create()
1454 target = NULL; in ath6kl_htc_pipe_create()
1456 return target; in ath6kl_htc_pipe_create()
1471 kfree(target->dev); in ath6kl_htc_pipe_cleanup()
1474 kfree(target); in ath6kl_htc_pipe_cleanup()
[all …]
/linux/drivers/acpi/numa/
A Dhmat.c144 if (!target) in acpi_get_genport_coordinates()
181 if (!target) { in alloc_target()
182 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_target()
183 if (!target) in alloc_target()
197 return target; in alloc_target()
207 if (!target) in alloc_memory_target()
225 if (!target) in alloc_genport_target()
344 if (!target) in hmat_update_target_coordinates()
408 if (target && target->processor_pxm == init_pxm) { in hmat_update_target()
493 if (!target) in hmat_parse_cache()
[all …]
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.c305 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id() local
331 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id() local
375 struct srp_target_port *target = ch->target; in srp_new_cm_id() local
525 struct srp_target_port *target = ch->target; in srp_create_ch_ib() local
700 struct srp_target_port *target = ch->target; in srp_path_rec_completion() local
713 struct srp_target_port *target = ch->target; in srp_ib_lookup_path() local
752 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path() local
772 struct srp_target_port *target = ch->target; in srp_lookup_path() local
3823 target->ch = kcalloc(target->ch_count, sizeof(*target->ch), in add_target_store()
3830 ch->target = target; in add_target_store()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A Dhtc_hst.c35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send()
148 complete(&target->cmd_wait); in htc_process_conn_rsp()
320 target->hif->stop(target->hif_dev); in htc_stop()
325 target->hif->start(target->hif_dev); in htc_start()
330 target->hif->sta_drain(target->hif_dev, idx); in htc_sta_drain()
497 struct htc_target *target; in ath9k_htc_hw_alloc() local
500 if (!target) in ath9k_htc_hw_alloc()
506 target->hif = hif; in ath9k_htc_hw_alloc()
508 target->dev = dev; in ath9k_htc_hw_alloc()
517 return target; in ath9k_htc_hw_alloc()
[all …]
/linux/tools/perf/arch/loongarch/annotate/
A Dinstructions.c13 struct addr_map_symbol target = { in loongarch_call__parse() local
38 if (ops->target.name == NULL) in loongarch_call__parse()
41 target.addr = map__objdump_2mem(map, ops->target.addr); in loongarch_call__parse()
44 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_call__parse()
45 ops->target.sym = target.ms.sym; in loongarch_call__parse()
77 target.addr = map__objdump_2mem(map, ops->target.addr); in loongarch_jump__parse()
81 ops->target.outside = target.addr < start || target.addr > end; in loongarch_jump__parse()
84 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_jump__parse()
85 ops->target.sym = target.ms.sym; in loongarch_jump__parse()
87 if (!ops->target.outside) { in loongarch_jump__parse()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtc_opts.c139 assert_mprog_count(target, 0); in test_tc_opts_before_target()
145 assert_mprog_count(target, 1); in test_tc_opts_before_target()
151 assert_mprog_count(target, 2); in test_tc_opts_before_target()
208 assert_mprog_count(target, 4); in test_tc_opts_before_target()
236 assert_mprog_count(target, 3); in test_tc_opts_before_target()
241 assert_mprog_count(target, 2); in test_tc_opts_before_target()
246 assert_mprog_count(target, 1); in test_tc_opts_before_target()
251 assert_mprog_count(target, 0); in test_tc_opts_before_target()
291 assert_mprog_count(target, 0); in test_tc_opts_after_target()
297 assert_mprog_count(target, 1); in test_tc_opts_after_target()
[all …]
/linux/arch/parisc/net/
A Dbpf_jit.h99 #define hppa_ldo(im14, reg, target) \ argument
103 #define hppa_or(reg1, reg2, target) \ argument
107 #define hppa_and(reg1, reg2, target) \ argument
111 #define hppa_xor(reg1, reg2, target) \ argument
113 #define hppa_add(reg1, reg2, target) \ argument
127 #define hppa_copy(reg, target) \ argument
155 #define hppa_shl(r, len, target) \ argument
159 #define hppa_depwz_sar(reg, target) \ argument
161 #define hppa_shrpw_sar(reg, target) \ argument
173 #define hppa_shr(r, len, target) \ argument
[all …]
/linux/drivers/net/ethernet/mscc/
A Docelot_io.c16 enum ocelot_target target; in __ocelot_bulk_read_ix() local
20 WARN_ON(!target); in __ocelot_bulk_read_ix()
29 enum ocelot_target target; in __ocelot_read_ix() local
33 WARN_ON(!target); in __ocelot_read_ix()
47 WARN_ON(!target); in __ocelot_write_ix()
60 WARN_ON(!target); in __ocelot_rmw_ix()
72 WARN_ON(!target); in ocelot_port_readl()
74 regmap_read(port->target, ocelot->map[target][reg & REG_MASK], &val); in ocelot_port_readl()
84 WARN_ON(!target); in ocelot_port_writel()
86 regmap_write(port->target, ocelot->map[target][reg & REG_MASK], val); in ocelot_port_writel()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_debug.c519 target->dbg_flags = *flags; in kfd_dbg_trap_set_flags()
635 pqm = &target->pqm; in kfd_dbg_clean_exception_status()
643 target->exception_status = 0; in kfd_dbg_clean_exception_status()
661 fput(target->dbg_ev_file); in kfd_dbg_trap_disable()
662 target->dbg_ev_file = NULL; in kfd_dbg_trap_disable()
671 kfd_unref_process(target); in kfd_dbg_trap_disable()
781 target->dbg_ev_file = f; in kfd_dbg_trap_enable()
790 kref_get(&target->ref); in kfd_dbg_trap_enable()
919 if (!target) in kfd_dbg_trap_query_exception_info()
962 pdd = target->pdds[i]; in kfd_dbg_trap_query_exception_info()
[all …]
/linux/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/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()
70 target = ++s; in s390_mov__parse()
71 ops->target.raw = strdup(target); in s390_mov__parse()
72 if (ops->target.raw == NULL) in s390_mov__parse()
75 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
76 if (endptr == target) in s390_mov__parse()
[all …]
/linux/arch/loongarch/kernel/
A Dptrace.c53 if (tsk_used_math(target)) in init_fp_ctx()
57 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
151 save_fpu_regs(target); in fpr_get()
158 r = membuf_write(&to, &target->thread.fpu.fcc, sizeof(target->thread.fpu.fcc)); in fpr_get()
159 r = membuf_write(&to, &target->thread.fpu.fcsr, sizeof(target->thread.fpu.fcsr)); in fpr_get()
210 init_fp_ctx(target); in fpr_set()
284 save_fpu_regs(target); in simd_get()
302 copy_pad_fprs(target, regset, &to, sizeof(target->thread.fpu.fpr[0])); in simd_get()
317 init_fp_ctx(target); in simd_set()
349 r = membuf_write(&to, &target->thread.lbt.scr0, sizeof(target->thread.lbt.scr0)); in lbt_get()
[all …]
/linux/arch/arm64/kernel/
A Dptrace.c609 if (target == current) in fpr_get()
666 if (target == current) in tls_get()
706 if (target == current) in fpmr_get()
826 if (target == current) in sve_get_common()
933 sve_alloc(target, true); in sve_set_common()
962 sve_alloc(target, true); in sve_set_common()
1081 if (target == current) in za_get()
1144 sme_alloc(target, !thread_za_enabled(&target->thread)); in za_set()
1213 sve_alloc(target, false); in zt_set()
1218 sme_alloc(target, true); in zt_set()
[all …]
/linux/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/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/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 …]
/linux/fs/smb/client/
A Dcifs_unicode.c40 *target = ':'; in convert_sfu_char()
43 *target = '*'; in convert_sfu_char()
46 *target = '?'; in convert_sfu_char()
49 *target = '|'; in convert_sfu_char()
52 *target = '>'; in convert_sfu_char()
55 *target = '<'; in convert_sfu_char()
73 *target = ':'; in convert_sfm_char()
76 *target = '"'; in convert_sfm_char()
79 *target = '*'; in convert_sfm_char()
82 *target = '?'; in convert_sfm_char()
[all …]

Completed in 69 milliseconds

12345678910>>...74