Lines Matching refs:n
28 # define DEFINE_CONV(n,...) \ argument
29 static inline struct n *n##_to_disk(struct n * r) \
33 static inline struct n *n##_to_cpu(struct n * r) \
38 # define DEFINE_CONV_ALT(n,a,...) \ argument
39 static inline struct n *n##_to_disk_##a(struct n * r) \
43 static inline struct n *n##_to_cpu_##a(struct n * r) \
59 # define DEFINE_CONV_FOR_STRUCT(n) \ argument
60 static inline struct n * n##_to_disk(struct n *); \
61 static inline struct n * n##_to_cpu(struct n *); \
62 static inline struct n n##_to_disk_v(struct n x) { \
63 return *n##_to_disk(&x); \
65 static inline struct n n##_to_cpu_v(struct n x) { \
66 return *n##_to_cpu(&x); \
103 # define DEFINE_CONV_ONE(t,n,m,...) \ argument
104 static inline struct t * n(struct t * d) { \
110 # define DEFINE_CONV(n,...) \ argument
111 DEFINE_CONV_ONE(n,n##_to_disk,DEFINE_CONV_CPU_TO_LE,##__VA_ARGS__) \
112 DEFINE_CONV_ONE(n,n##_to_cpu,DEFINE_CONV_LE_TO_CPU,##__VA_ARGS__)
114 # define DEFINE_CONV_ALT(n,a,...) \ argument
115 DEFINE_CONV_ONE(n,n##_to_disk_##a,DEFINE_CONV_CPU_TO_LE, \
117 DEFINE_CONV_ONE(n,n##_to_cpu_##a,DEFINE_CONV_LE_TO_CPU,##__VA_ARGS__)