Home
last modified time | relevance | path

Searched refs:datap (Results 1 – 25 of 62) sorted by relevance

123

/linux-5.19.10/drivers/net/wireless/ath/ath6kl/
Dwmi.c166 u8 *datap; in ath6kl_wmi_dix_2_dot3() local
188 datap = skb->data; in ath6kl_wmi_dix_2_dot3()
192 memcpy(datap, eth_hdr, sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
194 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + sizeof(*eth_hdr)); in ath6kl_wmi_dix_2_dot3()
310 u8 *datap; in ath6kl_wmi_implicit_create_pstream() local
315 datap = skb->data; in ath6kl_wmi_implicit_create_pstream()
316 data_hdr = (struct wmi_data_hdr *) datap; in ath6kl_wmi_implicit_create_pstream()
327 llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + in ath6kl_wmi_implicit_create_pstream()
394 u8 *datap; in ath6kl_wmi_dot11_hdr_remove() local
400 datap = skb->data; in ath6kl_wmi_dot11_hdr_remove()
[all …]
Dtxrx.c48 u8 *datap; in ath6kl_ibss_map_epid() local
51 datap = skb->data; in ath6kl_ibss_map_epid()
52 eth_hdr = (struct ethhdr *) (datap + sizeof(struct wmi_data_hdr)); in ath6kl_ibss_map_epid()
109 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_process_uapsdq() local
133 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
136 ip_hdr = (u8 *)(datap + 1); in ath6kl_process_uapsdq()
140 (datap + 1); in ath6kl_process_uapsdq()
212 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_powersave_ap() local
217 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap()
265 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap()
[all …]
/linux-5.19.10/drivers/base/
Dplatform-msi.c145 struct platform_msi_priv_data *datap; in platform_msi_alloc_priv_data() local
170 datap = kzalloc(sizeof(*datap), GFP_KERNEL); in platform_msi_alloc_priv_data()
171 if (!datap) in platform_msi_alloc_priv_data()
174 datap->devid = ida_simple_get(&platform_msi_devid_ida, in platform_msi_alloc_priv_data()
176 if (datap->devid < 0) { in platform_msi_alloc_priv_data()
177 err = datap->devid; in platform_msi_alloc_priv_data()
178 kfree(datap); in platform_msi_alloc_priv_data()
182 datap->write_msg = write_msi_msg; in platform_msi_alloc_priv_data()
183 datap->dev = dev; in platform_msi_alloc_priv_data()
184 dev->msi.data->platform_data = datap; in platform_msi_alloc_priv_data()
/linux-5.19.10/arch/m68k/kernel/
Dptrace.c168 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
196 ret = put_user(tmp, datap); in arch_ptrace()
228 ret = put_user(tmp, datap); in arch_ptrace()
231 datap++; in arch_ptrace()
237 ret = get_user(tmp, datap); in arch_ptrace()
245 datap++; in arch_ptrace()
250 if (copy_to_user(datap, &child->thread.fp, in arch_ptrace()
256 if (copy_from_user(&child->thread.fp, datap, in arch_ptrace()
262 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/linux-5.19.10/arch/arm64/kvm/
Dmmio.c15 void *datap = NULL; in kvm_mmio_write_buf() local
26 datap = &tmp.byte; in kvm_mmio_write_buf()
30 datap = &tmp.hword; in kvm_mmio_write_buf()
34 datap = &tmp.word; in kvm_mmio_write_buf()
38 datap = &tmp.dword; in kvm_mmio_write_buf()
42 memcpy(buf, datap, len); in kvm_mmio_write_buf()
/linux-5.19.10/tools/virtio/ringtest/
Dptr_ring.c128 int add_inbuf(unsigned len, void *buf, void *datap) in add_inbuf() argument
149 void *datap; in get_buf() local
152 datap = NULL; in get_buf()
154 datap = "Buffer\n"; in get_buf()
158 return datap; in get_buf()
Dring.c112 int add_inbuf(unsigned len, void *buf, void *datap) in add_inbuf() argument
135 data[index].data = datap; in add_inbuf()
147 void *datap; in get_buf() local
155 datap = data[index].data; in get_buf()
161 return datap; in get_buf()
Dvirtio_ring_0_9.c99 int add_inbuf(unsigned len, void *buf, void *datap) in add_inbuf() argument
130 data[head].data = datap; in add_inbuf()
156 void *datap; in get_buf() local
185 datap = data[index].data; in get_buf()
194 return datap; in get_buf()
Dnoring.c12 int add_inbuf(unsigned len, void *buf, void *datap) in add_inbuf() argument
/linux-5.19.10/arch/x86/kernel/
Dptrace.c714 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
741 ret = put_user(tmp, datap); in arch_ptrace()
765 datap); in arch_ptrace()
772 datap); in arch_ptrace()
779 datap); in arch_ptrace()
786 datap); in arch_ptrace()
793 datap) ? -EIO : 0; in arch_ptrace()
799 datap) ? -EIO : 0; in arch_ptrace()
1049 void __user *datap = compat_ptr(data); in ia32_arch_ptrace() local
1057 ret = put_user(val, (__u32 __user *)datap); in ia32_arch_ptrace()
[all …]
/linux-5.19.10/arch/xtensa/kernel/
Dptrace.c415 long __user *datap) in ptrace_gethbpregs() argument
442 if (copy_to_user(datap, user_data, sizeof(user_data))) in ptrace_gethbpregs()
449 long __user *datap) in ptrace_sethbpregs() argument
462 if (copy_from_user(user_data, datap, sizeof(user_data))) in ptrace_sethbpregs()
501 void __user *datap = (void __user *) data; in arch_ptrace() local
505 ret = ptrace_peekusr(child, addr, datap); in arch_ptrace()
513 ret = ptrace_getregs(child, datap); in arch_ptrace()
517 ret = ptrace_setregs(child, datap); in arch_ptrace()
521 ret = ptrace_getxregs(child, datap); in arch_ptrace()
525 ret = ptrace_setxregs(child, datap); in arch_ptrace()
[all …]
/linux-5.19.10/arch/sh/kernel/
Dptrace_32.c341 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
384 ret = put_user(tmp, datap); in arch_ptrace()
417 datap); in arch_ptrace()
422 datap); in arch_ptrace()
428 datap); in arch_ptrace()
433 datap); in arch_ptrace()
440 datap); in arch_ptrace()
445 datap); in arch_ptrace()
/linux-5.19.10/lib/
Ddigsig.c79 uint8_t *p, *datap; in digsig_verify_rsa() local
107 datap = pkh->mpi; in digsig_verify_rsa()
111 unsigned int remaining = endp - datap; in digsig_verify_rsa()
112 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa()
117 datap += remaining; in digsig_verify_rsa()
/linux-5.19.10/arch/arm/kernel/
Dptrace.c733 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
737 ret = ptrace_read_user(child, addr, datap); in arch_ptrace()
748 datap); in arch_ptrace()
755 datap); in arch_ptrace()
762 datap); in arch_ptrace()
769 datap); in arch_ptrace()
774 ret = ptrace_getwmmxregs(child, datap); in arch_ptrace()
778 ret = ptrace_setwmmxregs(child, datap); in arch_ptrace()
784 datap); in arch_ptrace()
798 datap); in arch_ptrace()
[all …]
/linux-5.19.10/arch/x86/um/
Dptrace_32.c260 void __user *datap = (void __user *) data; in subarch_ptrace() local
263 ret = get_fpregs(datap, child); in subarch_ptrace()
266 ret = set_fpregs(datap, child); in subarch_ptrace()
269 ret = get_fpxregs(datap, child); in subarch_ptrace()
272 ret = set_fpxregs(datap, child); in subarch_ptrace()
Dptrace_64.c251 void __user *datap = (void __user *) data; in subarch_ptrace() local
255 ret = get_fpregs(datap, child); in subarch_ptrace()
258 ret = set_fpregs(datap, child); in subarch_ptrace()
/linux-5.19.10/arch/sh/lib/
Dio.c14 void __raw_readsl(const void __iomem *addr, void *datap, int len) in __raw_readsl() argument
18 for (data = datap; (len != 0) && (((u32)data & 0x1f) != 0); len--) in __raw_readsl()
/linux-5.19.10/security/integrity/ima/
Dima_fs.c277 char *datap; in ima_read_policy() local
284 datap = path; in ima_read_policy()
285 strsep(&datap, "\n"); in ima_read_policy()
296 datap = data; in ima_read_policy()
297 while (size > 0 && (p = strsep(&datap, "\n"))) { in ima_read_policy()
/linux-5.19.10/drivers/net/usb/
Dsierra_net.c233 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument
236 p->word = get_unaligned_be16(datap); in save16bit()
237 return datap + sizeof(p->word); in save16bit()
240 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument
243 p->byte = *datap; in save8bit()
244 return datap + sizeof(p->byte); in save8bit()
636 static int sierra_net_get_fw_attr(struct usbnet *dev, u16 *datap) in sierra_net_get_fw_attr() argument
654 *datap = le16_to_cpu(attrdata); in sierra_net_get_fw_attr()
/linux-5.19.10/tools/perf/util/
Dexpr.c251 struct expr_id_data **datap) in expr__resolve_id() argument
255 if (expr__get_id(ctx, id, datap) || !*datap) { in expr__resolve_id()
260 data = *datap; in expr__resolve_id()
/linux-5.19.10/fs/lockd/
Dsvcsubs.c458 nlmsvc_match_sb(void *datap, struct nlm_file *file) in nlmsvc_match_sb() argument
460 struct super_block *sb = datap; in nlmsvc_match_sb()
482 nlmsvc_match_ip(void *datap, struct nlm_host *host) in nlmsvc_match_ip() argument
484 return rpc_cmp_addr(nlm_srcaddr(host), datap); in nlmsvc_match_ip()
/linux-5.19.10/drivers/isdn/mISDN/
Dlayer2.c557 u_char *datap = skb->data + headers; in FRMR_error() local
570 datap[0], datap[1], datap[2], datap[3], datap[4]); in FRMR_error()
577 datap[0], datap[1], datap[2]); in FRMR_error()
1858 u_char *datap = skb->data; in ph_data_indication() local
1870 psapi = *datap++; in ph_data_indication()
1871 ptei = *datap++; in ph_data_indication()
1898 datap += l; in ph_data_indication()
1899 if (!(*datap & 1)) { /* I-Frame */ in ph_data_indication()
1903 } else if (IsSFrame(datap, l2)) { /* S-Frame */ in ph_data_indication()
1907 } else if (IsUI(datap)) { in ph_data_indication()
[all …]
/linux-5.19.10/arch/parisc/kernel/
Dptrace.c125 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
138 ret = put_user(tmp, datap); in arch_ptrace()
185 datap); in arch_ptrace()
192 datap); in arch_ptrace()
199 datap); in arch_ptrace()
206 datap); in arch_ptrace()
/linux-5.19.10/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c41 if (extra->datap & 0x0fUL) in validate_extra_context()
45 else if (extra->datap != (uint64_t)term + sizeof(*term)) in validate_extra_context()
/linux-5.19.10/security/selinux/ss/
Dpolicydb.c315 static int (*const destroy_f[SYM_NUM]) (void *key, void *datum, void *datap) = {
549 static int common_index(void *key, void *datum, void *datap) in common_index() argument
555 p = datap; in common_index()
564 static int class_index(void *key, void *datum, void *datap) in class_index() argument
570 p = datap; in class_index()
579 static int role_index(void *key, void *datum, void *datap) in role_index() argument
585 p = datap; in role_index()
596 static int type_index(void *key, void *datum, void *datap) in type_index() argument
602 p = datap; in type_index()
616 static int user_index(void *key, void *datum, void *datap) in user_index() argument
[all …]

123