| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | mesh_pathtbl.c | 52 struct mesh_table *newtbl; in mesh_table_alloc() local 54 newtbl = kmalloc(sizeof(struct mesh_table), GFP_ATOMIC); in mesh_table_alloc() 55 if (!newtbl) in mesh_table_alloc() 58 INIT_HLIST_HEAD(&newtbl->known_gates); in mesh_table_alloc() 59 INIT_HLIST_HEAD(&newtbl->walk_head); in mesh_table_alloc() 60 atomic_set(&newtbl->entries, 0); in mesh_table_alloc() 61 spin_lock_init(&newtbl->gates_lock); in mesh_table_alloc() 62 spin_lock_init(&newtbl->walk_lock); in mesh_table_alloc() 63 if (rhashtable_init(&newtbl->rhead, &mesh_rht_params)) { in mesh_table_alloc() 64 kfree(newtbl); in mesh_table_alloc() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/wds/ |
| H A D | rtw_wds.c | 75 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 77 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 78 if (!newtbl) in rtw_wds_table_alloc() 81 return newtbl; in rtw_wds_table_alloc() 538 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 540 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 541 if (!newtbl) in rtw_wds_gptr_table_alloc() 544 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/wds/ |
| H A D | rtw_wds.c | 74 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 76 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 77 if (!newtbl) in rtw_wds_table_alloc() 80 return newtbl; in rtw_wds_table_alloc() 537 struct rtw_wds_gptr_table *newtbl; in rtw_wds_gptr_table_alloc() local 539 newtbl = rtw_malloc(sizeof(struct rtw_wds_gptr_table)); in rtw_wds_gptr_table_alloc() 540 if (!newtbl) in rtw_wds_gptr_table_alloc() 543 return newtbl; in rtw_wds_gptr_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/wds/ |
| H A D | rtw_wds.c | 73 struct rtw_wds_table *newtbl; in rtw_wds_table_alloc() local 75 newtbl = rtw_malloc(sizeof(struct rtw_wds_table)); in rtw_wds_table_alloc() 76 if (!newtbl) in rtw_wds_table_alloc() 79 return newtbl; in rtw_wds_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 79 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 81 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 82 if (!newtbl) in rtw_mesh_table_alloc() 85 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 86 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 87 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 89 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 79 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 81 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 82 if (!newtbl) in rtw_mesh_table_alloc() 85 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 86 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 87 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 89 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 79 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 81 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 82 if (!newtbl) in rtw_mesh_table_alloc() 85 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 86 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 87 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 89 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 79 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 81 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 82 if (!newtbl) in rtw_mesh_table_alloc() 85 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 86 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 87 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 89 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 79 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 81 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 82 if (!newtbl) in rtw_mesh_table_alloc() 85 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 86 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 87 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 89 return newtbl; in rtw_mesh_table_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/ |
| H A D | rtw_mesh_pathtbl.c | 78 struct rtw_mesh_table *newtbl; in rtw_mesh_table_alloc() local 80 newtbl = rtw_malloc(sizeof(struct rtw_mesh_table)); in rtw_mesh_table_alloc() 81 if (!newtbl) in rtw_mesh_table_alloc() 84 rtw_hlist_head_init(&newtbl->known_gates); in rtw_mesh_table_alloc() 85 ATOMIC_SET(&newtbl->entries, 0); in rtw_mesh_table_alloc() 86 _rtw_spinlock_init(&newtbl->gates_lock); in rtw_mesh_table_alloc() 88 return newtbl; in rtw_mesh_table_alloc()
|