/linux-6.6.21/drivers/firmware/efi/libstub/ |
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()
|
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()
|
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()
|
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()
|
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()
|
D | loongarch-stub.c | 20 unsigned long *reserve_size, in handle_kernel_image() argument
|
D | efistub.h | 1037 unsigned long *reserve_size, 1139 unsigned long *reserve_size,
|
/linux-6.6.21/fs/btrfs/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 1683 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/ |
D | printk.c | 2164 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()
|