Lines Matching refs:bytes_left
156 int err = 0, lnum, offs, bytes_left; in gluebi_read() local
161 bytes_left = len; in gluebi_read()
162 while (bytes_left) { in gluebi_read()
165 if (to_read > bytes_left) in gluebi_read()
166 to_read = bytes_left; in gluebi_read()
174 bytes_left -= to_read; in gluebi_read()
178 *retlen = len - bytes_left; in gluebi_read()
196 int err = 0, lnum, offs, bytes_left; in gluebi_write() local
205 bytes_left = len; in gluebi_write()
206 while (bytes_left) { in gluebi_write()
209 if (to_write > bytes_left) in gluebi_write()
210 to_write = bytes_left; in gluebi_write()
218 bytes_left -= to_write; in gluebi_write()
222 *retlen = len - bytes_left; in gluebi_write()