Home
last modified time | relevance | path

Searched refs:caddr_t (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress05.c107 caddr_t mmapaddr; in main()
129 if ((mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
182 == (caddr_t) - 1) { in main()
189 == (caddr_t) - 1) { in main()
194 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, 0) == (caddr_t) - 1) { in main()
Dmmapstress08.c64 caddr_t mmapaddr, munmap_begin; in main()
79 if ((munmap_begin = mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
88 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0) == (caddr_t) - 1) { in main()
Dmmapstress07.c88 caddr_t mapaddr;
205 if ((mapaddr = mmap64((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
207 sparseoff)) == (caddr_t) - 1) {
209 if ((mapaddr = mmap((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
211 sparseoff)) == (caddr_t) - 1) {
Dmmapstress06.c64 caddr_t mmapaddr; in main()
91 0) == (caddr_t) - 1) { in main()
Dmmapstress02.c82 caddr_t mmapaddr; in main()
116 if ((mmapaddr = sbrk(0)) == (caddr_t) - 1) { in main()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.c207 clust_constructor_dup(caddr_t m_clust, struct mbuf* m) in clust_constructor_dup()
229 m->m_ext.ext_buf = (caddr_t)m_clust; in clust_constructor_dup()
245 caddr_t mclust_ret; in m_clget()
661 m->m_ext.ext_buf = (caddr_t)mem; in mb_ctor_clust()
873 memcpy(mtod(m, caddr_t) + m->m_len,mtod(n, caddr_t), (u_int)count); in m_pullup()
926 m_copydata(m, off, len, mtod(n, caddr_t)); in m_dup1()
1027 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown()
1036 memcpy( mtod(n->m_next, caddr_t), mtod(n, caddr_t) + off,hlen); in m_pulldown()
1058 memcpy(mtod(o, caddr_t), mtod(n, caddr_t) + off, hlen); in m_pulldown()
1061 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); in m_pulldown()
[all …]
Duser_socket.c665 getsockaddr(struct sockaddr **namp, caddr_t uaddr, size_t len) in getsockaddr()
704 memcpy((caddr_t)&sp.spinfo_address, sa, sa->sa_len); in usrsctp_getassocid()
724 memcpy((caddr_t)&sp.spinfo_address, sa, sa_len); in usrsctp_getassocid()
785 iov[0].iov_base = (caddr_t)data; in userspace_sctp_sendmsg()
901 iov[0].iov_base = (caddr_t)data; in usrsctp_sendv()
1484 if ((errno = getsockaddr(&sa, (caddr_t)name, namelen)) != 0) in usrsctp_bind()
1980 errno = getsockaddr(&sa, (caddr_t)name, namelen);
2479 sa = (struct sockaddr *)((caddr_t)sa + sizeof(struct sockaddr_in));
2507 sa = (struct sockaddr *)((caddr_t)sa + sizeof(struct sockaddr_in6));
2517 sa = (struct sockaddr *)((caddr_t)sa + sa->sa_len);
[all …]
Duser_mbuf.h115 void m_copyback(struct mbuf *, int, int, caddr_t);
122 void m_copydata(const struct mbuf *, int, int, caddr_t);
152 caddr_t mh_data; /* location of data */
191 caddr_t ext_buf; /* start of buffer */
Duser_ip6_var.h112 (val) = (typ)(mtod((m), caddr_t) + (off)); \
118 (val) = (typ)(mtod(t, caddr_t) + tmp); \
Duser_recv_thread.c75 ((caddr_t) ap + (ap->sa_len ? ROUNDUP(ap->sa_len, sizeof (uint32_t)) : sizeof(uint32_t)))
312 recv_iovec[i].iov_base = (caddr_t)recvmbuf[i]->m_data; in recv_function_raw()
315 recv_iovec[i].buf = (caddr_t)recvmbuf[i]->m_data; in recv_function_raw()
375 sh = (struct sctphdr *)((caddr_t)iphdr + sizeof(struct ip)); in recv_function_raw()
376 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in recv_function_raw()
489 recv_iovec[i].iov_base = (caddr_t)recvmbuf6[i]->m_data; in recv_function_raw6()
492 recv_iovec[i].buf = (caddr_t)recvmbuf6[i]->m_data; in recv_function_raw6()
583 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in recv_function_raw6()
678 iov[i].iov_base = (caddr_t)udprecvmbuf[i]->m_data; in recv_function_udp()
681 iov[i].buf = (caddr_t)udprecvmbuf[i]->m_data; in recv_function_udp()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
Dtmod.c99 caddr_t *inparms; in tmod_ioctl()
100 caddr_t *outparms; in tmod_ioctl()
125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tmod_ioctl()
137 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tmod_ioctl()
Dtmod.h59 caddr_t in_data; // input data
62 caddr_t out_data; // output data
/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
Dtagp_ki.c85 tif.in_data = (caddr_t) & wif;
98 rif.data = (caddr_t) p_test->data[1];
104 tif.in_data = (caddr_t) & rif;
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Dtmod_ki.c85 tif.in_data = (caddr_t) & wif;
98 rif.data = (caddr_t) p_test->data[1];
104 tif.in_data = (caddr_t) & rif;
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.h42 caddr_t in_data; // input data
45 caddr_t out_data; // output data
Dtusb.c190 caddr_t *inparms; in tusb_ioctl()
191 caddr_t *outparms; in tusb_ioctl()
208 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tusb_ioctl()
220 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tusb_ioctl()
/third_party/libunwind/tests/
Dtest-ptrace.c303 ptrace (PT_CONTINUE, target_pid, (caddr_t)1, 0); in main()
317 if (ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig) < 0) in main()
335 ptrace (PT_SYSCALL, target_pid, (caddr_t)1, pending_sig); in main()
346 ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig); in main()
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.h78 caddr_t in_data; // input data
81 caddr_t out_data; // output data
Dtagp.c128 caddr_t *inparms; in tagp_ioctl()
129 caddr_t *outparms; in tagp_ioctl()
154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tagp_ioctl()
166 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tagp_ioctl()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_wired_common.c46 if (ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) < 0) { in driver_wired_get_ifflags()
72 if (ioctl(s, SIOCSIFFLAGS, (caddr_t) &ifr) < 0) { in driver_wired_set_ifflags()
129 if (ioctl(s, add ? SIOCADDMULTI : SIOCDELMULTI, (caddr_t) &ifr) < 0) { in driver_wired_multi()
204 if (ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifmr) < 0) { in driver_wired_get_ifstatus()
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstossdmabuffer.c184 caddr_t mmap_buf; in gst_ossdmabuffer_acquire()
254 mmap_buf = (caddr_t) mmap (NULL, size, PROT_WRITE, in gst_ossdmabuffer_acquire()
257 if ((caddr_t) mmap_buf == (caddr_t) - 1) { in gst_ossdmabuffer_acquire()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_wired_common.c46 if (ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) < 0) { in driver_wired_get_ifflags()
72 if (ioctl(s, SIOCSIFFLAGS, (caddr_t) &ifr) < 0) { in driver_wired_set_ifflags()
129 if (ioctl(s, add ? SIOCADDMULTI : SIOCDELMULTI, (caddr_t) &ifr) < 0) { in driver_wired_multi()
204 if (ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifmr) < 0) { in driver_wired_get_ifstatus()
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.h64 caddr_t in_data; // input data
67 caddr_t out_data; // output data
Dtbase.c243 caddr_t *inparms; in tbase_ioctl()
244 caddr_t *outparms; in tbase_ioctl()
269 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tbase_ioctl()
281 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tbase_ioctl()
/third_party/ltp/testcases/kernel/syscalls/writev/
Dwritev06.c63 {(caddr_t) - 1, 1},
64 {(caddr_t) - 1, 1}

12345