diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 23:10:26 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 23:10:26 +0100 |
commit | ed3c453a0787ddc10c5ce6010bd6ac663c740b68 (patch) | |
tree | 10f36ee9dd9883d95c0e2a680483fcdacefc4e28 /kernel/ip_set_list_set.c | |
parent | eb873d2fc5240a873bc52d0cc57e4062288b291b (diff) |
Un-inline functions which are not small enough
Diffstat (limited to 'kernel/ip_set_list_set.c')
-rw-r--r-- | kernel/ip_set_list_set.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/ip_set_list_set.c b/kernel/ip_set_list_set.c index 9cae5d7..892a106 100644 --- a/kernel/ip_set_list_set.c +++ b/kernel/ip_set_list_set.c @@ -121,7 +121,7 @@ static const struct nla_policy list_set_adt_policy[IPSET_ATTR_ADT_MAX+1] = { [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 }, }; -static inline bool +static bool next_id_eq(const struct list_set *map, u32 i, ip_set_id_t id) { const struct set_elem *elem; @@ -136,7 +136,7 @@ next_id_eq(const struct list_set *map, u32 i, ip_set_id_t id) return 0; } -static inline void +static void list_elem_add(struct list_set *map, u32 i, ip_set_id_t id) { struct set_elem *e; @@ -149,7 +149,7 @@ list_elem_add(struct list_set *map, u32 i, ip_set_id_t id) } } -static inline void +static void list_elem_tadd(struct list_set *map, u32 i, ip_set_id_t id, unsigned long timeout) { @@ -487,7 +487,7 @@ list_set_gc(unsigned long ul_set) add_timer(&map->gc); } -static inline void +static void list_set_gc_init(struct ip_set *set) { struct list_set *map = set->data; @@ -507,7 +507,7 @@ list_set_create_policy[IPSET_ATTR_CREATE_MAX+1] = { [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, }; -static inline bool +static bool init_list_set(struct ip_set *set, u32 size, size_t dsize, unsigned long timeout) { |