Home
last modified time | relevance | path

Searched refs:bufszp (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.141.3/bsd/sys/
H A Dimageboot.h46 int imageboot_read_file_pageable(const char *path, void **bufp, size_t *bufszp); /* use kmem_fr…
47 int imageboot_read_file(const char *path, void **bufp, size_t *bufszp, off_t *fsizep);
48 int imageboot_read_file_from_offset(const char *path, off_t offset, void **bufp, size_t *bufszp
/xnu-8796.141.3/bsd/kern/
H A Dimageboot.c555 …st char *path, const off_t offset, const bool pageable, void **bufp, size_t *bufszp, off_t *fsizep) in imageboot_read_file_internal() argument
612 maxsize = *bufszp; in imageboot_read_file_internal()
710 *bufszp = (size_t)fsize; in imageboot_read_file_internal()
717 imageboot_read_file_pageable(const char *path, void **bufp, size_t *bufszp) in imageboot_read_file_pageable() argument
719 return imageboot_read_file_internal(path, 0, true, bufp, bufszp, NULL); in imageboot_read_file_pageable()
723 imageboot_read_file_from_offset(const char *path, const off_t offset, void **bufp, size_t *bufszp) in imageboot_read_file_from_offset() argument
725 return imageboot_read_file_internal(path, offset, false, bufp, bufszp, NULL); in imageboot_read_file_from_offset()
729 imageboot_read_file(const char *path, void **bufp, size_t *bufszp, off_t *fsizep) in imageboot_read_file() argument
731 return imageboot_read_file_internal(path, 0, false, bufp, bufszp, fsizep); in imageboot_read_file()