/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 | 48 kref_init(&ctx->kref); in alloc_spu_context() 77 void destroy_spu_context(struct kref *kref) in destroy_spu_context() argument 80 ctx = container_of(kref, struct spu_context, kref); in destroy_spu_context() 98 kref_get(&ctx->kref); in get_spu_context() 104 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/powerpc/platforms/cell/ |
D | spu_notify.c | 54 struct kref *prof_info_kref, in spu_set_profile_private_kref() 55 void (* prof_info_release) (struct kref *kref)) in spu_set_profile_private_kref()
|
/arch/sh/kernel/cpu/ |
D | clock.c | 100 if (unlikely(atomic_read(&clk->kref.refcount) == 1)) in __clk_enable() 104 kref_get(&clk->kref); in __clk_enable() 133 static void clk_kref_release(struct kref *kref) in clk_kref_release() argument 140 int count = kref_put(&clk->kref, clk_kref_release); in __clk_disable() 171 kref_init(&clk->kref); in clk_register() 325 (atomic_read(&clk->kref.refcount) != 1)) ? in show_clocks()
|
/arch/sh/include/asm/ |
D | clock.h | 30 struct kref kref; member
|
/arch/sparc/include/asm/ |
D | prom.h | 59 struct kref kref; member
|
/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 139 struct kref cache_ref; 144 static void destroy_cached_info(struct kref *kref) in destroy_cached_info() argument 148 info = container_of(kref, struct cached_info, cache_ref); in destroy_cached_info() 160 struct kref *ref; in get_cached_info()
|
/arch/powerpc/kernel/ |
D | prom.c | 324 kref_init(&np->kref); in unflatten_dt_node() 1356 kref_get(&node->kref); in of_node_get() 1361 static inline struct device_node * kref_to_device_node(struct kref *kref) in kref_to_device_node() argument 1363 return container_of(kref, struct device_node, kref); in kref_to_device_node() 1373 static void of_node_release(struct kref *kref) in of_node_release() argument 1375 struct device_node *node = kref_to_device_node(kref); in of_node_release() 1382 kref_init(&node->kref); in of_node_release() 1415 kref_put(&node->kref, of_node_release); in of_node_put()
|
/arch/powerpc/include/asm/ |
D | prom.h | 100 struct kref kref; member
|
D | spu.h | 231 struct kref *prof_info_kref, 232 void ( * prof_info_release) (struct kref *kref));
|
D | pmac_pfunc.h | 155 struct kref ref;
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 543 struct kref ref; 550 static void pmf_release_device(struct kref *kref) in pmf_release_device() argument 552 struct pmf_device *dev = container_of(kref, struct pmf_device, ref); in pmf_release_device() 757 static void pmf_release_function(struct kref *kref) in pmf_release_function() argument 760 container_of(kref, struct pmf_function, ref); in pmf_release_function()
|
/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 203 kref_init(&of_node.kref); in test_of_node()
|
/arch/sparc/kernel/ |
D | prom_common.c | 232 kref_init(&dp->kref); in prom_create_node()
|
/arch/powerpc/platforms/iseries/ |
D | vio.c | 97 kref_init(&np->kref); in new_node()
|
/arch/powerpc/platforms/pseries/ |
D | reconfig.c | 127 kref_init(&np->kref); in pSeries_reconfig_add_node()
|