Searched refs:num_sdb (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/s390/kernel/
H A Dperf_cpum_sf.c75 unsigned long num_sdb; /* Number of sample-data-blocks */ member in struct:sf_buffer
185 unsigned long num_sdb, gfp_t gfp_flags) realloc_sampling_buffer()
216 for (i = 0; i < num_sdb; i++) { realloc_sampling_buffer()
238 sfb->num_sdb++; realloc_sampling_buffer()
248 sfb->num_sdbt, sfb->num_sdb); realloc_sampling_buffer()
263 static int alloc_sampling_buffer(struct sf_buffer *sfb, unsigned long num_sdb) alloc_sampling_buffer() argument
274 sfb->num_sdb = 0; alloc_sampling_buffer()
284 rc = realloc_sampling_buffer(sfb, num_sdb, GFP_KERNEL); alloc_sampling_buffer()
319 if (SFB_ALLOC_REG(hwc) > sfb->num_sdb) sfb_pending_allocs()
320 return SFB_ALLOC_REG(hwc) - sfb->num_sdb; sfb_pending_allocs()
496 ratio = DIV_ROUND_UP(100 * OVERFLOW_REG(hwc) * cpuhw->sfb.num_sdb, sfb_account_overflows()
500 num = compute_sfb_extent(ratio, cpuhw->sfb.num_sdb); sfb_account_overflows()
529 num_old = sfb->num_sdb; extend_sampling_buffer()
549 num, sfb->num_sdb - num_old, extend_sampling_buffer()
1220 unsigned long long event_overflow, sampl_overflow, num_sdb, te_flags; hw_perf_event_update() local
1227 done = event_overflow = sampl_overflow = num_sdb = 0; hw_perf_event_update()
1258 num_sdb++; hw_perf_event_update()
1292 sampl_overflow, 1 + num_sdb); hw_perf_event_update()
184 realloc_sampling_buffer(struct sf_buffer *sfb, unsigned long num_sdb, gfp_t gfp_flags) realloc_sampling_buffer() argument
/linux-4.1.27/arch/s390/oprofile/
H A Dhwsampler.c59 static unsigned long num_sdb = 511; variable
280 for (k = 0; k < num_sdb; k++) { allocate_sdbt()
900 num_sdb = sdb; hwsampler_allocate()

Completed in 96 milliseconds