Lines Matching refs:num_sdb
90 unsigned long num_sdb; /* Number of sample-data-blocks */ member
249 unsigned long num_sdb, gfp_t gfp_flags) in realloc_sampling_buffer() argument
279 for (i = 0; i < num_sdb; i++) { in realloc_sampling_buffer()
313 sfb->num_sdb++; in realloc_sampling_buffer()
336 static int alloc_sampling_buffer(struct sf_buffer *sfb, unsigned long num_sdb) in alloc_sampling_buffer() argument
347 sfb->num_sdb = 0; in alloc_sampling_buffer()
357 rc = realloc_sampling_buffer(sfb, num_sdb, GFP_KERNEL); in alloc_sampling_buffer()
386 if (SFB_ALLOC_REG(hwc) > sfb->num_sdb) in sfb_pending_allocs()
387 return SFB_ALLOC_REG(hwc) - sfb->num_sdb; in sfb_pending_allocs()
507 ratio = DIV_ROUND_UP(100 * OVERFLOW_REG(hwc) * cpuhw->sfb.num_sdb, in sfb_account_overflows()
511 num = compute_sfb_extent(ratio, cpuhw->sfb.num_sdb); in sfb_account_overflows()
1193 unsigned long long event_overflow, sampl_overflow, num_sdb; in hw_perf_event_update() local
1208 done = event_overflow = sampl_overflow = num_sdb = 0; in hw_perf_event_update()
1234 num_sdb++; in hw_perf_event_update()
1265 sampl_overflow, 1 + num_sdb); in hw_perf_event_update()
1282 return i % aux->sfb.num_sdb; in aux_sdb_index()
1522 unsigned long num_sdb; in hw_collect_aux() local
1534 num_sdb = aux->sfb.num_sdb; in hw_collect_aux()
1541 num_sdb); in hw_collect_aux()
1563 "pages to overflow\n", aux->sfb.num_sdb); in hw_collect_aux()
1684 sfb->num_sdb = nr_pages; in aux_buffer_setup()
1695 aux->empty_mark = sfb->num_sdb - 1; in aux_buffer_setup()