Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/
A Dfile.c2289 return (ctx->switch_log->head - ctx->switch_log->tail) % in spufs_switch_log_used()
2307 if (ctx->switch_log) { in spufs_switch_log_open()
2312 ctx->switch_log = kmalloc(struct_size(ctx->switch_log, log, in spufs_switch_log_open()
2315 if (!ctx->switch_log) { in spufs_switch_log_open()
2320 ctx->switch_log->head = ctx->switch_log->tail = 0; in spufs_switch_log_open()
2338 kfree(ctx->switch_log); in spufs_switch_log_release()
2339 ctx->switch_log = NULL; in spufs_switch_log_release()
2349 p = ctx->switch_log->log + ctx->switch_log->tail % SWITCH_LOG_BUFSIZE; in switch_log_sprint()
2468 if (!ctx->switch_log) in spu_switch_log_notify()
2474 p = ctx->switch_log->log + ctx->switch_log->head; in spu_switch_log_notify()
[all …]
A Dspufs.h54 struct switch_log { struct
135 struct switch_log *switch_log; member
A Dcontext.c84 kfree(ctx->switch_log); in destroy_spu_context()

Completed in 10 milliseconds