Searched refs:vport_portids (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | vport.c | 338 struct vport_portids *old, *vport_portids; in ovs_vport_set_upcall_portids() local 345 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), in ovs_vport_set_upcall_portids() 347 if (!vport_portids) in ovs_vport_set_upcall_portids() 350 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids() 351 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); in ovs_vport_set_upcall_portids() 352 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids() 354 rcu_assign_pointer(vport->upcall_portids, vport_portids); in ovs_vport_set_upcall_portids() [all...] |
H A D | vport.h | 43 * struct vport_portids - array of netlink portids of a vport. 51 struct vport_portids { struct 62 * @upcall_portids: RCU protected 'struct vport_portids'. 73 struct vport_portids __rcu *upcall_portids;
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | vport.c | 404 struct vport_portids *old, *vport_portids; in ovs_vport_set_upcall_portids() local 411 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), in ovs_vport_set_upcall_portids() 413 if (!vport_portids) in ovs_vport_set_upcall_portids() 416 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids() 417 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); in ovs_vport_set_upcall_portids() 418 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids() 420 rcu_assign_pointer(vport->upcall_portids, vport_portids); in ovs_vport_set_upcall_portids() [all...] |
H A D | vport.h | 45 * struct vport_portids - array of netlink portids of a vport. 53 struct vport_portids { struct 65 * @upcall_portids: RCU protected 'struct vport_portids'. 78 struct vport_portids __rcu *upcall_portids;
|
Completed in 3 milliseconds