Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Duserspace_msr_exit_test.c737 int nflags = sizeof(cap.args[0]) * BITS_PER_BYTE; in run_user_space_msr_flag_test() local
744 for (i = 0; i < nflags; i++) { in run_user_space_msr_flag_test()
765 int nflags; in run_msr_filter_flag_test() local
772 nflags = sizeof(filter.flags) * BITS_PER_BYTE; in run_msr_filter_flag_test()
773 for (i = 0; i < nflags; i++) { in run_msr_filter_flag_test()
780 nflags = sizeof(filter.ranges[0].flags) * BITS_PER_BYTE; in run_msr_filter_flag_test()
781 for (i = 0; i < nflags; i++) { in run_msr_filter_flag_test()
/Linux-v6.6/net/ipv4/
Dip_tunnel.c930 unsigned int nflags = 0; in ip_tunnel_ctl() local
933 nflags = IFF_BROADCAST; in ip_tunnel_ctl()
935 nflags = IFF_POINTOPOINT; in ip_tunnel_ctl()
937 if ((dev->flags^nflags)&(IFF_POINTOPOINT|IFF_BROADCAST)) { in ip_tunnel_ctl()
1223 unsigned int nflags = 0; in ip_tunnel_changelink() local
1226 nflags = IFF_BROADCAST; in ip_tunnel_changelink()
1228 nflags = IFF_POINTOPOINT; in ip_tunnel_changelink()
1230 if ((dev->flags ^ nflags) & in ip_tunnel_changelink()
Dtcp_output.c1090 unsigned long nflags; in tcp_release_cb() local
1096 nflags = flags & ~TCP_DEFERRED_ALL; in tcp_release_cb()
1097 } while (!try_cmpxchg(&sk->sk_tsq_flags, &flags, nflags)); in tcp_release_cb()
/Linux-v6.6/drivers/xen/
Dgrant-table.c430 u16 flags, nflags; in gnttab_end_foreign_access_ref_v1() local
434 nflags = *pflags; in gnttab_end_foreign_access_ref_v1()
436 flags = nflags; in gnttab_end_foreign_access_ref_v1()
439 } while ((nflags = sync_cmpxchg(pflags, flags, 0)) != flags); in gnttab_end_foreign_access_ref_v1()