• Home
  • Raw
  • Download

Lines Matching refs:name

70 #define IEEE80211_IF_FMT(name, field, format_string)			\  argument
71 static ssize_t ieee80211_if_fmt_##name( \
77 #define IEEE80211_IF_FMT_DEC(name, field) \ argument
78 IEEE80211_IF_FMT(name, field, "%d\n")
79 #define IEEE80211_IF_FMT_HEX(name, field) \ argument
80 IEEE80211_IF_FMT(name, field, "%#x\n")
81 #define IEEE80211_IF_FMT_LHEX(name, field) \ argument
82 IEEE80211_IF_FMT(name, field, "%#lx\n")
83 #define IEEE80211_IF_FMT_SIZE(name, field) \ argument
84 IEEE80211_IF_FMT(name, field, "%zd\n")
86 #define IEEE80211_IF_FMT_HEXARRAY(name, field) \ argument
87 static ssize_t ieee80211_if_fmt_##name( \
101 #define IEEE80211_IF_FMT_ATOMIC(name, field) \ argument
102 static ssize_t ieee80211_if_fmt_##name( \
109 #define IEEE80211_IF_FMT_MAC(name, field) \ argument
110 static ssize_t ieee80211_if_fmt_##name( \
117 #define IEEE80211_IF_FMT_JIFFIES_TO_MS(name, field) \ argument
118 static ssize_t ieee80211_if_fmt_##name( \
126 #define _IEEE80211_IF_FILE_OPS(name, _read, _write) \ argument
127 static const struct file_operations name##_ops = { \
134 #define _IEEE80211_IF_FILE_R_FN(name) \ argument
135 static ssize_t ieee80211_if_read_##name(struct file *file, \
141 ieee80211_if_fmt_##name); \
144 #define _IEEE80211_IF_FILE_W_FN(name) \ argument
145 static ssize_t ieee80211_if_write_##name(struct file *file, \
150 ppos, ieee80211_if_parse_##name); \
153 #define IEEE80211_IF_FILE_R(name) \ argument
154 _IEEE80211_IF_FILE_R_FN(name) \
155 _IEEE80211_IF_FILE_OPS(name, ieee80211_if_read_##name, NULL)
157 #define IEEE80211_IF_FILE_W(name) \ argument
158 _IEEE80211_IF_FILE_W_FN(name) \
159 _IEEE80211_IF_FILE_OPS(name, NULL, ieee80211_if_write_##name)
161 #define IEEE80211_IF_FILE_RW(name) \ argument
162 _IEEE80211_IF_FILE_R_FN(name) \
163 _IEEE80211_IF_FILE_W_FN(name) \
164 _IEEE80211_IF_FILE_OPS(name, ieee80211_if_read_##name, \
165 ieee80211_if_write_##name)
167 #define IEEE80211_IF_FILE(name, field, format) \ argument
168 IEEE80211_IF_FMT_##format(name, field) \
169 IEEE80211_IF_FILE_R(name)
644 #define DEBUGFS_ADD_MODE(name, mode) \ argument
645 debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \
646 sdata, &name##_ops);
648 #define DEBUGFS_ADD(name) DEBUGFS_ADD_MODE(name, 0400) argument
709 #define MESHSTATS_ADD(name)\ in add_mesh_stats() argument
710 debugfs_create_file(#name, 0400, dir, sdata, &name##_ops); in add_mesh_stats()
726 #define MESHPARAMS_ADD(name) \ in add_mesh_config() argument
727 debugfs_create_file(#name, 0600, dir, sdata, &name##_ops); in add_mesh_config()
802 sprintf(buf, "netdev:%s", sdata->name); in ieee80211_debugfs_add_netdev()
831 sprintf(buf, "netdev:%s", sdata->name); in ieee80211_debugfs_rename_netdev()