Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/cell/
H A Dspu_syscalls.c20 static struct spufs_calls *spufs_calls; variable
24 static inline struct spufs_calls *spufs_calls_get(void) in spufs_calls_get()
26 struct spufs_calls *calls = NULL; in spufs_calls_get()
29 calls = rcu_dereference(spufs_calls); in spufs_calls_get()
37 static inline void spufs_calls_put(struct spufs_calls *calls) in spufs_calls_put()
42 BUG_ON(calls != spufs_calls); in spufs_calls_put()
45 module_put(spufs_calls->owner); in spufs_calls_put()
50 static inline struct spufs_calls *spufs_calls_get(void) in spufs_calls_get()
52 return spufs_calls; in spufs_calls_get()
55 static inline void spufs_calls_put(struct spufs_calls *calls) { } in spufs_calls_put()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dsyscalls.c80 struct spufs_calls spufs_calls = { variable
H A Dspufs.h232 extern struct spufs_calls spufs_calls;
H A Dinode.c793 ret = register_spu_syscalls(&spufs_calls); in spufs_init()
805 unregister_spu_syscalls(&spufs_calls); in spufs_init()
819 unregister_spu_syscalls(&spufs_calls); in spufs_exit()
/linux/arch/powerpc/include/asm/
H A Dspu.h214 struct spufs_calls { struct
246 int register_spu_syscalls(struct spufs_calls *calls); argument
247 void unregister_spu_syscalls(struct spufs_calls *calls);