Home
last modified time | relevance | path

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

/xnu-8019.80.24/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);
48 int imageboot_read_file_from_offset(const char *path, off_t offset, void **bufp, size_t *bufszp
/xnu-8019.80.24/bsd/kern/
H A Dimageboot.c555 …le_internal(const char *path, const off_t offset, const bool pageable, void **bufp, size_t *bufszp) in imageboot_read_file_internal() argument
608 maxsize = *bufszp; in imageboot_read_file_internal()
699 *bufszp = (size_t)fsize; in imageboot_read_file_internal()
706 imageboot_read_file_pageable(const char *path, void **bufp, size_t *bufszp) in imageboot_read_file_pageable() argument
708 return imageboot_read_file_internal(path, 0, true, bufp, bufszp); in imageboot_read_file_pageable()
712 imageboot_read_file_from_offset(const char *path, const off_t offset, void **bufp, size_t *bufszp) in imageboot_read_file_from_offset() argument
714 return imageboot_read_file_internal(path, offset, false, bufp, bufszp); in imageboot_read_file_from_offset()
718 imageboot_read_file(const char *path, void **bufp, size_t *bufszp) in imageboot_read_file() argument
720 return imageboot_read_file_internal(path, 0, false, bufp, bufszp); in imageboot_read_file()