Loading drivers/net/wireless/cnss_prealloc/cnss_prealloc.c +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ #include <linux/skbuff.h> #endif #include <linux/debugfs.h> #include <net/cnss_prealloc.h> static DEFINE_SPINLOCK(alloc_lock); Loading include/net/cnss.h +0 −4 Original line number Diff line number Diff line Loading @@ -169,10 +169,6 @@ extern void cnss_set_driver_status(enum cnss_driver_status driver_status); static inline int wcnss_pre_alloc_reset(void) { return 0; } #endif #if !defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || !defined(CONFIG_SLUB_DEBUG) static inline void wcnss_prealloc_check_memory_leak(void) {} #endif extern int msm_pcie_enumerate(u32 rc_idx); extern int cnss_auto_suspend(void); extern int cnss_auto_resume(void); Loading include/net/cnss_prealloc.h +6 −1 Original line number Diff line number Diff line /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -21,7 +21,12 @@ extern void *wcnss_prealloc_get(unsigned int size); extern int wcnss_prealloc_put(void *ptr); extern int wcnss_pre_alloc_reset(void); #if !defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || !defined(CONFIG_SLUB_DEBUG) static inline void wcnss_prealloc_check_memory_leak(void) {} #else void wcnss_prealloc_check_memory_leak(void); #endif extern void wcnss_skb_prealloc_check_memory_leak(void); extern int wcnss_skb_pre_alloc_reset(void); Loading Loading
drivers/net/wireless/cnss_prealloc/cnss_prealloc.c +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ #include <linux/skbuff.h> #endif #include <linux/debugfs.h> #include <net/cnss_prealloc.h> static DEFINE_SPINLOCK(alloc_lock); Loading
include/net/cnss.h +0 −4 Original line number Diff line number Diff line Loading @@ -169,10 +169,6 @@ extern void cnss_set_driver_status(enum cnss_driver_status driver_status); static inline int wcnss_pre_alloc_reset(void) { return 0; } #endif #if !defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || !defined(CONFIG_SLUB_DEBUG) static inline void wcnss_prealloc_check_memory_leak(void) {} #endif extern int msm_pcie_enumerate(u32 rc_idx); extern int cnss_auto_suspend(void); extern int cnss_auto_resume(void); Loading
include/net/cnss_prealloc.h +6 −1 Original line number Diff line number Diff line /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -21,7 +21,12 @@ extern void *wcnss_prealloc_get(unsigned int size); extern int wcnss_prealloc_put(void *ptr); extern int wcnss_pre_alloc_reset(void); #if !defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || !defined(CONFIG_SLUB_DEBUG) static inline void wcnss_prealloc_check_memory_leak(void) {} #else void wcnss_prealloc_check_memory_leak(void); #endif extern void wcnss_skb_prealloc_check_memory_leak(void); extern int wcnss_skb_pre_alloc_reset(void); Loading