cmb_area 383 drivers/s390/cio/cmf.c static struct cmb_area cmb_area = { cmb_area 384 drivers/s390/cio/cmf.c .lock = __SPIN_LOCK_UNLOCKED(cmb_area.lock), cmb_area 385 drivers/s390/cio/cmf.c .list = LIST_HEAD_INIT(cmb_area.list), cmb_area 401 drivers/s390/cio/cmf.c module_param_named(maxchannels, cmb_area.num_channels, uint, 0444); cmb_area 454 drivers/s390/cio/cmf.c cmb = cmb_area.mem; cmb_area 455 drivers/s390/cio/cmf.c list_for_each_entry(node, &cmb_area.list, cmb_list) { cmb_area 462 drivers/s390/cio/cmf.c if (cmb - cmb_area.mem >= cmb_area.num_channels) { cmb_area 495 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 497 drivers/s390/cio/cmf.c if (!cmb_area.mem) { cmb_area 499 drivers/s390/cio/cmf.c size = sizeof(struct cmb) * cmb_area.num_channels; cmb_area 500 drivers/s390/cio/cmf.c WARN_ON(!list_empty(&cmb_area.list)); cmb_area 502 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 505 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 507 drivers/s390/cio/cmf.c if (cmb_area.mem) { cmb_area 517 drivers/s390/cio/cmf.c cmb_area.mem = mem; cmb_area 518 drivers/s390/cio/cmf.c cmf_activate(cmb_area.mem, CMF_ON); cmb_area 525 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 538 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 549 drivers/s390/cio/cmf.c if (list_empty(&cmb_area.list)) { cmb_area 551 drivers/s390/cio/cmf.c size = sizeof(struct cmb) * cmb_area.num_channels; cmb_area 553 drivers/s390/cio/cmf.c free_pages((unsigned long)cmb_area.mem, get_order(size)); cmb_area 554 drivers/s390/cio/cmf.c cmb_area.mem = NULL; cmb_area 557 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 572 drivers/s390/cio/cmf.c offset = mme ? (struct cmb *)cmb_data->hw_block - cmb_area.mem : 0; cmb_area 780 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 788 drivers/s390/cio/cmf.c if (list_empty(&cmb_area.list)) cmb_area 790 drivers/s390/cio/cmf.c list_add_tail(&cdev->private->cmb_list, &cmb_area.list); cmb_area 793 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 798 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 813 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 825 drivers/s390/cio/cmf.c if (list_empty(&cmb_area.list)) cmb_area 828 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock); cmb_area 1248 drivers/s390/cio/cmf.c spin_lock(&cmb_area.lock); cmb_area 1249 drivers/s390/cio/cmf.c if (!list_empty(&cmb_area.list)) cmb_area 1250 drivers/s390/cio/cmf.c cmf_activate(cmb_area.mem, CMF_ON); cmb_area 1251 drivers/s390/cio/cmf.c spin_unlock(&cmb_area.lock);