Searched refs:watermark (Results 1 – 4 of 4) sorted by relevance
/kernel/events/ |
D | ring_buffer.c | 232 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin() 233 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin() 309 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() argument 313 if (watermark) in ring_buffer_init() 314 rb->watermark = min(max_size, watermark); in ring_buffer_init() 316 if (!rb->watermark) in ring_buffer_init() 317 rb->watermark = max_size / 2; in ring_buffer_init() 671 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument 685 if (!watermark) in rb_alloc_aux() 686 watermark = nr_pages << (PAGE_SHIFT - 1); in rb_alloc_aux() [all …]
|
D | internal.h | 32 long watermark; /* wakeup watermark */ member 80 rb_alloc(int nr_pages, long watermark, int cpu, int flags); 83 pgoff_t pgoff, int nr_pages, long watermark, int flags);
|
D | core.c | 6422 event->attr.watermark ? event->attr.wakeup_watermark : 0, in perf_mmap() 7271 if (!event->attr.watermark) { in perf_output_sample()
|
/kernel/cgroup/ |
D | pids.c | 50 int64_t watermark; member 95 if (nr_pids > READ_ONCE(p->watermark)) in pids_update_watermark() 96 WRITE_ONCE(p->watermark, nr_pids); in pids_update_watermark() 339 return READ_ONCE(pids->watermark); in pids_peak_read()
|