Lines Matching full:sdb
34 * A table contains SDB pointers (8 bytes) and one table-link entry
60 * 1 page for SDB-tables
64 * 16 pages for SDB-tables
81 unsigned long head; /* index of SDB of buffer head */
82 unsigned long alert_mark; /* index of SDB of alert request position */
83 unsigned long empty_mark; /* mark of SDB not marked full */
84 unsigned long *sdb_index; /* SDB address for fast lookup */
203 /* Process SDB pointer */ in free_sampling_buffer()
219 unsigned long sdb; in alloc_sample_data_block() local
222 sdb = get_zeroed_page(gfp_flags); in alloc_sample_data_block()
223 if (!sdb) in alloc_sample_data_block()
225 te = trailer_entry_ptr(sdb); in alloc_sample_data_block()
228 /* Link SDB into the sample-data-block-table */ in alloc_sample_data_block()
229 *sdbt = virt_to_phys((void *)sdb); in alloc_sample_data_block()
260 * entry in an SDB-table. in realloc_sampling_buffer()
279 /* Allocate a new SDB-table if it is full. */ in realloc_sampling_buffer()
300 /* Undo last SDBT. An SDBT with no SDB at its first in realloc_sampling_buffer()
322 " settings: sdbt %lu sdb %lu\n", __func__, in realloc_sampling_buffer()
331 * specified number of sample-data-blocks (SDB). For each allocation,
441 * sample-data-blocks (SDB). This is done per SDB. This in allocate_buffers()
443 * one SDB, on very high frequency and work loads there might in allocate_buffers()
454 * (one SDB) for every 10000 HZ frequency increment. in allocate_buffers()
477 "%s: rate %lu f %lu sdb %lu/%lu" in allocate_buffers()
573 * new SDB-request cannot be satisfied immediately. in extend_sampling_buffer()
1280 unsigned long *sdbt, sdb; in hw_perf_event_update() local
1294 sdb = (unsigned long)phys_to_virt(*sdbt); in hw_perf_event_update()
1295 te = trailer_entry_ptr(sdb); in hw_perf_event_update()
1315 __func__, sdb, (unsigned long)sdbt, in hw_perf_event_update()
1323 hw_collect_samples(event, (unsigned long *)sdb, &event_overflow); in hw_perf_event_update()
1402 * Get trailer entry by index of SDB.
1407 unsigned long sdb; in aux_sdb_trailer() local
1410 sdb = aux->sdb_index[index]; in aux_sdb_trailer()
1411 return trailer_entry_ptr(sdb); in aux_sdb_trailer()
1517 * Set alert indicator on SDB at index @alert_index while sampler is running.
1536 * SDB is already set by hardware. in aux_set_alert()
1555 * Set alert indicator on the SDB at index of aux->alert_mark. If this SDB is
1592 * Set alert indicator on empty SDB. Should check race in aux_reset_buffer()
1600 * Start scanning from one SDB behind empty_mark. If the new alert in aux_reset_buffer()
1714 /* Free SDBT. SDB is freed by the caller */ in aux_buffer_free()
1726 static void aux_sdb_init(unsigned long sdb) in aux_sdb_init() argument
1730 te = trailer_entry_ptr(sdb); in aux_sdb_init()
1951 * using the SDB-table start. Reset TEAR_REG event hardware register in cpumsf_pmu_add()