/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(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(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 | 3 * Helper functions for handling target threads/cpus 8 #include "target.h" 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 in target__validate() [all...] |
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 52 * @target: The target task. 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() 71 * @target: The target task. 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() 134 tm_cgpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_cgpr_set() argument 200 tm_cfpr_active(struct task_struct * target,const struct user_regset * regset) tm_cfpr_active() argument 229 tm_cfpr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_cfpr_get() argument 273 tm_cfpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_cfpr_set() argument 312 tm_cvmx_active(struct task_struct * target,const struct user_regset * regset) tm_cvmx_active() argument 342 tm_cvmx_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_cvmx_get() argument 393 tm_cvmx_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_cvmx_set() argument 440 tm_cvsx_active(struct task_struct * target,const struct user_regset * regset) tm_cvsx_active() argument 469 tm_cvsx_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_cvsx_get() argument 512 tm_cvsx_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_cvsx_set() argument 551 tm_spr_active(struct task_struct * target,const struct user_regset * regset) tm_spr_active() argument 574 tm_spr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_spr_get() argument 616 tm_spr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_spr_set() argument 653 tm_tar_active(struct task_struct * target,const struct user_regset * regset) tm_tar_active() argument 664 tm_tar_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_tar_get() argument 676 tm_tar_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_tar_set() argument 693 tm_ppr_active(struct task_struct * target,const struct user_regset * regset) tm_ppr_active() argument 705 tm_ppr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_ppr_get() argument 717 tm_ppr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_ppr_set() argument 734 tm_dscr_active(struct task_struct * target,const struct user_regset * regset) tm_dscr_active() argument 745 tm_dscr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_dscr_get() argument 757 tm_dscr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_dscr_set() argument 774 tm_cgpr32_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) tm_cgpr32_get() argument 782 tm_cgpr32_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) tm_cgpr32_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 in fpr_set() 79 vsr_active(struct task_struct * target,const struct user_regset * regset) vsr_active() argument 97 vsr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) vsr_get() argument 126 vsr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) vsr_set() argument [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, cons [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() [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 51 ath6kl_htc_stop(struct htc_target * target) ath6kl_htc_stop() argument 56 ath6kl_htc_cleanup(struct htc_target * target) ath6kl_htc_cleanup() argument 61 ath6kl_htc_flush_txep(struct htc_target * target,enum htc_endpoint_id endpoint,u16 tag) ath6kl_htc_flush_txep() argument 68 ath6kl_htc_flush_rx_buf(struct htc_target * target) ath6kl_htc_flush_rx_buf() argument 73 ath6kl_htc_activity_changed(struct htc_target * target,enum htc_endpoint_id endpoint,bool active) ath6kl_htc_activity_changed() argument 81 ath6kl_htc_get_rxbuf_num(struct htc_target * target,enum htc_endpoint_id endpoint) ath6kl_htc_get_rxbuf_num() argument 87 ath6kl_htc_add_rxbuf_multiple(struct htc_target * target,struct list_head * pktq) ath6kl_htc_add_rxbuf_multiple() argument 93 ath6kl_htc_credit_setup(struct htc_target * target,struct ath6kl_htc_credit_info * info) ath6kl_htc_credit_setup() argument [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 in htc_get_control_buf() 407 htc_tx_comp_update(struct htc_target * target,struct htc_endpoint * endpoint,struct htc_packet * packet) htc_tx_comp_update() argument 450 htc_tx_comp_handler(struct htc_target * target,struct htc_packet * packet) htc_tx_comp_handler() argument 466 htc_async_tx_scat_complete(struct htc_target * target,struct hif_scatter_req * scat_req) htc_async_tx_scat_complete() argument 506 ath6kl_htc_tx_issue(struct htc_target * target,struct htc_packet * packet) ath6kl_htc_tx_issue() argument 545 htc_check_credits(struct htc_target * target,struct htc_endpoint * ep,u8 * flags,enum htc_endpoint_id eid,unsigned int len,int * req_cred) htc_check_credits() argument 598 ath6kl_htc_tx_pkts_get(struct htc_target * target,struct htc_endpoint * endpoint,struct list_head * queue) ath6kl_htc_tx_pkts_get() argument 678 ath6kl_htc_tx_setup_scat_list(struct htc_target * target,struct htc_endpoint * endpoint,struct hif_scatter_req * scat_req,int n_scat,struct list_head * queue) ath6kl_htc_tx_setup_scat_list() argument 758 struct htc_target *target = endpoint->target; ath6kl_htc_tx_bundle() local 857 ath6kl_htc_tx_from_queue(struct htc_target * target,struct htc_endpoint * endpoint) ath6kl_htc_tx_from_queue() argument 964 ath6kl_htc_tx_try(struct htc_target * target,struct htc_endpoint * endpoint,struct htc_packet * tx_pkt) ath6kl_htc_tx_try() argument 1004 htc_chk_ep_txq(struct htc_target * target) htc_chk_ep_txq() argument 1040 htc_setup_tx_complete(struct htc_target * target) htc_setup_tx_complete() argument 1092 ath6kl_htc_set_credit_dist(struct htc_target * target,struct ath6kl_htc_credit_info * credit_info,u16 srvc_pri_order[],int list_len) ath6kl_htc_set_credit_dist() argument 1120 ath6kl_htc_mbox_tx(struct htc_target * target,struct htc_packet * packet) ath6kl_htc_mbox_tx() argument 1149 ath6kl_htc_mbox_flush_txep(struct htc_target * target,enum htc_endpoint_id eid,u16 tag) ath6kl_htc_mbox_flush_txep() argument 1188 ath6kl_htc_flush_txep_all(struct htc_target * target) ath6kl_htc_flush_txep_all() argument 1204 ath6kl_htc_mbox_activity_changed(struct htc_target * target,enum htc_endpoint_id eid,bool active) ath6kl_htc_mbox_activity_changed() argument 1261 htc_valid_rx_frame_len(struct htc_target * target,enum htc_endpoint_id eid,int len) htc_valid_rx_frame_len() argument 1268 htc_add_rxbuf(struct htc_target * target,struct htc_packet * packet) htc_add_rxbuf() argument 1277 htc_reclaim_rxbuf(struct htc_target * target,struct htc_packet * packet,struct htc_endpoint * ep) htc_reclaim_rxbuf() argument 1291 reclaim_rx_ctrl_buf(struct htc_target * target,struct htc_packet * packet) reclaim_rx_ctrl_buf() argument 1299 ath6kl_htc_rx_packet(struct htc_target * target,struct htc_packet * packet,u32 rx_len) ath6kl_htc_rx_packet() argument 1365 ath6kl_htc_rx_setup(struct htc_target * target,struct htc_endpoint * ep,u32 * lk_ahds,struct list_head * queue,int n_msg) ath6kl_htc_rx_setup() argument 1468 ath6kl_htc_rx_alloc(struct htc_target * target,u32 lk_ahds[],int msg,struct htc_endpoint * endpoint,struct list_head * queue) ath6kl_htc_rx_alloc() argument 1591 htc_proc_cred_rpt(struct htc_target * target,struct htc_credit_report * rpt,int n_entries,enum htc_endpoint_id from_ep) htc_proc_cred_rpt() argument 1669 htc_parse_trailer(struct htc_target * target,struct htc_record_hdr * record,u8 * record_buf,u32 * next_lk_ahds,enum htc_endpoint_id endpoint,int * n_lk_ahds) htc_parse_trailer() argument 1749 htc_proc_trailer(struct htc_target * target,u8 * buf,int len,u32 * next_lk_ahds,int * n_lk_ahds,enum htc_endpoint_id endpoint) htc_proc_trailer() argument 1802 ath6kl_htc_rx_process_hdr(struct htc_target * target,struct htc_packet * packet,u32 * next_lkahds,int * n_lkahds) ath6kl_htc_rx_process_hdr() argument 1909 ath6kl_htc_rx_bundle(struct htc_target * target,struct list_head * rxq,struct list_head * sync_compq,int * n_pkt_fetched,bool part_bundle) ath6kl_htc_rx_bundle() argument 2002 ath6kl_htc_rx_process_packets(struct htc_target * target,struct list_head * comp_pktq,u32 lk_ahds[],int * n_lk_ahd) ath6kl_htc_rx_process_packets() argument 2052 ath6kl_htc_rx_fetch(struct htc_target * target,struct list_head * rx_pktq,struct list_head * comp_pktq) ath6kl_htc_rx_fetch() argument 2140 ath6kl_htc_rxmsg_pending_handler(struct htc_target * target,u32 msg_look_ahead,int * num_pkts) ath6kl_htc_rxmsg_pending_handler() argument 2259 htc_wait_for_ctrl_msg(struct htc_target * target) htc_wait_for_ctrl_msg() argument 2316 ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target * target,struct list_head * pkt_queue) ath6kl_htc_mbox_add_rxbuf_multiple() argument 2378 ath6kl_htc_mbox_flush_rx_buf(struct htc_target * target) ath6kl_htc_mbox_flush_rx_buf() argument 2420 ath6kl_htc_mbox_conn_service(struct htc_target * target,struct htc_service_connect_req * conn_req,struct htc_service_connect_resp * conn_resp) ath6kl_htc_mbox_conn_service() argument 2570 reset_ep_state(struct htc_target * target) reset_ep_state() argument 2593 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target * target,enum htc_endpoint_id endpoint) ath6kl_htc_mbox_get_rxbuf_num() argument 2604 htc_setup_msg_bndl(struct htc_target * target) htc_setup_msg_bndl() argument 2653 ath6kl_htc_mbox_wait_target(struct htc_target * target) ath6kl_htc_mbox_wait_target() argument 2738 ath6kl_htc_mbox_start(struct htc_target * target) ath6kl_htc_mbox_start() argument 2780 ath6kl_htc_reset(struct htc_target * target) ath6kl_htc_reset() argument 2820 ath6kl_htc_mbox_stop(struct htc_target * target) ath6kl_htc_mbox_stop() argument 2842 struct htc_target *target = NULL; ath6kl_htc_mbox_create() local 2887 ath6kl_htc_mbox_cleanup(struct htc_target * target) ath6kl_htc_mbox_cleanup() argument [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() 146 /* check if we need credits back from the target */ in get_htc_packet_credit_based() 149 /* tell the target w in get_htc_packet_credit_based() 173 get_htc_packet(struct htc_target * target,struct htc_endpoint * ep,struct list_head * queue,int resources) get_htc_packet() argument 203 htc_issue_packets(struct htc_target * target,struct htc_endpoint * ep,struct list_head * pkt_queue) htc_issue_packets() argument 299 htc_try_send(struct htc_target * target,struct htc_endpoint * ep,struct list_head * txq) htc_try_send() argument 528 htc_free_txctrl_packet(struct htc_target * target,struct htc_packet * packet) htc_free_txctrl_packet() argument 534 htc_alloc_txctrl_packet(struct htc_target * target) htc_alloc_txctrl_packet() argument 539 htc_txctrl_complete(struct htc_target * target,struct htc_packet * packet) htc_txctrl_complete() argument 547 htc_setup_target_buffer_assignments(struct htc_target * target) htc_setup_target_buffer_assignments() argument 653 htc_process_credit_report(struct htc_target * target,struct htc_credit_report * rpt,int num_entries,enum htc_endpoint_id from_ep) htc_process_credit_report() argument 690 htc_flush_tx_endpoint(struct htc_target * target,struct htc_endpoint * ep,u16 tag) htc_flush_tx_endpoint() argument 712 htc_lookup_tx_packet(struct htc_target * target,struct htc_endpoint * ep,struct sk_buff * skb) htc_lookup_tx_packet() argument 743 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_tx_complete() local 779 htc_send_packets_multiple(struct htc_target * target,struct list_head * pkt_queue) htc_send_packets_multiple() argument 812 alloc_htc_packet_container(struct htc_target * target) alloc_htc_packet_container() argument 831 free_htc_packet_container(struct htc_target * target,struct htc_packet * packet) free_htc_packet_container() argument 850 htc_process_trailer(struct htc_target * target,u8 * buffer,int len,enum htc_endpoint_id from_ep) htc_process_trailer() argument 929 recv_packet_completion(struct htc_target * target,struct htc_endpoint * ep,struct htc_packet * packet) recv_packet_completion() argument 944 struct htc_target *target = ar->htc_target; ath6kl_htc_pipe_rx_complete() local 1094 htc_flush_rx_queue(struct htc_target * target,struct htc_endpoint * ep) htc_flush_rx_queue() argument 1131 htc_wait_recv_ctrl_message(struct htc_target * target) htc_wait_recv_ctrl_message() argument 1171 reset_endpoint_states(struct htc_target * target) reset_endpoint_states() argument 1191 htc_config_target_hif_pipe(struct htc_target * target) htc_config_target_hif_pipe() argument 1197 htc_get_credit_alloc(struct htc_target * target,u16 service_id) htc_get_credit_alloc() argument 1217 ath6kl_htc_pipe_conn_service(struct htc_target * target,struct htc_service_connect_req * conn_req,struct htc_service_connect_resp * conn_resp) ath6kl_htc_pipe_conn_service() argument 1408 struct htc_target *target = NULL; ath6kl_htc_pipe_create() local 1460 ath6kl_htc_pipe_cleanup(struct htc_target * target) ath6kl_htc_pipe_cleanup() argument 1477 ath6kl_htc_pipe_start(struct htc_target * target) ath6kl_htc_pipe_start() argument 1510 ath6kl_htc_pipe_stop(struct htc_target * target) ath6kl_htc_pipe_stop() argument 1526 ath6kl_htc_pipe_get_rxbuf_num(struct htc_target * target,enum htc_endpoint_id endpoint) ath6kl_htc_pipe_get_rxbuf_num() argument 1538 ath6kl_htc_pipe_tx(struct htc_target * target,struct htc_packet * packet) ath6kl_htc_pipe_tx() argument 1554 ath6kl_htc_pipe_wait_target(struct htc_target * target) ath6kl_htc_pipe_wait_target() argument 1607 ath6kl_htc_pipe_flush_txep(struct htc_target * target,enum htc_endpoint_id endpoint,u16 tag) ath6kl_htc_pipe_flush_txep() argument 1621 ath6kl_htc_pipe_add_rxbuf_multiple(struct htc_target * target,struct list_head * pkt_queue) ath6kl_htc_pipe_add_rxbuf_multiple() argument 1663 ath6kl_htc_pipe_activity_changed(struct htc_target * target,enum htc_endpoint_id ep,bool active) ath6kl_htc_pipe_activity_changed() argument 1670 ath6kl_htc_pipe_flush_rx_buf(struct htc_target * target) ath6kl_htc_pipe_flush_rx_buf() argument 1697 ath6kl_htc_pipe_credit_setup(struct htc_target * target,struct ath6kl_htc_credit_info * info) ath6kl_htc_pipe_credit_setup() argument [all...] |
/linux/drivers/platform/x86/intel/ |
H A D | Makefile | 20 intel-target-$(CONFIG_INTEL_HID_EVENT) += hid.o 21 intel-target-$(CONFIG_INTEL_VBTN) += vbtn.o 24 intel-target-$(CONFIG_INTEL_INT0002_VGPIO) += int0002_vgpio.o 25 intel-target-$(CONFIG_INTEL_ISHTP_ECLITE) += ishtp_eclite.o 26 intel-target-$(CONFIG_INTEL_OAKTRAIL) += oaktrail.o 27 intel-target-$(CONFIG_INTEL_SDSI) += sdsi.o 28 intel-target-$(CONFIG_INTEL_VSEC) += vsec.o 31 intel-target-$(CONFIG_INTEL_BYTCRC_PWRSRC) += bytcrc_pwrsrc.o 32 intel-target-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += bxtwc_tmu.o 33 intel-target [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 154 htc_config_pipe_credits(struct htc_target * target) htc_config_pipe_credits() argument 192 htc_setup_complete(struct htc_target * target) htc_setup_complete() argument 230 htc_init(struct htc_target * target) htc_init() argument 241 htc_connect_service(struct htc_target * target,struct htc_service_connreq * service_connreq,enum htc_endpoint_id * conn_rsp_epid) htc_connect_service() argument 307 htc_send(struct htc_target * target,struct sk_buff * skb) htc_send() argument 315 htc_send_epid(struct htc_target * target,struct sk_buff * skb,enum htc_endpoint_id epid) htc_send_epid() argument 321 htc_stop(struct htc_target * target) htc_stop() argument 326 htc_start(struct htc_target * target) htc_start() argument 331 htc_sta_drain(struct htc_target * target,u8 idx) htc_sta_drain() argument 500 struct htc_target *target; ath9k_htc_hw_alloc() local 528 ath9k_htc_hw_init(struct htc_target * target,struct device * dev,u16 devid,char * product,u32 drv_info) ath9k_htc_hw_init() argument 540 ath9k_htc_hw_deinit(struct htc_target * target,bool hot_unplug) ath9k_htc_hw_deinit() argument [all...] |
/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 137 "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."); 211 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 in srp_init_ib_qp() 305 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 331 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 375 struct srp_target_port *target = ch->target; srp_new_cm_id() local 497 srp_alloc_fr_pool(struct srp_target_port * target) srp_alloc_fr_pool() argument 525 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 636 srp_free_ch_ib(struct srp_target_port * target,struct srp_rdma_ch * ch) srp_free_ch_ib() argument 700 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 713 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 752 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 772 struct srp_target_port *target = ch->target; srp_lookup_path() local 798 struct srp_target_port *target = ch->target; srp_send_req() local 920 srp_queue_remove_work(struct srp_target_port * target) srp_queue_remove_work() argument 937 srp_disconnect_target(struct srp_target_port * target) srp_disconnect_target() argument 965 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 983 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1037 srp_remove_target(struct srp_target_port * target) srp_remove_target() argument 1069 struct srp_target_port *target = srp_remove_work() local 1079 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1088 srp_connected_ch(struct srp_target_port * target) srp_connected_ch() argument 1101 struct srp_target_port *target = ch->target; srp_connect_ch() local 1180 struct srp_target_port *target = ch->target; srp_unmap_data() local 1283 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1295 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1333 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1425 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1531 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1554 struct srp_target_port *target = ch->target; srp_map_idb() local 1623 struct srp_target_port *target = ch->target; srp_map_data() local 1837 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1891 struct srp_target_port *target = ch->target; srp_post_send() local 1915 struct srp_target_port *target = ch->target; srp_post_recv() local 1935 struct srp_target_port *target = ch->target; srp_process_rsp() local 1995 struct srp_target_port *target = ch->target; srp_response_common() local 2044 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2063 struct srp_target_port *target = ch->target; srp_recv_done() local 2128 struct srp_target_port *target; srp_tl_err_work() local 2139 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2154 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2255 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2334 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2426 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2512 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2573 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2624 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2717 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2782 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2812 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2830 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2840 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2851 struct srp_target_port *target = host_to_target(shost); srp_sdev_configure() local 2866 struct srp_target_port *target = host_to_target(class_to_shost(dev)); id_ext_show() local 2876 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ioc_guid_show() local 2886 struct srp_target_port *target = host_to_target(class_to_shost(dev)); service_id_show() local 2899 struct srp_target_port *target = host_to_target(class_to_shost(dev)); pkey_show() local 2912 struct srp_target_port *target = host_to_target(class_to_shost(dev)); sgid_show() local 2922 struct srp_target_port *target = host_to_target(class_to_shost(dev)); dgid_show() local 2936 struct srp_target_port *target = host_to_target(class_to_shost(dev)); orig_dgid_show() local 2949 struct srp_target_port *target = host_to_target(class_to_shost(dev)); req_lim_show() local 2966 struct srp_target_port *target = host_to_target(class_to_shost(dev)); zero_req_lim_show() local 2976 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_port_show() local 2986 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_device_show() local 2997 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ch_count_show() local 3007 struct srp_target_port *target = host_to_target(class_to_shost(dev)); comp_vector_show() local 3017 struct srp_target_port *target = host_to_target(class_to_shost(dev)); tl_retry_count_show() local 3027 struct srp_target_port *target = host_to_target(class_to_shost(dev)); cmd_sg_entries_show() local 3037 struct srp_target_port *target = host_to_target(class_to_shost(dev)); allow_ext_sg_show() local 3109 srp_add_target(struct srp_host * host,struct srp_target_port * target) srp_add_target() argument 3185 srp_conn_unique(struct srp_host * host,struct srp_target_port * target) srp_conn_unique() argument 3323 srp_parse_options(struct net * net,const char * buf,struct srp_target_port * target) srp_parse_options() argument 3689 struct srp_target_port *target; add_target_store() local 4084 struct srp_target_port *target; srp_remove_one() local [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, in test_tc_opts_before_target() 263 test_tc_opts_after_target(int target) test_tc_opts_after_target() argument 454 test_tc_opts_revision_target(int target) test_tc_opts_revision_target() argument 563 test_tc_chain_classic(int target,bool chain_tc_old) test_tc_chain_classic() argument 666 test_tc_opts_replace_target(int target) test_tc_opts_replace_target() argument 873 test_tc_opts_invalid_target(int target) test_tc_opts_invalid_target() argument 1026 test_tc_opts_prepend_target(int target) test_tc_opts_prepend_target() argument 1166 test_tc_opts_append_target(int target) test_tc_opts_append_target() argument 1306 test_tc_opts_dev_cleanup_target(int target) test_tc_opts_dev_cleanup_target() argument 1396 test_tc_opts_mixed_target(int target) test_tc_opts_mixed_target() argument 1572 test_tc_opts_demixed_target(int target) test_tc_opts_demixed_target() argument 1651 test_tc_opts_detach_target(int target) test_tc_opts_detach_target() argument 1822 test_tc_opts_detach_before_target(int target) test_tc_opts_detach_before_target() argument 2029 test_tc_opts_detach_after_target(int target) test_tc_opts_detach_after_target() argument 2245 test_tc_opts_delete_empty(int target,bool chain_tc_old) test_tc_opts_delete_empty() argument 2276 test_tc_chain_mixed(int target) test_tc_chain_mixed() argument 2405 test_tc_opts_max_target(int target,int flags,bool relative) test_tc_opts_max_target() argument 2461 test_tc_opts_query_target(int target) test_tc_opts_query_target() argument 2757 test_tc_opts_query_attach_target(int target) test_tc_opts_query_attach_target() 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, in __ocelot_write_ix() 56 enum ocelot_target target; __ocelot_rmw_ix() local 69 u16 target = reg >> TARGET_OFFSET; ocelot_port_readl() local 82 u16 target = reg >> TARGET_OFFSET; ocelot_port_writel() local 99 __ocelot_target_read_ix(struct ocelot * ocelot,enum ocelot_target target,u32 reg,u32 offset) __ocelot_target_read_ix() argument 109 __ocelot_target_write_ix(struct ocelot * ocelot,enum ocelot_target target,u32 val,u32 reg,u32 offset) __ocelot_target_write_ix() argument 120 u16 target; ocelot_regfields_init() local [all...] |
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_debug.c | 323 static int kfd_dbg_set_workaround(struct kfd_process *target, bool enable) in kfd_dbg_set_workaround() argument 325 struct process_queue_manager *pqm = &target->pqm; in kfd_dbg_set_workaround() 342 target->runtime_info.runtime_state = r == -EBUSY ? in kfd_dbg_set_workaround() 504 static void kfd_dbg_clear_process_address_watch(struct kfd_process *target) in kfd_dbg_clear_process_address_watch() argument 508 for (i = 0; i < target->n_pdds; i++) in kfd_dbg_clear_process_address_watch() 510 kfd_dbg_trap_clear_dev_address_watch(target->pdds[i], j); in kfd_dbg_clear_process_address_watch() 513 int kfd_dbg_trap_set_flags(struct kfd_process *target, uint32_t *flags) in kfd_dbg_trap_set_flags() argument 515 uint32_t prev_flags = target->dbg_flags; in kfd_dbg_trap_set_flags() 518 for (i = 0; i < target->n_pdds; i++) { in kfd_dbg_trap_set_flags() 520 kfd_topology_device_by_id(target in kfd_dbg_trap_set_flags() 585 kfd_dbg_trap_deactivate(struct kfd_process * target,bool unwind,int unwind_count) kfd_dbg_trap_deactivate() argument 638 kfd_dbg_clean_exception_status(struct kfd_process * target) kfd_dbg_clean_exception_status() argument 663 kfd_dbg_trap_disable(struct kfd_process * target) kfd_dbg_trap_disable() argument 693 kfd_dbg_trap_activate(struct kfd_process * target) kfd_dbg_trap_activate() argument 768 kfd_dbg_trap_enable(struct kfd_process * target,uint32_t fd,void __user * runtime_info,uint32_t * runtime_size) kfd_dbg_trap_enable() argument 849 kfd_dbg_trap_set_wave_launch_override(struct kfd_process * target,uint32_t trap_override,uint32_t trap_mask_bits,uint32_t trap_mask_request,uint32_t * trap_mask_prev,uint32_t * trap_mask_supported) kfd_dbg_trap_set_wave_launch_override() argument 892 kfd_dbg_trap_set_wave_launch_mode(struct kfd_process * target,uint8_t wave_launch_mode) kfd_dbg_trap_set_wave_launch_mode() argument 924 kfd_dbg_trap_query_exception_info(struct kfd_process * target,uint32_t source_id,uint32_t exception_code,bool clear_exception,void __user * info,uint32_t * info_size) kfd_dbg_trap_query_exception_info() argument 1044 kfd_dbg_trap_device_snapshot(struct kfd_process * target,uint64_t exception_clear_mask,void __user * user_info,uint32_t * number_of_device_infos,uint32_t * entry_size) kfd_dbg_trap_device_snapshot() argument 1118 kfd_dbg_set_enabled_debug_exception_mask(struct kfd_process * target,uint64_t exception_set_mask) kfd_dbg_set_enabled_debug_exception_mask() 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_nab5000 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/ [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_YMC) += ymc.o 12 lenovo-target-$(CONFIG_YOGABOOK) += yogabook.o 13 lenovo-target-$(CONFIG_YT2_1380) += yoga-tab2-pro-1380-fastcharger.o 14 lenovo-target-$(CONFIG_LENOVO_WMI_CAMERA) += wmi-camera.o 15 lenovo-target-$(CONFIG_LENOVO_WMI_DATA01) += wmi-capdata01.o 16 lenovo-target-$(CONFIG_LENOVO_WMI_EVENTS) += wmi-events.o 17 lenovo-target-$(CONFIG_LENOVO_WMI_HELPERS) += wmi-helpers.o 18 lenovo-target-$(CONFIG_LENOVO_WMI_GAMEZONE) += wmi-gamezone.o 19 lenovo-target [all...] |
/linux/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 9 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 in s390_call__parse() 58 char *s = strchr(ops->raw, ','), *target, *endptr; s390_mov__parse() local [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 52 /* The target already has context */ in init_fp_ctx() 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 gfpr_get(struct task_struct * target,struct membuf * to) gfpr_get() argument 127 gfpr_get_simd(struct task_struct * target,struct membuf * to) gfpr_get_simd() argument 145 fpr_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpr_get() argument 164 gfpr_set(struct task_struct * target,unsigned int * pos,unsigned int * count,const void ** kbuf,const void __user ** ubuf) gfpr_set() argument 173 gfpr_set_simd(struct task_struct * target,unsigned int * pos,unsigned int * count,const void ** kbuf,const void __user ** ubuf) gfpr_set_simd() argument 197 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 229 cfg_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) cfg_get() argument 248 cfg_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) cfg_set() argument 258 copy_pad_fprs(struct task_struct * target,const struct user_regset * regset,struct membuf * to,unsigned int live_sz) copy_pad_fprs() argument 278 simd_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) simd_get() argument 308 simd_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) simd_set() argument 343 lbt_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) lbt_get() argument 359 lbt_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) lbt_set() argument 671 hw_break_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) hw_break_get() argument 712 hw_break_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) hw_break_set() argument 953 read_user(struct task_struct * target,unsigned long addr,unsigned long __user * data) read_user() argument 978 write_user(struct task_struct * target,unsigned long addr,unsigned long data) write_user() argument [all...] |
/linux/drivers/misc/lkdtm/ |
H A D | fortify.c | 15 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() 31 fortify_scratch_space = target[0].a[3]; in lkdtm_FORTIFY_STR_OBJECT() 39 struct target { in lkdtm_FORTIFY_STR_MEMBER() struct 42 } target; in lkdtm_FORTIFY_STR_MEMBER() local 53 * strncpy(target.a, src, 20); will hit a compile error because the in lkdtm_FORTIFY_STR_MEMBER() 54 * compiler knows at build time that target.a < 20 bytes. Use a in lkdtm_FORTIFY_STR_MEMBER() 57 strncpy(target in lkdtm_FORTIFY_STR_MEMBER() 16 alkdtm_FORTIFY_STR_OBJECT::target lkdtm_FORTIFY_STR_OBJECT() argument 17 foolkdtm_FORTIFY_STR_OBJECT::target lkdtm_FORTIFY_STR_OBJECT() argument 40 alkdtm_FORTIFY_STR_MEMBER::target lkdtm_FORTIFY_STR_MEMBER() argument 41 blkdtm_FORTIFY_STR_MEMBER::target lkdtm_FORTIFY_STR_MEMBER() argument 71 struct target { lkdtm_FORTIFY_MEM_OBJECT() struct 72 alkdtm_FORTIFY_MEM_OBJECT::target lkdtm_FORTIFY_MEM_OBJECT() argument 73 foolkdtm_FORTIFY_MEM_OBJECT::target lkdtm_FORTIFY_MEM_OBJECT() argument 74 } target = {}; lkdtm_FORTIFY_MEM_OBJECT() local 104 struct target { lkdtm_FORTIFY_MEM_MEMBER() struct 105 alkdtm_FORTIFY_MEM_MEMBER::target lkdtm_FORTIFY_MEM_MEMBER() argument 106 blkdtm_FORTIFY_MEM_MEMBER::target lkdtm_FORTIFY_MEM_MEMBER() argument 107 } target; lkdtm_FORTIFY_MEM_MEMBER() local [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() 46 * @target: thread to examine 53 * If @target is blocked in a system call, returns zero with @info.data.nr 57 * call is still in progress. Note we may get this result if @target 69 task_current_syscall(struct task_struct * target,struct syscall_info * info) task_current_syscall() argument [all...] |
/linux/arch/sparc/kernel/ |
H A D | ptrace_32.c | 47 static int regwindow32_get(struct task_struct *target, in regwindow32_get() argument 54 if (target == current) { in regwindow32_get() 58 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_get() 65 static int regwindow32_set(struct task_struct *target, in regwindow32_set() argument 72 if (target == current) { in regwindow32_set() 76 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_set() 83 static int genregs32_get(struct task_struct *target, in genregs32_get() argument 87 const struct pt_regs *regs = target->thread.kregs; in genregs32_get() 90 if (target == current) in genregs32_get() 96 if (regwindow32_get(target, reg in genregs32_get() 106 genregs32_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) genregs32_set() argument 166 fpregs32_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpregs32_get() argument 182 fpregs32_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpregs32_set() argument 244 getregs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) getregs_get() argument 260 setregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) setregs_set() argument 287 getfpregs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) getfpregs_get() argument 300 setfpregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) setfpregs_set() argument [all...] |
H A D | ptrace_64.c | 160 static int get_from_target(struct task_struct *target, unsigned long uaddr, in get_from_target() argument 163 if (target == current) { in get_from_target() 167 int len2 = access_process_vm(target, uaddr, kbuf, len, in get_from_target() 175 static int set_to_target(struct task_struct *target, unsigned long uaddr, in set_to_target() argument 178 if (target == current) { in set_to_target() 182 int len2 = access_process_vm(target, uaddr, kbuf, len, in set_to_target() 190 static int regwindow64_get(struct task_struct *target, in regwindow64_get() argument 200 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) in regwindow64_get() 208 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) in regwindow64_get() 215 static int regwindow64_set(struct task_struct *target, in regwindow64_set() argument 246 genregs64_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) genregs64_get() argument 267 genregs64_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) genregs64_set() argument 341 fpregs64_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpregs64_get() argument 371 fpregs64_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpregs64_set() argument 442 getregs64_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) getregs64_get() argument 457 setregs64_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) setregs64_set() argument 532 genregs32_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) genregs32_get() argument 558 genregs32_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) genregs32_set() argument 676 fpregs32_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) fpregs32_get() argument 698 fpregs32_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) fpregs32_set() argument 776 getregs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) getregs_get() argument 795 setregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) setregs_set() argument 829 getfpregs_get(struct task_struct * target,const struct user_regset * regset,struct membuf to) getfpregs_get() argument 846 setfpregs_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf) setfpregs_set() argument [all...] |
/linux/fs/smb/client/ |
H A D | cifs_unicode.c | 31 convert_sfu_char(const __u16 src_char, char *target) in convert_sfu_char() argument 40 *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() 65 convert_sfm_char(const __u16 src_char, char *target) in convert_sfm_char() argument 68 *target = src_char - 0xF000; in convert_sfm_char() 73 *target in convert_sfm_char() 118 cifs_mapchar(char * target,const __u16 * from,const struct nls_table * cp,int maptype) cifs_mapchar() argument 453 cifsConvertToUTF16(__le16 * target,const char * source,int srclen,const struct nls_table * cp,int map_chars) cifsConvertToUTF16() argument [all...] |
/linux/drivers/macintosh/ |
H A D | windfarm_pid.c | 36 s32 target; in wf_pid_run() local 66 /* Calculate target */ in wf_pid_run() 67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run() 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 in wf_pid_run() 91 s32 error, target, sval, adj; wf_cpu_pid_run() local [all...] |