Lines Matching defs:records

426 	struct ftrace_profile		records[];
438 (PAGE_SIZE - offsetof(struct ftrace_profile_page, records))
465 if ((void *)rec >= (void *)&pg->records[pg->index]) {
469 rec = &pg->records[0];
485 return function_stat_next(&stat->start->records[0], 0);
603 memset(pg->records, 0, PROFILE_RECORDS_SIZE);
773 rec = &stat->pages->records[stat->pages->index++];
1117 struct dyn_ftrace *records;
1541 rec = &pg->records[_____i];
1571 end < pg->records[0].ip ||
1572 start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE))
1574 rec = bsearch(&key, pg->records, pg->index,
1715 * If the count is zero, we update all records.
1751 * Only the filter_hash affects all records.
1871 /* Shortcut, if we handled all records, we are done. */
2200 * If we are disabling calls, then disable all records that
2357 * The records that represent all functions that can be traced need
2724 * the records that represent address locations where functions
2727 * May return NULL if no records are available.
2784 return &iter->pg->records[iter->index];
3203 * To prevent this, the module's records are set as disabled
3218 p = &pg->records[i];
3253 pg->records = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order);
3255 if (!pg->records) {
3280 if (pg->records) {
3281 free_pages((unsigned long)pg->records, pg->order);
3577 rec = &iter->pg->records[iter->idx++];
4219 rec = &pg->records[index];
6559 end_offset = (pg->index+1) * sizeof(pg->records[0]);
6567 rec = &pg->records[pg->index++];
6715 rec = &pg->records[i];
6727 /* Clear any records from hashes */
6788 rec = &pg->records[0];
6817 if (pg->records) {
6818 free_pages((unsigned long)pg->records, pg->order);
6877 * reference counts for those function records.
7166 if (end < pg->records[0].ip ||
7167 start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE))
7170 rec = bsearch(&key, pg->records, pg->index,
7186 if (pg->records) {
7187 free_pages((unsigned long)pg->records, pg->order);
7198 (pg->index - (rec - pg->records)) * sizeof(*rec));