Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/oprofile/cell/
Dspu_task_sync.c41 struct spu_buffer spu_buff[MAX_NUMNODES * SPUS_PER_NODE]; variable
59 if (spu_buff[spu].head >= spu_buff[spu].tail) { in spu_buff_add()
60 if ((spu_buff[spu].head - spu_buff[spu].tail) in spu_buff_add()
64 } else if (spu_buff[spu].tail > spu_buff[spu].head) { in spu_buff_add()
65 if ((spu_buff[spu].tail - spu_buff[spu].head) in spu_buff_add()
71 spu_buff[spu].buff[spu_buff[spu].head] = value; in spu_buff_add()
72 spu_buff[spu].head++; in spu_buff_add()
74 if (spu_buff[spu].head >= max_spu_buff) in spu_buff_add()
75 spu_buff[spu].head = 0; in spu_buff_add()
101 if (spu_buff[spu].buff == NULL) in sync_spu_buff()
[all …]