Lines Matching refs:addrlen

217     let addrlen = regs.r10 as usize;  in sys_connect()  localVariable
218 return do_connect(fd, addr as *const SockAddr, addrlen) in sys_connect()
230 pub fn do_connect(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_connect()
231 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_connect()
245 let addrlen = regs.r10 as usize; in sys_bind() localVariable
246 return do_bind(fd, addr as *const SockAddr, addrlen) in sys_bind()
258 pub fn do_bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_bind()
259 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_bind()
275 let addrlen = regs.r13 as usize; in sys_sendto() localVariable
282 addrlen, in sys_sendto()
304 addrlen: usize, in do_sendto()
313 Some(SockAddr::to_endpoint(addr, addrlen)?) in do_sendto()
330 let addrlen = regs.r13 as usize; in sys_recvfrom() localVariable
337 addrlen as *mut u32, in sys_recvfrom()
359 addrlen: *mut u32, in do_recvfrom()
388 sockaddr_in.write_to_user(addr, addrlen)?; in do_recvfrom()
494 let addrlen = regs.r10 as usize; in sys_accept() localVariable
495 return do_accept(fd, addr as *mut SockAddr, addrlen as *mut u32) in sys_accept()
507 pub fn do_accept(fd: usize, addr: *mut SockAddr, addrlen: *mut u32) -> Result<i64, SystemError> { in do_accept()
527 sockaddr_in.write_to_user(addr, addrlen)?; in do_accept()
537 let addrlen = regs.r10 as usize; in sys_getsockname() localVariable
538 return do_getsockname(fd, addr as *mut SockAddr, addrlen as *mut u32) in sys_getsockname()
556 addrlen: *mut u32, in do_getsockname()
570 sockaddr_in.write_to_user(addr, addrlen)?; in do_getsockname()
579 let addrlen = regs.r10 as usize; in sys_getpeername() localVariable
580 return do_getpeername(fd, addr as *mut SockAddr, addrlen as *mut u32) in sys_getpeername()
595 addrlen: *mut u32, in do_getpeername()
610 sockaddr_in.write_to_user(addr, addrlen)?; in do_getpeername()