Home
last modified time | relevance | path

Searched refs:dataptr (Results 1 – 25 of 27) sorted by relevance

12

/kernel/liteos_a/syscall/
Dnet_syscall.c222 ssize_t SysSend(int s, const void *dataptr, size_t size, int flags) in SysSend() argument
227 CHECK_ASPACE(dataptr, size); in SysSend()
229 DUP_FROM_USER(dataptr, size); in SysSend()
231 if (dataptr == NULL) { in SysSend()
235 ret = send(s, dataptr, size, flags); in SysSend()
237 FREE_DUP(dataptr); in SysSend()
245 ssize_t SysSendTo(int s, const void *dataptr, size_t size, int flags, in SysSendTo() argument
251 CHECK_ASPACE(dataptr, size); in SysSendTo()
254 DUP_FROM_USER(dataptr, size); in SysSendTo()
255 DUP_FROM_USER(to, tolen, FREE_DUP(dataptr)); in SysSendTo()
[all …]
Dlos_syscall.h155 extern ssize_t SysSend(int s, const void *dataptr, size_t size, int flags);
156 extern ssize_t SysSendTo(int s, const void *dataptr, size_t size, int flags,
/kernel/liteos_a/compat/posix/src/
Dsocket.c129 ssize_t send(int s, const void *dataptr, size_t size, int flags) in send() argument
131 CHECK_NULL_PTR(dataptr); in send()
132 return lwip_send(s, dataptr, size, flags); in send()
140 ssize_t sendto(int s, const void *dataptr, size_t size, int flags, in sendto() argument
143 CHECK_NULL_PTR(dataptr); in sendto()
148 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
/kernel/linux/linux-5.10/kernel/
Dcapability.c148 SYSCALL_DEFINE2(capget, cap_user_header_t, header, cap_user_data_t, dataptr) in SYSCALL_DEFINE2() argument
156 if ((dataptr == NULL) || (ret != 0)) in SYSCALL_DEFINE2()
157 return ((dataptr == NULL) && (ret == -EINVAL)) ? 0 : ret; in SYSCALL_DEFINE2()
195 if (copy_to_user(dataptr, kdata, tocopy in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/drivers/scsi/
Daha1542.h62 u8 dataptr[3]; /* Location of data */ member
90 u8 dataptr[3]; /* Data Pointer */ member
Daha1740.h80 u32 dataptr; /* Location of data */ member
125 u32 dataptr; /* Data or Scatter List ptr */ member
Daha1740.c408 cptr[i].dataptr = sg_dma_address (sg); in aha1740_queuecommand_lck()
411 host->ecb[ecbno].dataptr = sg_dma; in aha1740_queuecommand_lck()
419 host->ecb[ecbno].dataptr = 0; in aha1740_queuecommand_lck()
Daha1542.c485 any2scsi(acmd->chain[i].dataptr, sg_dma_address(sg)); in aha1542_queuecommand()
489 any2scsi(ccb[mbo].dataptr, acmd->chain_handle); in aha1542_queuecommand()
497 any2scsi(ccb[mbo].dataptr, 0); in aha1542_queuecommand()
/kernel/uniproton/src/net/lwip-2.1/src/
Dsockets.c125 ssize_t send(int s, const void *dataptr, size_t size, int flags) in send() argument
127 CHECK_NULL_PTR_RETURN(dataptr); in send()
128 return lwip_send(s, dataptr, size, flags); in send()
137 ssize_t sendto(int s, const void *dataptr, size_t size, int flags, in sendto() argument
140 CHECK_NULL_PTR_RETURN(dataptr); in sendto()
145 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dsockets_porting.c130 ssize_t send(int s, const void *dataptr, size_t size, int flags) in send() argument
132 CHECK_NULL_PTR(dataptr); in send()
133 return lwip_send(s, dataptr, size, flags); in send()
141 ssize_t sendto(int s, const void *dataptr, size_t size, int flags, in sendto() argument
144 CHECK_NULL_PTR(dataptr); in sendto()
149 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsys_arch.c93 u16_t lwip_standard_chksum(const void *dataptr, int len) in lwip_standard_chksum() argument
95 return ~(u16_t)(in_cksum(dataptr, len)); in lwip_standard_chksum()
Dsockets.c87 static ssize_t lwip_sendto_wrap(int s, const void *dataptr, size_t size, int flags,
89 ssize_t lwip_sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, … in lwip_sendto() argument
91 return lwip_sendto_wrap(s, dataptr, size, flags, to, tolen); in lwip_sendto()
116 ssize_t lwip_sendto2(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to,…
232 static ssize_t lwip_sendto_wrap(int s, const void *dataptr, size_t size, int flags, in lwip_sendto_wrap() argument
252 return lwip_sendto2(s, dataptr, size, flags, to, tolen); in lwip_sendto_wrap()
/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront_synth.c860 u16 __user *dataptr, in wavefront_send_sample() argument
892 (unsigned long) header->dataptr); in wavefront_send_sample()
1065 data_end = dataptr + length; in wavefront_send_sample()
1069 dataptr += initial_skip; in wavefront_send_sample()
1089 if (dataptr < data_end) { in wavefront_send_sample()
1091 if (get_user(sample_short, dataptr)) in wavefront_send_sample()
1093 dataptr += skip; in wavefront_send_sample()
1403 err = wavefront_send_sample (dev, header, header->dataptr, 0); in wavefront_load_patch()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-blackbird.c447 __le32 *dataptr; in blackbird_load_firmware() local
487 dataptr = (__le32 *)firmware->data; in blackbird_load_firmware()
489 value = le32_to_cpu(*dataptr); in blackbird_load_firmware()
492 dataptr++; in blackbird_load_firmware()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dpch_udc.c222 u32 dataptr; member
1589 td->dataptr = req->req.dma; in pch_udc_create_dma_chain()
1591 td->dataptr = req->dma; in pch_udc_create_dma_chain()
1604 td->dataptr = req->td_data->dataptr + i; in pch_udc_create_dma_chain()
1812 dma_desc->dataptr = lower_32_bits(DMA_ADDR_INVALID); in pch_udc_alloc_request()
2568 ep->td_data->dataptr = dev->dma_addr; in pch_udc_activate_control_ep()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-417.c895 u32 *dataptr; in cx23885_load_firmware() local
945 dataptr = (u32 *)firmware->data; in cx23885_load_firmware()
947 value = *dataptr; in cx23885_load_firmware()
954 dataptr++; in cx23885_load_firmware()
/kernel/linux/linux-5.10/net/9p/
Dclient.c1575 char *dataptr; in p9_client_read_once() local
1607 "D", &count, &dataptr); in p9_client_read_once()
1621 int n = copy_to_iter(dataptr, count, to); in p9_client_read_once()
2079 char *dataptr; in p9_client_readdir() local
2116 err = p9pdu_readf(&req->rc, clnt->proto_version, "D", &count, &dataptr); in p9_client_readdir()
2129 memmove(data, dataptr, count); in p9_client_readdir()
/kernel/linux/linux-5.10/include/sound/
Dwavefront.h545 u16 __user *dataptr; /* actual sample data */ member
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic7xxx.h454 /*12*/ uint32_t dataptr; member
Daic79xx_core.c460 scb->hscb->dataptr = sg->addr; in ahd_setup_data_scb()
467 dataptr_words = (uint32_t*)&scb->hscb->dataptr; in ahd_setup_data_scb()
474 scb->hscb->dataptr |= ahd_htole64(high_addr << 8); in ahd_setup_data_scb()
491 scb->hscb->dataptr = 0; in ahd_setup_noxfer_scb()
871 host_dataptr = ahd_le64toh(scb->hscb->dataptr); in ahd_queue_scb()
3583 (uint32_t)((ahd_le64toh(hscb->dataptr) >> 32) & 0xFFFFFFFF),
3584 (uint32_t)(ahd_le64toh(hscb->dataptr) & 0xFFFFFFFF),
5815 uint64_t dataptr; in ahd_reinitialize_dataptrs() local
5861 dataptr = ahd_le64toh(sg->addr) in ahd_reinitialize_dataptrs()
5864 ahd_outl(ahd, HADDR + 4, dataptr >> 32); in ahd_reinitialize_dataptrs()
[all …]
Daic7xxx_core.c1132 hscb->dataptr = sg->addr; in ahc_handle_seqint()
2095 ahc_le32toh(hscb->dataptr),
4250 uint32_t dataptr; in ahc_reinitialize_dataptrs() local
4269 dataptr = ahc_le32toh(sg->addr) in ahc_reinitialize_dataptrs()
4281 ahc_outb(ahc, HADDR + 3, dataptr >> 24); in ahc_reinitialize_dataptrs()
4282 ahc_outb(ahc, HADDR + 2, dataptr >> 16); in ahc_reinitialize_dataptrs()
4283 ahc_outb(ahc, HADDR + 1, dataptr >> 8); in ahc_reinitialize_dataptrs()
4284 ahc_outb(ahc, HADDR, dataptr); in ahc_reinitialize_dataptrs()
Daic79xx.h500 /*24*/ uint64_t dataptr; member
Daic7xxx_osm.c1539 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command()
1543 scb->hscb->dataptr = 0; in ahc_linux_run_command()
/kernel/linux/linux-5.10/fs/gfs2/
Dxattr.c677 __be64 *dataptr = GFS2_EA2DATAPTRS(ea); in ea_write() local
707 *dataptr++ = cpu_to_be64(bh->b_blocknr); in ea_write()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dinit301.c374 static bool SiS_SetTrumpionBlock(struct SiS_Private *SiS_Pr, unsigned char *dataptr);
9041 SiS_SetTrumpBlockLoop(struct SiS_Private *SiS_Pr, unsigned char *dataptr) in SiS_SetTrumpBlockLoop() argument
9048 mydataptr = dataptr; in SiS_SetTrumpBlockLoop()
9075 SiS_SetTrumpionBlock(struct SiS_Private *SiS_Pr, unsigned char *dataptr) in SiS_SetTrumpionBlock() argument
9085 while(*dataptr) { in SiS_SetTrumpionBlock()
9086 dataptr = SiS_SetTrumpBlockLoop(SiS_Pr, dataptr); in SiS_SetTrumpionBlock()
9087 if(!dataptr) return false; in SiS_SetTrumpionBlock()

12