Home
last modified time | relevance | path

Searched refs:switch_log (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/cell/spufs/
H A Dfile.c2261 return (ctx->switch_log->head - ctx->switch_log->tail) % in spufs_switch_log_used()
2279 if (ctx->switch_log) { in spufs_switch_log_open()
2284 ctx->switch_log = kmalloc_flex(*ctx->switch_log, log, in spufs_switch_log_open()
2287 if (!ctx->switch_log) { in spufs_switch_log_open()
2292 ctx->switch_log->head = ctx->switch_log->tail = 0; in spufs_switch_log_open()
2293 init_waitqueue_head(&ctx->switch_log->wait); in spufs_switch_log_open()
2310 kfree(ctx->switch_log); in spufs_switch_log_release()
[all...]
H A Dspufs.h54 struct switch_log { struct
135 struct switch_log *switch_log; member
H A Dcontext.c84 kfree(ctx->switch_log); in destroy_spu_context()