diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-05-11 10:30:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-13 02:02:25 -0400 |
commit | c68ca7b72017f8f52e7aed0d2a6ecfaede133b6b (patch) | |
tree | 37e428def9c1720122282efa23d18834f8060795 /net/tipc/bcast.h | |
parent | 01fee256a675f6492fc6945bbb9b59640d8705d4 (diff) |
tipc: add tipc_ prefix to fcns targeted for un-inlining
These functions have enough code in them such that they
seem like sensible targets for un-inlining. Prior to doing
that, this adds the tipc_ prefix to the functions, so that
in the event of a panic dump or similar, the subsystem from
which the functions come from is immediately clear.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.h')
-rw-r--r-- | net/tipc/bcast.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/tipc/bcast.h b/net/tipc/bcast.h index 4c1771e95c99..2b1c4a755dfa 100644 --- a/net/tipc/bcast.h +++ b/net/tipc/bcast.h | |||
@@ -74,7 +74,7 @@ extern const char tipc_bclink_name[]; | |||
74 | 74 | ||
75 | 75 | ||
76 | /** | 76 | /** |
77 | * nmap_add - add a node to a node map | 77 | * tipc_nmap_add - add a node to a node map |
78 | */ | 78 | */ |
79 | 79 | ||
80 | static inline void tipc_nmap_add(struct tipc_node_map *nm_ptr, u32 node) | 80 | static inline void tipc_nmap_add(struct tipc_node_map *nm_ptr, u32 node) |
@@ -90,7 +90,7 @@ static inline void tipc_nmap_add(struct tipc_node_map *nm_ptr, u32 node) | |||
90 | } | 90 | } |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * nmap_remove - remove a node from a node map | 93 | * tipc_nmap_remove - remove a node from a node map |
94 | */ | 94 | */ |
95 | 95 | ||
96 | static inline void tipc_nmap_remove(struct tipc_node_map *nm_ptr, u32 node) | 96 | static inline void tipc_nmap_remove(struct tipc_node_map *nm_ptr, u32 node) |
@@ -106,7 +106,7 @@ static inline void tipc_nmap_remove(struct tipc_node_map *nm_ptr, u32 node) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | /** | 108 | /** |
109 | * nmap_equal - test for equality of node maps | 109 | * tipc_nmap_equal - test for equality of node maps |
110 | */ | 110 | */ |
111 | 111 | ||
112 | static inline int tipc_nmap_equal(struct tipc_node_map *nm_a, struct tipc_node_map *nm_b) | 112 | static inline int tipc_nmap_equal(struct tipc_node_map *nm_a, struct tipc_node_map *nm_b) |
@@ -115,7 +115,7 @@ static inline int tipc_nmap_equal(struct tipc_node_map *nm_a, struct tipc_node_m | |||
115 | } | 115 | } |
116 | 116 | ||
117 | /** | 117 | /** |
118 | * nmap_diff - find differences between node maps | 118 | * tipc_nmap_diff - find differences between node maps |
119 | * @nm_a: input node map A | 119 | * @nm_a: input node map A |
120 | * @nm_b: input node map B | 120 | * @nm_b: input node map B |
121 | * @nm_diff: output node map A-B (i.e. nodes of A that are not in B) | 121 | * @nm_diff: output node map A-B (i.e. nodes of A that are not in B) |
@@ -143,7 +143,7 @@ static inline void tipc_nmap_diff(struct tipc_node_map *nm_a, struct tipc_node_m | |||
143 | } | 143 | } |
144 | 144 | ||
145 | /** | 145 | /** |
146 | * port_list_add - add a port to a port list, ensuring no duplicates | 146 | * tipc_port_list_add - add a port to a port list, ensuring no duplicates |
147 | */ | 147 | */ |
148 | 148 | ||
149 | static inline void tipc_port_list_add(struct port_list *pl_ptr, u32 port) | 149 | static inline void tipc_port_list_add(struct port_list *pl_ptr, u32 port) |
@@ -176,7 +176,7 @@ static inline void tipc_port_list_add(struct port_list *pl_ptr, u32 port) | |||
176 | } | 176 | } |
177 | 177 | ||
178 | /** | 178 | /** |
179 | * port_list_free - free dynamically created entries in port_list chain | 179 | * tipc_port_list_free - free dynamically created entries in port_list chain |
180 | * | 180 | * |
181 | * Note: First item is on stack, so it doesn't need to be released | 181 | * Note: First item is on stack, so it doesn't need to be released |
182 | */ | 182 | */ |