dev_mappings 48 drivers/staging/gasket/gasket_sysfs.c static struct gasket_sysfs_mapping dev_mappings[GASKET_SYSFS_NUM_MAPPINGS]; dev_mappings 62 drivers/staging/gasket/gasket_sysfs.c mutex_lock(&dev_mappings[i].mutex); dev_mappings 63 drivers/staging/gasket/gasket_sysfs.c if (dev_mappings[i].device == device) { dev_mappings 64 drivers/staging/gasket/gasket_sysfs.c kref_get(&dev_mappings[i].refcount); dev_mappings 65 drivers/staging/gasket/gasket_sysfs.c mutex_unlock(&dev_mappings[i].mutex); dev_mappings 66 drivers/staging/gasket/gasket_sysfs.c return &dev_mappings[i]; dev_mappings 68 drivers/staging/gasket/gasket_sysfs.c mutex_unlock(&dev_mappings[i].mutex); dev_mappings 147 drivers/staging/gasket/gasket_sysfs.c dev_mappings[i].device = NULL; dev_mappings 148 drivers/staging/gasket/gasket_sysfs.c mutex_init(&dev_mappings[i].mutex); dev_mappings 179 drivers/staging/gasket/gasket_sysfs.c mutex_lock(&dev_mappings[map_idx].mutex); dev_mappings 180 drivers/staging/gasket/gasket_sysfs.c if (!dev_mappings[map_idx].device) dev_mappings 183 drivers/staging/gasket/gasket_sysfs.c mutex_unlock(&dev_mappings[map_idx].mutex); dev_mappings 195 drivers/staging/gasket/gasket_sysfs.c mapping = &dev_mappings[map_idx];