• Home
  • Raw
  • Download

Lines Matching refs:fgd

4498 	struct ftrace_graph_data *fgd = m->private;  in __g_next()  local
4500 if (*pos >= *fgd->count) in __g_next()
4502 return &fgd->table[*pos]; in __g_next()
4514 struct ftrace_graph_data *fgd = m->private; in g_start() local
4519 if (!*fgd->count && !*pos) in g_start()
4538 struct ftrace_graph_data *fgd = m->private; in g_show() local
4540 if (fgd->table == ftrace_graph_funcs) in g_show()
4561 struct ftrace_graph_data *fgd) in __ftrace_graph_open() argument
4568 *fgd->count = 0; in __ftrace_graph_open()
4569 memset(fgd->table, 0, fgd->size * sizeof(*fgd->table)); in __ftrace_graph_open()
4574 ret = seq_open(file, fgd->seq_ops); in __ftrace_graph_open()
4577 m->private = fgd; in __ftrace_graph_open()
4580 file->private_data = fgd; in __ftrace_graph_open()
4588 struct ftrace_graph_data *fgd; in ftrace_graph_open() local
4593 fgd = kmalloc(sizeof(*fgd), GFP_KERNEL); in ftrace_graph_open()
4594 if (fgd == NULL) in ftrace_graph_open()
4597 fgd->table = ftrace_graph_funcs; in ftrace_graph_open()
4598 fgd->size = FTRACE_GRAPH_MAX_FUNCS; in ftrace_graph_open()
4599 fgd->count = &ftrace_graph_count; in ftrace_graph_open()
4600 fgd->seq_ops = &ftrace_graph_seq_ops; in ftrace_graph_open()
4602 return __ftrace_graph_open(inode, file, fgd); in ftrace_graph_open()
4608 struct ftrace_graph_data *fgd; in ftrace_graph_notrace_open() local
4613 fgd = kmalloc(sizeof(*fgd), GFP_KERNEL); in ftrace_graph_notrace_open()
4614 if (fgd == NULL) in ftrace_graph_notrace_open()
4617 fgd->table = ftrace_graph_notrace_funcs; in ftrace_graph_notrace_open()
4618 fgd->size = FTRACE_GRAPH_MAX_FUNCS; in ftrace_graph_notrace_open()
4619 fgd->count = &ftrace_graph_notrace_count; in ftrace_graph_notrace_open()
4620 fgd->seq_ops = &ftrace_graph_seq_ops; in ftrace_graph_notrace_open()
4622 return __ftrace_graph_open(inode, file, fgd); in ftrace_graph_notrace_open()
4709 struct ftrace_graph_data *fgd = file->private_data; in ftrace_graph_write() local
4725 ret = ftrace_set_func(fgd->table, fgd->count, fgd->size, in ftrace_graph_write()