Home
last modified time | relevance | path

Searched refs:addr_buf (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/um/drivers/
Dnet_user.c209 char addr_buf[sizeof("255.255.255.255\0")]; in change() local
212 char *argv[] = { "uml_net", version, what, dev, addr_buf, in change()
218 sprintf(addr_buf, "%d.%d.%d.%d", addr[0], addr[1], addr[2], addr[3]); in change()
Dnet_kern.c731 unsigned char addr_buf[4], netmask_buf[4]; in uml_inetaddr_event() local
748 memcpy(addr_buf, &ifa->ifa_address, sizeof(addr_buf)); in uml_inetaddr_event()
750 (*proc)(addr_buf, netmask_buf, &lp->user); in uml_inetaddr_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Di2c.c139 u8 addr_buf[MLXSW_I2C_ADDR_BUF_SIZE]; in mlxsw_i2c_wait_go_bit() local
143 MLXSW_I2C_READ_MSG(client, addr_buf, buf, len); in mlxsw_i2c_wait_go_bit()
148 mlxsw_i2c_set_slave_addr(addr_buf, MLXSW_I2C_CIR2_OFF_STATUS); in mlxsw_i2c_wait_go_bit()
289 u8 addr_buf[MLXSW_I2C_ADDR_BUF_SIZE]; in mlxsw_i2c_get_mbox() local
292 MLXSW_I2C_READ_MSG(client, addr_buf, buf, MLXSW_I2C_MBOX_SIZE); in mlxsw_i2c_get_mbox()
296 mlxsw_i2c_set_slave_addr(addr_buf, MLXSW_I2C_CIR2_BASE); in mlxsw_i2c_get_mbox()
/kernel/linux/linux-5.10/net/sctp/
Dbind_addr.c430 void *addr_buf; in sctp_find_unmatch_addr() local
439 addr_buf = (union sctp_addr *)addrs; in sctp_find_unmatch_addr()
441 addr = addr_buf; in sctp_find_unmatch_addr()
449 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
Dsocket.c506 void *addr_buf; in sctp_bindx_add() local
513 addr_buf = addrs; in sctp_bindx_add()
518 sa_addr = addr_buf; in sctp_bindx_add()
528 addr_buf += af->sockaddr_len; in sctp_bindx_add()
564 void *addr_buf; in sctp_send_asconf_add_ip() local
594 addr_buf = addrs; in sctp_send_asconf_add_ip()
596 addr = addr_buf; in sctp_send_asconf_add_ip()
606 addr_buf += af->sockaddr_len; in sctp_send_asconf_add_ip()
627 addr_buf = addrs; in sctp_send_asconf_add_ip()
629 addr = addr_buf; in sctp_send_asconf_add_ip()
[all …]
Dsm_make_chunk.c2829 void *addr_buf; in sctp_make_asconf_update_ip() local
2832 addr_buf = addrs; in sctp_make_asconf_update_ip()
2834 addr = addr_buf; in sctp_make_asconf_update_ip()
2841 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
2860 addr_buf = addrs; in sctp_make_asconf_update_ip()
2862 addr = addr_buf; in sctp_make_asconf_update_ip()
2872 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dgoodix.c252 u8 *addr_buf; in goodix_i2c_write() local
256 addr_buf = kmalloc(len + 2, GFP_KERNEL); in goodix_i2c_write()
257 if (!addr_buf) in goodix_i2c_write()
260 addr_buf[0] = reg >> 8; in goodix_i2c_write()
261 addr_buf[1] = reg & 0xFF; in goodix_i2c_write()
262 memcpy(&addr_buf[2], buf, len); in goodix_i2c_write()
266 msg.buf = addr_buf; in goodix_i2c_write()
270 kfree(addr_buf); in goodix_i2c_write()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dhi556.c513 u8 addr_buf[2]; in hi556_read_reg() local
520 put_unaligned_be16(reg, addr_buf); in hi556_read_reg()
523 msgs[0].len = sizeof(addr_buf); in hi556_read_reg()
524 msgs[0].buf = addr_buf; in hi556_read_reg()
Dov5675.c520 u8 addr_buf[2]; in ov5675_read_reg() local
527 put_unaligned_be16(reg, addr_buf); in ov5675_read_reg()
530 msgs[0].len = sizeof(addr_buf); in ov5675_read_reg()
531 msgs[0].buf = addr_buf; in ov5675_read_reg()
Dov2740.c367 u8 addr_buf[2]; in ov2740_read_reg() local
374 put_unaligned_be16(reg, addr_buf); in ov2740_read_reg()
377 msgs[0].len = sizeof(addr_buf); in ov2740_read_reg()
378 msgs[0].buf = addr_buf; in ov2740_read_reg()
Dov8856.c1064 u8 addr_buf[2]; in ov8856_read_reg() local
1071 put_unaligned_be16(reg, addr_buf); in ov8856_read_reg()
1074 msgs[0].len = sizeof(addr_buf); in ov8856_read_reg()
1075 msgs[0].buf = addr_buf; in ov8856_read_reg()
Dimx319.c1791 u8 addr_buf[2]; in imx319_read_reg() local
1798 put_unaligned_be16(reg, addr_buf); in imx319_read_reg()
1802 msgs[0].len = ARRAY_SIZE(addr_buf); in imx319_read_reg()
1803 msgs[0].buf = addr_buf; in imx319_read_reg()
Dimx355.c1091 u8 addr_buf[2]; in imx355_read_reg() local
1098 put_unaligned_be16(reg, addr_buf); in imx355_read_reg()
1102 msgs[0].len = ARRAY_SIZE(addr_buf); in imx355_read_reg()
1103 msgs[0].buf = addr_buf; in imx355_read_reg()
Dimx258.c625 u8 addr_buf[2] = { reg >> 8, reg & 0xff }; in imx258_read_reg() local
635 msgs[0].len = ARRAY_SIZE(addr_buf); in imx258_read_reg()
636 msgs[0].buf = addr_buf; in imx258_read_reg()
Dov2680.c232 u8 addr_buf[2] = { reg >> 8, reg & 0xff }; in __ov2680_read_reg() local
241 msgs[0].len = ARRAY_SIZE(addr_buf); in __ov2680_read_reg()
242 msgs[0].buf = addr_buf; in __ov2680_read_reg()
Dimx219.c581 u8 addr_buf[2] = { reg >> 8, reg & 0xff }; in imx219_read_reg() local
591 msgs[0].len = ARRAY_SIZE(addr_buf); in imx219_read_reg()
592 msgs[0].buf = addr_buf; in imx219_read_reg()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
Datomisp-ov2680.c54 u8 addr_buf[2] = { reg >> 8, reg & 0xff }; in ov2680_read_reg() local
63 msgs[0].len = ARRAY_SIZE(addr_buf); in ov2680_read_reg()
64 msgs[0].buf = addr_buf; in ov2680_read_reg()
/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c1593 struct in6_addr addr_buf; in mld_newpack() local
1612 if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) { in mld_newpack()
1619 saddr = &addr_buf; in mld_newpack()
1983 struct in6_addr addr_buf; in igmp6_send() local
2019 if (ipv6_get_lladdr(dev, &addr_buf, IFA_F_TENTATIVE)) { in igmp6_send()
2026 saddr = &addr_buf; in igmp6_send()
Dndisc.c606 struct in6_addr addr_buf; in ndisc_send_ns() local
612 if (ipv6_get_lladdr(dev, &addr_buf, in ndisc_send_ns()
615 saddr = &addr_buf; in ndisc_send_ns()
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c5285 void *addr_buf; in selinux_sctp_bind_connect() local
5294 addr_buf = address; in selinux_sctp_bind_connect()
5300 addr = addr_buf; in selinux_sctp_bind_connect()
5351 addr_buf += len; in selinux_sctp_bind_connect()