Searched refs:rmc (Results 1 – 2 of 2) sorted by relevance
167 sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL); in mesh_rmc_init()168 if (!sdata->u.mesh.rmc) in mesh_rmc_init()170 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init()172 INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); in mesh_rmc_init()178 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_free() local183 if (!sdata->u.mesh.rmc) in mesh_rmc_free()187 hlist_for_each_entry_safe(p, n, &rmc->bucket[i], list) { in mesh_rmc_free()193 kfree(rmc); in mesh_rmc_free()194 sdata->u.mesh.rmc = NULL; in mesh_rmc_free()213 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_check() local[all …]
688 struct mesh_rmc *rmc; member