Lines Matching refs:rbuffer
4495 char *rbuffer;
4633 * The read routine is generic, it relies on the preallocated rbuffer
4643 if (!priv->rbuffer)
4646 return simple_read_from_buffer(buffer, len, offset, priv->rbuffer,
4651 * The write routine is generic, it fills in a preallocated rbuffer
4693 if ((data->rbuffer = kmalloc( 2048, GFP_KERNEL )) == NULL) {
4703 i = sprintf(data->rbuffer, "Status: %s%s%s%s%s%s%s%s%s\n",
4713 sprintf( data->rbuffer+i, "Mode: %x\n"
4743 data->readlen = strlen( data->rbuffer );
4776 if ((data->rbuffer = kmalloc( 4096, GFP_KERNEL )) == NULL) {
4792 j+=sprintf(data->rbuffer+j, "%s: %u\n", statsLabels[i],
5049 if ((data->rbuffer = kmalloc( 2048, GFP_KERNEL )) == NULL) {
5054 kfree (data->rbuffer);
5064 i = sprintf( data->rbuffer,
5093 sprintf( data->rbuffer + i,
5124 data->readlen = strlen( data->rbuffer );
5367 if ((data->rbuffer = kzalloc( 180, GFP_KERNEL )) == NULL) {
5374 kfree (data->rbuffer);
5380 ptr = data->rbuffer;
5396 data->readlen = strlen( data->rbuffer );
5413 if ((data->rbuffer = kmalloc( 104, GFP_KERNEL )) == NULL) {
5421 kfree (data->rbuffer);
5428 ptr = data->rbuffer;
5441 data->readlen = strlen( data->rbuffer );
5457 if ((data->rbuffer = kmalloc( 104, GFP_KERNEL )) == NULL) {
5464 kfree (data->rbuffer);
5471 ptr = data->rbuffer;
5481 data->readlen = strlen( data->rbuffer );
5499 if ((data->rbuffer = kmalloc( 1024, GFP_KERNEL )) == NULL) {
5525 ptr = data->rbuffer;
5545 data->readlen = strlen( data->rbuffer );
5555 kfree(data->rbuffer);