Home
last modified time | relevance | path

Searched refs:reserve_size (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dkaslr.c106 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 Driscv-stub.c29 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 Darm64-stub.c20 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 Defi-stub-entry.c35 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 Darm32-stub.c82 unsigned long *reserve_size, in handle_kernel_image() argument
116 *reserve_size = MAX_UNCOMP_KERNEL_SIZE; in handle_kernel_image()
H A Dloongarch-stub.c20 unsigned long *reserve_size, in handle_kernel_image() argument
H A Defistub.h1037 unsigned long *reserve_size,
1139 unsigned long *reserve_size,
/openbmc/linux/fs/btrfs/
H A Ddelalloc-space.c246 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 Dintel_region_lmem.c188 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 Damdgpu_ttm.c1699 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 Dprintk.c2199 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()