Go to the documentation of this file.
33 #include <asm/spu_info.h>
35 #define SPUFS_PS_MAP_SIZE 0x20000
36 #define SPUFS_MFC_MAP_SIZE 0x1000
37 #define SPUFS_CNTL_MAP_SIZE 0x1000
38 #define SPUFS_CNTL_MAP_SIZE 0x1000
39 #define SPUFS_SIGNAL_MAP_SIZE PAGE_SIZE
40 #define SPUFS_MSS_MAP_SIZE 0x1000
137 unsigned long long times[SPU_UTIL_MAX];
173 #define AFF_OFFSETS_SET 1
234 #define SPUFS_I(inode) \
235 container_of(inode, struct spufs_inode_info, vfs_inode)
321 #define spufs_wait(wq, condition) \
324 DEFINE_WAIT(__wait); \
326 prepare_to_wait(&(wq), &__wait, TASK_INTERRUPTIBLE); \
330 if (signal_pending(current)) { \
331 __ret = -ERESTARTSYS; \
335 __ret = spu_acquire(ctx); \
339 finish_wait(&(wq), &__wait); \
366 extern int spu_save(
struct spu_state *
prev,
struct spu *spu);
367 extern int spu_restore(
struct spu_state *
new,
struct spu *spu);
368 extern int spu_switch(
struct spu_state *
prev,
struct spu_state *
new,