Searched refs:sr_iov_by_section (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/shared/ |
D | netif-sriov.c | 35 static int sr_iov_new_static(OrderedHashmap **sr_iov_by_section, const char *filename, unsigned sec… in sr_iov_new_static() argument 41 assert(sr_iov_by_section); in sr_iov_new_static() 50 existing = ordered_hashmap_get(*sr_iov_by_section, n); in sr_iov_new_static() 60 r = ordered_hashmap_ensure_put(sr_iov_by_section, &config_section_hash_ops, n, sr_iov); in sr_iov_new_static() 65 sr_iov->sr_iov_by_section = *sr_iov_by_section; in sr_iov_new_static() 75 if (sr_iov->sr_iov_by_section && sr_iov->section) in sr_iov_free() 76 ordered_hashmap_remove(sr_iov->sr_iov_by_section, sr_iov->section); in sr_iov_free() 224 int sr_iov_set_num_vfs(sd_device *device, uint32_t num_vfs, OrderedHashmap *sr_iov_by_section) { in sr_iov_set_num_vfs() argument 238 ORDERED_HASHMAP_FOREACH(sr_iov, sr_iov_by_section) in sr_iov_set_num_vfs() 318 int sr_iov_drop_invalid_sections(uint32_t num_vfs, OrderedHashmap *sr_iov_by_section) { in sr_iov_drop_invalid_sections() argument [all …]
|
D | netif-sriov.h | 22 OrderedHashmap *sr_iov_by_section; member 40 int sr_iov_set_num_vfs(sd_device *device, uint32_t num_vfs, OrderedHashmap *sr_iov_by_section); 41 int sr_iov_drop_invalid_sections(uint32_t num_vfs, OrderedHashmap *sr_iov_by_section);
|
/systemd-251/src/udev/net/ |
D | link-config-gperf.gperf | 109 …se_sr_iov_uint32, 0, offsetof(LinkConfig, sr_iov_by_section) 110 …se_sr_iov_uint32, 0, offsetof(LinkConfig, sr_iov_by_section) 111 …se_sr_iov_uint32, 0, offsetof(LinkConfig, sr_iov_by_section) 112 …se_sr_iov_vlan_proto, 0, offsetof(LinkConfig, sr_iov_by_section) 113 …se_sr_iov_boolean, 0, offsetof(LinkConfig, sr_iov_by_section) 114 …se_sr_iov_boolean, 0, offsetof(LinkConfig, sr_iov_by_section) 115 …se_sr_iov_boolean, 0, offsetof(LinkConfig, sr_iov_by_section) 116 …se_sr_iov_link_state, 0, offsetof(LinkConfig, sr_iov_by_section) 117 …se_sr_iov_mac, 0, offsetof(LinkConfig, sr_iov_by_section)
|
D | link-config.c | 64 ordered_hashmap_free_with_destructor(config->sr_iov_by_section, sr_iov_free); in link_config_free() 300 r = sr_iov_drop_invalid_sections(config->sr_iov_num_vfs, config->sr_iov_by_section); in link_load_one() 906 … = sr_iov_set_num_vfs(link->device, link->config->sr_iov_num_vfs, link->config->sr_iov_by_section); in link_apply_sr_iov_config() 910 if (ordered_hashmap_isempty(link->config->sr_iov_by_section)) in link_apply_sr_iov_config() 923 ORDERED_HASHMAP_FOREACH(sr_iov, link->config->sr_iov_by_section) { in link_apply_sr_iov_config()
|
D | link-config.h | 83 OrderedHashmap *sr_iov_by_section; member
|
/systemd-251/src/network/ |
D | networkd-network-gperf.gperf | 78 …, 0, offsetof(Network, sr_iov_by_section) 79 …, 0, offsetof(Network, sr_iov_by_section) 80 …, 0, offsetof(Network, sr_iov_by_section) 81 …roto, 0, offsetof(Network, sr_iov_by_section) 82 …n, 0, offsetof(Network, sr_iov_by_section) 83 …n, 0, offsetof(Network, sr_iov_by_section) 84 …n, 0, offsetof(Network, sr_iov_by_section) 85 …tate, 0, offsetof(Network, sr_iov_by_section) 86 … 0, offsetof(Network, sr_iov_by_section)
|
D | networkd-sriov.c | 83 ORDERED_HASHMAP_FOREACH(sr_iov, link->network->sr_iov_by_section) { in link_request_sr_iov_vfs()
|
D | networkd-network.h | 341 OrderedHashmap *sr_iov_by_section; member
|
D | networkd-network.c | 328 r = sr_iov_drop_invalid_sections(UINT32_MAX, network->sr_iov_by_section); in network_verify() 731 ordered_hashmap_free_with_destructor(network->sr_iov_by_section, sr_iov_free); in network_free()
|