Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/firmware/efi/libstub/
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()
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()
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()
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()
Darm32-stub.c82 unsigned long *reserve_size, in handle_kernel_image() argument
116 *reserve_size = MAX_UNCOMP_KERNEL_SIZE; in handle_kernel_image()
Dloongarch-stub.c20 unsigned long *reserve_size, in handle_kernel_image() argument
Defistub.h1037 unsigned long *reserve_size,
1139 unsigned long *reserve_size,
/linux-6.6.21/fs/btrfs/
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()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
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()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c1683 uint32_t reserve_size) in amdgpu_ttm_training_data_block_init() argument
1690 ALIGN((adev->gmc.mc_vram_size - reserve_size - SZ_1M), SZ_1M); in amdgpu_ttm_training_data_block_init()
1710 uint32_t reserve_size = 0; in amdgpu_ttm_reserve_tmr() local
1728 reserve_size = in amdgpu_ttm_reserve_tmr()
1732 reserve_size = max(reserve_size, (uint32_t)280 << 20); in amdgpu_ttm_reserve_tmr()
1733 else if (!reserve_size) in amdgpu_ttm_reserve_tmr()
1734 reserve_size = DISCOVERY_TMR_OFFSET; in amdgpu_ttm_reserve_tmr()
1738 amdgpu_ttm_training_data_block_init(adev, reserve_size); in amdgpu_ttm_reserve_tmr()
1754 adev, adev->gmc.real_vram_size - reserve_size, in amdgpu_ttm_reserve_tmr()
1755 reserve_size, &adev->mman.fw_reserved_memory, NULL); in amdgpu_ttm_reserve_tmr()
/linux-6.6.21/kernel/printk/
Dprintk.c2164 u16 reserve_size; in vprintk_store() local
2191 reserve_size = vsnprintf(&prefix_buf[0], sizeof(prefix_buf), fmt, args2) + 1; in vprintk_store()
2194 if (reserve_size > PRINTKRB_RECORD_MAX) in vprintk_store()
2195 reserve_size = PRINTKRB_RECORD_MAX; in vprintk_store()
2208 prb_rec_init_wr(&r, reserve_size); in vprintk_store()
2210 text_len = printk_sprint(&r.text_buf[r.info->text_len], reserve_size, in vprintk_store()
2231 prb_rec_init_wr(&r, reserve_size); in vprintk_store()
2234 truncate_msg(&reserve_size, &trunc_msg_len); in vprintk_store()
2236 prb_rec_init_wr(&r, reserve_size + trunc_msg_len); in vprintk_store()
2242 text_len = printk_sprint(&r.text_buf[0], reserve_size, facility, &flags, fmt, args); in vprintk_store()