/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace-tm.c | 101 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 D | ptrace-vsx.c | 27 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 D | ptrace-decl.h | 67 int fpr_set(struct task_struct *target, const struct user_regset *regset, 73 int vsr_active(struct task_struct *target, const struct user_regset *regset); 75 int vsr_set(struct task_struct *target, const struct user_regset *regset, 81 int vr_active(struct task_struct *target, const struct user_regset *regset); 83 int vr_set(struct task_struct *target, const struct user_regset *regset, 89 int evr_active(struct task_struct *target, const struct user_regset *regset); 91 int evr_set(struct task_struct *target, const struct user_regset *regset, 97 int gpr32_get_common(struct task_struct *target, 101 int gpr32_set_common(struct task_struct *target, 137 int tm_spr_set(struct task_struct *target, const struct user_regset *regset, [all …]
|
A D | ptrace-spe.c | 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() 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/tools/perf/util/ |
A D | target.c | 22 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 …]
|
A D | target.h | 8 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 72 return !target__has_task(target) && !target__has_cpu(target); in target__none() 77 return target->system_wide && target->per_thread; in target__has_per_thread() [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | htc_mbox.c | 429 target->credit_info, &target->cred_dist_list); in htc_tx_comp_update() 759 struct htc_target *target = endpoint->target; in ath6kl_htc_tx_bundle() local 1237 target->credit_info, &target->cred_dist_list); in ath6kl_htc_mbox_activity_changed() 2589 endpoint->target = target; in reset_ep_state() 2620 target->msg_per_bndl_max = min(target->max_scat_entries, in htc_setup_msg_bndl() 2628 target->max_rx_bndl_sz = target->max_xfer_szper_scatreq; in htc_setup_msg_bndl() 2634 target->max_rx_bndl_sz, target->max_tx_bndl_sz); in htc_setup_msg_bndl() 2643 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl() 2690 target->tgt_creds, target->tgt_cred_sz); in ath6kl_htc_mbox_wait_target() 2849 target = kzalloc(sizeof(*target), GFP_KERNEL); in ath6kl_htc_mbox_create() [all …]
|
A D | htc-ops.h | 30 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 D | htc_pipe.c | 1186 ep->target = target; in reset_endpoint_states() 1433 target->dev = kzalloc(sizeof(*target->dev), GFP_KERNEL); in ath6kl_htc_pipe_create() 1434 if (!target->dev) { in ath6kl_htc_pipe_create() 1440 target->dev->htc_cnxt = target; in ath6kl_htc_pipe_create() 1448 return target; in ath6kl_htc_pipe_create() 1452 if (target != NULL) in ath6kl_htc_pipe_create() 1455 target = NULL; in ath6kl_htc_pipe_create() 1457 return target; in ath6kl_htc_pipe_create() 1472 kfree(target->dev); in ath6kl_htc_pipe_cleanup() 1475 kfree(target); in ath6kl_htc_pipe_cleanup() [all …]
|
/linux/drivers/infiniband/ulp/srp/ |
A D | ib_srp.c | 310 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id() local 336 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id() local 380 struct srp_target_port *target = ch->target; in srp_new_cm_id() local 530 struct srp_target_port *target = ch->target; in srp_create_ch_ib() local 705 struct srp_target_port *target = ch->target; in srp_path_rec_completion() local 718 struct srp_target_port *target = ch->target; in srp_ib_lookup_path() local 757 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path() local 777 struct srp_target_port *target = ch->target; in srp_lookup_path() local 3767 target->ch = kcalloc(target->ch_count, sizeof(*target->ch), in add_target_store() 3774 ch->target = target; in add_target_store() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | htc_hst.c | 34 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 141 complete(&target->cmd_wait); in htc_process_conn_rsp() 309 target->hif->stop(target->hif_dev); in htc_stop() 314 target->hif->start(target->hif_dev); in htc_start() 319 target->hif->sta_drain(target->hif_dev, idx); in htc_sta_drain() 471 struct htc_target *target; in ath9k_htc_hw_alloc() local 474 if (!target) in ath9k_htc_hw_alloc() 480 target->hif = hif; in ath9k_htc_hw_alloc() 482 target->dev = dev; in ath9k_htc_hw_alloc() 491 return target; in ath9k_htc_hw_alloc() [all …]
|
/linux/drivers/acpi/numa/ |
A D | hmat.c | 95 struct memory_target *target; in find_mem_target() local 99 return target; in find_mem_target() 129 if (!target) { in alloc_memory_target() 130 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 131 if (!target) in alloc_memory_target() 341 if (target && target->processor_pxm == inits[init]) { in hmat_parse_locality() 377 if (!target) in hmat_parse_cache() 443 if (!target) { in hmat_parse_proximity_domain() 764 if (!target) in hmat_callback() 791 list_del(&target->node); in hmat_free_structures() [all …]
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_io.c | 15 u16 target = reg >> TARGET_OFFSET; in __ocelot_read_ix() local 18 WARN_ON(!target); in __ocelot_read_ix() 28 u16 target = reg >> TARGET_OFFSET; in __ocelot_write_ix() local 30 WARN_ON(!target); in __ocelot_write_ix() 42 WARN_ON(!target); in __ocelot_rmw_ix() 56 WARN_ON(!target); in ocelot_port_readl() 58 regmap_read(port->target, ocelot->map[target][reg & REG_MASK], &val); in ocelot_port_readl() 68 WARN_ON(!target); in ocelot_port_writel() 70 regmap_write(port->target, ocelot->map[target][reg & REG_MASK], val); in ocelot_port_writel() 103 u16 target; in ocelot_regfields_init() local [all …]
|
/linux/Documentation/target/ |
A D | tcm_mod_builder.rst | 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 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 101 …target:/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 D | instructions.c | 9 struct addr_map_symbol target = { in s390_call__parse() local 37 if (ops->target.name == NULL) in s390_call__parse() 39 target.addr = map__objdump_2mem(map, ops->target.addr); in s390_call__parse() 42 map__rip_2objdump(target.ms.map, map->map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse() 43 ops->target.sym = target.ms.sym; in s390_call__parse() 72 target = ++s; in s390_mov__parse() 73 ops->target.raw = strdup(target); in s390_mov__parse() 74 if (ops->target.raw == NULL) in s390_mov__parse() 77 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse() 78 if (endptr == target) in s390_mov__parse() [all …]
|
/linux/arch/sparc/kernel/ |
A D | ptrace_32.c | 55 if (target == current) { in regwindow32_get() 73 if (target == current) { in regwindow32_set() 91 if (target == current) in genregs32_get() 117 if (target == current) in genregs32_set() 171 if (target == current) in fpregs32_get() 191 if (target == current) in fpregs32_set() 250 if (target == current) in getregs_get() 269 if (target == current) in setregs_set() 292 if (target == current) in getfpregs_get() 309 if (target == current) in setfpregs_set() [all …]
|
A D | ptrace_64.c | 164 if (target == current) { in get_from_target() 179 if (target == current) { in set_to_target() 254 if (target == current) in genregs64_get() 276 if (target == current) in genregs64_set() 349 if (target == current) in fpregs64_get() 381 if (target == current) in fpregs64_set() 449 if (target == current) in getregs64_get() 468 if (target == current) in setregs64_set() 543 if (target == current) in genregs32_get() 572 if (target == current) in genregs32_set() [all …]
|
/linux/fs/cifs/ |
A D | cifs_unicode.c | 41 *target = ':'; in convert_sfu_char() 44 *target = '*'; in convert_sfu_char() 47 *target = '?'; in convert_sfu_char() 50 *target = '|'; in convert_sfu_char() 53 *target = '>'; in convert_sfu_char() 56 *target = '<'; in convert_sfu_char() 74 *target = ':'; in convert_sfm_char() 77 *target = '"'; in convert_sfm_char() 80 *target = '*'; in convert_sfm_char() 83 *target = '?'; in convert_sfm_char() [all …]
|
/linux/lib/ |
A D | syscall.c | 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() 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/drivers/macintosh/ |
A D | windfarm_pid.c | 36 s32 target; in wf_pid_run() local 70 target += st->target; in wf_pid_run() 71 target = max(target, st->param.min); in wf_pid_run() 72 target = min(target, st->param.max); in wf_pid_run() 73 st->target = target; in wf_pid_run() 75 return st->target; in wf_pid_run() 137 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run() 138 target = max(target, st->param.min); in wf_cpu_pid_run() 139 target = min(target, st->param.max); in wf_cpu_pid_run() 140 st->target = target; in wf_cpu_pid_run() [all …]
|
/linux/drivers/of/ |
A D | overlay.c | 41 struct target { struct 95 struct target *target, const struct device_node *overlay_node); 168 nd.target = fragment->target; in overlay_notify() 305 struct target *target, struct property *overlay_prop, in add_changeset_property() argument 326 target->np); in add_changeset_property() 410 struct target *target, struct device_node *node) in add_changeset_node() argument 482 struct target *target, const struct device_node *overlay_node) in build_changeset_next_level() argument 514 struct target *target, in build_changeset_symbols_node() argument 639 struct target target; in build_changeset() local 654 target.np = fragment->target; in build_changeset() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | ftm-initiator.c | 383 &target->bandwidth, in iwl_mvm_ftm_put_target_v2() 389 target->burst_period = in iwl_mvm_ftm_put_target_v2() 417 target->burst_period = in iwl_mvm_ftm_put_target_common() 459 &target->bandwidth, in iwl_mvm_ftm_put_target_v3() 481 &target->format_bw, in iwl_mvm_ftm_put_target_v4() 694 memcpy(target->hltk, entry->hltk, sizeof(target->hltk)); in iwl_mvm_ftm_set_secured_ranging() 701 memcpy(target->tk, entry->tk, sizeof(target->tk)); in iwl_mvm_ftm_set_secured_ranging() 703 memcpy(target->rx_pn, entry->rx_pn, sizeof(target->rx_pn)); in iwl_mvm_ftm_set_secured_ranging() 704 memcpy(target->tx_pn, entry->tx_pn, sizeof(target->tx_pn)); in iwl_mvm_ftm_set_secured_ranging() 854 target->burst_period = in iwl_mvm_ftm_start_v13() [all …]
|
/linux/arch/s390/kernel/ |
A D | ptrace.c | 857 if (target == current) in s390_regs_get() 872 if (target == current) in s390_regs_set() 907 if (target == current) in s390_fpregs_get() 924 if (target == current) in s390_fpregs_set() 1003 if (target == current) in s390_vxrs_low_get() 1020 if (target == current) in s390_vxrs_low_set() 1040 if (target == current) in s390_vxrs_high_get() 1055 if (target == current) in s390_vxrs_high_set() 1090 if (target == current) in s390_gs_cb_get() 1250 if (target == current) in s390_runtime_instr_set() [all …]
|
/linux/arch/arm64/kernel/ |
A D | ptrace.c | 602 sve_sync_to_fpsimd(target); in __fpr_get() 615 if (target == current) in fpr_get() 634 sve_sync_to_fpsimd(target); in __fpr_set() 662 fpsimd_flush_task_state(target); in fpr_set() 670 if (target == current) in tls_get() 759 if (target == current) in sve_get() 847 sve_alloc(target); in sve_set() 848 if (!target->thread.sve_state) { in sve_set() 859 fpsimd_sync_to_sve(target); in sve_set() 866 target->thread.sve_state, in sve_set() [all …]
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | libsrp.c | 109 spin_lock_init(&target->lock); in srp_target_alloc() 111 target->dev = dev; in srp_target_alloc() 114 target->rx_ring_size = nr; in srp_target_alloc() 115 target->rx_ring = srp_ring_alloc(target->dev, nr, iu_size); in srp_target_alloc() 116 if (!target->rx_ring) in srp_target_alloc() 118 err = srp_iu_pool_alloc(&target->iu_queue, nr, target->rx_ring); in srp_target_alloc() 122 dev_set_drvdata(target->dev, target); in srp_target_alloc() 126 srp_ring_free(target->dev, target->rx_ring, nr, iu_size); in srp_target_alloc() 133 srp_ring_free(target->dev, target->rx_ring, target->rx_ring_size, in srp_target_free() 134 target->srp_iu_size); in srp_target_free() [all …]
|