Lines Matching defs:buffer
185 * Returns : pointer to a static buffer containing null terminated string.
199 /* Prototype: int powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
202 * : buffer - buffer containing string describing operation
207 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
211 if (length >= 12 && strncmp(buffer, "POWERTECSCSI", 12) == 0) {
212 buffer += 12;
215 if (length >= 5 && strncmp(buffer, "term=", 5) == 0) {
216 if (buffer[5] == '1')
218 else if (buffer[5] == '0')
230 /* Prototype: int powertecscsi_proc_info(char *buffer, char **start, off_t offset,
234 * Params : buffer - a buffer to write information to
235 * start - a pointer into this buffer set by this routine to the start
238 * length - length of buffer
240 * Returns : length of data written to buffer.