master_image 1603 drivers/vme/bridges/vme_ca91cx42.c struct vme_master_resource *master_image; master_image 1675 drivers/vme/bridges/vme_ca91cx42.c master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); master_image 1676 drivers/vme/bridges/vme_ca91cx42.c if (!master_image) { master_image 1680 drivers/vme/bridges/vme_ca91cx42.c master_image->parent = ca91cx42_bridge; master_image 1681 drivers/vme/bridges/vme_ca91cx42.c spin_lock_init(&master_image->lock); master_image 1682 drivers/vme/bridges/vme_ca91cx42.c master_image->locked = 0; master_image 1683 drivers/vme/bridges/vme_ca91cx42.c master_image->number = i; master_image 1684 drivers/vme/bridges/vme_ca91cx42.c master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | master_image 1686 drivers/vme/bridges/vme_ca91cx42.c master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | master_image 1688 drivers/vme/bridges/vme_ca91cx42.c master_image->width_attr = VME_D8 | VME_D16 | VME_D32 | VME_D64; master_image 1689 drivers/vme/bridges/vme_ca91cx42.c memset(&master_image->bus_resource, 0, master_image 1690 drivers/vme/bridges/vme_ca91cx42.c sizeof(master_image->bus_resource)); master_image 1691 drivers/vme/bridges/vme_ca91cx42.c master_image->kern_base = NULL; master_image 1692 drivers/vme/bridges/vme_ca91cx42.c list_add_tail(&master_image->list, master_image 1820 drivers/vme/bridges/vme_ca91cx42.c master_image = list_entry(pos, struct vme_master_resource, master_image 1823 drivers/vme/bridges/vme_ca91cx42.c kfree(master_image); master_image 1846 drivers/vme/bridges/vme_ca91cx42.c struct vme_master_resource *master_image; master_image 1904 drivers/vme/bridges/vme_ca91cx42.c master_image = list_entry(pos, struct vme_master_resource, master_image 1907 drivers/vme/bridges/vme_ca91cx42.c kfree(master_image); master_image 1070 drivers/vme/bridges/vme_fake.c struct vme_master_resource *master_image; master_image 1109 drivers/vme/bridges/vme_fake.c master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); master_image 1110 drivers/vme/bridges/vme_fake.c if (!master_image) { master_image 1114 drivers/vme/bridges/vme_fake.c master_image->parent = fake_bridge; master_image 1115 drivers/vme/bridges/vme_fake.c spin_lock_init(&master_image->lock); master_image 1116 drivers/vme/bridges/vme_fake.c master_image->locked = 0; master_image 1117 drivers/vme/bridges/vme_fake.c master_image->number = i; master_image 1118 drivers/vme/bridges/vme_fake.c master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | master_image 1120 drivers/vme/bridges/vme_fake.c master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | master_image 1124 drivers/vme/bridges/vme_fake.c master_image->width_attr = VME_D16 | VME_D32; master_image 1125 drivers/vme/bridges/vme_fake.c memset(&master_image->bus_resource, 0, master_image 1127 drivers/vme/bridges/vme_fake.c master_image->kern_base = NULL; master_image 1128 drivers/vme/bridges/vme_fake.c list_add_tail(&master_image->list, master_image 1227 drivers/vme/bridges/vme_fake.c master_image = list_entry(pos, struct vme_master_resource, master_image 1230 drivers/vme/bridges/vme_fake.c kfree(master_image); master_image 1246 drivers/vme/bridges/vme_fake.c struct vme_master_resource *master_image; master_image 1284 drivers/vme/bridges/vme_fake.c master_image = list_entry(pos, struct vme_master_resource, master_image 1287 drivers/vme/bridges/vme_fake.c kfree(master_image); master_image 2282 drivers/vme/bridges/vme_tsi148.c struct vme_master_resource *master_image; master_image 2380 drivers/vme/bridges/vme_tsi148.c master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); master_image 2381 drivers/vme/bridges/vme_tsi148.c if (!master_image) { master_image 2385 drivers/vme/bridges/vme_tsi148.c master_image->parent = tsi148_bridge; master_image 2386 drivers/vme/bridges/vme_tsi148.c spin_lock_init(&master_image->lock); master_image 2387 drivers/vme/bridges/vme_tsi148.c master_image->locked = 0; master_image 2388 drivers/vme/bridges/vme_tsi148.c master_image->number = i; master_image 2389 drivers/vme/bridges/vme_tsi148.c master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | master_image 2392 drivers/vme/bridges/vme_tsi148.c master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | master_image 2396 drivers/vme/bridges/vme_tsi148.c master_image->width_attr = VME_D16 | VME_D32; master_image 2397 drivers/vme/bridges/vme_tsi148.c memset(&master_image->bus_resource, 0, master_image 2398 drivers/vme/bridges/vme_tsi148.c sizeof(master_image->bus_resource)); master_image 2399 drivers/vme/bridges/vme_tsi148.c master_image->kern_base = NULL; master_image 2400 drivers/vme/bridges/vme_tsi148.c list_add_tail(&master_image->list, master_image 2541 drivers/vme/bridges/vme_tsi148.c master_image = list_entry(pos, struct vme_master_resource, master_image 2544 drivers/vme/bridges/vme_tsi148.c kfree(master_image); master_image 2568 drivers/vme/bridges/vme_tsi148.c struct vme_master_resource *master_image; master_image 2641 drivers/vme/bridges/vme_tsi148.c master_image = list_entry(pos, struct vme_master_resource, master_image 2644 drivers/vme/bridges/vme_tsi148.c kfree(master_image); master_image 497 drivers/vme/vme.c struct vme_master_resource *master_image = NULL; master_image 508 drivers/vme/vme.c master_image = list_entry(master_pos, master_image 511 drivers/vme/vme.c if (!master_image) { master_image 517 drivers/vme/vme.c spin_lock(&master_image->lock); master_image 518 drivers/vme/vme.c if (((master_image->address_attr & address) == address) && master_image 519 drivers/vme/vme.c ((master_image->cycle_attr & cycle) == cycle) && master_image 520 drivers/vme/vme.c ((master_image->width_attr & dwidth) == dwidth) && master_image 521 drivers/vme/vme.c (master_image->locked == 0)) { master_image 523 drivers/vme/vme.c master_image->locked = 1; master_image 524 drivers/vme/vme.c spin_unlock(&master_image->lock); master_image 525 drivers/vme/vme.c allocated_image = master_image; master_image 528 drivers/vme/vme.c spin_unlock(&master_image->lock); master_image 548 drivers/vme/vme.c spin_lock(&master_image->lock); master_image 549 drivers/vme/vme.c master_image->locked = 0; master_image 550 drivers/vme/vme.c spin_unlock(&master_image->lock); master_image 832 drivers/vme/vme.c struct vme_master_resource *master_image; master_image 839 drivers/vme/vme.c master_image = list_entry(resource->entry, struct vme_master_resource, master_image 841 drivers/vme/vme.c if (!master_image) { master_image 847 drivers/vme/vme.c spin_lock(&master_image->lock); master_image 848 drivers/vme/vme.c if (master_image->locked == 0) master_image 851 drivers/vme/vme.c master_image->locked = 0; master_image 852 drivers/vme/vme.c spin_unlock(&master_image->lock);