/linux-4.1.27/arch/ia64/mm/ |
H A D | contig.c | 153 ssize_t static_size, reserved_size, dyn_size; setup_per_cpu_areas() local 167 reserved_size = PERCPU_MODULE_RESERVE; setup_per_cpu_areas() 168 dyn_size = PERCPU_PAGE_SIZE - static_size - reserved_size; setup_per_cpu_areas() 171 static_size, reserved_size); setup_per_cpu_areas() 174 ai->reserved_size = reserved_size; setup_per_cpu_areas()
|
H A D | discontig.c | 192 ssize_t static_size, reserved_size, dyn_size; setup_per_cpu_areas() local 217 reserved_size = PERCPU_MODULE_RESERVE; setup_per_cpu_areas() 218 dyn_size = PERCPU_PAGE_SIZE - static_size - reserved_size; setup_per_cpu_areas() 221 static_size, reserved_size); setup_per_cpu_areas() 224 ai->reserved_size = reserved_size; setup_per_cpu_areas()
|
/linux-4.1.27/include/linux/ |
H A D | percpu.h | 69 size_t reserved_size; member in struct:pcpu_alloc_info 104 extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size, 112 extern int __init pcpu_page_first_chunk(size_t reserved_size,
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fifo.c | 109 fifo->reserved_size = 0; vmw_fifo_init() 333 BUG_ON(fifo_state->reserved_size != 0); vmw_fifo_reserve() 336 fifo_state->reserved_size = bytes; vmw_fifo_reserve() 392 fifo_state->reserved_size = 0; vmw_fifo_reserve() 449 BUG_ON(bytes > fifo_state->reserved_size); vmw_fifo_commit() 451 fifo_state->reserved_size = 0; vmw_fifo_commit()
|
H A D | vmwgfx_drv.h | 178 unsigned long reserved_size; member in struct:vmw_fifo_state
|
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_virtio.c | 97 * @reserved_size: Size of memory reserve allocated from genpool 124 size_t reserved_size; member in struct:cfv_info 193 cfv->reserved_size); cfv_release_used_buf() 369 cfv->reserved_size); cfv_destroy_genpool() 422 cfv->reserved_size = num_possible_cpus() * cfv->ndev->mtu; cfv_create_genpool() 424 cfv->reserved_size); cfv_create_genpool() 555 cfv->reserved_size); cfv_netdev_tx()
|
/linux-4.1.27/mm/ |
H A D | percpu.c | 1445 lvl, ai->static_size, ai->reserved_size, ai->dyn_size, pcpu_dump_alloc_info() 1486 * @ai->reserved_size, if non-zero, specifies the amount of bytes to 1496 * @ai->reserved_size + @ai->dyn_size and @ai->unit_size is unused. 1499 * and equal to or larger than @ai->static_size + @ai->reserved_size + 1534 size_t size_sum = ai->static_size + ai->reserved_size + dyn_size; pcpu_setup_first_chunk() 1641 * Initialize static chunk. If reserved_size is zero, the pcpu_setup_first_chunk() 1643 * in the first chunk. If reserved_size is not zero, it pcpu_setup_first_chunk() 1657 if (ai->reserved_size) { pcpu_setup_first_chunk() 1658 schunk->free_size = ai->reserved_size; pcpu_setup_first_chunk() 1660 pcpu_reserved_chunk_limit = ai->static_size + ai->reserved_size; pcpu_setup_first_chunk() 1756 * @reserved_size: the size of reserved percpu area in bytes 1776 size_t reserved_size, size_t dyn_size, pcpu_build_alloc_info() 1796 size_sum = PFN_ALIGN(static_size + reserved_size + pcpu_build_alloc_info() 1798 dyn_size = size_sum - static_size - reserved_size; pcpu_build_alloc_info() 1882 ai->reserved_size = reserved_size; 1913 * @reserved_size: the size of reserved percpu area in bytes 1943 int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size, pcpu_embed_first_chunk() argument 1955 ai = pcpu_build_alloc_info(reserved_size, dyn_size, atom_size, pcpu_embed_first_chunk() 1960 size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; pcpu_embed_first_chunk() 2035 PFN_DOWN(size_sum), base, ai->static_size, ai->reserved_size, pcpu_embed_first_chunk() 2057 * @reserved_size: the size of reserved percpu area in bytes 2071 int __init pcpu_page_first_chunk(size_t reserved_size, pcpu_page_first_chunk() argument 2086 ai = pcpu_build_alloc_info(reserved_size, 0, PAGE_SIZE, NULL); pcpu_page_first_chunk() 2150 ai->reserved_size, ai->dyn_size); pcpu_page_first_chunk() 1775 pcpu_build_alloc_info( size_t reserved_size, size_t dyn_size, size_t atom_size, pcpu_fc_cpu_distance_fn_t cpu_distance_fn) pcpu_build_alloc_info() argument
|
/linux-4.1.27/fs/jffs2/ |
H A D | nodemgmt.c | 358 uint32_t reserved_size; /* for summary information at the end of the jeb */ jffs2_do_reserve_space() local 362 reserved_size = 0; jffs2_do_reserve_space() 368 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); jffs2_do_reserve_space() 403 /* keep always valid value in reserved_size */ jffs2_do_reserve_space() 404 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); jffs2_do_reserve_space() 467 *len = jeb->free_size - reserved_size; jffs2_do_reserve_space()
|
/linux-4.1.27/kernel/power/ |
H A D | power.h | 83 extern unsigned long reserved_size;
|
H A D | hibernate.c | 1050 return sprintf(buf, "%lu\n", reserved_size); reserved_size_show() 1060 reserved_size = size; reserved_size_store() 1067 power_attr(reserved_size); variable
|
H A D | snapshot.c | 48 * cause image creation to fail (tunable via /sys/power/reserved_size). 50 unsigned long reserved_size; variable 54 reserved_size = SPARE_PAGES * PAGE_SIZE; hibernate_reserved_size_init() 1546 * /sys/power/reserved_size, respectively). To make this happen, we compute the 1550 * + 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE) 1609 - 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE);
|