Home
last modified time | relevance | path

Searched refs:spufs_calls (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/platforms/cell/
Dspu_syscalls.c33 static struct spufs_calls *spufs_calls; variable
37 static inline struct spufs_calls *spufs_calls_get(void) in spufs_calls_get()
39 struct spufs_calls *calls = NULL; in spufs_calls_get()
42 calls = rcu_dereference(spufs_calls); in spufs_calls_get()
50 static inline void spufs_calls_put(struct spufs_calls *calls) in spufs_calls_put()
52 BUG_ON(calls != spufs_calls); in spufs_calls_put()
55 module_put(spufs_calls->owner); in spufs_calls_put()
60 static inline struct spufs_calls *spufs_calls_get(void) in spufs_calls_get()
62 return spufs_calls; in spufs_calls_get()
65 static inline void spufs_calls_put(struct spufs_calls *calls) { } in spufs_calls_put()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dsyscalls.c79 struct spufs_calls spufs_calls = { variable
Dspufs.h248 extern struct spufs_calls spufs_calls;
Dinode.c777 ret = register_spu_syscalls(&spufs_calls); in spufs_init()
789 unregister_spu_syscalls(&spufs_calls); in spufs_init()
803 unregister_spu_syscalls(&spufs_calls); in spufs_exit()
/arch/powerpc/include/asm/
Dspu.h241 struct spufs_calls { struct
273 int register_spu_syscalls(struct spufs_calls *calls); argument
274 void unregister_spu_syscalls(struct spufs_calls *calls);