Home
last modified time | relevance | path

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

/freebsd/stand/libsa/
H A Dufs.c317 buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p) in buf_write_file() argument
346 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_write_file()
347 *size_p = DIP(fp, di_size) - fp->f_seekp; in buf_write_file()
348 if (*size_p > block_size - off) in buf_write_file()
349 *size_p = block_size - off; in buf_write_file()
355 if (((off > 0) || (*size_p + off < block_size)) && in buf_write_file()
374 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()
392 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument
435 *size_p = block_size - off; in buf_read_file()
440 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_read_file()
[all …]
H A Dcd9660.c62 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()
H A Dext2fs.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/sys/vm/
H A Dmemguard.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/tools/bus_space/
H A Dbusdma.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()