Home
last modified time | relevance | path

Searched refs:target (Results 1 – 200 of 1224) sorted by relevance

1234567

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dtwsi.c85 static void i2c_wait_for_writes(struct hfi1_devdata *dd, u32 target) in i2c_wait_for_writes() argument
92 hfi1_gpio_mod(dd, target, 0, 0, 0); in i2c_wait_for_writes()
107 static void scl_out(struct hfi1_devdata *dd, u32 target, u8 bit) in scl_out() argument
116 hfi1_gpio_mod(dd, target, 0, bit ? 0 : mask, mask); in scl_out()
128 if (mask & hfi1_gpio_mod(dd, target, 0, 0, 0)) in scl_out()
136 i2c_wait_for_writes(dd, target); in scl_out()
139 static void sda_out(struct hfi1_devdata *dd, u32 target, u8 bit) in sda_out() argument
146 hfi1_gpio_mod(dd, target, 0, bit ? 0 : mask, mask); in sda_out()
148 i2c_wait_for_writes(dd, target); in sda_out()
152 static u8 sda_in(struct hfi1_devdata *dd, u32 target, int wait) in sda_in() argument
[all …]
Dqsfp.c67 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() argument
75 ret = hfi1_twsi_reset(dd, target); in __i2c_write()
86 ret = hfi1_twsi_blk_wr(dd, target, i2c_addr, offset, in __i2c_write()
102 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() argument
110 ret = __i2c_write(ppd, target, i2c_addr, offset, bp, len); in i2c_write()
120 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() argument
129 ret = hfi1_twsi_reset(dd, target); in __i2c_read()
142 ret = hfi1_twsi_blk_rd(dd, target, i2c_addr, offset, in __i2c_read()
174 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() argument
182 ret = __i2c_read(ppd, target, i2c_addr, offset, bp, len); in i2c_read()
[all …]
Dtwsi.h61 int hfi1_twsi_reset(struct hfi1_devdata *dd, u32 target);
62 int hfi1_twsi_blk_rd(struct hfi1_devdata *dd, u32 target, int dev, int addr,
64 int hfi1_twsi_blk_wr(struct hfi1_devdata *dd, u32 target, int dev, int addr,
Dqsfp.h215 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
217 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
219 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
221 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dhtc-ops.h28 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 …]
Dhtc_mbox.c28 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,
375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument
378 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf()
379 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf()
380 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf()
383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument
389 buf_list = tx ? &target->free_ctrl_txbuf : &target->free_ctrl_rxbuf; in htc_get_control_buf()
[all …]
Dhtc_pipe.c56 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 …]
Dhtc.h519 struct htc_target *target; member
550 int (*wait_target)(struct htc_target *target);
551 int (*start)(struct htc_target *target);
552 int (*conn_service)(struct htc_target *target,
555 int (*tx)(struct htc_target *target, struct htc_packet *packet);
556 void (*stop)(struct htc_target *target);
557 void (*cleanup)(struct htc_target *target);
558 void (*flush_txep)(struct htc_target *target,
560 void (*flush_rx_buf)(struct htc_target *target);
561 void (*activity_changed)(struct htc_target *target,
[all …]
/linux-4.4.14/tools/perf/util/
Dtarget.h7 struct target { struct
46 enum target_errno target__validate(struct target *target);
47 enum target_errno target__parse_uid(struct target *target);
49 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
51 static inline bool target__has_task(struct target *target) in target__has_task() argument
53 return target->tid || target->pid || target->uid_str; in target__has_task()
56 static inline bool target__has_cpu(struct target *target) in target__has_cpu() argument
58 return target->system_wide || target->cpu_list; in target__has_cpu()
61 static inline bool target__none(struct target *target) in target__none() argument
63 return !target__has_task(target) && !target__has_cpu(target); in target__none()
[all …]
Dtarget.c16 enum target_errno target__validate(struct target *target) in target__validate() argument
20 if (target->pid) in target__validate()
21 target->tid = target->pid; in target__validate()
24 if (target->tid && target->cpu_list) { in target__validate()
25 target->cpu_list = NULL; in target__validate()
31 if (target->tid && target->uid_str) { in target__validate()
32 target->uid_str = NULL; in target__validate()
38 if (target->uid_str && target->cpu_list) { in target__validate()
39 target->cpu_list = NULL; in target__validate()
45 if (target->tid && target->system_wide) { in target__validate()
[all …]
Dtop.c30 struct target *target = &opts->target; in perf_top__header_snprintf() local
84 if (target->pid) in perf_top__header_snprintf()
86 target->pid); in perf_top__header_snprintf()
87 else if (target->tid) in perf_top__header_snprintf()
89 target->tid); in perf_top__header_snprintf()
90 else if (target->uid_str != NULL) in perf_top__header_snprintf()
92 target->uid_str); in perf_top__header_snprintf()
96 if (target->cpu_list) in perf_top__header_snprintf()
99 target->cpu_list); in perf_top__header_snprintf()
101 if (target->tid) in perf_top__header_snprintf()
Dannotate.c37 zfree(&ops->target.raw); in ins__delete()
38 zfree(&ops->target.name); in ins__delete()
60 ops->target.addr = strtoull(ops->raw, &endptr, 16); in call__parse()
73 ops->target.name = strdup(name); in call__parse()
76 return ops->target.name == NULL ? -1 : 0; in call__parse()
81 ops->target.addr = 0; in call__parse()
89 ops->target.addr = strtoull(tok + 1, NULL, 16); in call__parse()
96 if (ops->target.name) in call__scnprintf()
97 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->target.name); in call__scnprintf()
99 if (ops->target.addr == 0) in call__scnprintf()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhtc_hst.c21 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
119 endpoint = &target->endpoint[epid]; in htc_process_conn_rsp()
[all …]
Dhtc_hst.h205 int htc_init(struct htc_target *target);
206 int htc_connect_service(struct htc_target *target,
209 int htc_send(struct htc_target *target, struct sk_buff *skb);
210 int htc_send_epid(struct htc_target *target, struct sk_buff *skb,
212 void htc_stop(struct htc_target *target);
213 void htc_start(struct htc_target *target);
214 void htc_sta_drain(struct htc_target *target, u8 idx);
225 int ath9k_htc_hw_init(struct htc_target *target,
228 void ath9k_htc_hw_deinit(struct htc_target *target, bool hot_unplug);
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c199 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument
205 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin()
206 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin()
258 static int srp_init_qp(struct srp_target_port *target, in srp_init_qp() argument
268 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_qp()
269 target->srp_host->port, in srp_init_qp()
270 be16_to_cpu(target->pkey), in srp_init_qp()
278 attr->port_num = target->srp_host->port; in srp_init_qp()
293 struct srp_target_port *target = ch->target; in srp_new_cm_id() local
296 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_cm_id()
[all …]
/linux-4.4.14/Documentation/target/
Dtcm_mod_builder.txt11 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD
13 This script will create a new drivers/target/$TCM_NEW_MOD/, and will do the following
15 *) Generate new API callers for drivers/target/target_core_fabric_configs.c logic
23 using drivers/target/target_core_fabric_lib.c logic.
30 target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_na…
31 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../
34 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
37 /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/tcm_nab5000_base.h
41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_request.c120 struct lu_fld_target *target; in fld_rrb_scan() local
134 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
135 if (target->ft_idx == hash) in fld_rrb_scan()
136 return target; in fld_rrb_scan()
150 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
151 const char *srv_name = target->ft_srv != NULL ? in fld_rrb_scan()
152 target->ft_srv->lsf_name : "<null>"; in fld_rrb_scan()
153 const char *exp_name = target->ft_exp != NULL ? in fld_rrb_scan()
154 (char *)target->ft_exp->exp_obd->obd_uuid.uuid : in fld_rrb_scan()
158 target->ft_exp, exp_name, target->ft_srv, in fld_rrb_scan()
[all …]
Dlproc_fld.c61 struct lu_fld_target *target; in fld_debugfs_targets_seq_show() local
66 list_for_each_entry(target, in fld_debugfs_targets_seq_show()
68 seq_printf(m, "%s\n", fld_target_name(target)); in fld_debugfs_targets_seq_show()
/linux-4.4.14/arch/x86/kernel/
Dpci-calgary_64.c523 unsigned long target = ((unsigned long)bar) | offset; in calgary_reg() local
524 return (void __iomem*)target; in calgary_reg()
548 void __iomem *target; in calgary_tce_cache_blast() local
551 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_AER_OFFSET); in calgary_tce_cache_blast()
552 aer = readl(target); in calgary_tce_cache_blast()
553 writel(0, target); in calgary_tce_cache_blast()
556 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_PLSSR_OFFSET); in calgary_tce_cache_blast()
557 val = readl(target); in calgary_tce_cache_blast()
560 target = calgary_reg(bbar, split_queue_offset(tbl->it_busno)); in calgary_tce_cache_blast()
562 val = readq(target); in calgary_tce_cache_blast()
[all …]
Dtls.c200 int regset_tls_active(struct task_struct *target, in regset_tls_active() argument
203 struct thread_struct *t = &target->thread; in regset_tls_active()
210 int regset_tls_get(struct task_struct *target, const struct user_regset *regset, in regset_tls_get() argument
224 tls = &target->thread.tls_array[pos]; in regset_tls_get()
244 int regset_tls_set(struct task_struct *target, const struct user_regset *regset, in regset_tls_set() argument
268 set_tls_desc(target, in regset_tls_set()
/linux-4.4.14/fs/cifs/
Dcifs_unicode.c46 convert_sfu_char(const __u16 src_char, char *target) in convert_sfu_char() argument
55 *target = ':'; in convert_sfu_char()
58 *target = '*'; in convert_sfu_char()
61 *target = '?'; in convert_sfu_char()
64 *target = '|'; in convert_sfu_char()
67 *target = '>'; in convert_sfu_char()
70 *target = '<'; in convert_sfu_char()
80 convert_sfm_char(const __u16 src_char, char *target) in convert_sfm_char() argument
84 *target = ':'; in convert_sfm_char()
87 *target = '*'; in convert_sfm_char()
[all …]
/linux-4.4.14/drivers/macintosh/
Dwindfarm_pid.c37 s32 target; in wf_pid_run() local
68 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run()
71 target += st->target; in wf_pid_run()
72 target = max(target, st->param.min); in wf_pid_run()
73 target = min(target, st->param.max); in wf_pid_run()
74 st->target = target; in wf_pid_run()
76 return st->target; in wf_pid_run()
92 s32 error, target, sval, adj; in wf_cpu_pid_run() local
138 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run()
139 target = max(target, st->param.min); in wf_cpu_pid_run()
[all …]
Dwindfarm_pm72.c263 wf_control_get(cpu_rear_fans[cpu], &sp->target); in cpu_fans_tick_split()
265 DBG_LOTS(" CPU%d: cur_target = %d RPM\n", cpu, sp->target); in cpu_fans_tick_split()
284 DBG_LOTS(" CPU%d: target = %d RPM\n", cpu, sp->target); in cpu_fans_tick_split()
287 err = wf_control_set(cpu_rear_fans[cpu], sp->target); in cpu_fans_tick_split()
296 intake = (sp->target * CPU_INTAKE_SCALE) >> 16; in cpu_fans_tick_split()
319 wf_control_get(cpu_rear_fans[0], &sp->target); in cpu_fans_tick_combined()
321 DBG_LOTS(" CPUs: cur_target = %d RPM\n", sp->target); in cpu_fans_tick_combined()
352 intake = (sp->target * CPU_INTAKE_SCALE) >> 16; in cpu_fans_tick_combined()
361 pump = (sp->target * wf_control_get_max(pump0)) / in cpu_fans_tick_combined()
364 DBG_LOTS(" CPUs: target = %d RPM\n", sp->target); in cpu_fans_tick_combined()
[all …]
/linux-4.4.14/lib/
Dsyscall.c6 static int collect_syscall(struct task_struct *target, long *callno, in collect_syscall() argument
10 struct pt_regs *regs = task_pt_regs(target); in collect_syscall()
17 *callno = syscall_get_nr(target, regs); in collect_syscall()
19 syscall_get_arguments(target, regs, 0, maxargs, args); in collect_syscall()
50 int task_current_syscall(struct task_struct *target, long *callno, in task_current_syscall() argument
60 if (target == current) in task_current_syscall()
61 return collect_syscall(target, callno, args, maxargs, sp, pc); in task_current_syscall()
63 state = target->state; in task_current_syscall()
67 ncsw = wait_task_inactive(target, state); in task_current_syscall()
69 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) || in task_current_syscall()
[all …]
/linux-4.4.14/drivers/thermal/
Dgov_bang_bang.c45 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
46 instance->target = 0; in thermal_zone_trip_update()
49 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update()
51 instance->name, instance->target); in thermal_zone_trip_update()
52 instance->target = 1; in thermal_zone_trip_update()
59 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update()
60 instance->target = 1; in thermal_zone_trip_update()
61 else if (instance->target == 1 && in thermal_zone_trip_update()
63 instance->target = 0; in thermal_zone_trip_update()
66 (int)instance->target); in thermal_zone_trip_update()
Dstep_wise.c63 next_target = instance->target; in get_target_state()
160 old_target = instance->target; in thermal_zone_trip_update()
161 instance->target = get_target_state(instance, trend, throttle); in thermal_zone_trip_update()
163 old_target, (int)instance->target); in thermal_zone_trip_update()
165 if (instance->initialized && old_target == instance->target) in thermal_zone_trip_update()
170 instance->target != THERMAL_NO_TARGET) in thermal_zone_trip_update()
174 instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
/linux-4.4.14/arch/sparc/kernel/
Dptrace_64.c123 static int get_from_target(struct task_struct *target, unsigned long uaddr, in get_from_target() argument
126 if (target == current) { in get_from_target()
130 int len2 = access_process_vm(target, uaddr, kbuf, len, 0); in get_from_target()
137 static int set_to_target(struct task_struct *target, unsigned long uaddr, in set_to_target() argument
140 if (target == current) { in set_to_target()
144 int len2 = access_process_vm(target, uaddr, kbuf, len, 1); in set_to_target()
151 static int regwindow64_get(struct task_struct *target, in regwindow64_get() argument
161 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) in regwindow64_get()
169 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) in regwindow64_get()
176 static int regwindow64_set(struct task_struct *target, in regwindow64_set() argument
[all …]
Dptrace_32.c48 static int genregs32_get(struct task_struct *target, in genregs32_get() argument
53 const struct pt_regs *regs = target->thread.kregs; in genregs32_get()
59 if (target == current) in genregs32_get()
126 static int genregs32_set(struct task_struct *target, in genregs32_set() argument
131 struct pt_regs *regs = target->thread.kregs; in genregs32_set()
137 if (target == current) in genregs32_set()
210 static int fpregs32_get(struct task_struct *target, in fpregs32_get() argument
215 const unsigned long *fpregs = target->thread.float_regs; in fpregs32_get()
219 if (target == current) in fpregs32_get()
233 &target->thread.fsr, in fpregs32_get()
[all …]
Dvio.c174 u64 target; in vio_fill_channel_info() local
176 target = mdesc_arc_target(hp, a); in vio_fill_channel_info()
178 irq = mdesc_get_property(hp, target, "tx-ino", NULL); in vio_fill_channel_info()
182 irq = mdesc_get_property(hp, target, "rx-ino", NULL); in vio_fill_channel_info()
188 chan_id = mdesc_get_property(hp, target, "id", NULL); in vio_fill_channel_info()
231 u64 target; in vio_create_one() local
233 target = mdesc_arc_target(hp, a); in vio_create_one()
234 cfg_handle = mdesc_get_property(hp, target, in vio_create_one()
378 u64 target = mdesc_arc_target(hp, a); in vio_add_ds() local
379 const char *name = mdesc_node_name(hp, target); in vio_add_ds()
/linux-4.4.14/fs/sysfs/
Dsymlink.c25 struct kernfs_node *kn, *target = NULL; in sysfs_do_create_link_sd() local
36 target = target_kobj->sd; in sysfs_do_create_link_sd()
37 kernfs_get(target); in sysfs_do_create_link_sd()
41 if (!target) in sysfs_do_create_link_sd()
44 kn = kernfs_create_link(parent, name, target); in sysfs_do_create_link_sd()
45 kernfs_put(target); in sysfs_do_create_link_sd()
61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd() argument
64 return sysfs_do_create_link_sd(kn, target, name, 1); in sysfs_create_link_sd()
67 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() argument
80 return sysfs_do_create_link_sd(parent, target, name, warn); in sysfs_do_create_link()
[all …]
Dgroup.c334 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument
343 error = sysfs_create_link_sd(parent, target, link_name); in sysfs_add_link_to_group()
380 struct kernfs_node *target; in __compat_only_sysfs_link_entry_to_kobj() local
390 target = target_kobj->sd; in __compat_only_sysfs_link_entry_to_kobj()
391 if (target) in __compat_only_sysfs_link_entry_to_kobj()
392 kernfs_get(target); in __compat_only_sysfs_link_entry_to_kobj()
394 if (!target) in __compat_only_sysfs_link_entry_to_kobj()
399 kernfs_put(target); in __compat_only_sysfs_link_entry_to_kobj()
408 kernfs_put(target); in __compat_only_sysfs_link_entry_to_kobj()
/linux-4.4.14/fs/ncpfs/
Dncplib_kernel.c153 ncp_negotiate_buffersize(struct ncp_server *server, int size, int *target) in ncp_negotiate_buffersize() argument
164 *target = min_t(unsigned int, ncp_reply_be16(server, 0), size); in ncp_negotiate_buffersize()
205 int n, struct ncp_volume_info* target) { in ncp_get_volume_info_with_number() argument
215 target->total_blocks = ncp_reply_dword_lh(server, 0); in ncp_get_volume_info_with_number()
216 target->free_blocks = ncp_reply_dword_lh(server, 4); in ncp_get_volume_info_with_number()
217 target->purgeable_blocks = ncp_reply_dword_lh(server, 8); in ncp_get_volume_info_with_number()
218 target->not_yet_purgeable_blocks = ncp_reply_dword_lh(server, 12); in ncp_get_volume_info_with_number()
219 target->total_dir_entries = ncp_reply_dword_lh(server, 16); in ncp_get_volume_info_with_number()
220 target->available_dir_entries = ncp_reply_dword_lh(server, 20); in ncp_get_volume_info_with_number()
221 target->sectors_per_block = ncp_reply_byte(server, 28); in ncp_get_volume_info_with_number()
[all …]
Dncplib_kernel.h46 struct ncp_volume_info *target);
49 struct ncp_volume_info* target);
66 void ncp_extract_file_info(const void* src, struct nw_info_struct* target);
68 struct nw_info_struct *target);
69 int ncp_obtain_nfs_info(struct ncp_server *server, struct nw_info_struct *target);
87 struct nw_search_sequence *target);
/linux-4.4.14/net/nfc/
Ddigital_technology.c173 struct nfc_target *target);
226 struct nfc_target *target = arg; in digital_in_recv_ats() local
249 rc = digital_target_found(ddev, target, NFC_PROTO_ISO14443); in digital_in_recv_ats()
253 kfree(target); in digital_in_recv_ats()
260 struct nfc_target *target) in digital_in_send_rats() argument
273 target); in digital_in_send_rats()
283 struct nfc_target *target = arg; in digital_in_recv_sel_res() local
310 rc = digital_in_send_sdd_req(ddev, target); in digital_in_recv_sel_res()
317 target->sel_res = sel_res; in digital_in_recv_sel_res()
324 rc = digital_in_send_rats(ddev, target); in digital_in_recv_sel_res()
[all …]
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmthread.c301 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
322 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
323 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
329 if (lock==target) in dlm_shuffle_lists()
332 target->ml.convert_type)) { in dlm_shuffle_lists()
340 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
342 target->ml.convert_type; in dlm_shuffle_lists()
347 if (lock==target) in dlm_shuffle_lists()
350 target->ml.convert_type)) { in dlm_shuffle_lists()
356 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
[all …]
/linux-4.4.14/drivers/acpi/acpica/
Drsdump.c209 u8 *target = NULL; in acpi_rs_dump_descriptor() local
219 previous_target = target; in acpi_rs_dump_descriptor()
220 target = ACPI_ADD_PTR(u8, resource, table->offset); in acpi_rs_dump_descriptor()
243 acpi_rs_out_string(name, ACPI_CAST_PTR(char, target)); in acpi_rs_dump_descriptor()
254 [*target])); in acpi_rs_dump_descriptor()
256 acpi_rs_out_integer8(name, ACPI_GET8(target)); in acpi_rs_dump_descriptor()
262 acpi_rs_out_integer16(name, ACPI_GET16(target)); in acpi_rs_dump_descriptor()
267 acpi_rs_out_integer32(name, ACPI_GET32(target)); in acpi_rs_dump_descriptor()
272 acpi_rs_out_integer64(name, ACPI_GET64(target)); in acpi_rs_dump_descriptor()
281 pointer[*target & in acpi_rs_dump_descriptor()
[all …]
Drsmisc.c78 char *target; in acpi_rs_convert_aml_to_resource() local
179 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
180 item_count = ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource()
201 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource()
202 if (ACPI_GET16(target)) { in acpi_rs_convert_aml_to_resource()
206 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
208 ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource()
263 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
266 *(u16 **)destination = ACPI_CAST_PTR(u16, target); in acpi_rs_convert_aml_to_resource()
271 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource()
[all …]
/linux-4.4.14/arch/x86/kernel/fpu/
Dregset.c13 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_fpregs_active() argument
15 struct fpu *target_fpu = &target->thread.fpu; in regset_fpregs_active()
20 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_xregset_fpregs_active() argument
22 struct fpu *target_fpu = &target->thread.fpu; in regset_xregset_fpregs_active()
27 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument
31 struct fpu *fpu = &target->thread.fpu; in xfpregs_get()
43 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, in xfpregs_set() argument
47 struct fpu *fpu = &target->thread.fpu; in xfpregs_set()
74 int xstateregs_get(struct task_struct *target, const struct user_regset *regset, in xstateregs_get() argument
78 struct fpu *fpu = &target->thread.fpu; in xstateregs_get()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfan.c32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument
43 if (target < 0) in nvkm_fan_update()
44 target = fan->percent; in nvkm_fan_update()
45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update()
46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update()
47 if (fan->percent != target) { in nvkm_fan_update()
48 nvkm_debug(subdev, "FAN target: %d\n", target); in nvkm_fan_update()
49 fan->percent = target; in nvkm_fan_update()
54 if (duty == target) { in nvkm_fan_update()
65 if (duty < target) in nvkm_fan_update()
[all …]
/linux-4.4.14/net/bridge/netfilter/
Debt_mark.c25 int action = info->target & -16; in ebt_mark_tg()
36 return info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg()
44 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg_check()
49 tmp = info->target & ~EBT_VERDICT_BITS; in ebt_mark_tg_check()
58 compat_uint_t target; member
67 kern->target = user->target; in mark_tg_compat_from_user()
76 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
86 .target = ebt_mark_tg,
Debt_snat.c28 if (!(info->target & NAT_ARP_BIT) && in ebt_snat_tg()
42 return info->target | ~EBT_VERDICT_BITS; in ebt_snat_tg()
50 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_snat_tg_check()
56 tmp = info->target | EBT_VERDICT_BITS; in ebt_snat_tg_check()
68 .target = ebt_snat_tg,
DKconfig126 the 'nfmark' value in the frame. This can be set by the mark target.
128 target.
161 tristate "ebt: arp reply target support"
164 This option adds the arp reply target, which allows
170 tristate "ebt: dnat target support"
172 This option adds the MAC DNAT target, which allows altering the MAC
178 tristate "ebt: mark target support"
180 This option adds the mark target, which allows marking frames by
183 target.
188 tristate "ebt: redirect target support"
[all …]
Debt_dnat.c26 return info->target; in ebt_dnat_tg()
34 if (BASE_CHAIN && info->target == EBT_RETURN) in ebt_dnat_tg_check()
55 .target = ebt_dnat_tg,
Debt_redirect.c33 return info->target; in ebt_redirect_tg()
41 if (BASE_CHAIN && info->target == EBT_RETURN) in ebt_redirect_tg_check()
61 .target = ebt_redirect_tg,
Debtables.c92 par->target = w->u.watcher; in ebt_do_watcher()
94 w->u.watcher->target(skb, par); in ebt_do_watcher()
246 if (!t->u.target->target) in ebt_do_table()
249 acpar.target = t->u.target; in ebt_do_table()
251 verdict = t->u.target->target(skb, &acpar); in ebt_do_table()
409 par->target = watcher; in ebt_check_watcher()
616 par.target = w->u.watcher; in ebt_cleanup_watcher()
619 if (par.target->destroy != NULL) in ebt_cleanup_watcher()
620 par.target->destroy(&par); in ebt_cleanup_watcher()
621 module_put(par.target->me); in ebt_cleanup_watcher()
[all …]
Debt_arpreply.c57 return info->target; in ebt_arpreply_tg()
65 if (BASE_CHAIN && info->target == EBT_RETURN) in ebt_arpreply_tg_check()
79 .target = ebt_arpreply_tg,
/linux-4.4.14/drivers/nfc/pn544/
Dpn544.c456 struct nfc_target *target, u8 comm_mode, in pn544_hci_dep_link_up() argument
462 r = nfc_hci_get_param(hdev, target->hci_reader_gate, in pn544_hci_dep_link_up()
478 r = nfc_dep_link_is_up(hdev->ndev, target->idx, comm_mode, in pn544_hci_dep_link_up()
493 struct nfc_target *target) in pn544_hci_target_from_gate() argument
497 target->supported_protocols = NFC_PROTO_FELICA_MASK; in pn544_hci_target_from_gate()
500 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn544_hci_target_from_gate()
501 target->sens_res = 0x0c00; in pn544_hci_target_from_gate()
504 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_target_from_gate()
515 struct nfc_target *target) in pn544_hci_complete_target_discovered() argument
523 if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_complete_target_discovered()
[all …]
/linux-4.4.14/drivers/of/
Doverlay.c35 struct device_node *target; member
57 struct device_node *target, const struct device_node *overlay);
60 struct device_node *target, struct property *prop) in of_overlay_apply_single_property() argument
65 tprop = of_find_property(target, prop->name, NULL); in of_overlay_apply_single_property()
79 return of_changeset_add_property(&ov->cset, target, propn); in of_overlay_apply_single_property()
82 return of_changeset_update_property(&ov->cset, target, propn); in of_overlay_apply_single_property()
86 struct device_node *target, struct device_node *child) in of_overlay_apply_single_device_node() argument
97 tchild = of_get_child_by_name(target, cname); in of_overlay_apply_single_device_node()
104 tchild = __of_node_dup(child, "%s/%s", target->full_name, cname); in of_overlay_apply_single_device_node()
109 tchild->parent = target; in of_overlay_apply_single_device_node()
[all …]
/linux-4.4.14/net/netfilter/
Dnft_compat.c52 par->target = xt; in nft_compat_set_par()
62 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() local
66 nft_compat_set_par((struct xt_action_param *)&pkt->xt, target, info); in nft_target_eval_xt()
68 ret = target->target(skb, &pkt->xt); in nft_target_eval_xt()
88 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() local
92 nft_compat_set_par((struct xt_action_param *)&pkt->xt, target, info); in nft_target_eval_bridge()
94 ret = target->target(skb, &pkt->xt); in nft_target_eval_bridge()
127 struct xt_target *target, void *info, in nft_target_set_tgchk_param() argument
152 par->target = target; in nft_target_set_tgchk_param()
211 struct xt_target *target = expr->ops->data; in nft_target_init() local
[all …]
Dx_tables.c51 struct list_head target; member
71 int xt_register_target(struct xt_target *target) in xt_register_target() argument
73 u_int8_t af = target->family; in xt_register_target()
76 list_add(&target->list, &xt[af].target); in xt_register_target()
83 xt_unregister_target(struct xt_target *target) in xt_unregister_target() argument
85 u_int8_t af = target->family; in xt_unregister_target()
88 list_del(&target->list); in xt_unregister_target()
94 xt_register_targets(struct xt_target *target, unsigned int n) in xt_register_targets() argument
100 err = xt_register_target(&target[i]); in xt_register_targets()
108 xt_unregister_targets(target, i); in xt_register_targets()
[all …]
Dxt_NFQUEUE.c79 if (par->target->revision == 2 && info->flags > 1) in nfqueue_tg_check()
81 if (par->target->revision == 3 && info->flags & ~NFQ_FLAG_MASK) in nfqueue_tg_check()
116 .target = nfqueue_tg,
125 .target = nfqueue_tg_v1,
134 .target = nfqueue_tg_v2,
143 .target = nfqueue_tg_v3,
Dxt_nat.c23 par->target->name); in xt_nat_checkentry_v0()
109 .target = xt_snat_target_v0,
121 .target = xt_dnat_target_v0,
132 .target = xt_snat_target_v1,
142 .target = xt_dnat_target_v1,
Dxt_DSCP.c121 .target = dscp_tg,
130 .target = dscp_tg6,
140 .target = tos_tg,
149 .target = tos_tg6,
DKconfig67 `CONNMARK' target and `connmark' match. Similar to the mark value
78 packets using the CONNSECMARK target and copied back from
79 connections to packets with the same target, with the packets
123 via the CT target.
563 x_tables match/target extensions over the nf_tables
580 tristate 'nfmark target and match support'
583 This option adds the "MARK" target and "mark" match.
587 The target allows you to create rules in the "mangle" table which alter
595 tristate 'ctmark target and match support'
600 This option adds the "CONNMARK" target and "connmark" match.
[all …]
/linux-4.4.14/drivers/misc/
Dvmw_balloon.c240 unsigned int target; member
260 bool is_2m_pages, unsigned int *target);
262 bool is_2m_pages, unsigned int *target);
282 unsigned int target; member
408 unsigned long target; in vmballoon_send_get_target() local
427 STATS_INC(b->stats.target); in vmballoon_send_get_target()
429 status = VMWARE_BALLOON_CMD(GET_TARGET, limit, dummy, target); in vmballoon_send_get_target()
431 *new_target = target; in vmballoon_send_get_target()
446 unsigned int *hv_status, unsigned int *target) in vmballoon_send_lock_page() argument
457 *hv_status = status = VMWARE_BALLOON_CMD(LOCK, pfn, dummy, *target); in vmballoon_send_lock_page()
[all …]
/linux-4.4.14/drivers/scsi/
Dqla1280.c802 qla1280_wait_for_pending_commands(struct scsi_qla_host *ha, int bus, int target) in qla1280_wait_for_pending_commands() argument
822 if (target >= 0 && SCSI_TCN_32(cmd) != target) in qla1280_wait_for_pending_commands()
851 int bus, target, lun; in qla1280_error_action() local
864 target = SCSI_TCN_32(cmd); in qla1280_error_action()
900 target, lun); in qla1280_error_action()
921 "command.\n", ha->host_no, bus, target, lun); in qla1280_error_action()
922 if (qla1280_device_reset(ha, bus, target) == 0) { in qla1280_error_action()
925 wait_for_target = target; in qla1280_error_action()
973 ha->host_no, bus, target, lun); in qla1280_error_action()
1143 qla1280_set_target_parameters(struct scsi_qla_host *ha, int bus, int target) in qla1280_set_target_parameters() argument
[all …]
Dnsp32.c459 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autopara() local
527 param->target_id = BIT(host_id) | BIT(target); in nsp32_selection_autopara()
590 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autoscsi() local
637 nsp32_write1(base, SCSI_OUT_LATCH_TARGET_ID, BIT(host_id) | BIT(target)); in nsp32_selection_autoscsi()
847 data->cur_target = &(data->target[newid]); in nsp32_reselection()
912 nsp32_target *target; in nsp32_queuecommand_lck() local
986 target = &data->target[scmd_id(SCpnt)]; in nsp32_queuecommand_lck()
987 data->cur_target = target; in nsp32_queuecommand_lck()
989 if (!(target->sync_flag & (SDTR_DONE | SDTR_INITIATOR | SDTR_TARGET))) { in nsp32_queuecommand_lck()
993 nsp32_set_max_sync(data, target, &period, &offset); in nsp32_queuecommand_lck()
[all …]
Desp_scsi.c239 esp->target[i].esp_config3 = val; in esp_set_all_config3()
300 esp->prev_cfg3 = esp->target[0].esp_config3; in esp_reset_esp()
313 u8 cfg3 = esp->target[0].esp_config3; in esp_reset_esp()
320 u32 cfg3 = esp->target[0].esp_config3; in esp_reset_esp()
325 esp->prev_cfg3 = esp->target[0].esp_config3; in esp_reset_esp()
341 (esp->target[0].esp_config3 | in esp_reset_esp()
343 esp->prev_cfg3 = esp->target[0].esp_config3; in esp_reset_esp()
495 u8 val = esp->target[tgt].esp_config3; in esp_write_tgt_config3()
506 u8 off = esp->target[tgt].esp_offset; in esp_write_tgt_sync()
507 u8 per = esp->target[tgt].esp_period; in esp_write_tgt_sync()
[all …]
Dvmw_pvscsi.h129 u32 target; member
173 u32 target; member
246 u32 target; member
335 u8 target; member
/linux-4.4.14/drivers/of/unittest-data/
Dtests-overlay.dtsi116 /* test enable using absolute target path */
119 target-path = "/testcase-data/overlay-node/test-bus/test-unittest0";
126 /* test disable using absolute target path */
129 target-path = "/testcase-data/overlay-node/test-bus/test-unittest1";
139 target = <&unittest2>;
149 target = <&unittest3>;
159 target = <&unittestbus>;
178 target-path = "/testcase-data/overlay-node/test-bus/test-unittest5";
188 target-path = "/testcase-data/overlay-node/test-bus/test-unittest6";
196 target-path = "/testcase-data/overlay-node/test-bus/test-unittest7";
[all …]
Dtestcases.dts65 target = <0x00000000>;
70 target = <0x00000000>;
75 target = <0x00000000>;
/linux-4.4.14/tools/build/
DBuild.include17 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
18 dot-target = $(dir $@).$(notdir $@)
21 # filename of target with directory and extension stripped
27 depfile = $(subst $(comma),_,$(dot-target).d)
53 # Find any prerequisites that is newer than target or that does not exist.
62 $(fixdep) $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp; \
64 mv -f $(dot-target).tmp $(dot-target).cmd, \
65 printf '\# cannot find fixdep (%s)\n' $(fixdep) > $(dot-target).cmd; \
66 printf '\# using basic dep data\n\n' >> $(dot-target).cmd; \
67 cat $(depfile) >> $(dot-target).cmd; \
[all …]
Dfixdep.c23 char *target; variable
38 printf("cmd_%s := %s\n\n", target, cmdline); in print_cmdline()
95 target, s); in parse_dep_file()
97 target); in parse_dep_file()
115 printf("\n%s: $(deps_%s)\n\n", target, target); in parse_dep_file()
116 printf("$(deps_%s):\n", target); in parse_dep_file()
161 target = argv[2]; in main()
DMakefile.build111 in-target := $(objprefix)$(obj)-in.o
120 $(in-target): $(obj-y) FORCE
124 __build: $(in-target)
132 targets := $(wildcard $(sort $(obj-y) $(in-target) $(MAKECMDGOALS)))
/linux-4.4.14/fs/kernfs/
Dsymlink.c27 struct kernfs_node *target) in kernfs_create_link() argument
37 kn->ns = target->ns; in kernfs_create_link()
38 kn->symlink.target_kn = target; in kernfs_create_link()
39 kernfs_get(target); /* ref owned by symlink */ in kernfs_create_link()
50 struct kernfs_node *target, char *path) in kernfs_get_target_path() argument
59 kn = target->parent; in kernfs_get_target_path()
72 kn = target; in kernfs_get_target_path()
86 kn = target; in kernfs_get_target_path()
105 struct kernfs_node *target = kn->symlink.target_kn; in kernfs_getlink() local
109 error = kernfs_get_target_path(parent, target, path); in kernfs_getlink()
/linux-4.4.14/include/linux/netfilter_bridge/
Debtables.h43 unsigned int (*target)(struct sk_buff *skb, member
45 unsigned int hook_num, const struct xt_target *target,
48 const struct xt_target *target, void *targinfo,
50 void (*destroy)(const struct xt_target *target, void *targinfo);
61 unsigned int (*target)(struct sk_buff *skb, member
63 unsigned int hook_num, const struct xt_target *target,
66 const struct xt_target *target, void *targinfo,
68 void (*destroy)(const struct xt_target *target, void *targinfo);
126 #define INVALID_TARGET (info->target < -NUM_STANDARD_TARGETS || info->target >= 0)
/linux-4.4.14/arch/powerpc/kernel/
Dptrace.c264 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument
270 if (target->thread.regs == NULL) in gpr_get()
273 if (!FULL_REGS(target->thread.regs)) { in gpr_get()
276 target->thread.regs->gpr[i] = NV_REG_POISON; in gpr_get()
280 target->thread.regs, in gpr_get()
283 unsigned long msr = get_user_msr(target); in gpr_get()
295 &target->thread.regs->orig_gpr3, in gpr_get()
305 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument
312 if (target->thread.regs == NULL) in gpr_set()
315 CHECK_FULL_REGS(target->thread.regs); in gpr_set()
[all …]
/linux-4.4.14/net/sched/
Dact_ipt.c36 struct xt_target *target; in ipt_init_target() local
39 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target()
41 if (IS_ERR(target)) in ipt_init_target()
42 return PTR_ERR(target); in ipt_init_target()
44 t->u.kernel.target = target; in ipt_init_target()
47 par.target = target; in ipt_init_target()
54 module_put(t->u.kernel.target->me); in ipt_init_target()
63 .target = t->u.kernel.target, in ipt_destroy_target()
66 if (par.target->destroy != NULL) in ipt_destroy_target()
67 par.target->destroy(&par); in ipt_destroy_target()
[all …]
Dsch_pie.c41 psched_time_t target; /* user specified target delay in pschedtime */ member
85 params->target = PSCHED_NS2TICKS(20 * NSEC_PER_MSEC); /* 20 ms */ in pie_params_init()
112 if ((q->vars.qdelay < q->params.target / 2) in drop_early()
201 u32 target = nla_get_u32(tb[TCA_PIE_TARGET]); in pie_change() local
204 q->params.target = PSCHED_NS2TICKS((u64)target * NSEC_PER_USEC); in pie_change()
364 delta += alpha * ((qdelay - q->params.target)); in calculate_probability()
417 if ((q->vars.qdelay < q->params.target / 2) && in calculate_probability()
418 (q->vars.qdelay_old < q->params.target / 2) && in calculate_probability()
472 ((u32) PSCHED_TICKS2NS(q->params.target)) / in pie_dump()
/linux-4.4.14/arch/s390/kernel/
Dptrace.c876 static int s390_regs_get(struct task_struct *target, in s390_regs_get() argument
881 if (target == current) in s390_regs_get()
882 save_access_regs(target->thread.acrs); in s390_regs_get()
887 *k++ = __peek_user(target, pos); in s390_regs_get()
894 if (__put_user(__peek_user(target, pos), u++)) in s390_regs_get()
903 static int s390_regs_set(struct task_struct *target, in s390_regs_set() argument
910 if (target == current) in s390_regs_set()
911 save_access_regs(target->thread.acrs); in s390_regs_set()
916 rc = __poke_user(target, pos, *k++); in s390_regs_set()
927 rc = __poke_user(target, pos, word); in s390_regs_set()
[all …]
/linux-4.4.14/drivers/nfc/st21nfca/
Dcore.c588 struct nfc_target *target) in st21nfca_get_iso15693_inventory() argument
607 memcpy(target->iso15693_uid, inventory_skb->data, inventory_skb->len); in st21nfca_get_iso15693_inventory()
608 target->iso15693_dsfid = inventory_skb->data[1]; in st21nfca_get_iso15693_inventory()
609 target->is_iso15693 = 1; in st21nfca_get_iso15693_inventory()
616 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up() argument
621 info->dep_info.idx = target->idx; in st21nfca_hci_dep_link_up()
636 struct nfc_target *target) in st21nfca_hci_target_from_gate() argument
645 target->supported_protocols = NFC_PROTO_FELICA_MASK; in st21nfca_hci_target_from_gate()
653 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in st21nfca_hci_target_from_gate()
654 target->sens_res = 0x0c00; in st21nfca_hci_target_from_gate()
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_buf.h194 struct xfs_buf *_xfs_buf_find(struct xfs_buftarg *target,
200 struct xfs_buftarg *target, in xfs_incore() argument
206 return _xfs_buf_find(target, &map, 1, flags, NULL); in xfs_incore()
209 struct xfs_buf *_xfs_buf_alloc(struct xfs_buftarg *target,
215 struct xfs_buftarg *target, in xfs_buf_alloc() argument
221 return _xfs_buf_alloc(target, &map, 1, flags); in xfs_buf_alloc()
224 struct xfs_buf *xfs_buf_get_map(struct xfs_buftarg *target,
227 struct xfs_buf *xfs_buf_read_map(struct xfs_buftarg *target,
231 void xfs_buf_readahead_map(struct xfs_buftarg *target,
237 struct xfs_buftarg *target, in xfs_buf_get() argument
[all …]
Dxfs_trans.h159 struct xfs_buftarg *target,
166 struct xfs_buftarg *target, in xfs_trans_get_buf() argument
172 return xfs_trans_get_buf_map(tp, target, &map, 1, flags); in xfs_trans_get_buf()
177 struct xfs_buftarg *target,
187 struct xfs_buftarg *target, in xfs_trans_read_buf() argument
195 return xfs_trans_read_buf_map(mp, tp, target, &map, 1, in xfs_trans_read_buf()
/linux-4.4.14/arch/s390/numa/
Dtoptree.c113 static int toptree_insert(struct toptree *cand, struct toptree *target) in toptree_insert() argument
115 if (!cand || !target) in toptree_insert()
117 if (target->level != (cand->level + 1)) in toptree_insert()
119 list_add_tail(&cand->sibling, &target->children); in toptree_insert()
120 cand->parent = target; in toptree_insert()
121 toptree_update_mask(target); in toptree_insert()
132 static void toptree_move_children(struct toptree *cand, struct toptree *target) in toptree_move_children() argument
137 toptree_move(child, target); in toptree_move_children()
189 void toptree_move(struct toptree *cand, struct toptree *target) in toptree_move() argument
193 if (cand->level + 1 == target->level) { in toptree_move()
[all …]
/linux-4.4.14/arch/parisc/math-emu/
Ddecode_exc.c107 int target, exception_index = 1; in decode_fpu() local
223 target = current_ir & fivebits; in decode_fpu()
236 Sgl_decrement(Fpu_sgl(target)); in decode_fpu()
239 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode()); in decode_fpu()
248 Dbl_decrement(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu()
251 dbl_denormalize(&Fpu_dblp1(target),&Fpu_dblp2(target), in decode_fpu()
301 target = current_ir & fivebits; in decode_fpu()
304 Sgl_setoverflow(Fpu_sgl(target)); in decode_fpu()
307 Dbl_setoverflow(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu()
/linux-4.4.14/net/nfc/nci/
Dntf.c193 struct nfc_target *target, in nci_add_new_protocol() argument
230 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
231 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
232 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
233 if (target->nfcid1_len > 0) { in nci_add_new_protocol()
234 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol()
235 target->nfcid1_len); in nci_add_new_protocol()
240 target->sensb_res_len = nfcb_poll->sensb_res_len; in nci_add_new_protocol()
241 if (target->sensb_res_len > 0) { in nci_add_new_protocol()
242 memcpy(target->sensb_res, nfcb_poll->sensb_res, in nci_add_new_protocol()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dptrace_32.c138 static int genregs_get(struct task_struct *target, in genregs_get() argument
143 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
162 static int genregs_set(struct task_struct *target, in genregs_set() argument
167 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
186 int fpregs_get(struct task_struct *target, in fpregs_get() argument
193 ret = init_fpu(target); in fpregs_get()
199 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
202 &target->thread.xstate->softfpu, 0, -1); in fpregs_get()
205 static int fpregs_set(struct task_struct *target, in fpregs_set() argument
212 ret = init_fpu(target); in fpregs_set()
[all …]
Dptrace_64.c148 static int genregs_get(struct task_struct *target, in genregs_get() argument
153 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
181 static int genregs_set(struct task_struct *target, in genregs_set() argument
186 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
216 int fpregs_get(struct task_struct *target, in fpregs_get() argument
223 ret = init_fpu(target); in fpregs_get()
228 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
231 static int fpregs_set(struct task_struct *target, in fpregs_set() argument
238 ret = init_fpu(target); in fpregs_set()
242 set_stopped_child_used_math(target); in fpregs_set()
[all …]
/linux-4.4.14/scripts/
Dmarkup_oops.pl40 my $target = "0";
162 $target = $1;
165 $target = $1;
186 my $decodestart = Math::BigInt->from_hex("0x$target") - Math::BigInt->from_hex("0x$func_offset");
187 my $decodestop = Math::BigInt->from_hex("0x$target") + 8192;
188 if ($target eq "0") {
209 …$vmaoffset = Math::BigInt->from_hex("0x$target") - Math::BigInt->from_hex("0x$fu") - Math::BigInt-…
222 my ($address, $target) = @_;
224 my $ta = "0x".$target;
245 if (InRange($1, $target)) {
[all …]
DMakefile.build83 lib-target := $(obj)/lib.a
86 ifneq ($(strip $(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)),)
87 builtin-target := $(obj)/built-in.o
90 modorder-target := $(obj)/modules.order
94 __build: $(if $(KBUILD_BUILTIN),$(builtin-target) $(lib-target) $(extra-y)) \
95 $(if $(KBUILD_MODULES),$(obj-m) $(modorder-target)) \
251 $(dot-target).tmp; \
253 mv -f $(dot-target).tmp $(dot-target).cmd
328 ifdef builtin-target
336 $(builtin-target): $(obj-y) FORCE
[all …]
DKbuild.include12 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
13 dot-target = $(dir $@).$(notdir $@)
18 depfile = $(subst $(comma),_,$(dot-target).d)
21 # filename of target with directory and extension stripped
222 # target, or command line has changed
245 # Find any prerequisites that is newer than target or that does not exist.
254 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)
260 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
262 mv -f $(dot-target).tmp $(dot-target).cmd)
272 # why - tell why a a target got build
[all …]
DMakefile.modbuiltin36 modbuiltin-target := $(obj)/modules.builtin
38 __modbuiltin: $(modbuiltin-target) $(subdir-ym)
41 $(modbuiltin-target): $(subdir-ym) FORCE
/linux-4.4.14/drivers/char/agp/
Disoch.c82 struct isoch_data *master, target; in agp_3_5_isochronous_node_enable() local
122 target.maxbw = (tnistat >> 16) & 0xff; in agp_3_5_isochronous_node_enable()
123 target.n = (tnistat >> 8) & 0xff; in agp_3_5_isochronous_node_enable()
124 target.y = (tnistat >> 6) & 0x3; in agp_3_5_isochronous_node_enable()
125 target.l = (tnistat >> 3) & 0x7; in agp_3_5_isochronous_node_enable()
126 target.rq = (tstatus >> 24) & 0xff; in agp_3_5_isochronous_node_enable()
128 y_max = target.y; in agp_3_5_isochronous_node_enable()
155 if (tot_bw > target.maxbw) { in agp_3_5_isochronous_node_enable()
163 target.y = y_max; in agp_3_5_isochronous_node_enable()
173 tnicmd |= target.y << 6; in agp_3_5_isochronous_node_enable()
[all …]
/linux-4.4.14/include/linux/netfilter_arp/
Darp_tables.h20 struct xt_standard_target target; member
25 struct xt_error_target target; member
37 .target = XT_TARGET_INIT(XT_STANDARD_TARGET, \
39 .target.verdict = -(__verdict) - 1, \
45 .target = XT_TARGET_INIT(XT_ERROR_TARGET, \
47 .target.errorname = "ERROR", \
/linux-4.4.14/include/linux/netfilter_ipv4/
Dip_tables.h35 struct xt_standard_target target; member
40 struct xt_error_target target; member
52 .target = XT_TARGET_INIT(XT_STANDARD_TARGET, \
54 .target.verdict = -(__verdict) - 1, \
60 .target = XT_TARGET_INIT(XT_ERROR_TARGET, \
62 .target.errorname = "ERROR", \
/linux-4.4.14/arch/tile/lib/
Ddelay.c32 cycles_t target = get_cycles(); in __ndelay() local
33 target += ns2cycles(nsecs); in __ndelay()
34 while (get_cycles() < target) in __ndelay()
41 cycles_t target = get_cycles() + cycles; in __delay() local
42 while (get_cycles() < target) in __delay()
/linux-4.4.14/tools/testing/selftests/timers/
Dnsleep-lat.c111 struct timespec start, end, target; in nanosleep_lat_test() local
115 target.tv_sec = ns/NSEC_PER_SEC; in nanosleep_lat_test()
116 target.tv_nsec = ns%NSEC_PER_SEC; in nanosleep_lat_test()
120 if (clock_nanosleep(clockid, 0, &target, NULL)) in nanosleep_lat_test()
128 clock_nanosleep(clockid, 0, &target, NULL); in nanosleep_lat_test()
139 target = timespec_add(start, ns); in nanosleep_lat_test()
140 clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL); in nanosleep_lat_test()
142 latency += timespec_sub(target, end); in nanosleep_lat_test()
Dnanosleep.c114 struct timespec now, target, rel; in nanosleep_test() local
119 target = timespec_add(now, ns); in nanosleep_test()
121 if (clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL)) in nanosleep_test()
125 if (!in_order(target, now)) in nanosleep_test()
133 target = timespec_add(now, ns); in nanosleep_test()
137 if (!in_order(target, now)) in nanosleep_test()
Dmqueue-lat.c74 struct timespec start, end, now, target; in mqueue_lat_test() local
92 target = now; in mqueue_lat_test()
93 target = timespec_add(now, TARGET_TIMEOUT); /* 100ms */ in mqueue_lat_test()
95 ret = mq_timedreceive(q, buf, sizeof(buf), NULL, &target); in mqueue_lat_test()
/linux-4.4.14/arch/mn10300/kernel/
Dptrace.c81 static int genregs_get(struct task_struct *target, in genregs_get() argument
86 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
108 static int genregs_set(struct task_struct *target, in genregs_set() argument
113 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
157 static int fpuregs_get(struct task_struct *target, in fpuregs_get() argument
162 const struct fpu_state_struct *fpregs = &target->thread.fpu_state; in fpuregs_get()
165 unlazy_fpu(target); in fpuregs_get()
179 static int fpuregs_set(struct task_struct *target, in fpuregs_set() argument
184 struct fpu_state_struct fpu_state = target->thread.fpu_state; in fpuregs_set()
192 fpu_kill_state(target); in fpuregs_set()
[all …]
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-driver-ib_srp5 Description: Interface for making ib_srp connect to a new target.
6 One can request ib_srp to connect to a new target by writing
10 byte identifier extension in the 16-byte SRP target port
11 identifier. The target port identifier is sent by ib_srp
12 to the target in the SRP_LOGIN_REQ request.
14 byte I/O controller GUID portion of the 16-byte target port
22 the SRP target. How to find out the value of the service ID
23 is specified in the documentation of the SRP target.
30 class defines the format of the SRP initiator and target
34 identifier. This data is sent by the initiator to the target
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/dma/
Duser.c83 args->v0.version, args->v0.target, args->v0.access, in nvkm_dmaobj_ctor()
85 dmaobj->target = args->v0.target; in nvkm_dmaobj_ctor()
98 switch (dmaobj->target) { in nvkm_dmaobj_ctor()
100 dmaobj->target = NV_MEM_TARGET_VM; in nvkm_dmaobj_ctor()
109 dmaobj->target = NV_MEM_TARGET_VRAM; in nvkm_dmaobj_ctor()
114 dmaobj->target = NV_MEM_TARGET_PCI; in nvkm_dmaobj_ctor()
120 dmaobj->target = NV_MEM_TARGET_PCI_NOSNOOP; in nvkm_dmaobj_ctor()
/linux-4.4.14/net/ipv4/netfilter/
Darpt_mangle.c12 target(struct sk_buff *skb, const struct xt_action_param *par) in target() function
54 return mangle->target; in target()
65 if (mangle->target != NF_DROP && mangle->target != NF_ACCEPT && in checkentry()
66 mangle->target != XT_CONTINUE) in checkentry()
74 .target = target,
Dip_tables.c226 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum()
228 *chainname = t->target.data; in get_chainname_rulenum()
234 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum()
377 IP_NF_ASSERT(t->u.kernel.target); in ipt_do_table()
386 if (!t->u.kernel.target->target) { in ipt_do_table()
420 acpar.target = t->u.kernel.target; in ipt_do_table()
423 verdict = t->u.kernel.target->target(skb, &acpar); in ipt_do_table()
447 const struct ipt_entry *target) in find_jump_target() argument
452 if (iter == target) in find_jump_target()
492 (strcmp(t->target.u.user.name, in mark_source_chains()
[all …]
Darp_tables.c311 if (!t->u.kernel.target->target) { in arpt_do_table()
339 acpar.target = t->u.kernel.target; in arpt_do_table()
341 verdict = t->u.kernel.target->target(skb, &acpar); in arpt_do_table()
371 const struct arpt_entry *target) in find_jump_target() argument
376 if (iter == target) in find_jump_target()
419 (strcmp(t->target.u.user.name, in mark_source_chains()
424 if ((strcmp(t->target.u.user.name, in mark_source_chains()
461 if (strcmp(t->target.u.user.name, in mark_source_chains()
504 .target = t->u.kernel.target, in check_target()
513 t->u.kernel.target->name); in check_target()
[all …]
Dnf_nat_l3proto_ipv4.c81 const struct nf_conntrack_tuple *target, in nf_nat_ipv4_manip_pkt() argument
94 target, maniptype)) in nf_nat_ipv4_manip_pkt()
99 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); in nf_nat_ipv4_manip_pkt()
100 iph->saddr = target->src.u3.ip; in nf_nat_ipv4_manip_pkt()
102 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); in nf_nat_ipv4_manip_pkt()
103 iph->daddr = target->dst.u3.ip; in nf_nat_ipv4_manip_pkt()
203 struct nf_conntrack_tuple target; in nf_nat_icmp_reply_translation() local
248 nf_ct_invert_tuplepr(&target, &ct->tuplehash[!dir].tuple); in nf_nat_icmp_reply_translation()
250 if (!nf_nat_ipv4_manip_pkt(skb, 0, l4proto, &target, manip)) in nf_nat_icmp_reply_translation()
/linux-4.4.14/arch/arm64/kernel/
Dptrace.c372 static int hw_break_get(struct task_struct *target, in hw_break_get() argument
403 ret = ptrace_hbp_get_addr(note_type, target, idx, &addr); in hw_break_get()
412 ret = ptrace_hbp_get_ctrl(note_type, target, idx, &ctrl); in hw_break_get()
433 static int hw_break_set(struct task_struct *target, in hw_break_set() argument
456 ret = ptrace_hbp_set_addr(note_type, target, idx, addr); in hw_break_set()
465 ret = ptrace_hbp_set_ctrl(note_type, target, idx, ctrl); in hw_break_set()
483 static int gpr_get(struct task_struct *target, in gpr_get() argument
488 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get()
492 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument
506 task_pt_regs(target)->user_regs = newregs; in gpr_set()
[all …]
Dalternative.c70 unsigned long target; in get_alt_insn() local
72 target = (unsigned long)altinsnptr + offset; in get_alt_insn()
79 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
80 offset = target - (unsigned long)insnptr; in get_alt_insn()
/linux-4.4.14/net/vmw_vsock/
Dvmci_transport_notify.h50 int (*poll_in) (struct sock *sk, size_t target,
52 int (*poll_out) (struct sock *sk, size_t target,
59 int (*recv_init) (struct sock *sk, size_t target,
61 int (*recv_pre_block) (struct sock *sk, size_t target,
63 int (*recv_pre_dequeue) (struct sock *sk, size_t target,
65 int (*recv_post_dequeue) (struct sock *sk, size_t target,
Dvmci_transport_notify_qstate.c168 size_t target, bool *data_ready_now) in vmci_transport_notify_pkt_poll_in() argument
189 size_t target, bool *space_avail_now) in vmci_transport_notify_pkt_poll_out() argument
211 size_t target, in vmci_transport_notify_pkt_recv_init() argument
220 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { in vmci_transport_notify_pkt_recv_init()
221 PKT_FIELD(vsk, write_notify_min_window) = target + 1; in vmci_transport_notify_pkt_recv_init()
243 size_t target, in vmci_transport_notify_pkt_recv_pre_block() argument
263 size_t target, in vmci_transport_notify_pkt_recv_post_dequeue() argument
399 size_t target, in vmci_transport_notify_pkt_recv_pre_dequeue() argument
Dvmci_transport_notify.c347 size_t target, bool *data_ready_now) in vmci_transport_notify_pkt_poll_in() argument
371 size_t target, bool *space_avail_now) in vmci_transport_notify_pkt_poll_out() argument
401 size_t target, in vmci_transport_notify_pkt_recv_init() argument
412 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { in vmci_transport_notify_pkt_recv_init()
413 PKT_FIELD(vsk, write_notify_min_window) = target + 1; in vmci_transport_notify_pkt_recv_init()
437 size_t target, in vmci_transport_notify_pkt_recv_pre_block() argument
443 if (!send_waiting_read(sk, target)) { in vmci_transport_notify_pkt_recv_pre_block()
463 size_t target, in vmci_transport_notify_pkt_recv_pre_dequeue() argument
483 size_t target, in vmci_transport_notify_pkt_recv_post_dequeue() argument
/linux-4.4.14/drivers/uwb/
Duwb-debug.c90 struct uwb_dev *target; in cmd_rsv_establish() local
93 memcpy(&macaddr, cmd->target, sizeof(macaddr)); in cmd_rsv_establish()
94 target = uwb_dev_get_by_macaddr(rc, &macaddr); in cmd_rsv_establish()
95 if (target == NULL) in cmd_rsv_establish()
100 uwb_dev_put(target); in cmd_rsv_establish()
104 rsv->target.type = UWB_RSV_TARGET_DEV; in cmd_rsv_establish()
105 rsv->target.dev = target; in cmd_rsv_establish()
218 char owner[UWB_ADDR_STRSIZE], target[UWB_ADDR_STRSIZE]; in reservations_print() local
222 if (rsv->target.type == UWB_RSV_TARGET_DEV) { in reservations_print()
223 devaddr = rsv->target.dev->dev_addr; in reservations_print()
[all …]
Drsv.c110 char owner[UWB_ADDR_STRSIZE], target[UWB_ADDR_STRSIZE]; in uwb_rsv_dump() local
113 if (rsv->target.type == UWB_RSV_TARGET_DEV) in uwb_rsv_dump()
114 devaddr = rsv->target.dev->dev_addr; in uwb_rsv_dump()
116 devaddr = rsv->target.devaddr; in uwb_rsv_dump()
117 uwb_dev_addr_print(target, sizeof(target), &devaddr); in uwb_rsv_dump()
120 text, owner, target, uwb_rsv_state_str(rsv->state)); in uwb_rsv_dump()
154 switch (rsv->target.type) { in uwb_rsv_get_stream()
156 streams_bm = rsv->target.dev->streams; in uwb_rsv_get_stream()
185 switch (rsv->target.type) { in uwb_rsv_put_stream()
187 streams_bm = rsv->target.dev->streams; in uwb_rsv_put_stream()
[all …]
/linux-4.4.14/arch/metag/kernel/
Dptrace.c138 static int metag_gp_regs_get(struct task_struct *target, in metag_gp_regs_get() argument
143 const struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_get()
147 static int metag_gp_regs_set(struct task_struct *target, in metag_gp_regs_set() argument
152 struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_set()
184 static int metag_cb_regs_get(struct task_struct *target, in metag_cb_regs_get() argument
189 const struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_get()
193 static int metag_cb_regs_set(struct task_struct *target, in metag_cb_regs_set() argument
198 struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_set()
273 static int metag_rp_state_get(struct task_struct *target, in metag_rp_state_get() argument
278 const struct pt_regs *regs = task_pt_regs(target); in metag_rp_state_get()
[all …]
/linux-4.4.14/drivers/usb/misc/
Dftdi-elan.c160 struct u132_target target[4]; member
299 struct u132_target *target, u8 *buffer, int length);
351 struct u132_target *target = &ftdi->target[ed_number]; in ftdi_elan_abandon_targets() local
352 if (target->active == 1) { in ftdi_elan_abandon_targets()
353 target->condition_code = TD_DEVNOTRESP; in ftdi_elan_abandon_targets()
355 ftdi_elan_do_callback(ftdi, target, NULL, 0); in ftdi_elan_abandon_targets()
370 struct u132_target *target = &ftdi->target[ed_number]; in ftdi_elan_flush_targets() local
371 target->abandoning = 1; in ftdi_elan_flush_targets()
372 wait_1:if (target->active == 1) { in ftdi_elan_flush_targets()
394 wait_2:if (target->active == 1) { in ftdi_elan_flush_targets()
[all …]
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h32 const struct xt_target *target; member
94 const struct xt_target *target; member
104 const struct xt_target *target; member
157 unsigned int (*target)(struct sk_buff *skb, member
232 int xt_register_target(struct xt_target *target);
233 void xt_unregister_target(struct xt_target *target);
234 int xt_register_targets(struct xt_target *target, unsigned int n);
235 void xt_unregister_targets(struct xt_target *target, unsigned int n);
237 int xt_register_match(struct xt_match *target);
238 void xt_unregister_match(struct xt_match *target);
[all …]
/linux-4.4.14/tools/perf/ui/browsers/
Dmap.c45 char target[512]; in map_browser__search() local
49 target, "ENTER: OK, ESC: Cancel", 0); in map_browser__search()
53 if (target[0] == '0' && tolower(target[1]) == 'x') { in map_browser__search()
54 u64 addr = strtoull(target, NULL, 16); in map_browser__search()
57 sym = map__find_symbol_by_name(browser->map, target, NULL); in map_browser__search()
65 ui_helpline__fpush("%s not found!", target); in map_browser__search()
Dannotate.c217 bool fwd = dl->ops.target.offset > (u64)dl->offset; in annotate_browser__write()
249 || dl->ops.target.offset >= symbol__size(sym)) in disasm_line__is_valid_jump()
258 struct disasm_line *cursor = ab->selection, *target; in annotate_browser__draw_current_jump() local
272 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
273 if (!target) in annotate_browser__draw_current_jump()
277 btarget = disasm_line__browser(target); in annotate_browser__draw_current_jump()
490 struct addr_map_symbol target = { in annotate_browser__callq() local
492 .addr = map__objdump_2mem(ms->map, dl->ops.target.addr), in annotate_browser__callq()
499 if (map_groups__find_ams(&target, NULL) || in annotate_browser__callq()
500 map__rip_2objdump(target.map, target.map->map_ip(target.map, in annotate_browser__callq()
[all …]
/linux-4.4.14/include/linux/
Dregset.h39 typedef int user_regset_active_fn(struct task_struct *target,
58 typedef int user_regset_get_fn(struct task_struct *target,
79 typedef int user_regset_set_fn(struct task_struct *target,
105 typedef int user_regset_writeback_fn(struct task_struct *target,
331 static inline int copy_regset_to_user(struct task_struct *target, in copy_regset_to_user() argument
345 return regset->get(target, regset, offset, size, NULL, data); in copy_regset_to_user()
357 static inline int copy_regset_from_user(struct task_struct *target, in copy_regset_from_user() argument
371 return regset->set(target, regset, offset, size, NULL, data); in copy_regset_from_user()
Dnfs.h32 static inline void nfs_copy_fh(struct nfs_fh *target, const struct nfs_fh *source) in nfs_copy_fh() argument
34 target->size = source->size; in nfs_copy_fh()
35 memcpy(target->data, source->data, source->size); in nfs_copy_fh()
Dsysfs.h245 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
248 struct kobject *target,
252 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
278 struct kobject *target, const char *link_name);
377 struct kobject *target, const char *name) in sysfs_create_link() argument
383 struct kobject *target, in sysfs_create_link_nowarn() argument
456 const char *group_name, struct kobject *target, in sysfs_add_link_to_group() argument
503 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link() argument
506 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()
Dconfigfs.h173 int (*allow_link)(struct config_item *src, struct config_item *target);
174 int (*drop_link)(struct config_item *src, struct config_item *target);
212 int configfs_depend_item(struct configfs_subsystem *subsys, struct config_item *target);
213 void configfs_undepend_item(struct configfs_subsystem *subsys, struct config_item *target);
/linux-4.4.14/arch/frv/kernel/
Dptrace.c40 static int genregs_get(struct task_struct *target, in genregs_get() argument
45 const struct user_int_regs *iregs = &target->thread.user->i; in genregs_get()
60 static int genregs_set(struct task_struct *target, in genregs_set() argument
65 struct user_int_regs *iregs = &target->thread.user->i; in genregs_set()
105 static int fpmregs_get(struct task_struct *target, in fpmregs_get() argument
110 const struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_get()
125 static int fpmregs_set(struct task_struct *target, in fpmregs_set() argument
130 struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_set()
145 static int fpmregs_active(struct task_struct *target, in fpmregs_active() argument
148 return tsk_used_math(target) ? regset->n : 0; in fpmregs_active()
/linux-4.4.14/security/apparmor/
Ddomain.c349 const char *name = NULL, *target = NULL, *info = NULL; in apparmor_bprm_set_creds() local
450 target = new_profile->base.hname; in apparmor_bprm_set_creds()
501 target = new_profile->base.hname; in apparmor_bprm_set_creds()
515 name, target, cond.uid, info, error); in apparmor_bprm_set_creds()
612 const char *target = NULL, *info = NULL; in aa_change_hat() local
669 target = name; in aa_change_hat()
679 target = hat->base.hname; in aa_change_hat()
707 target = previous_profile->base.hname; in aa_change_hat()
718 target, GLOBAL_ROOT_UID, info, error); in aa_change_hat()
747 struct aa_profile *profile, *target = NULL; in aa_change_profile() local
[all …]
Dipc.c29 audit_log_untrustedstring(ab, sa->aad->target); in audit_cb()
41 struct aa_profile *target, int error) in aa_audit_ptrace() argument
48 aad.target = target; in aa_audit_ptrace()
Dfile.c85 if (sa->aad->fs.target) { in file_audit_cb()
87 audit_log_untrustedstring(ab, sa->aad->fs.target); in file_audit_cb()
108 const char *target, kuid_t ouid, const char *info, int error) in aa_audit_file() argument
118 aad.fs.target = target; in aa_audit_file()
321 static inline bool xindex_is_subset(u32 link, u32 target) in xindex_is_subset() argument
323 if (((link & ~AA_X_UNSAFE) != (target & ~AA_X_UNSAFE)) || in xindex_is_subset()
324 ((link & AA_X_UNSAFE) && !(target & AA_X_UNSAFE))) in xindex_is_subset()
352 struct path target = { new_dir->mnt, old_dentry }; in aa_path_link() local
373 error = aa_path_name(&target, profile->path_flags, &buffer2, &tname, in aa_path_link()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_chan.c96 u32 target; in nouveau_channel_prep() local
107 target = TTM_PL_FLAG_TT | TTM_PL_FLAG_UNCACHED; in nouveau_channel_prep()
109 target = TTM_PL_FLAG_VRAM; in nouveau_channel_prep()
111 ret = nouveau_bo_new(drm->dev, size, 0, target, 0, 0, NULL, NULL, in nouveau_channel_prep()
114 ret = nouveau_bo_pin(chan->push.buffer, target, false); in nouveau_channel_prep()
138 args.target = NV_DMA_V0_TARGET_VM; in nouveau_channel_prep()
149 args.target = NV_DMA_V0_TARGET_PCI; in nouveau_channel_prep()
155 args.target = NV_DMA_V0_TARGET_VRAM; in nouveau_channel_prep()
162 args.target = NV_DMA_V0_TARGET_AGP; in nouveau_channel_prep()
168 args.target = NV_DMA_V0_TARGET_VM; in nouveau_channel_prep()
[all …]
/linux-4.4.14/tools/perf/
Dbuiltin-probe.c59 char *target; member
76 if (params.target) { in parse_probe_event()
77 pev->target = strdup(params.target); in parse_probe_event()
78 if (!pev->target) in parse_probe_event()
124 if (!params.target && ptr && *ptr == '/') { in set_target()
125 params.target = strdup(ptr); in set_target()
126 if (!params.target) in set_target()
202 free(params.target); in opt_set_target()
203 params.target = tmp; in opt_set_target()
297 free(params.target); in cleanup_params()
[all …]
Dbuiltin-stat.c99 static struct target target = { variable
164 if (target__has_cpu(&target)) in create_perf_stat_counter()
167 if (!target__has_task(&target) && perf_evsel__is_group_leader(evsel)) { in create_perf_stat_counter()
294 if (perf_evlist__prepare_workload(evsel_list, &target, argv, false, in __run_perf_stat()
324 perf_evsel__open_strerror(counter, &target, in __run_perf_stat()
808 if (target.system_wide) in print_header()
810 else if (target.cpu_list) in print_header()
811 fprintf(output, "\'CPU(s) %s", target.cpu_list); in print_header()
812 else if (!target__has_task(&target)) { in print_header()
816 } else if (target.pid) in print_header()
[all …]
Dbuiltin-top.c301 static void prompt_integer(int *target, const char *msg) in prompt_integer() argument
322 *target = tmp; in prompt_integer()
327 static void prompt_percent(int *target, const char *msg) in prompt_percent() argument
333 *target = tmp; in prompt_percent()
587 hists->uid_filter_str = top->record_opts.target.uid_str; in display_thread_tui()
909 perf_evsel__open_strerror(counter, &opts->target, in perf_top__start_counters()
970 machine__synthesize_threads(&top->session->machines.host, &opts->target, in __cmd_top()
994 if (!target__none(&opts->target)) in __cmd_top()
1110 .target = { in cmd_top()
1119 struct target *target = &opts->target; in cmd_top() local
[all …]
Dbuiltin-record.c293 perf_evsel__open_strerror(pos, &opts->target, in record__open()
512 err = perf_evlist__prepare_workload(rec->evlist, &opts->target, in __cmd_record()
612 err = __machine__synthesize_threads(machine, tool, &opts->target, rec->evlist->threads, in __cmd_record()
634 if (!target__none(&opts->target) && !opts->initial_delay) in __cmd_record()
711 if (done && !disabled && !target__none(&opts->target)) { in __cmd_record()
997 .target = {
1033 OPT_STRING('p', "pid", &record.opts.target.pid, "pid",
1035 OPT_STRING('t', "tid", &record.opts.target.tid, "tid",
1043 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
1045 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu",
[all …]
/linux-4.4.14/scripts/dtc/
Ddtc-parser.y146 struct node *target = get_node_by_ref($1, $3); variable
148 add_label(&target->labels, $2);
149 if (target)
150 merge_nodes(target, $4);
157 struct node *target = get_node_by_ref($1, $2); variable
159 if (target)
160 merge_nodes(target, $3);
167 struct node *target = get_node_by_ref($1, $3); variable
169 if (target)
170 delete_node(target);
/linux-4.4.14/arch/mips/kernel/
Djump_label.c49 BUG_ON((e->target & ~J_RANGE_MASK) != ((e->code + 4) & ~J_RANGE_MASK)); in arch_jump_label_transform()
52 BUG_ON((e->target & J_ALIGN_MASK) != J_ISA_BIT); in arch_jump_label_transform()
56 insn.j_format.target = e->target >> J_RANGE_SHIFT; in arch_jump_label_transform()
Dptrace.c51 static void init_fp_ctx(struct task_struct *target) in init_fp_ctx() argument
54 if (tsk_used_math(target)) in init_fp_ctx()
58 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
67 set_stopped_child_used_math(target); in init_fp_ctx()
290 static int gpr32_get(struct task_struct *target, in gpr32_get() argument
295 struct pt_regs *regs = task_pt_regs(target); in gpr32_get()
318 static int gpr32_set(struct task_struct *target, in gpr32_set() argument
323 struct pt_regs *regs = task_pt_regs(target); in gpr32_set()
369 static int gpr64_get(struct task_struct *target, in gpr64_get() argument
374 struct pt_regs *regs = task_pt_regs(target); in gpr64_get()
[all …]
/linux-4.4.14/Documentation/power/
Dpm_qos_interface.txt29 an aggregated target value. The aggregated target value is updated with
31 aggregated target value is simply the max or min of the request values held
33 Note: the aggregated target value is implemented as an atomic variable so that
41 target value. Upon change to this list the new target is recomputed and any
42 registered notifiers are called only if the target value is now different.
47 Will update the list element pointed to by the handle with the new target value
48 and recompute the new aggregated target, calling the notification tree if the
49 target is changed.
52 Will remove the element. After removal it will update the aggregate target and
53 call the notification tree if the target was changed as a result of removing
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dnv50.c64 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr() argument
68 phys |= target << 4; in vm_addr()
82 u32 block, target; in nv50_vm_map() local
86 target = 0; in nv50_vm_map()
89 target = 3; in nv50_vm_map()
92 phys = vm_addr(vma, phys, mem->memtype, target); in nv50_vm_map()
130 u32 target = (vma->access & NV_MEM_ACCESS_NOSNOOP) ? 3 : 2; in nv50_vm_map_sg() local
134 u64 phys = vm_addr(vma, (u64)*list++, mem->memtype, target); in nv50_vm_map_sg()
Dgf100.c89 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in gf100_vm_addr() argument
97 phys |= ((u64)target << 32); in gf100_vm_addr()
133 u32 target = (vma->access & NV_MEM_ACCESS_NOSNOOP) ? 7 : 5; in gf100_vm_map_sg() local
140 u64 phys = gf100_vm_addr(vma, *list++, memtype, target); in gf100_vm_map_sg()
/linux-4.4.14/Documentation/devicetree/bindings/ata/
Dahci-platform.txt30 - target-supply : regulator for SATA target power
47 - target-supply : regulator for SATA target power
61 target-supply = <&reg_ahci_5v>;
76 target-supply = <&reg_sata0>;
82 target-supply = <&reg_sata1>;;
/linux-4.4.14/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h132 struct xt_standard_target target; member
137 struct xt_error_target target; member
149 .target = XT_TARGET_INIT(XT_STANDARD_TARGET, \
151 .target.verdict = -(__verdict) - 1, \
157 .target = XT_TARGET_INIT(XT_ERROR_TARGET, \
159 .target.errorname = "ERROR", \
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg() argument
83 struct sym_tcb *tp = &np->target[target]; in sym_print_nego_msg()
915 struct sym_tcb *tp = &np->target[i];
1421 struct sym_tcb *tp = &np->target[cp->target];
1467 sym_print_nego_msg(np, cp->target,
1658 struct sym_tcb *tp = &np->target[cp->target];
1890 struct sym_tcb *tp = &np->target[i];
1944 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, argument
1949 struct sym_tcb *tp = &np->target[target];
1951 assert(target == (INB(np, nc_sdid) & 0x0f));
[all …]
Dsym_nvram.c95 sym_Symbios_setup_target(struct sym_tcb *tp, int target, Symbios_nvram *nvram) in sym_Symbios_setup_target() argument
97 Symbios_target *tn = &nvram->target[target]; in sym_Symbios_setup_target()
119 sym_Tekram_setup_target(struct sym_tcb *tp, int target, Tekram_nvram *nvram) in sym_Tekram_setup_target() argument
121 struct Tekram_target *tn = &nvram->target[target]; in sym_Tekram_setup_target()
138 void sym_nvram_setup_target(struct sym_tcb *tp, int target, struct sym_nvram *nvp) in sym_nvram_setup_target() argument
142 sym_Symbios_setup_target(tp, target, &nvp->data.Symbios); in sym_nvram_setup_target()
145 sym_Tekram_setup_target(tp, target, &nvp->data.Tekram); in sym_nvram_setup_target()
172 struct Symbios_target *tn = &nvram->target[i]; in sym_display_Symbios_nvram()
220 struct Tekram_target *tn = &nvram->target[i]; in sym_display_Tekram_nvram()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cstate.c474 int i, id, target; in cstate_cpu_exit() local
479 target = -1; in cstate_cpu_exit()
485 target = i; in cstate_cpu_exit()
489 if (cpumask_test_and_clear_cpu(cpu, &cstate_core_cpu_mask) && target >= 0) in cstate_cpu_exit()
490 cpumask_set_cpu(target, &cstate_core_cpu_mask); in cstate_cpu_exit()
492 if (target >= 0) in cstate_cpu_exit()
493 perf_pmu_migrate_context(&cstate_core_pmu, cpu, target); in cstate_cpu_exit()
499 target = -1; in cstate_cpu_exit()
505 target = i; in cstate_cpu_exit()
509 if (cpumask_test_and_clear_cpu(cpu, &cstate_pkg_cpu_mask) && target >= 0) in cstate_cpu_exit()
[all …]
/linux-4.4.14/kernel/
Dtest_kprobes.c27 static u32 (*target)(u32 value); variable
67 ret = target(rand1); in test_kprobe()
126 ret = target(rand1); in test_kprobes()
184 ret = target(rand1); in test_jprobe()
214 ret = target(rand1); in test_jprobes()
272 ret = target(rand1); in test_kretprobe()
320 ret = target(rand1); in test_kretprobes()
341 target = kprobe_target; in init_test_probes()
/linux-4.4.14/net/ipv6/netfilter/
Dip6_tables.c255 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum()
257 *chainname = t->target.data; in get_chainname_rulenum()
263 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum()
400 IP_NF_ASSERT(t->u.kernel.target); in ip6t_do_table()
409 if (!t->u.kernel.target->target) { in ip6t_do_table()
435 acpar.target = t->u.kernel.target; in ip6t_do_table()
438 verdict = t->u.kernel.target->target(skb, &acpar); in ip6t_do_table()
459 const struct ip6t_entry *target) in find_jump_target() argument
464 if (iter == target) in find_jump_target()
504 (strcmp(t->target.u.user.name, in mark_source_chains()
[all …]
/linux-4.4.14/drivers/sh/clk/
Dcore.c558 long clk_round_parent(struct clk *clk, unsigned long target, in clk_round_parent() argument
568 *best_freq = clk_round_rate(clk, target); in clk_round_parent()
569 return abs(target - *best_freq); in clk_round_parent()
573 if (unlikely(freq->frequency / target <= div_min - 1)) { in clk_round_parent()
577 if (error > target - freq_max) { in clk_round_parent()
578 error = target - freq_max; in clk_round_parent()
585 target - freq_max); in clk_round_parent()
593 if (unlikely(freq->frequency / target >= div_max)) { in clk_round_parent()
597 if (error > freq_min - target) { in clk_round_parent()
598 error = freq_min - target; in clk_round_parent()
[all …]
/linux-4.4.14/arch/ia64/kernel/
Dptrace.c1259 struct task_struct *target; member
1271 access_elf_gpreg(struct task_struct *target, struct unw_frame_info *info, in access_elf_gpreg() argument
1279 pt = task_pt_regs(target); in access_elf_gpreg()
1319 access_elf_breg(struct task_struct *target, struct unw_frame_info *info, in access_elf_breg() argument
1325 pt = task_pt_regs(target); in access_elf_breg()
1347 access_elf_areg(struct task_struct *target, struct unw_frame_info *info, in access_elf_areg() argument
1354 pt = task_pt_regs(target); in access_elf_areg()
1389 urbs_end = ia64_get_user_rbs_end(target, pt, &cfm); in access_elf_areg()
1393 convert_to_non_syscall(target, in access_elf_areg()
1442 urbs_end = ia64_get_user_rbs_end(target, pt, &cfm); in access_elf_areg()
[all …]
/linux-4.4.14/fs/
Ddcache.c2467 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names() argument
2469 if (unlikely(dname_external(target))) { in swap_names()
2474 swap(target->d_name.name, dentry->d_name.name); in swap_names()
2480 memcpy(target->d_iname, dentry->d_name.name, in swap_names()
2482 dentry->d_name.name = target->d_name.name; in swap_names()
2483 target->d_name.name = target->d_iname; in swap_names()
2491 memcpy(dentry->d_iname, target->d_name.name, in swap_names()
2492 target->d_name.len + 1); in swap_names()
2493 target->d_name.name = dentry->d_name.name; in swap_names()
2502 kmemcheck_mark_initialized(target->d_iname, DNAME_INLINE_LEN); in swap_names()
[all …]
/linux-4.4.14/scripts/basic/
Dfixdep.c123 char *target; variable
138 printf("cmd_%s := %s\n\n", target, cmdline); in print_cmdline()
355 target, s); in parse_dep_file()
357 target); in parse_dep_file()
377 printf("\n%s: $(deps_%s)\n\n", target, target); in parse_dep_file()
378 printf("$(deps_%s):\n", target); in parse_dep_file()
437 target = argv[2]; in main()
/linux-4.4.14/arch/avr32/kernel/
Dsetup.c179 unsigned long target; in find_free_region() local
181 target = ALIGN(mem->start, align); in find_free_region()
183 if ((target + size) <= res->start) in find_free_region()
185 if (target <= res->end) in find_free_region()
186 target = ALIGN(res->end + 1, align); in find_free_region()
189 if ((target + size) > (mem->end + 1)) in find_free_region()
192 return target; in find_free_region()
200 resource_size_t target; in alloc_reserved_region() local
204 target = find_free_region(mem, size, align); in alloc_reserved_region()
205 if (target <= mem->end) { in alloc_reserved_region()
[all …]
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dcmm.c259 signed long active_pages_target, page_loan_request, target; in cmm_get_mpp() local
269 target = page_loan_request + (signed long)loaned_pages; in cmm_get_mpp()
271 if (target < 0 || total_pages < min_mem_pages) in cmm_get_mpp()
272 target = 0; in cmm_get_mpp()
274 if (target > oom_freed_pages) in cmm_get_mpp()
275 target -= oom_freed_pages; in cmm_get_mpp()
277 target = 0; in cmm_get_mpp()
279 active_pages_target = total_pages - target; in cmm_get_mpp()
282 target = total_pages - min_mem_pages; in cmm_get_mpp()
284 if (target < 0) in cmm_get_mpp()
[all …]
/linux-4.4.14/Documentation/devicetree/
Doverlay-notes.txt46 target = <&ocp>;
113 target=<phandle>; /* phandle target of the overlay */
115 target-path="/path"; /* target path of the overlay */
118 property-a; /* add property-a to the target */
130 Using the non-phandle based target method allows one to use a base DT which does
132 The __symbols__ node is only required for the target=<phandle> method, since it
/linux-4.4.14/arch/mips/net/
Dbpf_jit.c104 u32 *target; member
124 if ((ctx)->target != NULL) { \
125 u32 *p = &(ctx)->target[ctx->idx]; \
137 if ((ctx)->target != NULL) { \
138 u32 *p = &(ctx)->target[ctx->idx]; \
164 if (ctx->target != NULL) { in emit_load_imm()
167 u32 *p = &ctx->target[ctx->idx]; in emit_load_imm()
169 p = &ctx->target[ctx->idx + 1]; in emit_load_imm()
172 u32 *p = &ctx->target[ctx->idx]; in emit_load_imm()
378 if (ctx->target != NULL) { in emit_div()
[all …]
/linux-4.4.14/arch/powerpc/lib/
Dcode-patching.c30 int patch_branch(unsigned int *addr, unsigned long target, int flags) in patch_branch() argument
32 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
36 unsigned long target, int flags) in create_branch() argument
41 offset = target; in create_branch()
56 unsigned long target, int flags) in create_cond_branch() argument
61 offset = target; in create_cond_branch()
150 unsigned long target; in translate_branch() local
152 target = branch_target(src); in translate_branch()
155 return create_branch(dest, target, *src); in translate_branch()
157 return create_cond_branch(dest, target, *src); in translate_branch()
/linux-4.4.14/drivers/net/bonding/
Dbond_options.c33 static int bond_option_arp_ip_target_add(struct bonding *bond, __be32 target);
34 static int bond_option_arp_ip_target_rem(struct bonding *bond, __be32 target);
942 __be32 target, in _bond_options_arp_ip_target_set() argument
952 targets[slot] = target; in _bond_options_arp_ip_target_set()
956 static int _bond_option_arp_ip_target_add(struct bonding *bond, __be32 target) in _bond_option_arp_ip_target_add() argument
961 if (!bond_is_ip_target_ok(target)) { in _bond_option_arp_ip_target_add()
963 &target); in _bond_option_arp_ip_target_add()
967 if (bond_get_targets_ip(targets, target) != -1) { /* dup */ in _bond_option_arp_ip_target_add()
969 &target); in _bond_option_arp_ip_target_add()
979 netdev_info(bond->dev, "Adding ARP target %pI4\n", &target); in _bond_option_arp_ip_target_add()
[all …]
/linux-4.4.14/drivers/scsi/arm/
Dqueue.h75 extern struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target,
85 extern void queue_remove_all_target(Queue_t *queue, int target);
96 extern int queue_probetgtlun (Queue_t *queue, int target, int lun);
Dqueue.c209 struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target, int lun, in queue_remove_tgtluntag() argument
219 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun && in queue_remove_tgtluntag()
237 void queue_remove_all_target(Queue_t *queue, int target) in queue_remove_all_target() argument
245 if (q->SCpnt->device->id == target) in queue_remove_all_target()
260 int queue_probetgtlun (Queue_t *queue, int target, int lun) in queue_probetgtlun() argument
269 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun) { in queue_probetgtlun()
/linux-4.4.14/drivers/bus/
Dmvebu-mbus.c202 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() argument
220 if (target) in mvebu_mbus_read_window()
221 *target = (ctrlreg & WIN_CTRL_TGT_MASK) >> WIN_CTRL_TGT_SHIFT; in mvebu_mbus_read_window()
273 u8 target, u8 attr) in mvebu_mbus_window_conflicts() argument
330 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() argument
350 (target << WIN_CTRL_TGT_SHIFT) | in mvebu_mbus_setup_window()
375 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() argument
388 target, attr); in mvebu_mbus_alloc_window()
400 remap, target, attr); in mvebu_mbus_alloc_window()
902 int mvebu_mbus_add_window_remap_by_id(unsigned int target, in mvebu_mbus_add_window_remap_by_id() argument
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c547 const char *target, in sptlrpc_conf_merge_rule() argument
554 if (strcmp(conf->sc_fsname, target) == 0) { in sptlrpc_conf_merge_rule()
557 conf_tgt = sptlrpc_conf_get_tgt(conf, target, 1); in sptlrpc_conf_merge_rule()
577 char *target, *param; in __sptlrpc_process_config() local
582 target = lustre_cfg_string(lcfg, 1); in __sptlrpc_process_config()
583 if (target == NULL) { in __sptlrpc_process_config()
594 CDEBUG(D_SEC, "processing rule: %s.%s\n", target, param); in __sptlrpc_process_config()
608 target2fsname(target, fsname, sizeof(fsname)); in __sptlrpc_process_config()
616 rc = sptlrpc_conf_merge_rule(conf, target, &rule); in __sptlrpc_process_config()
621 rc = sptlrpc_conf_merge_rule(conf, target, &rule); in __sptlrpc_process_config()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dftrace.h74 unsigned long target; in ftrace_generate_call_insn() local
77 target = is_module_addr((void *) ip) ? ftrace_plt : FTRACE_ADDR; in ftrace_generate_call_insn()
79 insn->disp = (target - ip) / 2; in ftrace_generate_call_insn()
/linux-4.4.14/arch/powerpc/include/asm/
Dcode-patching.h26 unsigned long target, int flags);
28 unsigned long target, int flags);
29 int patch_branch(unsigned int *addr, unsigned long target, int flags);
/linux-4.4.14/include/trace/events/
Dthermal.h38 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target),
40 TP_ARGS(cdev, target),
44 __field(unsigned long, target)
49 __entry->target = target;
52 TP_printk("type=%s target=%lu", __get_str(type), __entry->target)
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/
Dgpmi-lib.c333 struct nand_timing target = this->timing; in gpmi_nfc_compute_hardware_timing() local
355 target.data_setup_in_ns += 10; in gpmi_nfc_compute_hardware_timing()
356 target.data_hold_in_ns += 10; in gpmi_nfc_compute_hardware_timing()
357 target.address_setup_in_ns += 10; in gpmi_nfc_compute_hardware_timing()
359 target.data_setup_in_ns += 5; in gpmi_nfc_compute_hardware_timing()
360 target.data_hold_in_ns += 5; in gpmi_nfc_compute_hardware_timing()
361 target.address_setup_in_ns += 5; in gpmi_nfc_compute_hardware_timing()
366 (target.tREA_in_ns >= 0) && in gpmi_nfc_compute_hardware_timing()
367 (target.tRLOH_in_ns >= 0) && in gpmi_nfc_compute_hardware_timing()
368 (target.tRHOH_in_ns >= 0); in gpmi_nfc_compute_hardware_timing()
[all …]
/linux-4.4.14/drivers/nfc/microread/
Dmicroread.c313 struct nfc_target *target, u8 comm_mode, in microread_dep_link_up() argument
319 r = nfc_hci_get_param(hdev, target->hci_reader_gate, in microread_dep_link_up()
332 r = nfc_dep_link_is_up(hdev->ndev, target->idx, comm_mode, in microread_dep_link_up()
347 struct nfc_target *target) in microread_target_from_gate() argument
351 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in microread_target_from_gate()
362 struct nfc_target *target) in microread_complete_target_discovered() argument
411 struct nfc_target *target, in microread_im_transceive() argument
419 pr_info("data exchange to gate 0x%x\n", target->hci_reader_gate); in microread_im_transceive()
421 if (target->hci_reader_gate == MICROREAD_GATE_ID_P2P_INITIATOR) { in microread_im_transceive()
424 return nfc_hci_send_event(hdev, target->hci_reader_gate, in microread_im_transceive()
[all …]
/linux-4.4.14/Documentation/device-mapper/
Dera.txt4 dm-era is a target that behaves similar to the linear target. In
6 defined period of time called an 'era'. Each era target instance
22 tracked by the target
65 snapshot was the primary use case when developing this target:
70 - Send a checkpoint message to the era target
89 The target uses a bitset to record writes in the current era. It also
Dpersistent-data.txt9 - Heinz Mauelshagen's thin provisioning target
10 - Another btree-based caching target posted to dm-devel
11 - Another multi-snapshot target based on a design of Daniel Phillips
18 targets. It's currently used by the thin-provisioning target and an
19 upcoming hierarchical storage target.
79 thin-provisioning target uses a btree with two levels of nesting.
/linux-4.4.14/arch/mips/pci/
Dpci-vr41xx.c114 struct pci_target_address_conversion *target; in vr41xx_pciu_init() local
191 target = setup->target_memory1; in vr41xx_pciu_init()
192 val = TARGET_MSK(target->address_mask) | in vr41xx_pciu_init()
194 ITA(target->bus_base_address); in vr41xx_pciu_init()
203 target = setup->target_memory2; in vr41xx_pciu_init()
204 val = TARGET_MSK(target->address_mask) | in vr41xx_pciu_init()
206 ITA(target->bus_base_address); in vr41xx_pciu_init()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c77 u64 target; in cpu_affinity_set() local
88 target = iic_get_target_id(cpu); in cpu_affinity_set()
89 route = target << 48 | target << 32 | target << 16; in cpu_affinity_set()
/linux-4.4.14/kernel/gcov/
Dfs.c305 char *target; in link_target() local
316 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext); in link_target()
318 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext); in link_target()
321 return target; in link_target()
369 char *target; in add_links() local
379 target = get_link_target( in add_links()
382 if (!target) in add_links()
384 basename = kbasename(target); in add_links()
385 if (basename == target) in add_links()
388 parent, target); in add_links()
[all …]
/linux-4.4.14/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c63 unsigned long target, flags; in smp_86xx_kick_cpu() local
78 target = (unsigned long) __secondary_start_mpc86xx; in smp_86xx_kick_cpu()
79 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/linux-4.4.14/arch/c6x/kernel/
Dptrace.c60 static int gpr_get(struct task_struct *target, in gpr_get() argument
65 struct pt_regs *regs = task_pt_regs(target); in gpr_get()
72 static int gpr_set(struct task_struct *target, in gpr_set() argument
78 struct pt_regs *regs = task_pt_regs(target); in gpr_set()
/linux-4.4.14/arch/openrisc/kernel/
Dptrace.c51 static int genregs_get(struct task_struct *target, in genregs_get() argument
56 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
81 static int genregs_set(struct task_struct *target, in genregs_set() argument
86 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
/linux-4.4.14/arch/h8300/kernel/
Dptrace.c88 static int regs_get(struct task_struct *target, in regs_get() argument
99 *reg++ = h8300_get_reg(target, r); in regs_get()
105 static int regs_set(struct task_struct *target, in regs_set() argument
117 *reg++ = h8300_get_reg(target, r); in regs_set()
126 h8300_put_reg(target, r, *reg++); in regs_set()
/linux-4.4.14/net/ipv6/
Dexthdrs_core.c186 int target, unsigned short *fragoff, int *flags) in ipv6_find_hdr() argument
212 found = (nexthdr == target); in ipv6_find_hdr()
215 if (target < 0 || found) in ipv6_find_hdr()
253 if (target < 0 && in ipv6_find_hdr()
268 if (flags && (*flags & IP6_FH_F_AUTH) && (target < 0)) in ipv6_find_hdr()
Dndisc.c526 .target = *solicited_addr, in ndisc_send_na()
588 .target = *solicit, in ndisc_send_ns()
667 struct in6_addr *target = (struct in6_addr *)&neigh->primary_key; in ndisc_solicit() local
679 __func__, target); in ndisc_solicit()
681 ndisc_send_ns(dev, target, target, saddr); in ndisc_solicit()
685 addrconf_addr_solict_mult(target, &mcaddr); in ndisc_solicit()
686 ndisc_send_ns(dev, target, &mcaddr, saddr); in ndisc_solicit()
727 if (ipv6_addr_is_multicast(&msg->target)) { in ndisc_recv_ns()
768 ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1); in ndisc_recv_ns()
802 ifp = ipv6_get_ifaddr(net, &msg->target, mdev, 1); in ndisc_recv_ns()
[all …]
/linux-4.4.14/arch/arc/kernel/
Ddisasm.c80 state->target = fieldA + (addr & ~0x3); in disasm_instr()
100 state->target = fieldA + (addr & ~0x3); in disasm_instr()
186 state->target = fieldC; in disasm_instr()
190 state->target = get_reg(fieldC, regs, cregs); in disasm_instr()
206 state->target = fieldC; in disasm_instr()
307 state->target = get_reg(FIELD_S_B(state->words[0]), in disasm_instr()
321 state->target = get_reg(31, regs, cregs); in disasm_instr()
405 state->target = FIELD_S_s8(state->words[0]) + (addr & ~0x03); in disasm_instr()
414 state->target = fieldA + (addr & ~0x03); in disasm_instr()
420 state->target = FIELD_S_s13(state->words[0]) + (addr & ~0x03); in disasm_instr()
[all …]
Dptrace.c21 static int genregs_get(struct task_struct *target, in genregs_get() argument
26 const struct pt_regs *ptregs = task_pt_regs(target); in genregs_get()
27 const struct callee_regs *cregs = task_callee_regs(target); in genregs_get()
90 REG_O_ONE(efa, &target->thread.fault_address); in genregs_get()
94 stop_pc_val = target->thread.fault_address; in genregs_get()
107 static int genregs_set(struct task_struct *target, in genregs_set() argument
112 const struct pt_regs *ptregs = task_pt_regs(target); in genregs_set()
113 const struct callee_regs *cregs = task_callee_regs(target); in genregs_set()
/linux-4.4.14/arch/powerpc/boot/
Dps3-hvcall.S72 .macro LOAD_64_REG target,high,low
74 or \target, r11, \low
77 .macro LOAD_64_STACK target,offset
78 ld \target, \offset(r1)
/linux-4.4.14/drivers/target/
DKconfig42 source "drivers/target/loopback/Kconfig"
43 source "drivers/target/tcm_fc/Kconfig"
44 source "drivers/target/iscsi/Kconfig"
45 source "drivers/target/sbp/Kconfig"
/linux-4.4.14/fs/configfs/
Dsymlink.c113 struct config_item **target, struct super_block *sb) in get_target() argument
120 *target = configfs_get_config_item(path->dentry); in get_target()
121 if (!*target) { in get_target()
235 static int configfs_get_target_path(struct config_item * item, struct config_item * target, in configfs_get_target_path() argument
242 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path()
251 fill_item_path(target, path, size); in configfs_get_target_path()
/linux-4.4.14/Documentation/ia64/
DIRQ-redir.txt11 IRQ target is one particular CPU and cannot be a mask of several
17 The target CPU has to be specified as a hexadecimal CPU mask. The
31 gives the target CPU mask for the specified interrupt vector. If the CPU
41 IO-SAPIC interrupts are initialized with CPU#0 as their default target
54 routing is used. The target CPUs are distributed in a round robin
55 manner. IRQs will be routed only to the selected target CPUs. Check
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_core.c268 static int ahc_abort_scbs(struct ahc_softc *ahc, int target,
1077 devinfo.target, in ahc_handle_seqint()
1167 ahc_name(ahc), devinfo.channel, devinfo.target); in ahc_handle_seqint()
1202 ahc_name(ahc), devinfo.channel, devinfo.target, rejbyte); in ahc_handle_seqint()
1223 ahc_name(ahc), devinfo.channel, devinfo.target, in ahc_handle_seqint()
1234 ahc_name(ahc), devinfo.channel, devinfo.target, in ahc_handle_seqint()
1457 ahc_name(ahc), devinfo.channel, devinfo.target, in ahc_handle_seqint()
1785 u_int target; in ahc_handle_scsiint() local
1817 target = SCSIID_TARGET(ahc, saved_scsiid); in ahc_handle_scsiint()
1821 target, saved_lun, channel, ROLE_INITIATOR); in ahc_handle_scsiint()
[all …]
/linux-4.4.14/arch/mips/ar7/
Dclock.c111 static void approximate(int base, int target, int *prediv, in approximate() argument
114 int i, j, k, freq, res = target; in approximate()
118 freq = abs(base / j * i / k - target); in approximate()
128 static void calculate(int base, int target, int *prediv, int *postdiv, in calculate() argument
135 tmp_gcd = gcd(target, tmp_base); in calculate()
136 *mul = target / tmp_gcd; in calculate()
144 if (base / *prediv * *mul / *postdiv != target) { in calculate()
145 approximate(base, target, prediv, postdiv, mul); in calculate()
149 target, tmp_freq); in calculate()
/linux-4.4.14/fs/jffs2/
Ddir.c77 static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target, in jffs2_lookup() argument
87 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup()
95 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
96 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
98 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
99 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
112 return d_splice_alias(inode, target); in jffs2_lookup()
278 static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char *target) in jffs2_symlink() argument
289 int ret, targetlen = strlen(target); in jffs2_symlink()
333 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
[all …]
/linux-4.4.14/security/apparmor/include/
Daudit.h113 void *target; member
116 void *target; member
123 const char *target; member
/linux-4.4.14/include/uapi/linux/netfilter/
Dx_tables.h46 struct xt_target *target; member
58 .target.u.user = { \
65 struct xt_entry_target target; member
70 struct xt_entry_target target; member
/linux-4.4.14/drivers/infiniband/ulp/isert/
DMakefile1 ccflags-y := -Idrivers/target -Idrivers/target/iscsi
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-sram.c31 flexcop_sram_dest_target_t target) in flexcop_sram_set_dest() argument
36 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) { in flexcop_sram_set_dest()
40 deb_sram("sram dest: %x target: %x\n", dest, target); in flexcop_sram_set_dest()
43 v.sram_dest_reg_714.NET_Dest = target; in flexcop_sram_set_dest()
45 v.sram_dest_reg_714.CAI_Dest = target; in flexcop_sram_set_dest()
47 v.sram_dest_reg_714.CAO_Dest = target; in flexcop_sram_set_dest()
49 v.sram_dest_reg_714.MEDIA_Dest = target; in flexcop_sram_set_dest()
/linux-4.4.14/drivers/pci/pcie/aer/
Daer_inject.c145 u32 *target = NULL; in find_pci_config_dword() local
152 target = &err->uncor_status; in find_pci_config_dword()
156 target = &err->cor_status; in find_pci_config_dword()
160 target = &err->header_log0; in find_pci_config_dword()
163 target = &err->header_log1; in find_pci_config_dword()
166 target = &err->header_log2; in find_pci_config_dword()
169 target = &err->header_log3; in find_pci_config_dword()
172 target = &err->root_status; in find_pci_config_dword()
176 target = &err->source_id; in find_pci_config_dword()
181 return target; in find_pci_config_dword()
/linux-4.4.14/sound/pci/ice1712/
Dse.c362 } target; member
372 .target = WM8776out,
378 .target = WM8766,
385 .target = WM8766,
392 .target = WM8766,
399 .target = WM8776in,
404 .target = WM8776sel,
410 .target = WM8776agc,
416 .target = WM8776afl,
492 switch (se200pci_cont[n].target) { in se200pci_cont_update()
/linux-4.4.14/drivers/regulator/
Dgpio-regulator.c68 int ptr, target = 0, state, best_val = INT_MAX; in gpio_regulator_set_voltage() local
74 target = data->states[ptr].gpios; in gpio_regulator_set_voltage()
84 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_voltage()
87 data->state = target; in gpio_regulator_set_voltage()
107 int ptr, target = 0, state, best_val = 0; in gpio_regulator_set_current_limit() local
113 target = data->states[ptr].gpios; in gpio_regulator_set_current_limit()
121 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_current_limit()
124 data->state = target; in gpio_regulator_set_current_limit()
Ddevres.c263 struct regulator_supply_alias_match *target = data; in devm_regulator_match_supply_alias() local
265 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
426 struct regulator_notifier_match *target = data; in devm_regulator_match_notifier() local
428 return match->regulator == target->regulator && match->nb == target->nb; in devm_regulator_match_notifier()
/linux-4.4.14/arch/um/drivers/
Dmconsole_user.c181 struct sockaddr_un target; in mconsole_notify() local
199 target.sun_family = AF_UNIX; in mconsole_notify()
200 strcpy(target.sun_path, sock_name); in mconsole_notify()
211 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target, in mconsole_notify()
212 sizeof(target)); in mconsole_notify()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_slave_compat.dts13 * target-path property values are simple tags that are replaced with
21 target-path = "i2c";
40 target-path = "lcdc";
/linux-4.4.14/drivers/md/
DKconfig253 tristate "Crypt target support"
258 This device-mapper target allows you to create a device that
271 tristate "Snapshot target"
278 tristate "Thin provisioning target"
286 tristate "Cache target (EXPERIMENTAL)"
329 tristate "Era target (EXPERIMENTAL)"
340 tristate "Mirror target"
358 tristate "RAID 1/4/5/6/10 target"
365 A dm target that supports RAID1, RAID10, RAID4, RAID5 and RAID6 mappings
384 tristate "Zero target"
[all …]
/linux-4.4.14/tools/perf/tests/
Dbpf.c46 .target = { in do_test()
77 opts.target.tid = opts.target.pid = pid; in do_test()
86 err = perf_evlist__create_maps(evlist, &opts.target); in do_test()
Dtask-exit.c40 struct target target = { in test__task_exit() local
76 err = perf_evlist__prepare_workload(evlist, &target, argv, false, in test__task_exit()
/linux-4.4.14/arch/powerpc/sysdev/
Dcpm2.c143 int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode) in cpm2_clk_setup() argument
213 switch (target) { in cpm2_clk_setup()
248 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm2_clk_setup()
273 int cpm2_smc_clk_setup(enum cpm_clk_target target, int clock) in cpm2_smc_clk_setup() argument
295 switch (target) { in cpm2_smc_clk_setup()
312 if (clk_map[i][0] == target && clk_map[i][1] == clock) { in cpm2_smc_clk_setup()
/linux-4.4.14/drivers/block/
Dcciss_scsi.c349 find_bus_target_lun(ctlr_info_t *h, int *bus, int *target, int *lun) in find_bus_target_lun() argument
360 target_taken[ccissscsi[h->ctlr].dev[i].target] = 1; in find_bus_target_lun()
364 *bus = 0; *target=i; *lun = 0; found=1; in find_bus_target_lun()
372 int bus, target, lun; member
383 int i, bus, target, lun; in cciss_scsi_add_entry() local
392 bus = target = -1; in cciss_scsi_add_entry()
410 target = sd->target; in cciss_scsi_add_entry()
420 &sd->bus, &sd->target, &sd->lun) != 0) in cciss_scsi_add_entry()
424 sd->target = target; in cciss_scsi_add_entry()
428 added[*nadded].target = sd->target; in cciss_scsi_add_entry()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-ibft12 files that expose the iSCSI Boot Firmware Table target data.
13 Usually this contains the target's IP address, boot LUN,
14 target name, and what NIC it is associated with. It can also
/linux-4.4.14/arch/arm/kernel/
Dptrace.c585 static int gpr_get(struct task_struct *target, in gpr_get() argument
590 struct pt_regs *regs = task_pt_regs(target); in gpr_get()
597 static int gpr_set(struct task_struct *target, in gpr_set() argument
614 *task_pt_regs(target) = newregs; in gpr_set()
618 static int fpa_get(struct task_struct *target, in fpa_get() argument
624 &task_thread_info(target)->fpstate, in fpa_get()
628 static int fpa_set(struct task_struct *target, in fpa_set() argument
633 struct thread_info *thread = task_thread_info(target); in fpa_set()
665 static int vfp_get(struct task_struct *target, in vfp_get() argument
671 struct thread_info *thread = task_thread_info(target); in vfp_get()
[all …]
/linux-4.4.14/drivers/scsi/pcmcia/
Dnsp_cs.c192 unsigned char target = scmd_id(SCpnt); in nsp_queuecommand_lck() local
198 SCpnt, target, SCpnt->device->lun, scsi_sglist(SCpnt), in nsp_queuecommand_lck()
368 unsigned char target = scmd_id(SCpnt); in nsphw_start_selection() local
405 nsp_index_write(base, SCSIDATALATCH, BIT(host_id) | BIT(target)); in nsphw_start_selection()
447 unsigned char target = scmd_id(SCpnt); in nsp_analyze_sdtr() local
450 sync_data *sync = &(data->Sync[target]); in nsp_analyze_sdtr()
658 int target; in nsp_reselected() local
664 target = 0; in nsp_reselected()
670 target++; in nsp_reselected()
673 if (scmd_id(SCpnt) != target) { in nsp_reselected()
[all …]
/linux-4.4.14/drivers/target/loopback/
DKconfig2 tristate "TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module"
4 Say Y here to enable the TCM Virtual SAS target and Linux/SCSI LLD
/linux-4.4.14/net/phonet/
Ddatagram.c88 DECLARE_SOCKADDR(struct sockaddr_pn *, target, msg->msg_name); in pn_sendmsg()
96 if (target == NULL) in pn_sendmsg()
102 if (target->spn_family != AF_PHONET) in pn_sendmsg()
121 err = pn_skb_send(sk, skb, target); in pn_sendmsg()
/linux-4.4.14/drivers/nfc/
Dnfcsim.c128 struct nfc_target *target, in nfcsim_dep_link_up() argument
137 DEV_DBG(dev, "target_idx: %d, comm_mode: %d\n", target->idx, comm_mode); in nfcsim_dep_link_up()
163 rc = nfc_dep_link_is_up(nfc_dev, target->idx, NFC_COMM_ACTIVE, in nfcsim_dep_link_up()
239 struct nfc_target *target, u32 protocol) in nfcsim_activate_target() argument
249 struct nfc_target *target, u8 mode) in nfcsim_deactivate_target() argument
287 static int nfcsim_tx(struct nfc_dev *nfc_dev, struct nfc_target *target, in nfcsim_tx() argument
338 struct nfc_target *target, struct sk_buff *skb, in nfcsim_im_transceive() argument
341 return nfcsim_tx(nfc_dev, target, skb, cb, cb_context); in nfcsim_im_transceive()
/linux-4.4.14/tools/perf/Documentation/
Dasciidoc.conf11 (?su)[\\]?(?P<name>linkperf):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
23 {0%{target}}
90 <a href="{target}.html">{target}{0?({0})}</a>
/linux-4.4.14/arch/blackfin/kernel/
Dptrace.c156 static int genregs_get(struct task_struct *target, in genregs_get() argument
161 struct pt_regs *regs = task_pt_regs(target); in genregs_get()
165 regs->usp = target->thread.usp; in genregs_get()
179 static int genregs_set(struct task_struct *target, in genregs_set() argument
184 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
194 target->thread.usp = regs->usp; in genregs_set()
/linux-4.4.14/drivers/input/joystick/
Dgamecon.c150 unsigned char target) in gc_n64_send_command() argument
156 unsigned char data = (cmd >> i) & 1 ? target : 0; in gc_n64_send_command()
163 static void gc_n64_send_stop_bit(struct gc *gc, unsigned char target) in gc_n64_send_stop_bit() argument
169 unsigned char data = (GC_N64_STOP_BIT >> i) & 1 ? target : 0; in gc_n64_send_stop_bit()
273 unsigned char target = 1 << sdev->idx; /* select desired pin */ in gc_n64_play_effect() local
284 gc_n64_send_command(gc, GC_N64_CMD_03, target); in gc_n64_play_effect()
285 gc_n64_send_command(gc, GC_N64_CMD_80, target); in gc_n64_play_effect()
286 gc_n64_send_command(gc, GC_N64_CMD_01, target); in gc_n64_play_effect()
288 gc_n64_send_command(gc, GC_N64_CMD_80, target); in gc_n64_play_effect()
289 gc_n64_send_stop_bit(gc, target); in gc_n64_play_effect()
[all …]
/linux-4.4.14/arch/nios2/kernel/
Dptrace.c21 static int genregs_get(struct task_struct *target, in genregs_get() argument
26 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
67 static int genregs_set(struct task_struct *target, in genregs_set() argument
72 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
/linux-4.4.14/arch/hexagon/kernel/
Dptrace.c50 static int genregs_get(struct task_struct *target, in genregs_get() argument
57 struct pt_regs *regs = task_pt_regs(target); in genregs_get()
106 static int genregs_set(struct task_struct *target, in genregs_set() argument
113 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
/linux-4.4.14/include/net/nfc/
Dhci.h41 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
45 struct nfc_target *target);
47 struct nfc_target *target);
49 struct nfc_target *target, struct sk_buff *skb,
53 struct nfc_target *target);

1234567