Home | History | Annotate | Download | only in module

Lines Matching refs:buffer

89 	 * This will mean that approaching the end of the buffer, a number of the
91 * take long; a pathological case could cause buffer overflow.
122 struct op_sample * samples = &data->buffer[data->nextbuf];
148 /* which buffer nr. is waiting to be read ? */
169 /* if we reach the end of the buffer, just pin
175 printk(KERN_WARNING "note buffer overflow: restart "
176 "oprofile with a larger note buffer.\n");
264 "You must increase the module buffer size with\n"
293 oprof_data[cpu_nr].buffer, size))
332 * for final buffer data. If it's not set, then we
423 if (oprof_data[i].buffer)
424 vfree(oprof_data[i].buffer);
425 oprof_data[i].buffer = NULL;
441 printk(KERN_ERR "oprofile: failed to allocate note buffer of %u bytes\n",
451 data->buffer = 0;
461 data->buffer = vmalloc(buf_size);
462 if (!data->buffer) {
463 printk(KERN_ERR "oprofile: failed to allocate eviction buffer of %lu bytes\n", buf_size);
468 memset(data->buffer, 0, buf_size);
564 * reset the map buffer stuff and ready values
566 * Nothing will be able to write into the map buffer because
638 static int get_nr_interrupts(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
655 ret = proc_dointvec(table, write, filp, buffer, lenp);
661 static int get_nr_buffer_overflow(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
676 ret = proc_dointvec(table, write, filp, buffer, lenp);
682 int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
687 err = proc_dointvec(table, write, filp, buffer, lenp);
702 static int sysctl_do_dump(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
712 err = proc_dointvec(table, write, filp, buffer, lenp);
724 static int sysctl_do_dump_stop(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
734 buffer, lenp);