Lines Matching refs:nflags
31 int nflags;
33 nflags = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS);
34 if (nflags < 0)
35 return nflags;
38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL);
46 * must not adjust nflags before allocating the space for flag names
49 if (WARN_ONCE(nflags > 32,
51 netdev_name(dev), nflags))
52 nflags = 32;
53 *count = nflags;
66 unsigned int nflags;
76 ret = ethnl_get_priv_flags_info(dev, &nflags, &names);
81 data->n_priv_flags = nflags;
150 unsigned int nflags;
160 ret = ethnl_get_priv_flags_info(dev, &nflags, compact ? NULL : &names);
165 ret = ethnl_update_bitset32(&flags, nflags,