Lines Matching refs:p
74 char *p; in iavf_add_one_ethtool_stat() local
84 p = (char *)pointer + stat->stat_offset; in iavf_add_one_ethtool_stat()
87 *data = *((u64 *)p); in iavf_add_one_ethtool_stat()
90 *data = *((u32 *)p); in iavf_add_one_ethtool_stat()
93 *data = *((u16 *)p); in iavf_add_one_ethtool_stat()
96 *data = *((u8 *)p); in iavf_add_one_ethtool_stat()
191 static void __iavf_add_stat_strings(u8 **p, const struct iavf_stats stats[], in __iavf_add_stat_strings() argument
200 vsnprintf(*p, ETH_GSTRING_LEN, stats[i].stat_string, args); in __iavf_add_stat_strings()
201 *p += ETH_GSTRING_LEN; in __iavf_add_stat_strings()
218 #define iavf_add_stat_strings(p, stats, ...) \ argument
219 __iavf_add_stat_strings(p, stats, ARRAY_SIZE(stats), ## __VA_ARGS__)