Lines Matching refs:bootprofile_buffer_size
862 * "bootprofile_buffer_size" specifies the size of the boot profile buffer
878 uint32_t bootprofile_buffer_size = 0;
909 if (!PE_parse_boot_argn("bootprofile_buffer_size", &bootprofile_buffer_size, sizeof(bootprofile_buffer_size))) {
910 bootprofile_buffer_size = 0;
913 if (bootprofile_buffer_size > BOOTPROFILE_MAX_BUFFER_SIZE)
914 bootprofile_buffer_size = BOOTPROFILE_MAX_BUFFER_SIZE;
928 if ((bootprofile_buffer_size == 0) || (bootprofile_interval_abs == 0)) {
932 ret = kmem_alloc(kernel_map, &bootprofile_buffer, bootprofile_buffer_size);
987 if (bootprofile_buffer_current_position < bootprofile_buffer_size) {
991 bootprofile_buffer_size - bootprofile_buffer_current_position,
1002 if ((retbytes == 0) || (bootprofile_buffer_current_position == bootprofile_buffer_size)) {