Searched refs:size_p (Results 1 – 5 of 5) sorted by relevance
/freebsd/stand/libsa/ |
H A D | ufs.c | 316 buf_write_file(struct open_file *f, const char *buf_p, size_t *size_p) 345 if (*size_p > DIP(fp, di_size) - fp->f_seekp) in buf_write_file() 346 *size_p = DIP(fp, di_size) - fp->f_seekp; in buf_write_file() 347 if (*size_p > block_size - off) in buf_write_file() 348 *size_p = block_size - off; in buf_write_file() 354 if (((off > 0) || (*size_p + off < block_size)) && in buf_write_file() 373 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file() 391 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) 434 *size_p = block_size - off; in buf_read_file() 439 if (*size_p > DI in buf_read_file() 319 buf_write_file(struct open_file * f,const char * buf_p,size_t * size_p) buf_write_file() argument 394 buf_read_file(struct open_file * f,char ** buf_p,size_t * size_p) buf_read_file() argument [all...] |
H A D | cd9660.c | 62 size_t *size_p); 511 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument 538 *size_p = ISO_DEFAULT_BLOCK_SIZE - blkoff; in buf_read_file() 540 if (*size_p > fp->f_size - fp->f_off) in buf_read_file() 541 *size_p = fp->f_size - fp->f_off; in buf_read_file()
|
H A D | ext2fs.c | 322 size_t *size_p); 697 buf_read_file(struct open_file *f, char **buf_p, size_t *size_p) in buf_read_file() argument 739 *size_p = block_size - off; in buf_read_file() 744 if (*size_p > fp->f_di.di_size - fp->f_seekp) in buf_read_file() 745 *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()
|