| /linux/tools/perf/util/ |
| H A D | target.h | 8 struct target { struct 46 enum target_errno target__validate(struct target *target); 50 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen); 52 static inline bool target__has_task(const struct target *target) in target__has_task() argument 54 return target->tid || target->pid; in target__has_task() 57 static inline bool target__has_cpu(const struct target *targe argument 23 attr_maptarget global() argument 62 target__none(struct target * target) target__none() argument 67 target__enable_on_exec(struct target * target) target__enable_on_exec() argument 78 target__has_per_thread(struct target * target) target__has_per_thread() argument 83 target__uses_dummy_map(struct target * target) target__uses_dummy_map() argument [all...] |
| H A D | target.c | 17 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->system_wide) { in target__validate() 33 target->system_wide = false; in target__validate() 39 if (target->bpf_str && target->cpu_list) { in target__validate() 40 target->cpu_list = NULL; in target__validate() 46 if (target->bpf_str && target->tid) { in target__validate() [all …]
|
| /linux/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-tm.c | 58 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 D | ptrace-vsx.c | 21 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 D | ptrace-decl.h | 73 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 …]
|
| H A D | ptrace-spe.c | 19 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 …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc-ops.h | 28 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 D | htc_mbox.c | 28 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, 374 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument 377 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 378 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf() 379 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 382 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument 388 buf_list = tx ? &target->free_ctrl_txbuf : &target->free_ctrl_rxbuf; in htc_get_control_buf() [all …]
|
| H A D | htc_pipe.c | 56 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 …]
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 102 struct memory_target *target; in find_mem_target() local 104 list_for_each_entry(target, &targets, node) in find_mem_target() 105 if (target->memory_pxm == mem_pxm) in find_mem_target() 106 return target; in find_mem_target() 123 struct memory_target *target; in hmat_get_extended_linear_cache_size() local 127 target = find_mem_target(pxm); in hmat_get_extended_linear_cache_size() 128 if (!target) in hmat_get_extended_linear_cache_size() 131 list_for_each_entry(tcache, &target->caches, node) { in hmat_get_extended_linear_cache_size() 136 res = &target->memregions; in hmat_get_extended_linear_cache_size() 151 struct memory_target *target; in acpi_find_genport_target() local 178 struct memory_target *target; acpi_get_genport_coordinates() local 216 struct memory_target *target; alloc_target() local 242 struct memory_target *target; alloc_memory_target() local 260 struct memory_target *target; alloc_genport_target() local 341 hmat_update_target_access(struct memory_target * target,u8 type,u32 value,int access) hmat_update_target_access() argument 412 struct memory_target *target = find_mem_target(tgt_pxm); hmat_update_target() local 486 struct memory_target *target; hmat_parse_cache() local 554 struct memory_target *target = NULL; hmat_parse_proximity_domain() local 645 hmat_initiator_perf(struct memory_target * target,struct memory_initiator * initiator,struct acpi_hmat_locality * hmat_loc) hmat_initiator_perf() argument 737 hmat_update_target_attrs(struct memory_target * target,unsigned long * p_nodes,int access) hmat_update_target_attrs() argument 809 __hmat_register_target_initiators(struct memory_target * target,unsigned long * p_nodes,int access) __hmat_register_target_initiators() argument 824 hmat_update_generic_target(struct memory_target * target) hmat_update_generic_target() argument 834 hmat_register_target_initiators(struct memory_target * target) hmat_register_target_initiators() argument 844 hmat_register_target_cache(struct memory_target * target) hmat_register_target_cache() argument 853 hmat_register_target_perf(struct memory_target * target,int access) hmat_register_target_perf() argument 859 hmat_register_target_devices(struct memory_target * target) hmat_register_target_devices() argument 877 hmat_hotplug_target(struct memory_target * target) hmat_hotplug_target() argument 901 hmat_register_target(struct memory_target * target) hmat_register_target() argument 926 struct memory_target *target; hmat_register_targets() local 935 struct memory_target *target; hmat_callback() local 955 struct memory_target *target; hmat_set_default_dram_perf() local 976 struct memory_target *target; hmat_calculate_adistance() local 1005 struct memory_target *target, *tnext; hmat_free_structures() local [all...] |
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 92 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 139 "Number of RDMA channels to use for communication with an SRP target. Using more than one channel improves performance if the HCA supports multiple completion vectors. The default value is the minimum of four times the number of online CPU sockets and the number of completion vectors supported by the HCA."); 213 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 219 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 220 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 272 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 282 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 283 target->srp_host->port, in srp_init_ib_qp() 284 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 292 attr->port_num = target in srp_init_ib_qp() 307 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 333 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 377 struct srp_target_port *target = ch->target; srp_new_cm_id() local 499 srp_alloc_fr_pool(struct srp_target_port * target) srp_alloc_fr_pool() argument 527 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 638 srp_free_ch_ib(struct srp_target_port * target,struct srp_rdma_ch * ch) srp_free_ch_ib() argument 702 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 715 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 754 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 774 struct srp_target_port *target = ch->target; srp_lookup_path() local 800 struct srp_target_port *target = ch->target; srp_send_req() local 922 srp_queue_remove_work(struct srp_target_port * target) srp_queue_remove_work() argument 939 srp_disconnect_target(struct srp_target_port * target) srp_disconnect_target() argument 967 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 985 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1039 srp_remove_target(struct srp_target_port * target) srp_remove_target() argument 1077 struct srp_target_port *target = srp_remove_work() local 1087 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1096 srp_connected_ch(struct srp_target_port * target) srp_connected_ch() argument 1109 struct srp_target_port *target = ch->target; srp_connect_ch() local 1188 struct srp_target_port *target = ch->target; srp_unmap_data() local 1291 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1303 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1341 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1433 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1539 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1562 struct srp_target_port *target = ch->target; srp_map_idb() local 1631 struct srp_target_port *target = ch->target; srp_map_data() local 1845 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1899 struct srp_target_port *target = ch->target; srp_post_send() local 1923 struct srp_target_port *target = ch->target; srp_post_recv() local 1944 struct srp_target_port *target = ch->target; srp_process_rsp() local 2022 struct srp_target_port *target = ch->target; srp_response_common() local 2078 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2104 struct srp_target_port *target = ch->target; srp_recv_done() local 2169 struct srp_target_port *target; srp_tl_err_work() local 2180 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2196 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2297 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2374 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2466 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2552 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2613 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2664 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2757 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2822 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2852 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2870 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2880 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2891 struct srp_target_port *target = host_to_target(shost); srp_sdev_configure() local 2906 struct srp_target_port *target = host_to_target(class_to_shost(dev)); id_ext_show() local 2916 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ioc_guid_show() local 2926 struct srp_target_port *target = host_to_target(class_to_shost(dev)); service_id_show() local 2939 struct srp_target_port *target = host_to_target(class_to_shost(dev)); pkey_show() local 2952 struct srp_target_port *target = host_to_target(class_to_shost(dev)); sgid_show() local 2962 struct srp_target_port *target = host_to_target(class_to_shost(dev)); dgid_show() local 2976 struct srp_target_port *target = host_to_target(class_to_shost(dev)); orig_dgid_show() local 2989 struct srp_target_port *target = host_to_target(class_to_shost(dev)); req_lim_show() local 3006 struct srp_target_port *target = host_to_target(class_to_shost(dev)); zero_req_lim_show() local 3016 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_port_show() local 3026 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_device_show() local 3037 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ch_count_show() local 3047 struct srp_target_port *target = host_to_target(class_to_shost(dev)); comp_vector_show() local 3057 struct srp_target_port *target = host_to_target(class_to_shost(dev)); tl_retry_count_show() local 3067 struct srp_target_port *target = host_to_target(class_to_shost(dev)); cmd_sg_entries_show() local 3077 struct srp_target_port *target = host_to_target(class_to_shost(dev)); allow_ext_sg_show() local 3149 srp_add_target(struct srp_host * host,struct srp_target_port * target) srp_add_target() argument 3239 srp_conn_unique(struct srp_host * host,struct srp_target_port * target) srp_conn_unique() argument 3377 srp_parse_options(struct net * net,const char * buf,struct srp_target_port * target) srp_parse_options() argument 3743 struct srp_target_port *target; add_target_store() local 4137 struct srp_target_port *target; srp_remove_one() local [all...] |
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_hst.c | 21 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 …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 111 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 …]
|
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-loongarch.c | 23 struct addr_map_symbol target; in loongarch_call__parse() local 29 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse() 46 ops->target.name = strdup(name); in loongarch_call__parse() 49 if (ops->target.name == NULL) in loongarch_call__parse() 53 target = (struct addr_map_symbol) { in loongarch_call__parse() 55 .addr = map__objdump_2mem(map, ops->target.addr), in loongarch_call__parse() 58 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in loongarch_call__parse() 59 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target in loongarch_call__parse() 75 struct addr_map_symbol target = { loongarch_jump__parse() local [all...] |
| H A D | annotate-s390.c | 19 struct addr_map_symbol target; in s390_call__parse() local 25 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse() 42 ops->target.name = strdup(name); in s390_call__parse() 45 if (ops->target.name == NULL) in s390_call__parse() 48 target = (struct addr_map_symbol) { in s390_call__parse() 50 .addr = map__objdump_2mem(map, ops->target.addr), in s390_call__parse() 53 if (maps__find_ams(thread__maps(ms->thread), &target) == 0 && in s390_call__parse() 54 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse() 55 ops->target.sym = target.ms.sym; in s390_call__parse() 57 addr_map_symbol__exit(&target); in s390_call__parse() [all …]
|
| /linux/arch/parisc/net/ |
| H A D | bpf_jit.h | 99 #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) /* an 109 hppa_and_cond(reg1,reg2,cond,f,target) global() argument 111 hppa_xor(reg1,reg2,target) global() argument 113 hppa_add(reg1,reg2,target) global() argument 115 hppa_addc(reg1,reg2,target) global() argument 117 hppa_sub(reg1,reg2,target) global() argument 119 hppa_subb(reg1,reg2,target) global() argument 123 hppa_addi(val11,reg,target) global() argument 125 hppa_subi(val11,reg,target) global() argument 127 hppa_copy(reg,target) global() argument 129 hppa_ldw(val14,reg,target) global() argument 131 hppa_ldb(val14,reg,target) global() argument 133 hppa_ldh(val14,reg,target) global() argument 153 hppa_zdep(r,p,len,target) global() argument 155 hppa_shl(r,len,target) global() argument 157 hppa_depwz(r,p,len,target) global() argument 159 hppa_depwz_sar(reg,target) global() argument 161 hppa_shrpw_sar(reg,target) global() argument 163 hppa_shrpw(r1,r2,p,target) global() argument 165 hppa_shd(r1,r2,p,target) global() argument 167 hppa_extrws_sar(reg,target) global() argument 169 hppa_extrws(reg,p,len,target) global() argument 171 hppa_extru(r,p,len,target) global() argument 173 hppa_shr(r,len,target) global() argument 177 hppa_sh2add(r1,r2,target) global() argument 210 hppa64_ldd_reg(reg,b,target) global() argument 212 hppa64_ldd_im5(im5,b,target) global() argument 214 hppa64_ldd_im16(im16,b,target) global() argument 224 hppa64_shrpd_sar(reg,target) global() argument 226 hppa64_shladd(r1,sa,r2,target) global() argument 228 hppa64_depdz_sar(reg,target) global() argument 230 hppa_extrd_sar(reg,target,se) global() argument 234 hppa64_permh_3210(r,target) global() argument 236 hppa64_hshl(r,sa,target) global() argument 238 hppa64_hshr_u(r,sa,target) global() argument [all...] |
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_io.c | 16 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 …]
|
| /linux/arch/arm64/kernel/ |
| H A D | ptrace.c | 474 static int hw_break_get(struct task_struct *target, in hw_break_get() argument 492 ret = ptrace_hbp_get_addr(note_type, target, idx, &addr); in hw_break_get() 495 ret = ptrace_hbp_get_ctrl(note_type, target, idx, &ctrl); in hw_break_get() 506 static int hw_break_set(struct task_struct *target, in hw_break_set() argument 529 ret = ptrace_hbp_set_addr(note_type, target, idx, addr); in hw_break_set() 540 ret = ptrace_hbp_set_ctrl(note_type, target, idx, ctrl); in hw_break_set() 555 static int gpr_get(struct task_struct *target, in gpr_get() argument 559 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get() 563 static void update_syscall_orig_x0_after_ptrace(struct task_struct *target) in update_syscall_orig_x0_after_ptrace() argument 565 struct pt_regs *regs = task_pt_regs(target); in update_syscall_orig_x0_after_ptrace() 599 gpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) gpr_set() argument 625 fpr_active(struct task_struct * target,const struct user_regset * regset) fpr_active() argument 635 __fpr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) __fpr_get() argument 648 fpr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpr_get() argument 660 __fpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf,unsigned int start_pos) __fpr_set() argument 687 fpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpr_set() argument 706 tls_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tls_get() argument 723 tls_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tls_set() argument 745 fpmr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpmr_get() argument 757 fpmr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpmr_set() argument 780 system_call_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) system_call_get() argument 787 system_call_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) system_call_set() argument 812 sve_init_header_from_task(struct user_sve_header * header,struct task_struct * target,enum vec_type type) sve_init_header_from_task() argument 864 sve_get_common(struct task_struct * target,const struct user_regset * regset,struct membuf to,enum vec_type type) sve_get_common() argument 923 sve_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) sve_get() argument 933 sve_set_common(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf,enum vec_type type) sve_set_common() argument 1088 sve_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) sve_set() argument 1104 ssve_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) ssve_get() argument 1114 ssve_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) ssve_set() argument 1126 za_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) za_get() argument 1175 za_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) za_set() argument 1264 zt_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) zt_get() argument 1284 zt_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) zt_set() argument 1321 pac_mask_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) pac_mask_get() argument 1342 pac_enabled_keys_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) pac_enabled_keys_get() argument 1354 pac_enabled_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_enabled_keys_set() argument 1408 pac_address_keys_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) pac_address_keys_get() argument 1423 pac_address_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_address_keys_set() argument 1457 pac_generic_keys_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) pac_generic_keys_get() argument 1472 pac_generic_keys_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) pac_generic_keys_set() argument 1497 tagged_addr_ctrl_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tagged_addr_ctrl_get() argument 1509 tagged_addr_ctrl_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tagged_addr_ctrl_set() argument 1530 poe_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) poe_get() argument 1544 poe_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) poe_set() argument 1569 task_gcs_to_user(struct user_gcs * user_gcs,const struct task_struct * target) task_gcs_to_user() argument 1576 task_gcs_from_user(struct task_struct * target,const struct user_gcs * user_gcs) task_gcs_from_user() argument 1584 gcs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) gcs_get() argument 1601 gcs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) gcs_set() argument 1869 compat_gpr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) compat_gpr_get() argument 1880 compat_gpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_gpr_set() argument 1942 compat_vfp_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) compat_vfp_get() argument 1967 compat_vfp_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_vfp_set() argument 1998 compat_tls_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) compat_tls_get() argument 2005 compat_tls_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) compat_tls_set() argument [all...] |
| /linux/Documentation/target/ |
| H A D | tcm_mod_builder.rst | 13 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. 32 …target:/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 …]
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | Makefile | 10 lenovo-target-$(CONFIG_LENOVO_WMI_HOTKEY_UTILITIES) += wmi-hotkey-utilities.o 11 lenovo-target-$(CONFIG_LENOVO_YB9_KBDOCK) += yb9-kbdock.o 12 lenovo-target-$(CONFIG_LENOVO_YMC) += ymc.o 13 lenovo-target-$(CONFIG_YOGABOOK) += yogabook.o 14 lenovo-target-$(CONFIG_YT2_1380) += yoga-tab2-pro-1380-fastcharger.o 15 lenovo-target-$(CONFIG_LENOVO_WMI_CAMERA) += wmi-camera.o 16 lenovo-target-$(CONFIG_LENOVO_WMI_CAPDATA) += wmi-capdata.o 17 lenovo-target-$(CONFIG_LENOVO_WMI_EVENTS) += wmi-events.o 18 lenovo-target-$(CONFIG_LENOVO_WMI_HELPERS) += wmi-helpers.o 19 lenovo-target-$(CONFIG_LENOVO_WMI_GAMEZONE) += wmi-gamezone.o [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | ptrace.c | 50 static void init_fp_ctx(struct task_struct *target) in init_fp_ctx() argument 53 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() 58 set_stopped_child_used_math(target); in init_fp_ctx() 75 static int gpr_get(struct task_struct *target, in gpr_get() argument 80 struct pt_regs *regs = task_pt_regs(target); in gpr_get() 90 static int gpr_set(struct task_struct *target, in gpr_set() argument 99 struct pt_regs *regs = task_pt_regs(target); in gpr_set() 121 static int gfpr_get(struct task_struct *target, struct membuf *to) in gfpr_get() argument 123 return membuf_write(to, &target->thread.fpu.fpr, in gfpr_get() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | ptrace.c | 526 static int s390_regs_get(struct task_struct *target, in s390_regs_set() 531 if (target == current) in s390_regs_set() 532 save_access_regs(target->thread.acrs); in s390_regs_set() 535 membuf_store(&to, __peek_user(target, pos)); in s390_regs_set() 539 static int s390_regs_set(struct task_struct *target, in s390_regs_set() 546 if (target == current) in s390_regs_set() 547 save_access_regs(target->thread.acrs); in s390_regs_set() 552 rc = __poke_user(target, pos, *k++); in s390_regs_set() 563 rc = __poke_user(target, pos, word); in s390_fpregs_get() 569 if (rc == 0 && target in s390_fpregs_get() 508 s390_regs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_regs_get() argument 521 s390_regs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_regs_set() argument 557 s390_fpregs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_fpregs_get() argument 572 s390_fpregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_fpregs_set() argument 603 s390_last_break_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_last_break_get() argument 610 s390_last_break_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_last_break_set() argument 618 s390_tdb_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_tdb_get() argument 631 s390_tdb_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_tdb_set() argument 639 s390_vxrs_low_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_vxrs_low_get() argument 655 s390_vxrs_low_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_vxrs_low_set() argument 679 s390_vxrs_high_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_vxrs_high_get() argument 691 s390_vxrs_high_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_vxrs_high_set() argument 708 s390_system_call_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_system_call_get() argument 715 s390_system_call_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_system_call_set() argument 725 s390_gs_cb_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_gs_cb_get() argument 740 s390_gs_cb_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_gs_cb_set() argument 779 s390_gs_bc_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_gs_bc_get() argument 792 s390_gs_bc_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_gs_bc_set() argument 837 s390_runtime_instr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) s390_runtime_instr_get() argument 851 s390_runtime_instr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) s390_runtime_instr_set() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 319 struct iwl_tof_range_req_ap_entry_v2 *target) in iwl_mvm_ftm_put_target_v2() argument 323 ret = iwl_mvm_ftm_target_chandef_v1(mvm, peer, &target->channel_num, in iwl_mvm_ftm_put_target_v2() 324 &target->bandwidth, in iwl_mvm_ftm_put_target_v2() 325 &target->ctrl_ch_position); in iwl_mvm_ftm_put_target_v2() 329 memcpy(target->bssid, peer->addr, ETH_ALEN); in iwl_mvm_ftm_put_target_v2() 330 target->burst_period = in iwl_mvm_ftm_put_target_v2() 332 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2() 333 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2() 334 target->measure_type = 0; /* regular two-sided FTM */ in iwl_mvm_ftm_put_target_v2() 335 target in iwl_mvm_ftm_put_target_v2() 389 iwl_mvm_ftm_put_target_common(struct iwl_mvm * mvm,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v6 * target) iwl_mvm_ftm_put_target_common() argument 403 iwl_mvm_ftm_put_target_v3(struct iwl_mvm * mvm,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v3 * target) iwl_mvm_ftm_put_target_v3() argument 425 iwl_mvm_ftm_put_target_v4(struct iwl_mvm * mvm,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v4 * target) iwl_mvm_ftm_put_target_v4() argument 485 iwl_mvm_ftm_put_target(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v6 * target) iwl_mvm_ftm_put_target() argument 621 struct iwl_tof_range_req_ap_entry_v6 *target = &cmd.ap[i]; iwl_mvm_ftm_start_v9() local 637 struct iwl_mvm_ftm_iter_data *target = data; iter() local 682 struct iwl_mvm_ftm_iter_data target; iwl_mvm_ftm_set_secured_ranging() local 725 iwl_mvm_ftm_put_target_v7(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v7 * target) iwl_mvm_ftm_put_target_v7() argument 756 struct iwl_tof_range_req_ap_entry_v7 *target = &cmd.ap[i]; iwl_mvm_ftm_start_v11() local 768 iwl_mvm_ftm_set_ndp_params(struct iwl_mvm * mvm,struct iwl_tof_range_req_ap_entry_v8 * target) iwl_mvm_ftm_set_ndp_params() argument 785 iwl_mvm_ftm_put_target_v8(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry_v8 * target) iwl_mvm_ftm_put_target_v8() argument 828 struct iwl_tof_range_req_ap_entry_v8 *target = &cmd.ap[i]; iwl_mvm_ftm_start_v12() local 856 struct iwl_tof_range_req_ap_entry_v9 *target = &cmd.ap[i]; iwl_mvm_ftm_start_v13() local 884 iwl_mvm_ftm_put_target_v10(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct cfg80211_pmsr_request_peer * peer,struct iwl_tof_range_req_ap_entry * target) iwl_mvm_ftm_put_target_v10() argument 972 struct iwl_tof_range_req_ap_entry *target = &cmd.ap[i]; iwl_mvm_ftm_start_v14() local [all...] |
| /linux/fs/smb/client/ |
| H A D | cifs_unicode.c | 17 convert_sfu_char(const __u16 src_char, char *target) in convert_sfu_char() argument 26 *target = ':'; in convert_sfu_char() 29 *target = '*'; in convert_sfu_char() 32 *target = '?'; in convert_sfu_char() 35 *target = '|'; in convert_sfu_char() 38 *target = '>'; in convert_sfu_char() 41 *target = '<'; in convert_sfu_char() 51 convert_sfm_char(const __u16 src_char, char *target) in convert_sfm_char() argument 54 *target = src_char - 0xF000; in convert_sfm_char() 59 *target = ':'; in convert_sfm_char() [all …]
|
| /linux/lib/ |
| H A D | syscall.c | 8 static int collect_syscall(struct task_struct *target, struct syscall_info *info) in collect_syscall() argument 13 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() 69 int task_current_syscall(struct task_struct *target, struct syscall_info *info) in task_current_syscall() argument 74 if (target == current) in task_current_syscall() 75 return collect_syscall(target, info); in task_current_syscall() [all …]
|