Home
last modified time | relevance | path

Searched refs:sr_iov_by_section (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/shared/
Dnetif-sriov.c35 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 …]
Dnetif-sriov.h22 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/
Dlink-config-gperf.gperf109 …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)
Dlink-config.c64 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()
Dlink-config.h83 OrderedHashmap *sr_iov_by_section; member
/systemd-251/src/network/
Dnetworkd-network-gperf.gperf78 …, 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)
Dnetworkd-sriov.c83 ORDERED_HASHMAP_FOREACH(sr_iov, link->network->sr_iov_by_section) { in link_request_sr_iov_vfs()
Dnetworkd-network.h341 OrderedHashmap *sr_iov_by_section; member
Dnetworkd-network.c328 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()