Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Ddmaengine.h120 local_inc(&(per_cpu_ptr(chan->local, get_cpu())->refcount)); in dma_chan_get()
130 local_dec(&(per_cpu_ptr(chan->local, get_cpu())->refcount)); in dma_chan_put()
227 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len; in dma_async_memcpy_buf_to_buf()
228 per_cpu_ptr(chan->local, cpu)->memcpy_count++; in dma_async_memcpy_buf_to_buf()
251 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len; in dma_async_memcpy_buf_to_pg()
252 per_cpu_ptr(chan->local, cpu)->memcpy_count++; in dma_async_memcpy_buf_to_pg()
278 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len; in dma_async_memcpy_pg_to_pg()
279 per_cpu_ptr(chan->local, cpu)->memcpy_count++; in dma_async_memcpy_pg_to_pg()
Dpercpu.h29 #define per_cpu_ptr(ptr, cpu) \ macro
40 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) macro
Dgenhd.h148 (per_cpu_ptr(gendiskp->dkstats, smp_processor_id())->field += addnd)
155 res += per_cpu_ptr(gendiskp->dkstats, i)->field; \
162 memset(per_cpu_ptr(gendiskp->dkstats, i), value, in disk_stat_set_all()