Home
last modified time | relevance | path

Searched refs:reserved_size (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/include/linux/
Dpercpu.h91 size_t reserved_size; member
122 extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
129 extern int __init pcpu_page_first_chunk(size_t reserved_size,
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c449 resource_size_t reserved_size; in init_reserved_stolen() local
454 reserved_size = 0; in init_reserved_stolen()
458 &reserved_base, &reserved_size); in init_reserved_stolen()
462 &reserved_base, &reserved_size); in init_reserved_stolen()
465 &reserved_base, &reserved_size); in init_reserved_stolen()
469 &reserved_base, &reserved_size); in init_reserved_stolen()
472 &reserved_base, &reserved_size); in init_reserved_stolen()
475 &reserved_base, &reserved_size); in init_reserved_stolen()
478 &reserved_base, &reserved_size); in init_reserved_stolen()
488 &reserved_base, &reserved_size); in init_reserved_stolen()
[all …]
/linux-6.12.1/block/
Dbsg.c29 unsigned int reserved_size; member
138 return put_user(min(bd->reserved_size, queue_max_bytes(q)), in bsg_ioctl()
145 bd->reserved_size = in bsg_ioctl()
199 bd->reserved_size = INT_MAX; in bsg_register_queue()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmd.c117 fifo->reserved_size = 0; in vmw_fifo_create()
296 BUG_ON(fifo_state->reserved_size != 0); in vmw_local_fifo_reserve()
299 fifo_state->reserved_size = bytes; in vmw_local_fifo_reserve()
359 fifo_state->reserved_size = 0; in vmw_local_fifo_reserve()
436 BUG_ON(bytes > fifo_state->reserved_size); in vmw_local_fifo_commit()
438 fifo_state->reserved_size = 0; in vmw_local_fifo_commit()
Dvmwgfx_kms.c2536 uint32_t reserved_size = 0; in vmw_du_helper_plane_update() local
2590 reserved_size = update->calc_fifo_size(update, num_hits); in vmw_du_helper_plane_update()
2591 cmd_start = VMW_CMD_RESERVE(update->dev_priv, reserved_size); in vmw_du_helper_plane_update()
2637 if (reserved_size < submit_size) in vmw_du_helper_plane_update()
Dvmwgfx_drv.h267 unsigned long reserved_size; member
/linux-6.12.1/drivers/net/caif/
Dcaif_virtio.c124 size_t reserved_size; member
193 cfv->reserved_size); in cfv_release_used_buf()
369 cfv->reserved_size); in cfv_destroy_genpool()
422 cfv->reserved_size = num_possible_cpus() * cfv->ndev->mtu; in cfv_create_genpool()
424 cfv->reserved_size); in cfv_create_genpool()
555 cfv->reserved_size); in cfv_netdev_tx()
/linux-6.12.1/mm/
Dpercpu.c2472 lvl, ai->static_size, ai->reserved_size, ai->dyn_size, in pcpu_dump_alloc_info()
2556 size_t size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; in pcpu_setup_first_chunk()
2590 PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->reserved_size, PCPU_MIN_ALLOC_SIZE)); in pcpu_setup_first_chunk()
2720 if (ai->reserved_size) in pcpu_setup_first_chunk()
2722 ai->reserved_size); in pcpu_setup_first_chunk()
2723 tmp_addr = (unsigned long)base_addr + static_size + ai->reserved_size; in pcpu_setup_first_chunk()
2810 size_t reserved_size, size_t dyn_size, in pcpu_build_alloc_info() argument
2832 size_sum = PFN_ALIGN(static_size + reserved_size + in pcpu_build_alloc_info()
2834 dyn_size = size_sum - static_size - reserved_size; in pcpu_build_alloc_info()
2924 ai->reserved_size = reserved_size; in pcpu_build_alloc_info()
[all …]
Dpercpu-stats.c169 PL(reserved_size); in percpu_stats_show()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_fw.h354 u32 reserved_size; member
436 pvr_fw_heap_info_init(struct pvr_device *pvr_dev, u32 log2_size, u32 reserved_size);
Dpvr_fw.c876 pvr_fw_heap_info_init(struct pvr_device *pvr_dev, u32 log2_size, u32 reserved_size) in pvr_fw_heap_info_init() argument
882 fw_dev->fw_heap_info.reserved_size = reserved_size; in pvr_fw_heap_info_init()
888 (PVR_ROGUE_FW_CONFIG_HEAP_SIZE + reserved_size); in pvr_fw_heap_info_init()
/linux-6.12.1/fs/jffs2/
Dnodemgmt.c361 uint32_t reserved_size; /* for summary information at the end of the jeb */ in jffs2_do_reserve_space() local
365 reserved_size = 0; in jffs2_do_reserve_space()
371 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); in jffs2_do_reserve_space()
407 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); in jffs2_do_reserve_space()
470 *len = jeb->free_size - reserved_size; in jffs2_do_reserve_space()
/linux-6.12.1/tools/testing/memblock/tests/
Dalloc_api.c386 phys_addr_t reserved_size = MEM_SIZE - available_size; in alloc_no_space_generic_check() local
392 memblock_reserve(memblock_start_of_DRAM(), reserved_size); in alloc_no_space_generic_check()
419 phys_addr_t reserved_size = MEM_SIZE - available_size; in alloc_limited_space_generic_check() local
425 memblock_reserve(memblock_start_of_DRAM(), reserved_size); in alloc_limited_space_generic_check()
/linux-6.12.1/kernel/power/
Dpower.h102 extern unsigned long reserved_size;
Dhibernate.c1321 return sysfs_emit(buf, "%lu\n", reserved_size); in reserved_size_show()
1331 reserved_size = size; in reserved_size_store()
1338 power_attr(reserved_size);
Dsnapshot.c124 unsigned long reserved_size; variable
128 reserved_size = SPARE_PAGES * PAGE_SIZE; in hibernate_reserved_size_init()
1887 - 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE); in hibernate_preallocate_memory()
/linux-6.12.1/arch/arm64/kernel/
Dsignal.c129 const size_t reserved_size = in init_user_layout() local
135 user->limit = user->size + reserved_size; in init_user_layout()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-power185 What: /sys/power/reserved_size
189 The /sys/power/reserved_size file allows user space to control
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c3175 uint64_t reserved_size = 0; in svm_range_switch_xnack_reserve_mem() local
3195 reserved_size += size; in svm_range_switch_xnack_reserve_mem()
3208 reserved_size += size; in svm_range_switch_xnack_reserve_mem()
3217 amdgpu_amdkfd_unreserve_mem_limit(NULL, reserved_size, in svm_range_switch_xnack_reserve_mem()
/linux-6.12.1/fs/f2fs/
Df2fs.h569 int reserved_size = INLINE_RESERVED_SIZE(inode); in make_dentry_ptr_inline() local
575 d->dentry = t + bitmap_size + reserved_size; in make_dentry_ptr_inline()
576 d->filename = t + bitmap_size + reserved_size + in make_dentry_ptr_inline()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h10219 __le32 reserved_size; member