Searched refs:num_sdb (Results 1 – 1 of 1) sorted by relevance
90 unsigned long num_sdb; /* Number of sample-data-blocks */ member249 unsigned long num_sdb, gfp_t gfp_flags) in realloc_sampling_buffer() argument279 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() argument347 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()[all …]