Home
last modified time | relevance | path

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

/net/batman-adv/
Dsysfs.c131 #define BATADV_ATTR_VLAN(_name, _mode, _show, _store) \ argument
132 struct batadv_attribute batadv_attr_vlan_##_name = { \
133 .attr = {.name = __stringify(_name), \
140 #define BATADV_ATTR(_name, _mode, _show, _store) \ argument
141 struct batadv_attribute batadv_attr_##_name = { \
142 .attr = {.name = __stringify(_name), \
148 #define BATADV_ATTR_SIF_STORE_BOOL(_name, _post_func) \ argument
149 ssize_t batadv_store_##_name(struct kobject *kobj, \
157 &bat_priv->_name, net_dev); \
160 #define BATADV_ATTR_SIF_SHOW_BOOL(_name) \ argument
[all …]
Ddebugfs.c171 #define BATADV_DEBUGINFO(_name, _mode, _open) \ argument
172 struct batadv_debuginfo batadv_debuginfo_##_name = { \
174 .name = __stringify(_name), \
241 #define BATADV_HARDIF_DEBUGINFO(_name, _mode, _open) \ argument
242 struct batadv_debuginfo batadv_hardif_debuginfo_##_name = { \
244 .name = __stringify(_name), \
/net/ipv4/
Dsysfs_net_ipv4.c26 #define CREATE_IPV4_FILE(_name, _var) \ argument
27 static ssize_t _name##_show(struct kobject *kobj, \
32 static ssize_t _name##_store(struct kobject *kobj, \
45 static struct kobj_attribute _name##_attr = \
46 __ATTR(_name, 0644, _name##_show, _name##_store)
/net/bridge/
Dbr_sysfs_if.c29 #define BRPORT_ATTR(_name, _mode, _show, _store) \ argument
30 const struct brport_attribute brport_attr_##_name = { \
31 .attr = {.name = __stringify(_name), \
37 #define BRPORT_ATTR_FLAG(_name, _mask) \ argument
38 static ssize_t show_##_name(struct net_bridge_port *p, char *buf) \
42 static int store_##_name(struct net_bridge_port *p, unsigned long v) \
46 static BRPORT_ATTR(_name, S_IRUGO | S_IWUSR, \
47 show_##_name, store_##_name)
/net/6lowpan/
Dnhc.h23 #define LOWPAN_NHC(__nhc, _name, _nexthdr, \ argument
29 .name = _name, \
/net/dsa/
Ddsa.c85 const char **_name, void **priv) in dsa_switch_probe() argument
108 *_name = name; in dsa_switch_probe()