/linux-2.6.39/drivers/misc/eeprom/ |
D | at25.c | 37 unsigned addrlen; member 90 switch (at25->addrlen) { in at25_ee_read() 104 t[0].len = at25->addrlen + 1; in at25_ee_read() 163 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write() 188 switch (at25->addrlen) { in at25_ee_write() 204 segment + at25->addrlen + 1); in at25_ee_write() 298 int addrlen; in at25_probe() local 310 addrlen = 1; in at25_probe() 312 addrlen = 2; in at25_probe() 314 addrlen = 3; in at25_probe() [all …]
|
/linux-2.6.39/arch/arm/kernel/ |
D | sys_oabi-compat.c | 367 asmlinkage long sys_oabi_bind(int fd, struct sockaddr __user *addr, int addrlen) in sys_oabi_bind() argument 370 if (addrlen == 112 && in sys_oabi_bind() 373 addrlen = 110; in sys_oabi_bind() 374 return sys_bind(fd, addr, addrlen); in sys_oabi_bind() 377 asmlinkage long sys_oabi_connect(int fd, struct sockaddr __user *addr, int addrlen) in sys_oabi_connect() argument 380 if (addrlen == 112 && in sys_oabi_connect() 383 addrlen = 110; in sys_oabi_connect() 384 return sys_connect(fd, addr, addrlen); in sys_oabi_connect() 390 int addrlen) in sys_oabi_sendto() argument 393 if (addrlen == 112 && in sys_oabi_sendto() [all …]
|
/linux-2.6.39/fs/nfs/ |
D | dns_resolve.c | 59 size_t addrlen; member 72 memcpy(&new->addr, &key->addr, key->addrlen); in nfs_dns_ent_update() 73 new->addrlen = key->addrlen; in nfs_dns_ent_update() 92 new->addrlen = 0; in nfs_dns_ent_init() 112 item->addrlen = 0; in nfs_dns_ent_alloc() 227 key.addrlen = rpc_pton(buf1, len, in nfs_dns_parse() 249 if (key.addrlen == 0) in nfs_dns_parse() 351 if (salen >= item->addrlen) { in nfs_dns_resolve_name() 352 memcpy(sa, &item->addr, item->addrlen); in nfs_dns_resolve_name() 353 ret = item->addrlen; in nfs_dns_resolve_name()
|
D | client.c | 134 size_t addrlen; member 160 memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); in nfs_alloc_client() 161 clp->cl_addrlen = cl_init->addrlen; in nfs_alloc_client() 689 .addrlen = clp->cl_addrlen, in nfs_start_lockd() 825 .addrlen = data->nfs_server.addrlen, in nfs_init_server() 882 if (data->mount_server.addrlen) { in nfs_init_server() 884 data->mount_server.addrlen); in nfs_init_server() 885 server->mountd_addrlen = data->mount_server.addrlen; in nfs_init_server() 1381 const size_t addrlen, in nfs4_set_client() argument 1390 .addrlen = addrlen, in nfs4_set_client() [all …]
|
D | internal.h | 56 size_t addrlen; member 98 size_t addrlen; member 107 size_t addrlen; member
|
D | nfs4namespace.c | 139 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location() 141 if (mountdata->addrlen == 0) in try_location()
|
D | super.c | 1364 mnt->nfs_server.addrlen = in nfs_parse_mount_options() 1370 if (mnt->nfs_server.addrlen == 0) in nfs_parse_mount_options() 1386 mnt->mount_server.addrlen = in nfs_parse_mount_options() 1392 if (mnt->mount_server.addrlen == 0) in nfs_parse_mount_options() 1485 if (mnt->mount_server.addrlen) { in nfs_parse_mount_options() 1606 args->nfs_server.addrlen); in nfs_try_mount() 1607 args->mount_server.addrlen = args->nfs_server.addrlen; in nfs_try_mount() 1609 request.salen = args->mount_server.addrlen; in nfs_try_mount() 1778 args->nfs_server.addrlen = sizeof(data->addr); in nfs_validate_mount_data() 1926 data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen || in nfs_compare_remount_data() [all …]
|
/linux-2.6.39/tools/perf/util/ui/browsers/ |
D | map.c | 50 u8 addrlen; member 62 mb->addrlen, sym->start, mb->addrlen, sym->end, in map_browser__write() 65 width = self->width - ((mb->addrlen * 2) + 4); in map_browser__write() 154 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); in map__browse()
|
/linux-2.6.39/include/linux/ |
D | net.h | 261 int addrlen); 266 int addrlen, int flags); 268 int *addrlen); 270 int *addrlen);
|
D | security.h | 1582 struct sockaddr *address, int addrlen); 1584 struct sockaddr *address, int addrlen); 2550 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen); 2551 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen); 2615 int addrlen) in security_socket_bind() argument 2622 int addrlen) in security_socket_connect() argument
|
/linux-2.6.39/fs/omfs/ |
D | bitmap.c | 26 int addrlen, int bit, int max) in count_run() argument 31 for (; addrlen > 0; addrlen--, addr++) { in count_run()
|
/linux-2.6.39/include/linux/lockd/ |
D | bind.h | 41 size_t addrlen; member
|
/linux-2.6.39/net/sunrpc/xprtrdma/ |
D | transport.c | 280 if (args->addrlen > sizeof(xprt->addr)) { in xprt_setup_rdma() 309 memcpy(&cdata.addr, args->dstaddr, args->addrlen); in xprt_setup_rdma() 314 xprt->addrlen = args->addrlen; in xprt_setup_rdma() 315 memcpy(&xprt->addr, &cdata.addr, xprt->addrlen); in xprt_setup_rdma()
|
/linux-2.6.39/net/sunrpc/ |
D | xprtsock.c | 345 static int xs_send_kvec(struct socket *sock, struct sockaddr *addr, int addrlen, struct kvec *vec, … in xs_send_kvec() argument 349 .msg_namelen = addrlen, in xs_send_kvec() 402 static int xs_sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xd… in xs_sendpages() argument 413 addrlen = 0; in xs_sendpages() 419 err = xs_send_kvec(sock, addr, addrlen, &xdr->head[0], base, remainder != 0); in xs_sendpages() 525 xprt->addrlen, xdr, in xs_udp_send_request() 1546 memcpy(&myaddr, &transport->srcaddr, transport->xprt.addrlen); in xs_bind() 1550 transport->xprt.addrlen); in xs_bind() 1797 return kernel_connect(sock, xs_addr(xprt), xprt->addrlen, O_NONBLOCK); in xs_tcp_finish_connecting() 2172 if (args->addrlen > sizeof(xprt->addr)) { in xs_setup_xprt() [all …]
|
/linux-2.6.39/include/net/ |
D | ipv6.h | 426 static inline int __ipv6_addr_diff(const void *token1, const void *token2, int addrlen) in __ipv6_addr_diff() argument 431 addrlen >>= 2; in __ipv6_addr_diff() 433 for (i = 0; i < addrlen; i++) { in __ipv6_addr_diff() 455 return addrlen << 5; in __ipv6_addr_diff()
|
/linux-2.6.39/net/ |
D | socket.c | 1416 SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen) in SYSCALL_DEFINE3() argument 1424 err = move_addr_to_kernel(umyaddr, addrlen, (struct sockaddr *)&address); in SYSCALL_DEFINE3() 1428 addrlen); in SYSCALL_DEFINE3() 1432 &address, addrlen); in SYSCALL_DEFINE3() 1571 int, addrlen) in SYSCALL_DEFINE3() argument 1580 err = move_addr_to_kernel(uservaddr, addrlen, (struct sockaddr *)&address); in SYSCALL_DEFINE3() 1585 security_socket_connect(sock, (struct sockaddr *)&address, addrlen); in SYSCALL_DEFINE3() 1589 err = sock->ops->connect(sock, (struct sockaddr *)&address, addrlen, in SYSCALL_DEFINE3() 3140 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind() argument 3142 return sock->ops->bind(sock, addr, addrlen); in kernel_bind() [all …]
|
/linux-2.6.39/include/linux/sunrpc/ |
D | xprt.h | 153 size_t addrlen; /* size of server address */ member 255 size_t addrlen; member
|
/linux-2.6.39/drivers/staging/pohmelfs/ |
D | config.c | 43 sc->addrlen == ctl->addrlen && in pohmelfs_config_eql() 44 !memcmp(&sc->addr, &ctl->addr, ctl->addrlen)) in pohmelfs_config_eql()
|
/linux-2.6.39/net/sctp/ |
D | socket.c | 4411 int addrlen; in sctp_getsockopt_peer_addrs() local 4433 addrlen = sctp_get_af_specific(temp.sa.sa_family)->sockaddr_len; in sctp_getsockopt_peer_addrs() 4434 if (space_left < addrlen) in sctp_getsockopt_peer_addrs() 4436 if (copy_to_user(to, &temp, addrlen)) in sctp_getsockopt_peer_addrs() 4438 to += addrlen; in sctp_getsockopt_peer_addrs() 4440 space_left -= addrlen; in sctp_getsockopt_peer_addrs() 4458 int addrlen; in sctp_copy_laddrs() local 4478 addrlen = sctp_get_af_specific(temp.sa.sa_family)->sockaddr_len; in sctp_copy_laddrs() 4479 if (space_left < addrlen) { in sctp_copy_laddrs() 4483 memcpy(to, &temp, addrlen); in sctp_copy_laddrs() [all …]
|
D | sm_make_chunk.c | 2684 int addrlen; in sctp_make_asconf() local 2687 addrlen = af->to_addr_param(addr, &addrparam); in sctp_make_asconf() 2688 if (!addrlen) in sctp_make_asconf() 2690 length += addrlen; in sctp_make_asconf() 2702 sctp_addto_chunk(retval, addrlen, &addrparam); in sctp_make_asconf() 2805 int addrlen; in sctp_make_asconf_set_prim() local 2808 addrlen = af->to_addr_param(addr, &addrparam); in sctp_make_asconf_set_prim() 2809 if (!addrlen) in sctp_make_asconf_set_prim() 2811 len += addrlen; in sctp_make_asconf_set_prim() 2823 sctp_addto_chunk(retval, addrlen, &addrparam); in sctp_make_asconf_set_prim()
|
/linux-2.6.39/security/selinux/include/ |
D | security.h | 144 int security_node_sid(u16 domain, void *addr, u32 addrlen,
|
/linux-2.6.39/net/llc/ |
D | af_llc.c | 304 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() argument 313 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) in llc_ui_bind() 434 int addrlen, int flags) in llc_ui_connect() argument 442 if (unlikely(addrlen != sizeof(*addr))) in llc_ui_connect()
|
/linux-2.6.39/fs/lockd/ |
D | clntlock.c | 63 host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, in nlmclnt_init()
|
/linux-2.6.39/security/ |
D | security.c | 1019 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_bind() argument 1021 return security_ops->socket_bind(sock, address, addrlen); in security_socket_bind() 1024 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) in security_socket_connect() argument 1026 return security_ops->socket_connect(sock, address, addrlen); in security_socket_connect()
|
/linux-2.6.39/Documentation/networking/ |
D | phonet.txt | 99 socklen_t addrlen = sizeof(addr); 108 (struct sockaddr *)&addr, &addrlen);
|