Lines Matching defs:buffer
181 * Returns : pointer to a static buffer containing null terminated string.
195 /* Prototype: int powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
198 * : buffer - buffer containing string describing operation
203 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
207 if (length >= 12 && strncmp(buffer, "POWERTECSCSI", 12) == 0) {
208 buffer += 12;
211 if (length >= 5 && strncmp(buffer, "term=", 5) == 0) {
212 if (buffer[5] == '1')
214 else if (buffer[5] == '0')
226 /* Prototype: int powertecscsi_proc_info(char *buffer, char **start, off_t offset,
230 * Params : buffer - a buffer to write information to
231 * start - a pointer into this buffer set by this routine to the start
234 * length - length of buffer
236 * Returns : length of data written to buffer.