Searched refs:client_info (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/net/bonding/ |
H A D | bond_debugfs.c | 21 struct rlb_client_info *client_info; bond_debug_rlb_hash_show() local 34 hash_index = client_info->used_next) { bond_debug_rlb_hash_show() 35 client_info = &(bond_info->rx_hashtbl[hash_index]); bond_debug_rlb_hash_show() 37 &client_info->ip_src, bond_debug_rlb_hash_show() 38 &client_info->ip_dst, bond_debug_rlb_hash_show() 39 &client_info->mac_dst, bond_debug_rlb_hash_show() 40 client_info->slave->dev->name); bond_debug_rlb_hash_show()
|
H A D | bond_alb.c | 279 struct rlb_client_info *client_info; rlb_update_entry_from_arp() local 285 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_update_entry_from_arp() 287 if ((client_info->assigned) && rlb_update_entry_from_arp() 288 (client_info->ip_src == arp->ip_dst) && rlb_update_entry_from_arp() 289 (client_info->ip_dst == arp->ip_src) && rlb_update_entry_from_arp() 290 (!ether_addr_equal_64bits(client_info->mac_dst, arp->mac_src))) { rlb_update_entry_from_arp() 292 ether_addr_copy(client_info->mac_dst, arp->mac_src); rlb_update_entry_from_arp() 293 client_info->ntt = 1; rlb_update_entry_from_arp() 452 static void rlb_update_client(struct rlb_client_info *client_info) rlb_update_client() argument 456 if (!client_info->slave) rlb_update_client() 463 client_info->ip_dst, rlb_update_client() 464 client_info->slave->dev, rlb_update_client() 465 client_info->ip_src, rlb_update_client() 466 client_info->mac_dst, rlb_update_client() 467 client_info->slave->dev->dev_addr, rlb_update_client() 468 client_info->mac_dst); rlb_update_client() 470 netdev_err(client_info->slave->bond->dev, rlb_update_client() 475 skb->dev = client_info->slave->dev; rlb_update_client() 477 if (client_info->vlan_id) { rlb_update_client() 479 client_info->vlan_id); rlb_update_client() 490 struct rlb_client_info *client_info; rlb_update_rx_clients() local 497 hash_index = client_info->used_next) { rlb_update_rx_clients() 498 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_update_rx_clients() 499 if (client_info->ntt) { rlb_update_rx_clients() 500 rlb_update_client(client_info); rlb_update_rx_clients() 502 client_info->ntt = 0; rlb_update_rx_clients() 518 struct rlb_client_info *client_info; rlb_req_update_slave_clients() local 526 hash_index = client_info->used_next) { rlb_req_update_slave_clients() 527 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_req_update_slave_clients() 529 if ((client_info->slave == slave) && rlb_req_update_slave_clients() 530 !ether_addr_equal_64bits(client_info->mac_dst, mac_bcast)) { rlb_req_update_slave_clients() 531 client_info->ntt = 1; rlb_req_update_slave_clients() 550 struct rlb_client_info *client_info; rlb_req_update_subnet_clients() local 557 hash_index = client_info->used_next) { rlb_req_update_subnet_clients() 558 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_req_update_subnet_clients() 560 if (!client_info->slave) { rlb_req_update_subnet_clients() 568 if ((client_info->ip_src == src_ip) && rlb_req_update_subnet_clients() 569 !ether_addr_equal_64bits(client_info->slave->dev->dev_addr, rlb_req_update_subnet_clients() 571 !ether_addr_equal_64bits(client_info->mac_dst, mac_bcast)) { rlb_req_update_subnet_clients() 572 client_info->ntt = 1; rlb_req_update_subnet_clients() 585 struct rlb_client_info *client_info; rlb_choose_channel() local 593 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_choose_channel() 595 if (client_info->assigned) { rlb_choose_channel() 596 if ((client_info->ip_src == arp->ip_src) && rlb_choose_channel() 597 (client_info->ip_dst == arp->ip_dst)) { rlb_choose_channel() 601 ether_addr_copy(client_info->mac_dst, arp->mac_dst); rlb_choose_channel() 603 ether_addr_copy(client_info->mac_src, arp->mac_src); rlb_choose_channel() 605 assigned_slave = client_info->slave; rlb_choose_channel() 616 client_info->slave != curr_active_slave) { rlb_choose_channel() 617 client_info->slave = curr_active_slave; rlb_choose_channel() 618 rlb_update_client(client_info); rlb_choose_channel() 626 if (!(client_info->assigned && rlb_choose_channel() 627 client_info->ip_src == arp->ip_src)) { rlb_choose_channel() 637 client_info->ip_src = arp->ip_src; rlb_choose_channel() 638 client_info->ip_dst = arp->ip_dst; rlb_choose_channel() 643 ether_addr_copy(client_info->mac_dst, arp->mac_dst); rlb_choose_channel() 644 ether_addr_copy(client_info->mac_src, arp->mac_src); rlb_choose_channel() 645 client_info->slave = assigned_slave; rlb_choose_channel() 647 if (!ether_addr_equal_64bits(client_info->mac_dst, mac_bcast)) { rlb_choose_channel() 648 client_info->ntt = 1; rlb_choose_channel() 651 client_info->ntt = 0; rlb_choose_channel() 654 if (vlan_get_tag(skb, &client_info->vlan_id)) rlb_choose_channel() 655 client_info->vlan_id = 0; rlb_choose_channel() 657 if (!client_info->assigned) { rlb_choose_channel() 660 client_info->used_next = prev_tbl_head; rlb_choose_channel() 665 client_info->assigned = 1; rlb_choose_channel() 724 struct rlb_client_info *client_info; rlb_rebalance() local 733 hash_index = client_info->used_next) { rlb_rebalance() 734 client_info = &(bond_info->rx_hashtbl[hash_index]); rlb_rebalance() 736 if (assigned_slave && (client_info->slave != assigned_slave)) { rlb_rebalance() 737 client_info->slave = assigned_slave; rlb_rebalance() 738 client_info->ntt = 1; rlb_rebalance()
|
/linux-4.1.27/drivers/media/pci/smipcie/ |
H A D | smipcie.c | 632 struct i2c_board_info client_info; smi_dvbsky_sit2_fe_attach() local 645 memset(&client_info, 0, sizeof(struct i2c_board_info)); smi_dvbsky_sit2_fe_attach() 646 strlcpy(client_info.type, "si2168", I2C_NAME_SIZE); smi_dvbsky_sit2_fe_attach() 647 client_info.addr = 0x64; smi_dvbsky_sit2_fe_attach() 648 client_info.platform_data = &si2168_config; smi_dvbsky_sit2_fe_attach() 650 client_demod = smi_add_i2c_client(i2c, &client_info); smi_dvbsky_sit2_fe_attach() 661 memset(&client_info, 0, sizeof(struct i2c_board_info)); smi_dvbsky_sit2_fe_attach() 662 strlcpy(client_info.type, "si2157", I2C_NAME_SIZE); smi_dvbsky_sit2_fe_attach() 663 client_info.addr = 0x60; smi_dvbsky_sit2_fe_attach() 664 client_info.platform_data = &si2157_config; smi_dvbsky_sit2_fe_attach() 666 client_tuner = smi_add_i2c_client(tuner_i2c_adapter, &client_info); smi_dvbsky_sit2_fe_attach()
|
/linux-4.1.27/sound/core/seq/ |
H A D | seq_clientmgr.c | 1207 struct snd_seq_client_info client_info; snd_seq_ioctl_get_client_info() local 1209 if (copy_from_user(&client_info, arg, sizeof(client_info))) snd_seq_ioctl_get_client_info() 1213 cptr = snd_seq_client_use_ptr(client_info.client); snd_seq_ioctl_get_client_info() 1217 get_client_info(cptr, &client_info); snd_seq_ioctl_get_client_info() 1220 if (copy_to_user(arg, &client_info, sizeof(client_info))) snd_seq_ioctl_get_client_info() 1230 struct snd_seq_client_info client_info; snd_seq_ioctl_set_client_info() local 1232 if (copy_from_user(&client_info, arg, sizeof(client_info))) snd_seq_ioctl_set_client_info() 1236 if (client->number != client_info.client) snd_seq_ioctl_set_client_info() 1239 if (client->type != client_info.type) snd_seq_ioctl_set_client_info() 1243 if (client_info.name[0]) snd_seq_ioctl_set_client_info() 1244 strlcpy(client->name, client_info.name, sizeof(client->name)); snd_seq_ioctl_set_client_info() 1246 client->filter = client_info.filter; snd_seq_ioctl_set_client_info() 1247 client->event_lost = client_info.event_lost; snd_seq_ioctl_set_client_info() 1248 memcpy(client->event_filter, client_info.event_filter, 32); snd_seq_ioctl_set_client_info()
|
Completed in 224 milliseconds