Lines Matching refs:sdbt

300 	unsigned long *sdbt;  in allocate_sdbt()  local
311 sdbt = NULL; in allocate_sdbt()
312 tail = sdbt; in allocate_sdbt()
315 sdbt = (unsigned long *)get_zeroed_page(GFP_KERNEL); in allocate_sdbt()
320 if (oom_killer_was_active || !sdbt) { in allocate_sdbt()
321 if (sdbt) in allocate_sdbt()
322 free_page((unsigned long)sdbt); in allocate_sdbt()
327 cb->first_sdbt = (unsigned long)sdbt; in allocate_sdbt()
331 *tail = (unsigned long)(void *)sdbt + 1; in allocate_sdbt()
348 *sdbt = sdb; in allocate_sdbt()
349 trailer = trailer_entry_ptr(*sdbt); in allocate_sdbt()
351 sdbt++; in allocate_sdbt()
354 tail = sdbt; in allocate_sdbt()
389 unsigned long sdbt; in deallocate_sdbt() local
398 sdbt = cb->first_sdbt; in deallocate_sdbt()
399 curr = (unsigned long *) sdbt; in deallocate_sdbt()
400 start = sdbt; in deallocate_sdbt()
404 if (!*curr || !sdbt) in deallocate_sdbt()
410 if (sdbt) in deallocate_sdbt()
411 free_page(sdbt); in deallocate_sdbt()
417 sdbt = (unsigned long) curr; in deallocate_sdbt()
757 unsigned long *sdbt; in worker_check_error() local
762 sdbt = (unsigned long *) cb->worker_entry; in worker_check_error()
764 if (!sdbt || !*sdbt) in worker_check_error()
826 unsigned long *sdbt; in worker_on_interrupt() local
832 sdbt = (unsigned long *) cb->worker_entry; in worker_on_interrupt()
842 trailer = trailer_entry_ptr(*sdbt); in worker_on_interrupt()
853 add_samples_to_oprofile(cpu, sdbt, dear); in worker_on_interrupt()
859 sdbt++; in worker_on_interrupt()
861 if (is_link_entry(sdbt)) in worker_on_interrupt()
862 sdbt = get_next_sdbt(sdbt); in worker_on_interrupt()
864 cb->worker_entry = (unsigned long)sdbt; in worker_on_interrupt()
868 static void add_samples_to_oprofile(unsigned int cpu, unsigned long *sdbt, in add_samples_to_oprofile() argument
874 trailer = trailer_entry_ptr(*sdbt); in add_samples_to_oprofile()
881 sample_data_ptr = (struct hws_data_entry *)(*sdbt); in add_samples_to_oprofile()
953 int hwsampler_allocate(unsigned long sdbt, unsigned long sdb) in hwsampler_allocate() argument
962 if (sdbt < 1) in hwsampler_allocate()
968 num_sdbt = sdbt; in hwsampler_allocate()