Home
last modified time | relevance | path

Searched refs:size_p (Results 1 – 8 of 8) sorted by relevance

/freebsd-13-stable/stand/libsa/
HDufs.c319 buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p) in buf_write_file() argument
348 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_write_file()
349 *size_p = DIP(fp, di_size) - fp->f_seekp; in buf_write_file()
350 if (*size_p > block_size - off) in buf_write_file()
351 *size_p = block_size - off; in buf_write_file()
357 if (((off > 0) || (*size_p + off < block_size)) && in buf_write_file()
376 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()
394 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument
437 *size_p = block_size - off; in buf_read_file()
442 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_read_file()
[all …]
HDcd9660.c63 size_t *size_p);
512 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument
539 *size_p = ISO_DEFAULT_BLOCK_SIZE - blkoff; in buf_read_file()
541 if (*size_p > fp->f_size - fp->f_off) in buf_read_file()
542 *size_p = fp->f_size - fp->f_off; in buf_read_file()
HDext2fs.c323 size_t *size_p);
698 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument
740 *size_p = block_size - off; in buf_read_file()
745 if (*size_p > fp->f_di.di_size - fp->f_seekp) in buf_read_file()
746 *size_p = fp->f_di.di_size - fp->f_seekp; in buf_read_file()
/freebsd-13-stable/sys/vm/
HDmemguard.c291 u_long size_p, size_v; in memguard_alloc() local
294 size_p = round_page(req_size); in memguard_alloc()
295 if (size_p == 0) in memguard_alloc()
303 size_v = size_p; in memguard_alloc()
335 rv = kmem_back(kernel_object, addr, size_p, flags); in memguard_alloc()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_base/
HDreps-strings.h77 svn_error_t *svn_fs_base__rep_contents_size(svn_filesize_t *size_p,
HDreps-strings.c721 svn_fs_base__rep_contents_size(svn_filesize_t *size_p, in svn_fs_base__rep_contents_size() argument
734 SVN_ERR(svn_fs_bdb__string_size(size_p, fs, in svn_fs_base__rep_contents_size()
751 *size_p = last_chunk->offset + last_chunk->size; in svn_fs_base__rep_contents_size()
/freebsd-13-stable/tools/bus_space/
HDbusdma.c521 bd_seg_get_size(int sid, u_long *size_p) in bd_seg_get_size() argument
525 if (size_p == NULL) in bd_seg_get_size()
532 *size_p = seg->u.seg.size; in bd_seg_get_size()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_diff/
HDdiff_file.c171 char **buffer, apr_size_t *size_p, in map_or_read_file() argument
225 *size_p = size; in map_or_read_file()