/arch/powerpc/platforms/cell/spufs/ |
D | gang.c | 36 kref_init(&gang->kref); in alloc_spu_gang() 46 static void destroy_spu_gang(struct kref *kref) in destroy_spu_gang() argument 49 gang = container_of(kref, struct spu_gang, kref); in destroy_spu_gang() 56 kref_get(&gang->kref); in get_spu_gang() 62 return kref_put(&gang->kref, &destroy_spu_gang); in put_spu_gang()
|
D | context.c | 51 kref_init(&ctx->kref); in alloc_spu_context() 82 void destroy_spu_context(struct kref *kref) in destroy_spu_context() argument 85 ctx = container_of(kref, struct spu_context, kref); in destroy_spu_context() 103 kref_get(&ctx->kref); in get_spu_context() 109 return kref_put(&ctx->kref, &destroy_spu_context); in put_spu_context()
|
D | spufs.h | 100 struct kref kref; member 117 struct kref *prof_priv_kref; 118 void ( * prof_priv_release) (struct kref *kref); 161 struct kref kref; member 286 void destroy_spu_context(struct kref *kref);
|
/arch/s390/hypfs/ |
D | hypfs_dbfs.c | 20 kref_init(&data->kref); in hypfs_dbfs_data_alloc() 25 static void hypfs_dbfs_data_free(struct kref *kref) in hypfs_dbfs_data_free() argument 29 data = container_of(kref, struct hypfs_dbfs_data, kref); in hypfs_dbfs_data_free() 44 kref_put(&data->kref, hypfs_dbfs_data_free); in data_free_delayed() 76 kref_get(&data->kref); in dbfs_read() 80 kref_put(&data->kref, hypfs_dbfs_data_free); in dbfs_read()
|
D | hypfs.h | 50 struct kref kref; member
|
/arch/powerpc/platforms/cell/ |
D | spu_notify.c | 55 struct kref *prof_info_kref, in spu_set_profile_private_kref() 56 void (* prof_info_release) (struct kref *kref)) in spu_set_profile_private_kref()
|
/arch/arm/include/asm/ |
D | dma-iommu.h | 22 struct kref kref; member
|
/arch/mips/include/asm/ |
D | clock.h | 29 struct kref kref; member
|
/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 140 struct kref cache_ref; 145 static void destroy_cached_info(struct kref *kref) in destroy_cached_info() argument 149 info = container_of(kref, struct cached_info, cache_ref); in destroy_cached_info() 161 struct kref *ref; in get_cached_info()
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 544 struct kref ref; 551 static void pmf_release_device(struct kref *kref) in pmf_release_device() argument 553 struct pmf_device *dev = container_of(kref, struct pmf_device, ref); in pmf_release_device() 758 static void pmf_release_function(struct kref *kref) in pmf_release_function() argument 761 container_of(kref, struct pmf_function, ref); in pmf_release_function()
|
/arch/powerpc/include/asm/ |
D | spu.h | 224 struct kref *prof_info_kref, 225 void ( * prof_info_release) (struct kref *kref));
|
D | pmac_pfunc.h | 155 struct kref ref;
|
/arch/arm/mm/ |
D | dma-mapping.c | 1834 kref_init(&mapping->kref); in arm_iommu_create_mapping() 1845 static void release_iommu_mapping(struct kref *kref) in release_iommu_mapping() argument 1848 container_of(kref, struct dma_iommu_mapping, kref); in release_iommu_mapping() 1858 kref_put(&mapping->kref, release_iommu_mapping); in arm_iommu_release_mapping() 1882 kref_get(&mapping->kref); in arm_iommu_attach_device() 1909 kref_put(&mapping->kref, release_iommu_mapping); in arm_iommu_detach_device()
|
/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 205 kref_init(&of_node.kref); in test_of_node()
|
/arch/powerpc/platforms/pseries/ |
D | reconfig.c | 73 kref_init(&np->kref); in pSeries_reconfig_add_node()
|
D | dlpar.c | 260 kref_init(&dn->kref); in dlpar_attach_node()
|