Searched refs:stat (Results 1 – 7 of 7) sorted by relevance
/kernel/trace/ |
D | trace_stat.c | 27 void *stat; member 52 session->ts->stat_release(snode->stat); in __reset_stat_session() 76 static int insert_stat(struct rb_root *root, void *stat, cmp_stat_t cmp) in insert_stat() argument 84 data->stat = stat; in insert_stat() 95 result = cmp(data->stat, this->stat); in insert_stat() 128 void *stat; in stat_seq_init() local 138 stat = ts->stat_start(ts); in stat_seq_init() 139 if (!stat) in stat_seq_init() 142 ret = insert_stat(root, stat, ts->stat_cmp); in stat_seq_init() 150 stat = ts->stat_next(stat, i); in stat_seq_init() [all …]
|
D | ftrace.c | 481 struct tracer_stat stat; member 526 struct ftrace_profile_stat *stat = in function_stat_start() local 527 container_of(trace, struct ftrace_profile_stat, stat); in function_stat_start() 529 if (!stat || !stat->start) in function_stat_start() 532 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 638 static void ftrace_profile_reset(struct ftrace_profile_stat *stat) in ftrace_profile_reset() argument 642 pg = stat->pages = stat->start; in ftrace_profile_reset() 650 memset(stat->hash, 0, in ftrace_profile_reset() 654 int ftrace_profile_pages_init(struct ftrace_profile_stat *stat) in ftrace_profile_pages_init() argument 662 if (stat->pages) in ftrace_profile_pages_init() [all …]
|
D | ring_buffer_benchmark.c | 189 enum event_status stat; in ring_buffer_consumer() local 192 stat = read_event(cpu); in ring_buffer_consumer() 194 stat = read_page(cpu); in ring_buffer_consumer() 198 if (stat == EVENT_FOUND) in ring_buffer_consumer()
|
D | trace_stat.h | 22 void (*stat_release)(void *stat);
|
/kernel/ |
D | kexec.c | 351 struct kstat stat; in copy_file_from_fd() local 358 ret = vfs_getattr(&f.file->f_path, &stat); in copy_file_from_fd() 362 if (stat.size > INT_MAX) { in copy_file_from_fd() 368 if (stat.size == 0) { in copy_file_from_fd() 373 *buf = vmalloc(stat.size); in copy_file_from_fd() 380 while (pos < stat.size) { in copy_file_from_fd() 382 stat.size - pos); in copy_file_from_fd() 394 if (pos != stat.size) { in copy_file_from_fd()
|
D | module.c | 2545 struct kstat stat; in copy_module_from_fd() local 2556 err = vfs_getattr(&f.file->f_path, &stat); in copy_module_from_fd() 2560 if (stat.size > INT_MAX) { in copy_module_from_fd() 2566 if (stat.size == 0) { in copy_module_from_fd() 2571 info->hdr = vmalloc(stat.size); in copy_module_from_fd() 2578 while (pos < stat.size) { in copy_module_from_fd() 2580 stat.size - pos); in copy_module_from_fd()
|
/kernel/sched/ |
D | core.c | 1946 goto stat; in try_to_wake_up() 1984 stat: in try_to_wake_up()
|