/linux-2.4.37.9/kernel/ |
D | ptrace.c | 188 int copied = 0; in ptrace_readdata() local 197 if (copied) in ptrace_readdata() 203 copied += retval; in ptrace_readdata() 208 return copied; in ptrace_readdata() 213 int copied = 0; in ptrace_writedata() local 224 if (copied) in ptrace_writedata() 228 copied += retval; in ptrace_writedata() 233 return copied; in ptrace_writedata()
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp.c | 836 ssize_t copied; in do_tcp_sendpages() local 847 copied = 0; in do_tcp_sendpages() 895 if (!copied) in do_tcp_sendpages() 898 copied += copy; in do_tcp_sendpages() 916 if (copied) in do_tcp_sendpages() 926 if (copied) in do_tcp_sendpages() 928 return copied; in do_tcp_sendpages() 931 if (copied) in do_tcp_sendpages() 1020 int err, copied; in tcp_sendmsg() local 1044 copied = 0; in tcp_sendmsg() [all …]
|
D | raw.c | 487 int copied = 0; in raw_recvmsg() local 507 copied = skb->len; in raw_recvmsg() 508 if (len < copied) { in raw_recvmsg() 510 copied = len; in raw_recvmsg() 513 err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); in raw_recvmsg() 528 copied = skb->len; in raw_recvmsg() 531 out: return err ? : copied; in raw_recvmsg()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | ptrace.c | 150 int copied = access_process_vm(task, addr, data, sizeof(int), 0); in read_int() local 151 return (copied == sizeof(int)) ? 0 : -EIO; in read_int() 157 int copied = access_process_vm(task, addr, &data, sizeof(int), 1); in write_int() local 158 return (copied == sizeof(int)) ? 0 : -EIO; in write_int() 302 int copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() local 304 if (copied != sizeof(tmp)) in sys_ptrace() 323 int copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 1); in sys_ptrace() local 324 ret = (copied == sizeof(tmp)) ? 0 : -EIO; in sys_ptrace()
|
/linux-2.4.37.9/net/bluetooth/ |
D | af_bluetooth.c | 192 int copied, err; in bluez_sock_recvmsg() local 207 copied = skb->len; in bluez_sock_recvmsg() 208 if (len < copied) { in bluez_sock_recvmsg() 210 copied = len; in bluez_sock_recvmsg() 214 err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); in bluez_sock_recvmsg() 218 return err ? : copied; in bluez_sock_recvmsg()
|
D | hci_sock.c | 327 int copied, err; in hci_sock_recvmsg() local 342 copied = skb->len; in hci_sock_recvmsg() 343 if (len < copied) { in hci_sock_recvmsg() 345 copied = len; in hci_sock_recvmsg() 349 err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); in hci_sock_recvmsg() 355 return err ? : copied; in hci_sock_recvmsg()
|
/linux-2.4.37.9/fs/ |
D | seq_file.c | 49 size_t copied = 0; in seq_read() local 75 copied += n; in seq_read() 125 copied += n; in seq_read() 133 if (!copied) in seq_read() 134 copied = err; in seq_read() 136 *ppos += copied; in seq_read() 138 return copied; in seq_read()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | ptrace.c | 207 int res, copied; in do_ptrace() local 211 copied = access_process_vm(child, addr, in do_ptrace() 214 if (copied == sizeof(tmp32)) in do_ptrace() 217 copied = access_process_vm(child, addr, in do_ptrace() 219 if (copied == sizeof(tmp64)) in do_ptrace() 233 int copied, res = -EIO; in do_ptrace() local 237 copied = access_process_vm(child, addr, in do_ptrace() 239 if (copied == sizeof(tmp32)) in do_ptrace() 243 copied = access_process_vm(child, addr, in do_ptrace() 245 if (copied == sizeof(tmp64)) in do_ptrace()
|
/linux-2.4.37.9/drivers/isdn/pcbit/ |
D | layer2.c | 113 frame->copied = 0; in pcbit_l2_write() 196 if (frame->copied == 0) { in pcbit_transmit() 250 flen = 2 + (frame->skb->len - frame->copied); in pcbit_transmit() 263 cp_len = frame->skb->len - frame->copied; in pcbit_transmit() 267 memcpy_topcbit(dev, frame->skb->data + frame->copied, in pcbit_transmit() 269 frame->copied += cp_len; in pcbit_transmit() 279 if (frame->skb == NULL || frame->copied == frame->skb->len) { in pcbit_transmit() 463 frame->copied += tt; in pcbit_receive() 465 if (frame->copied == frame->hdr_len + frame->dt_len) { in pcbit_receive() 649 frame->copied = 0; in pcbit_l2_err_recover()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | ptrace.c | 91 int copied; in sys32_ptrace() local 93 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys32_ptrace() 95 if (copied != sizeof(tmp)) in sys32_ptrace() 335 int copied; in sys_ptrace() local 337 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 339 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ptrace32.c | 164 int copied; in sys32_ptrace() local 166 copied = access_process_vm(child, addr, &tmp_mem_value, sizeof(tmp_mem_value), 0); in sys32_ptrace() 168 if (copied != sizeof(tmp_mem_value)) in sys32_ptrace() 187 int copied; in sys32_ptrace() local 196 copied = access_process_vm(child, (u64)addrOthers, &tmp_mem_value, sizeof(tmp_mem_value), 0); in sys32_ptrace() 197 if (copied != sizeof(tmp_mem_value)) in sys32_ptrace()
|
D | ptrace.c | 161 int copied; in sys_ptrace() local 163 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 165 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/drivers/char/ |
D | sh-sci.c | 731 int copied=0; in sci_receive_chars() local 765 copied++; in sci_receive_chars() 820 copied++; in sci_receive_chars() 834 if (copied) in sci_receive_chars() 845 int copied = 0; in sci_handle_errors() local 851 copied++; in sci_handle_errors() 859 copied++; in sci_handle_errors() 865 copied++; in sci_handle_errors() 873 copied++; in sci_handle_errors() 878 if (copied) { in sci_handle_errors() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | ptrace.c | 139 int copied; in sys_ptrace() local 146 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 148 if (copied != sizeof(tmp)) in sys_ptrace() 160 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 162 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/fs/proc/ |
D | base.c | 387 int copied = 0; in mem_read() local 403 copied = 0; in mem_read() 409 copied = -EIO; in mem_read() 419 if (!copied) in mem_read() 420 copied = -EIO; in mem_read() 424 copied = -EFAULT; in mem_read() 427 copied += retval; in mem_read() 437 return copied; in mem_read() 447 int copied = 0; in mem_write() local 464 copied = -EFAULT; in mem_write() [all …]
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | ptrace.c | 149 int copied; in sys_ptrace() local 151 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 153 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | ptrace.c | 90 int copied; in sys_ptrace() local 92 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 94 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/net/ipv6/ |
D | datagram.c | 114 int copied; in ipv6_recv_error() local 121 copied = skb->len; in ipv6_recv_error() 122 if (copied > len) { in ipv6_recv_error() 124 copied = len; in ipv6_recv_error() 126 err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); in ipv6_recv_error() 184 err = copied; in ipv6_recv_error()
|
/linux-2.4.37.9/arch/sh64/kernel/ |
D | ptrace.c | 168 int copied; in sys_ptrace() local 170 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 172 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | ptrace.c | 212 int copied; in sys_ptrace() local 214 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 216 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | ptrace.c | 146 int copied; in sys_ptrace() local 148 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 150 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | ptrace.c | 190 int copied; in sys_ptrace() local 192 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in sys_ptrace() 194 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | ptrace.c | 222 int copied; in sys_ptrace() local 273 copied = access_process_vm(child,ADDR_BITS_REMOVE(addr), &tmp, sizeof(tmp), 0); in sys_ptrace() 275 if (copied != sizeof(tmp)) in sys_ptrace()
|
/linux-2.4.37.9/net/bluetooth/rfcomm/ |
D | sock.c | 562 int target, err = 0, copied = 0; in rfcomm_sock_recvmsg() local 583 if (copied >= target) in rfcomm_sock_recvmsg() 607 if (!copied) in rfcomm_sock_recvmsg() 608 copied = -EFAULT; in rfcomm_sock_recvmsg() 611 copied += chunk; in rfcomm_sock_recvmsg() 636 return copied ? : err; in rfcomm_sock_recvmsg()
|
/linux-2.4.37.9/net/irda/ |
D | af_irda.c | 1335 int copied, err; in irda_recvmsg_dgram() local 1348 copied = skb->len; in irda_recvmsg_dgram() 1350 if (copied > size) { in irda_recvmsg_dgram() 1352 copied, size); in irda_recvmsg_dgram() 1353 copied = size; in irda_recvmsg_dgram() 1356 skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); in irda_recvmsg_dgram() 1374 return copied; in irda_recvmsg_dgram() 1404 int copied = 0; in irda_recvmsg_stream() local 1429 if (copied >= target) in irda_recvmsg_stream() 1454 if (copied == 0) in irda_recvmsg_stream() [all …]
|