Home
last modified time | relevance | path

Searched refs:addrlen (Results 1 – 22 of 22) sorted by relevance

/linux-4.19.296/drivers/misc/eeprom/
Dat25.c35 unsigned addrlen; member
89 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_read()
94 switch (at25->addrlen) { in at25_ee_read()
110 t[0].len = at25->addrlen + 1; in at25_ee_read()
152 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write()
177 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_write()
182 switch (at25->addrlen) { in at25_ee_write()
200 segment + at25->addrlen + 1); in at25_ee_write()
313 int addrlen; in at25_probe() local
325 addrlen = 1; in at25_probe()
[all …]
Deeprom_93xx46.c51 int addrlen; member
92 u16 cmd_addr = OP_READ << edev->addrlen; in eeprom_93xx46_read()
96 if (edev->addrlen == 7) { in eeprom_93xx46_read()
158 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_ew()
159 if (edev->addrlen == 7) { in eeprom_93xx46_ew()
211 cmd_addr = OP_WRITE << edev->addrlen; in eeprom_93xx46_write_word()
213 if (edev->addrlen == 7) { in eeprom_93xx46_write_word()
259 if (edev->addrlen == 6) { in eeprom_93xx46_write()
301 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_eral()
302 if (edev->addrlen == 7) { in eeprom_93xx46_eral()
[all …]
/linux-4.19.296/fs/nfs/
Ddns_resolve.c67 size_t addrlen; member
80 memcpy(&new->addr, &key->addr, key->addrlen); in nfs_dns_ent_update()
81 new->addrlen = key->addrlen; in nfs_dns_ent_update()
100 new->addrlen = 0; in nfs_dns_ent_init()
120 item->addrlen = 0; in nfs_dns_ent_alloc()
235 key.addrlen = rpc_pton(cd->net, buf1, len, in nfs_dns_parse()
258 if (key.addrlen == 0) in nfs_dns_parse()
346 if (salen >= item->addrlen) { in nfs_dns_resolve_name()
347 memcpy(sa, &item->addr, item->addrlen); in nfs_dns_resolve_name()
348 ret = item->addrlen; in nfs_dns_resolve_name()
Dnfs4client.c860 const size_t addrlen, in nfs4_set_client() argument
868 .addrlen = addrlen, in nfs4_set_client()
928 .addrlen = ds_addrlen, in nfs4_set_ds_client()
1071 data->nfs_server.addrlen, in nfs4_init_server()
1156 data->addrlen, in nfs4_create_referral_server()
1169 data->addrlen, in nfs4_create_referral_server()
1246 .addrlen = salen, in nfs4_update_server()
Dclient.c170 memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); in nfs_alloc_client()
171 clp->cl_addrlen = cl_init->addrlen; in nfs_alloc_client()
560 .addrlen = clp->cl_addrlen, in nfs_start_lockd()
661 .addrlen = data->nfs_server.addrlen, in nfs_init_server()
713 if (data->mount_server.addrlen) { in nfs_init_server()
715 data->mount_server.addrlen); in nfs_init_server()
716 server->mountd_addrlen = data->mount_server.addrlen; in nfs_init_server()
Dsuper.c1521 mnt->nfs_server.addrlen = in nfs_parse_mount_options()
1527 if (mnt->nfs_server.addrlen == 0) in nfs_parse_mount_options()
1543 mnt->mount_server.addrlen = in nfs_parse_mount_options()
1549 if (mnt->mount_server.addrlen == 0) in nfs_parse_mount_options()
1649 if (mnt->mount_server.addrlen) { in nfs_parse_mount_options()
1782 args->nfs_server.addrlen); in nfs_request_mount()
1783 args->mount_server.addrlen = args->nfs_server.addrlen; in nfs_request_mount()
1785 request.salen = args->mount_server.addrlen; in nfs_request_mount()
2053 args->nfs_server.addrlen = sizeof(data->addr); in nfs23_validate_mount_data()
2244 data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen || in nfs_compare_remount_data()
[all …]
Dnfs3client.c87 .addrlen = ds_addrlen, in nfs3_set_ds_client()
Dinternal.h50 size_t addrlen; member
80 size_t addrlen; member
110 size_t addrlen; member
119 size_t addrlen; member
Dnfs4namespace.c268 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location()
270 if (mountdata->addrlen == 0) in try_location()
Dpnfs_nfs.c619 .addrlen = da->da_addrlen, in _nfs4_pnfs_v3_ds_connect()
665 .addrlen = da->da_addrlen, in _nfs4_pnfs_v4_ds_connect()
/linux-4.19.296/drivers/i2c/busses/
Di2c-xgene-slimpro.c83 #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \ argument
91 ((addrlen << SLIMPRO_IIC_ADDRLEN_SHIFT) & SLIMPRO_IIC_ADDRLEN_MASK) | \
257 u32 addr, u32 addrlen, u32 protocol, in slimpro_i2c_rd() argument
263 SLIMPRO_IIC_READ, protocol, addrlen, readlen); in slimpro_i2c_rd()
271 u32 addr, u32 addrlen, u32 protocol, u32 writelen, in slimpro_i2c_wr() argument
277 SLIMPRO_IIC_WRITE, protocol, addrlen, writelen); in slimpro_i2c_wr()
285 u32 addrlen, u32 protocol, u32 readlen, in slimpro_i2c_blkrd() argument
300 protocol, addrlen, readlen); in slimpro_i2c_blkrd()
317 u32 addr, u32 addrlen, u32 protocol, u32 writelen, in slimpro_i2c_blkwr() argument
337 protocol, addrlen, writelen); in slimpro_i2c_blkwr()
/linux-4.19.296/include/net/
Dipv6.h680 static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen) in __ipv6_addr_diff32() argument
685 addrlen >>= 2; in __ipv6_addr_diff32()
687 for (i = 0; i < addrlen; i++) { in __ipv6_addr_diff32()
709 return addrlen << 5; in __ipv6_addr_diff32()
713 static inline int __ipv6_addr_diff64(const void *token1, const void *token2, int addrlen) in __ipv6_addr_diff64() argument
718 addrlen >>= 3; in __ipv6_addr_diff64()
720 for (i = 0; i < addrlen; i++) { in __ipv6_addr_diff64()
726 return addrlen << 6; in __ipv6_addr_diff64()
730 static inline int __ipv6_addr_diff(const void *token1, const void *token2, int addrlen) in __ipv6_addr_diff() argument
733 if (__builtin_constant_p(addrlen) && !(addrlen & 7)) in __ipv6_addr_diff()
[all …]
/linux-4.19.296/fs/omfs/
Dbitmap.c27 int addrlen, int bit, int max) in count_run() argument
32 for (; addrlen > 0; addrlen--, addr++) { in count_run()
/linux-4.19.296/include/linux/lockd/
Dbind.h43 size_t addrlen; member
/linux-4.19.296/include/linux/
Dsocket.h376 extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen);
378 int addrlen);
Dnet.h300 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
303 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
Dsecurity.h1207 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen);
1208 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen);
1246 struct sockaddr *address, int addrlen);
1286 int addrlen) in security_socket_bind() argument
1293 int addrlen) in security_socket_connect() argument
1456 int addrlen) in security_sctp_bind_connect() argument
Dlsm_hooks.h1673 int addrlen);
1675 int addrlen);
1717 struct sockaddr *address, int addrlen);
Dcompat.h832 int __user *addrlen);
/linux-4.19.296/include/linux/sunrpc/
Dxprt.h183 size_t addrlen; /* size of server address */ member
307 size_t addrlen; member
Dsvc.h377 size_t addrlen; member
/linux-4.19.296/fs/lockd/
Dclntlock.c63 host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, in nlmclnt_init()