Lines Matching refs:size_p
301 buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p) in buf_write_file() argument
330 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_write_file()
331 *size_p = DIP(fp, di_size) - fp->f_seekp; in buf_write_file()
332 if (*size_p > block_size - off) in buf_write_file()
333 *size_p = block_size - off; in buf_write_file()
339 if (((off > 0) || (*size_p + off < block_size)) && in buf_write_file()
358 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()
376 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument
419 *size_p = block_size - off; in buf_read_file()
424 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_read_file()
425 *size_p = DIP(fp, di_size) - fp->f_seekp; in buf_read_file()