/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | kaslr.c | 106 unsigned long *reserve_size, in efi_kaslr_relocate_kernel() argument 120 status = efi_random_alloc(*reserve_size, min_kimg_align, in efi_kaslr_relocate_kernel() 138 *reserve_size = 0; in efi_kaslr_relocate_kernel() 142 status = efi_allocate_pages_aligned(*reserve_size, reserve_addr, in efi_kaslr_relocate_kernel() 148 *reserve_size = 0; in efi_kaslr_relocate_kernel() 156 efi_remap_image(*image_addr, *reserve_size, kernel_codesize); in efi_kaslr_relocate_kernel()
|
H A D | riscv-stub.c | 29 unsigned long *reserve_size, in handle_kernel_image() argument 41 *reserve_size = *image_size; in handle_kernel_image() 44 reserve_addr, reserve_size, in handle_kernel_image()
|
H A D | arm64-stub.c | 20 unsigned long *reserve_size, in handle_kernel_image() argument 39 *reserve_size = kernel_memsize; in handle_kernel_image() 43 reserve_addr, reserve_size, in handle_kernel_image()
|
H A D | efi-stub-entry.c | 35 unsigned long reserve_size = 0; in efi_pe_entry() local 63 &reserve_size, in efi_pe_entry() 75 efi_free(reserve_size, reserve_addr); in efi_pe_entry()
|
H A D | arm32-stub.c | 82 unsigned long *reserve_size, in handle_kernel_image() argument 116 *reserve_size = MAX_UNCOMP_KERNEL_SIZE; in handle_kernel_image()
|
H A D | loongarch-stub.c | 20 unsigned long *reserve_size, in handle_kernel_image() argument
|
H A D | efistub.h | 1037 unsigned long *reserve_size, 1139 unsigned long *reserve_size,
|
/openbmc/linux/fs/btrfs/ |
H A D | delalloc-space.c | 246 u64 reserve_size = 0; in btrfs_calculate_inode_block_rsv_size() local 258 reserve_size = btrfs_calc_insert_metadata_size(fs_info, in btrfs_calculate_inode_block_rsv_size() 260 reserve_size += btrfs_calc_metadata_size(fs_info, 1); in btrfs_calculate_inode_block_rsv_size() 266 reserve_size += btrfs_calc_insert_metadata_size(fs_info, csum_leaves); in btrfs_calculate_inode_block_rsv_size() 277 block_rsv->size = reserve_size; in btrfs_calculate_inode_block_rsv_size()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_region_lmem.c | 188 u32 reserve_size; in reserve_lowmem_region() local 191 if (!get_legacy_lowmem_region(uncore, &reserve_start, &reserve_size)) in reserve_lowmem_region() 194 ret = intel_memory_region_reserve(mem, reserve_start, reserve_size); in reserve_lowmem_region()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 1699 uint32_t reserve_size) in amdgpu_ttm_training_data_block_init() argument 1706 ALIGN((adev->gmc.mc_vram_size - reserve_size - SZ_1M), SZ_1M); in amdgpu_ttm_training_data_block_init() 1726 uint32_t reserve_size = 0; in amdgpu_ttm_reserve_tmr() local 1744 reserve_size = in amdgpu_ttm_reserve_tmr() 1748 reserve_size = max(reserve_size, (uint32_t)280 << 20); in amdgpu_ttm_reserve_tmr() 1749 else if (!reserve_size) in amdgpu_ttm_reserve_tmr() 1750 reserve_size = DISCOVERY_TMR_OFFSET; in amdgpu_ttm_reserve_tmr() 1754 amdgpu_ttm_training_data_block_init(adev, reserve_size); in amdgpu_ttm_reserve_tmr() 1770 adev, adev->gmc.real_vram_size - reserve_size, in amdgpu_ttm_reserve_tmr() 1771 reserve_size, &adev->mman.fw_reserved_memory, NULL); in amdgpu_ttm_reserve_tmr()
|
/openbmc/linux/kernel/printk/ |
H A D | printk.c | 2199 u16 reserve_size; in vprintk_store() local 2226 reserve_size = vsnprintf(&prefix_buf[0], sizeof(prefix_buf), fmt, args2) + 1; in vprintk_store() 2229 if (reserve_size > PRINTKRB_RECORD_MAX) in vprintk_store() 2230 reserve_size = PRINTKRB_RECORD_MAX; in vprintk_store() 2243 prb_rec_init_wr(&r, reserve_size); in vprintk_store() 2245 text_len = printk_sprint(&r.text_buf[r.info->text_len], reserve_size, in vprintk_store() 2266 prb_rec_init_wr(&r, reserve_size); in vprintk_store() 2269 truncate_msg(&reserve_size, &trunc_msg_len); in vprintk_store() 2271 prb_rec_init_wr(&r, reserve_size + trunc_msg_len); in vprintk_store() 2277 text_len = printk_sprint(&r.text_buf[0], reserve_size, facility, &flags, fmt, args); in vprintk_store()
|