Searched refs:cmb_area (Results 1 – 1 of 1) sorted by relevance
377 struct cmb_area { struct384 static struct cmb_area cmb_area = { argument385 .lock = __SPIN_LOCK_UNLOCKED(cmb_area.lock),386 .list = LIST_HEAD_INIT(cmb_area.list),402 module_param_named(maxchannels, cmb_area.num_channels, uint, 0444);455 cmb = cmb_area.mem; in alloc_cmb_single()456 list_for_each_entry(node, &cmb_area.list, cmb_list) { in alloc_cmb_single()463 if (cmb - cmb_area.mem >= cmb_area.num_channels) { in alloc_cmb_single()496 spin_lock(&cmb_area.lock); in alloc_cmb()498 if (!cmb_area.mem) { in alloc_cmb()[all …]