Lines Matching defs:buf
526 #define get_inquiry_vendor(in, buf) strncpy(buf, in + 0x08, 0x08)
527 #define get_inquiry_product(in, buf) strncpy(buf, in + 0x10, 0x010)
528 #define get_inquiry_version(in, buf) strncpy(buf, in + 0x20, 0x04)
808 char *cc, *cc1, buf[32];
842 if (fd > 0 && (len = read (fd, buf, sizeof (buf) - 1)) > 0)
844 buf[len] = '\0';
845 sanei_scsi_max_request_size = atoi (buf);
2947 struct dirent *buf;
2989 buf = readdir (scsidevs);
2998 if (buf == NULL)
3001 if (buf->d_name[0] == '.')
3005 ptr = buf->d_name;
3030 DBG (1, "%s: parse error on string %s (%d)\n", me, buf->d_name, i);
3038 DBG (1, "%s: integer value too large (%s)\n", me, buf->d_name);
3061 SYSFS_SCSI_DEVICES, buf->d_name, vmtfiles[i]);
3065 me, SYSFS_SCSI_DEVICES, buf->d_name, vmtfiles[i]);