Searched refs:size_p (Results 1 – 5 of 5) sorted by relevance
| /freebsd/stand/libsa/ |
| H A D | ufs.c | 317 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 D | cd9660.c | 62 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 D | ext2fs.c | 323 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 D | memguard.c | 291 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 D | busdma.c | 521 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()
|