Home
last modified time | relevance | path

Searched refs:nflags (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/ethtool/
Dprivflags.c31 int nflags; in ethnl_get_priv_flags_info() local
33 nflags = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS); in ethnl_get_priv_flags_info()
34 if (nflags < 0) in ethnl_get_priv_flags_info()
35 return nflags; in ethnl_get_priv_flags_info()
38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL); in ethnl_get_priv_flags_info()
49 if (WARN_ONCE(nflags > 32, in ethnl_get_priv_flags_info()
51 netdev_name(dev), nflags)) in ethnl_get_priv_flags_info()
52 nflags = 32; in ethnl_get_priv_flags_info()
53 *count = nflags; in ethnl_get_priv_flags_info()
66 unsigned int nflags; in privflags_prepare_data() local
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c909 unsigned int nflags = 0; in ip_tunnel_ctl() local
912 nflags = IFF_BROADCAST; in ip_tunnel_ctl()
914 nflags = IFF_POINTOPOINT; in ip_tunnel_ctl()
916 if ((dev->flags^nflags)&(IFF_POINTOPOINT|IFF_BROADCAST)) { in ip_tunnel_ctl()
1201 unsigned int nflags = 0; in ip_tunnel_changelink() local
1204 nflags = IFF_BROADCAST; in ip_tunnel_changelink()
1206 nflags = IFF_POINTOPOINT; in ip_tunnel_changelink()
1208 if ((dev->flags ^ nflags) & in ip_tunnel_changelink()
Dtcp_output.c1080 unsigned long flags, nflags; in tcp_release_cb() local
1087 nflags = flags & ~TCP_DEFERRED_ALL; in tcp_release_cb()
1088 } while (cmpxchg(&sk->sk_tsq_flags, flags, nflags) != flags); in tcp_release_cb()
/kernel/linux/linux-5.10/drivers/xen/
Dgrant-table.c286 u16 flags, nflags; in gnttab_end_foreign_access_ref_v1() local
290 nflags = *pflags; in gnttab_end_foreign_access_ref_v1()
292 flags = nflags; in gnttab_end_foreign_access_ref_v1()
295 } while ((nflags = sync_cmpxchg(pflags, flags, 0)) != flags); in gnttab_end_foreign_access_ref_v1()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_output.c1223 unsigned long flags, nflags; in tcp_nip_release_cb() local
1230 nflags = flags & ~TCP_NIP_DEFERRED_ALL; in tcp_nip_release_cb()
1231 } while (cmpxchg(&sk->sk_tsq_flags, flags, nflags) != flags); in tcp_nip_release_cb()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c2363 unsigned long flags, nflags; in mptcp_release_cb() local
2369 nflags = flags & ~MPTCP_DEFERRED_ALL; in mptcp_release_cb()
2370 } while (cmpxchg(&sk->sk_tsq_flags, flags, nflags) != flags); in mptcp_release_cb()