Lines Matching refs:retlen
201 ssize_t retlen; in hmcdrv_dev_transfer() local
205 retlen = hmcdrv_ftp_cmd(cmd, offset, buf, len); in hmcdrv_dev_transfer()
207 if (retlen != -EBUSY) in hmcdrv_dev_transfer()
214 return retlen; in hmcdrv_dev_transfer()
223 ssize_t retlen; in hmcdrv_dev_read() local
230 retlen = hmcdrv_dev_transfer((char *) fp->private_data, in hmcdrv_dev_read()
234 fp, (long long) *pos, retlen, len); in hmcdrv_dev_read()
236 if (retlen > 0) in hmcdrv_dev_read()
237 *pos += retlen; in hmcdrv_dev_read()
239 return retlen; in hmcdrv_dev_read()
248 ssize_t retlen; in hmcdrv_dev_write() local
269 retlen = hmcdrv_dev_transfer((char *) fp->private_data, in hmcdrv_dev_write()
271 if (retlen > 0) in hmcdrv_dev_write()
272 *pos += retlen; in hmcdrv_dev_write()
274 pr_debug("write to file '/dev/%pD' returned %zd\n", fp, retlen); in hmcdrv_dev_write()
276 return retlen; in hmcdrv_dev_write()