Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/oprofile/cell/
Dspu_task_sync.c37 struct spu_buffer spu_buff[MAX_NUMNODES * SPUS_PER_NODE]; variable
55 if (spu_buff[spu].head >= spu_buff[spu].tail) { in spu_buff_add()
56 if ((spu_buff[spu].head - spu_buff[spu].tail) in spu_buff_add()
60 } else if (spu_buff[spu].tail > spu_buff[spu].head) { in spu_buff_add()
61 if ((spu_buff[spu].tail - spu_buff[spu].head) in spu_buff_add()
67 spu_buff[spu].buff[spu_buff[spu].head] = value; in spu_buff_add()
68 spu_buff[spu].head++; in spu_buff_add()
70 if (spu_buff[spu].head >= max_spu_buff) in spu_buff_add()
71 spu_buff[spu].head = 0; in spu_buff_add()
97 if (spu_buff[spu].buff == NULL) in sync_spu_buff()
[all …]