Searched refs:target (Results 76 - 100 of 1558) sorted by relevance

1234567891011>>

/linux-master/drivers/macintosh/
H A Dwindfarm_pid.c36 s32 target; local
66 /* Calculate target */
67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd +
70 target += st->target;
71 target = max(target, st->param.min);
72 target = min(target, st->param.max);
73 st->target
91 s32 error, target, sval, adj; local
[all...]
/linux-master/arch/sparc/kernel/
H A Dptrace_32.c47 static int regwindow32_get(struct task_struct *target, argument
54 if (target == current) {
58 if (access_process_vm(target, reg_window, uregs, size,
65 static int regwindow32_set(struct task_struct *target, argument
72 if (target == current) {
76 if (access_process_vm(target, reg_window, uregs, size,
83 static int genregs32_get(struct task_struct *target, argument
87 const struct pt_regs *regs = target->thread.kregs;
90 if (target == current)
96 if (regwindow32_get(target, reg
106 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
166 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
182 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
244 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
260 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
287 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
300 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
H A Dptrace_64.c160 static int get_from_target(struct task_struct *target, unsigned long uaddr, argument
163 if (target == current) {
167 int len2 = access_process_vm(target, uaddr, kbuf, len,
175 static int set_to_target(struct task_struct *target, unsigned long uaddr, argument
178 if (target == current) {
182 int len2 = access_process_vm(target, uaddr, kbuf, len,
190 static int regwindow64_get(struct task_struct *target, argument
200 if (get_from_target(target, rw_addr, &win32, sizeof(win32)))
208 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf)))
215 static int regwindow64_set(struct task_struct *target, argument
246 genregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
341 fpregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
442 getregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
532 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
676 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
776 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
829 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
846 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/fs/kernfs/
H A Dsymlink.c20 * @target: target node for the symlink to point to
23 * Ownership of the link matches ownership of the target.
27 struct kernfs_node *target)
34 if (target->iattr) {
35 uid = target->iattr->ia_uid;
36 gid = target->iattr->ia_gid;
44 kn->ns = target->ns;
45 kn->symlink.target_kn = target;
46 kernfs_get(target); /* re
25 kernfs_create_link(struct kernfs_node *parent, const char *name, struct kernfs_node *target) argument
56 kernfs_get_target_path(struct kernfs_node *parent, struct kernfs_node *target, char *path) argument
115 struct kernfs_node *target = kn->symlink.target_kn; local
[all...]
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_throttle.c64 struct i915_request *rq, *target = NULL; local
80 target = i915_request_get(rq);
84 if (!target)
87 ret = i915_request_wait(target,
90 i915_request_put(target);
/linux-master/fs/smb/server/
H A Dunicode.c18 * @target: where converted character should be copied
24 * responsibility of the caller to ensure that the target buffer is large
30 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, argument
48 *target = ':';
51 *target = '*';
54 *target = '?';
57 *target = '|';
60 *target = '>';
63 *target = '<';
73 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZ
342 smbConvertToUTF16(__le16 *target, const char *source, int srclen, const struct nls_table *cp, int mapchars) argument
[all...]
/linux-master/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c20 #include <target/target_core_base.h>
104 int srp_target_alloc(struct srp_target *target, struct device *dev, argument
109 spin_lock_init(&target->lock);
111 target->dev = dev;
113 target->srp_iu_size = iu_size;
114 target->rx_ring_size = nr;
115 target->rx_ring = srp_ring_alloc(target->dev, nr, iu_size);
116 if (!target->rx_ring)
118 err = srp_iu_pool_alloc(&target
130 srp_target_free(struct srp_target *target) argument
138 srp_iu_get(struct srp_target *target) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfan.c32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) argument
41 /* update target fan speed, restricting to allowed range */
43 if (target < 0)
44 target = fan->percent;
45 target = max_t(u8, target, fan->bios.min_duty);
46 target = min_t(u8, target, fan->bios.max_duty);
47 if (fan->percent != target) {
48 nvkm_debug(subdev, "FAN target
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c218 static int gpr_get(struct task_struct *target, const struct user_regset *regset, argument
225 if (target->thread.regs == NULL)
228 membuf_write(&to, target->thread.regs, sizeof(struct user_pt_regs));
230 membuf_store(&to_msr, get_user_msr(target));
238 static int gpr_set(struct task_struct *target, const struct user_regset *regset, argument
245 if (target->thread.regs == NULL)
249 target->thread.regs,
257 ret = set_user_msr(target, reg);
265 &target->thread.regs->orig_gpr3,
279 ret = set_user_trap(target, re
290 ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
299 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
310 dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
315 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
324 tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
329 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
337 ebb_active(struct task_struct *target, const struct user_regset *regset) argument
348 ebb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
395 pmu_active(struct task_struct *target, const struct user_regset *regset) argument
403 pmu_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
458 dexcr_active(struct task_struct *target, const struct user_regset *regset) argument
466 dexcr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
487 hashkeyr_active(struct task_struct *target, const struct user_regset *regset) argument
495 hashkeyr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
518 pkey_active(struct task_struct *target, const struct user_regset *regset) argument
526 pkey_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
705 gpr32_get_common(struct task_struct *target, const struct user_regset *regset, struct membuf to, unsigned long *regs) argument
719 gpr32_set_common_kernel(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, unsigned long *regs) argument
757 gpr32_set_common_user(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void __user *ubuf, unsigned long *regs) argument
811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) argument
823 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
834 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/Documentation/sphinx/
H A Dautomarkup.py131 def failure_seen(target):
132 return (target) in failed_lookups
133 def note_failure(target):
134 failed_lookups[target] = True
155 for target in possible_targets:
156 if (target not in Skipfuncs) and not failure_seen(target):
161 reftarget = target,
170 'function', target, pxref,
177 note_failure(target)
[all...]
/linux-master/drivers/scsi/arm/
H A Dqueue.h64 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
65 * Purpose : remove a SCSI command from the queue for a specified target/lun/tag
67 * target - target that we want
72 extern struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target,
76 * Function: queue_remove_all_target(queue, target)
77 * Purpose : remove all SCSI commands from the queue for a specified target
79 * target - target device id
82 extern void queue_remove_all_target(Queue_t *queue, int target);
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dstrncmp_bench.c12 const char target[STRNCMP_STR_SZ]; variable
38 if (local_strncmp(str, cmp_str_len + 1, target) < 0)
46 if (bpf_strncmp(str, cmp_str_len + 1, target) < 0)
H A Dstrncmp_test.c11 const char target[STRNCMP_STR_SZ] = "EEEEEEE"; variable
28 cmp_ret = bpf_strncmp(str, STRNCMP_STR_SZ, target);
36 cmp_ret = bpf_strncmp(str, no_const_str_size, target);
43 /* Compared target is not read-only, so will fail */
51 /* Compared target is not null-terminated, so will fail */
/linux-master/include/linux/
H A Dnfs.h34 static inline void nfs_copy_fh(struct nfs_fh *target, const struct nfs_fh *source) argument
36 target->size = source->size;
37 memcpy(target->data, source->data, source->size);
/linux-master/tools/perf/util/
H A Dtop.c29 struct target *target = &opts->target; local
85 if (target->pid)
87 target->pid);
88 else if (target->tid)
90 target->tid);
91 else if (target->uid_str != NULL)
93 target->uid_str);
98 if (target
[all...]
/linux-master/arch/x86/kernel/cpu/
H A Dintel_pconfig.c29 int pconfig_target_supported(enum pconfig_target target) argument
37 if (WARN_ON_ONCE(target >= 64))
39 return targets_supported & (1ULL << target);
/linux-master/tools/testing/selftests/openat2/
H A Dhelpers.c57 char *target, *tmp; local
61 target = malloc(PATH_MAX);
62 if (!target)
64 memset(target, 0, PATH_MAX);
66 E_readlink(tmp, target, PATH_MAX);
68 return target;
/linux-master/arch/mips/kernel/
H A Djump_label.c23 * - the ISA bit of the target, either 0 or 1 respectively,
25 * - the amount the jump target address is shifted right to fit in the
31 * - the jump target alignment, either 4 or 2 bytes.
48 BUG_ON((e->target & J_ALIGN_MASK) != J_ISA_BIT);
52 offset = e->target - ((unsigned long)insn_p + 4);
63 insn.j_format.target = offset;
69 WARN_ON((e->target & ~J_RANGE_MASK) !=
73 insn.j_format.target = e->target >> J_RANGE_SHIFT;
/linux-master/arch/arm/plat-orion/include/plat/
H A Daddr-map.h39 const u8 target; member in struct:orion_addr_map_info
49 const u32 size, const u8 target,
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A Duser.c85 nvif_ioctl(parent, "create dma vers %d target %d access %d "
87 args->v0.version, args->v0.target, args->v0.access,
89 dmaobj->target = args->v0.target;
102 switch (dmaobj->target) {
104 dmaobj->target = NV_MEM_TARGET_VM;
107 dmaobj->target = NV_MEM_TARGET_VRAM;
110 dmaobj->target = NV_MEM_TARGET_PCI;
114 dmaobj->target = NV_MEM_TARGET_PCI_NOSNOOP;
/linux-master/arch/parisc/kernel/
H A Djump_label.c28 void *target = (void *)jump_entry_target(entry); local
29 int distance = target - addr;
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_of.h41 unsigned int index, u32 *target);
43 unsigned int index, bool *target);
/linux-master/tools/testing/selftests/timers/
H A Dnsleep-lat.c100 struct timespec start, end, target; local
104 target.tv_sec = ns/NSEC_PER_SEC;
105 target.tv_nsec = ns%NSEC_PER_SEC;
109 if (clock_nanosleep(clockid, 0, &target, NULL))
117 clock_nanosleep(clockid, 0, &target, NULL);
128 target = timespec_add(start, ns);
129 clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL);
131 latency += timespec_sub(target, end);
/linux-master/scripts/kconfig/
H A Dmnconf-common.c40 data->target = pos->target;
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c402 struct iwl_tof_range_req_ap_entry_v2 *target)
406 ret = iwl_mvm_ftm_target_chandef_v1(mvm, peer, &target->channel_num,
407 &target->bandwidth,
408 &target->ctrl_ch_position);
412 memcpy(target->bssid, peer->addr, ETH_ALEN);
413 target->burst_period =
415 target->samples_per_burst = peer->ftm.ftms_per_burst;
416 target->num_of_bursts = peer->ftm.num_bursts_exp;
417 target->measure_type = 0; /* regular two-sided FTM */
418 target
400 iwl_mvm_ftm_put_target_v2(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v2 *target) argument
436 iwl_mvm_ftm_put_target_common(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) argument
476 iwl_mvm_ftm_put_target_v3(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v3 *target) argument
498 iwl_mvm_ftm_put_target_v4(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v4 *target) argument
516 iwl_mvm_ftm_put_target(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) argument
679 struct iwl_tof_range_req_ap_entry_v6 *target = &cmd.ap[i]; local
695 struct iwl_tof_range_req_ap_entry_v6 *target = data; local
711 iwl_mvm_ftm_set_secured_ranging(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_tof_range_req_ap_entry_v7 *target) argument
751 iwl_mvm_ftm_put_target_v7(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v7 *target) argument
781 struct iwl_tof_range_req_ap_entry_v7 *target = &cmd.ap[i]; local
792 iwl_mvm_ftm_set_ndp_params(struct iwl_mvm *mvm, struct iwl_tof_range_req_ap_entry_v8 *target) argument
808 iwl_mvm_ftm_put_target_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v8 *target) argument
853 struct iwl_tof_range_req_ap_entry_v8 *target = &cmd.ap[i]; local
881 struct iwl_tof_range_req_ap_entry_v9 *target = &cmd.ap[i]; local
[all...]

Completed in 481 milliseconds

1234567891011>>