/openbmc/linux/fs/btrfs/ |
H A D | extent-io-tree.c | 158 static struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument 160 if (!prealloc) in alloc_extent_state_atomic() 161 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic() 163 return prealloc; in alloc_extent_state_atomic() 458 struct extent_state *prealloc, u64 split) in split_state() argument 466 prealloc->start = orig->start; in split_state() 467 prealloc->end = split - 1; in split_state() 468 prealloc->state = orig->state; in split_state() 479 if (prealloc->end < entry->start) { in split_state() 481 } else if (prealloc->end > entry->end) { in split_state() [all …]
|
/openbmc/linux/lib/ |
H A D | stackdepot.c | 222 static void depot_init_pool(void **prealloc) in depot_init_pool() argument 236 stack_pools[pool_index] = *prealloc; in depot_init_pool() 237 *prealloc = NULL; in depot_init_pool() 244 stack_pools[pool_index + 1] = *prealloc; in depot_init_pool() 245 *prealloc = NULL; in depot_init_pool() 260 depot_alloc_stack(unsigned long *entries, int size, u32 hash, void **prealloc) in depot_alloc_stack() argument 293 if (*prealloc) in depot_alloc_stack() 294 depot_init_pool(prealloc); in depot_alloc_stack() 365 void *prealloc = NULL; in __stack_depot_save() local 412 prealloc = page_address(page); in __stack_depot_save() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 125 | 177 for prealloc in metadata full; do 178 echo "--- Resizing image from $orig_size to $dst_size (preallocation=$prealloc) ---" 180 $QEMU_IMG resize -f "$IMGFMT" --preallocation="$prealloc" "$TEST_IMG" "$dst_size"
|
H A D | 274 | 152 for (prealloc, base_size, top_size_old, top_size_new, off) in [ 161 iotests.log('=== preallocation=%s ===' % prealloc) 173 '--preallocation', prealloc, top, top_size_new)
|
/openbmc/qemu/block/ |
H A D | crypto.c | 109 PreallocMode prealloc; member 147 data->prealloc, 0, &local_error); in block_crypto_create_init_func() 386 PreallocMode prealloc, in block_crypto_co_create_generic() argument 402 if (prealloc == PREALLOC_MODE_METADATA) { in block_crypto_co_create_generic() 403 prealloc = PREALLOC_MODE_OFF; in block_crypto_co_create_generic() 409 .prealloc = prealloc, in block_crypto_co_create_generic() 433 PreallocMode prealloc, BdrvRequestFlags flags, in block_crypto_co_truncate() argument 447 return bdrv_co_truncate(bs->file, offset, exact, prealloc, 0, errp); in block_crypto_co_truncate() 791 PreallocMode prealloc; in block_crypto_co_create_opts_luks() local 804 prealloc = qapi_enum_parse(&PreallocMode_lookup, buf, in block_crypto_co_create_opts_luks() [all …]
|
H A D | preallocate.c | 424 bool exact, PreallocMode prealloc, in preallocate_co_truncate() argument 440 if (prealloc == PREALLOC_MODE_FALLOC) { in preallocate_co_truncate() 477 ret = bdrv_co_truncate(bs->file, offset, exact, prealloc, flags, errp); in preallocate_co_truncate()
|
H A D | qcow2.c | 3282 m->prealloc = true; in preallocate_co() 4299 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp) in qcow2_co_truncate() argument 4308 if (prealloc != PREALLOC_MODE_OFF && prealloc != PREALLOC_MODE_METADATA && in qcow2_co_truncate() 4309 prealloc != PREALLOC_MODE_FALLOC && prealloc != PREALLOC_MODE_FULL) in qcow2_co_truncate() 4312 PreallocMode_str(prealloc)); in qcow2_co_truncate() 4345 if (prealloc != PREALLOC_MODE_OFF) { in qcow2_co_truncate() 4413 if (data_file_is_raw(bs) && prealloc == PREALLOC_MODE_OFF) { in qcow2_co_truncate() 4422 prealloc = PREALLOC_MODE_METADATA; in qcow2_co_truncate() 4426 switch (prealloc) { in qcow2_co_truncate() 4434 ret = bdrv_co_truncate(s->data_file, offset, exact, prealloc, 0, in qcow2_co_truncate() [all …]
|
H A D | gluster.c | 1026 PreallocMode prealloc, Error **errp) in qemu_gluster_do_truncate() argument 1036 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in qemu_gluster_do_truncate() 1045 switch (prealloc) { in qemu_gluster_do_truncate() 1074 PreallocMode_str(prealloc)); in qemu_gluster_do_truncate() 1212 PreallocMode prealloc, in qemu_gluster_co_truncate() argument 1217 return qemu_gluster_do_truncate(s->fd, offset, prealloc, errp); in qemu_gluster_co_truncate()
|
H A D | file-posix.c | 220 PreallocMode prealloc; member 2284 PreallocMode prealloc = aiocb->truncate.prealloc; in handle_aiocb_truncate() local 2294 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in handle_aiocb_truncate() 2299 switch (prealloc) { in handle_aiocb_truncate() 2394 PreallocMode_str(prealloc)); in handle_aiocb_truncate() 2635 PreallocMode prealloc, Error **errp) in raw_regular_truncate() argument 2645 .prealloc = prealloc, in raw_regular_truncate() 2654 bool exact, PreallocMode prealloc, in raw_co_truncate() argument 2669 return raw_regular_truncate(bs, s->fd, offset, prealloc, errp); in raw_co_truncate() 2672 if (prealloc != PREALLOC_MODE_OFF) { in raw_co_truncate() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ioam6.sh | 220 trace prealloc type 0x800000 ns 0 size 4 dev veth0 494 trace prealloc type 0x800000 ns 0 size 4 dev veth0 514 trace prealloc type 0xc00000 ns 123 size 4 dev veth0 540 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \ 579 trace prealloc type 0xfff002 ns 123 size 100 dev veth0 609 trace prealloc type 0x800000 ns 0 size 4 dev veth0 629 trace prealloc type 0xc00000 ns 123 size 4 dev veth0 655 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \ 684 trace prealloc type 0xc00000 ns 123 size 4 dev veth0 708 trace prealloc type 0xfff002 ns 123 size 80 dev veth0 [all …]
|
/openbmc/qemu/backends/ |
H A D | hostmem.c | 228 return backend->prealloc; in host_memory_backend_get_prealloc() 242 backend->prealloc = value; in host_memory_backend_set_prealloc() 246 if (value && !backend->prealloc) { in host_memory_backend_set_prealloc() 255 backend->prealloc = true; in host_memory_backend_set_prealloc() 425 if (backend->prealloc && !qemu_prealloc_mem(memory_region_get_fd(&backend->mr), in host_memory_backend_memory_complete() 478 if (backend->prealloc && !value) { in host_memory_backend_set_reserve()
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | setup.c | 113 static void __init prealloc(struct ps3_prealloc *p) in prealloc() function 135 #define prealloc_ps3fb_videomemory() prealloc(&ps3fb_videomemory) 158 #define prealloc_ps3flash_bounce_buffer() prealloc(&ps3flash_bounce_buffer)
|
/openbmc/linux/fs/ext4/ |
H A D | extents_status.c | 148 struct extent_status *prealloc); 151 struct extent_status *prealloc); 157 struct pending_reservation **prealloc); 788 struct extent_status *prealloc) in __es_insert_extent() argument 828 if (prealloc) in __es_insert_extent() 829 es = prealloc; in __es_insert_extent() 1370 struct extent_status *prealloc) in __es_remove_extent() argument 1417 err = __es_insert_extent(inode, &newes, prealloc); in __es_remove_extent() 1944 struct pending_reservation **prealloc) in __insert_pending() argument 1970 if (likely(*prealloc == NULL)) { in __insert_pending() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_gred.c | 484 struct gred_sched_data **prealloc, in gred_change_vq() argument 496 table->tab[dp] = q = *prealloc; in gred_change_vq() 497 *prealloc = NULL; in gred_change_vq() 651 struct gred_sched_data *prealloc; in gred_change() local 703 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change() 706 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change() 721 kfree(prealloc); in gred_change() 728 kfree(prealloc); in gred_change()
|
/openbmc/linux/arch/arc/lib/ |
H A D | memset-archs.S | 21 prealloc [\reg, \off]
|
/openbmc/qemu/include/sysemu/ |
H A D | hostmem.h | 78 bool prealloc, is_mapped, share, reserve; member
|
H A D | block-backend-io.h | 224 bool exact, PreallocMode prealloc, 227 PreallocMode prealloc, BdrvRequestFlags flags,
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-mem.h | 99 bool prealloc; member
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_dl.h | 56 unsigned int prealloc);
|
H A D | vsp1_dl.c | 1091 unsigned int prealloc) in vsp1_dlm_create() argument 1121 dlm->pool = vsp1_dl_body_pool_create(vsp1, prealloc + 1, in vsp1_dlm_create() 1126 for (i = 0; i < prealloc; ++i) { in vsp1_dlm_create() 1145 VSP1_EXTCMD_AUTOFLD, prealloc); in vsp1_dlm_create()
|
/openbmc/qemu/docs/system/i386/ |
H A D | sgx.rst | 46 -object memory-backend-epc,id=mem1,size=64M,prealloc=on \ 143 -object memory-backend-epc,id=mem1,size=64M,prealloc=on \\ 164 -object memory-backend-epc,id=mem0,size=64M,prealloc=on,host-nodes=0,policy=bind \\ 167 -object memory-backend-epc,id=mem1,size=28M,prealloc=on,host-nodes=1,policy=bind \\
|
/openbmc/qemu/docs/devel/migration/ |
H A D | qpl-compression.rst | 233 to add ``-mem-prealloc`` parameter to the destination boot parameters. This 237 The example of booting with ``-mem-prealloc`` parameter 241 $qemu-system-x86_64 --enable-kvm -cpu host --mem-prealloc ... 245 ``-mem-prealloc``, the ``svm_prq`` indicates the number of I/O page fault
|
/openbmc/u-boot/disk/ |
H A D | part_amiga.h | 125 u32 prealloc; member
|
/openbmc/linux/drivers/md/ |
H A D | dm-cache-target.c | 1399 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local 1401 prealloc = alloc_prison_cell(cache); in mg_lock_writes() 1411 prealloc, &mg->cell); in mg_lock_writes() 1413 free_prison_cell(cache, prealloc); in mg_lock_writes() 1418 if (mg->cell != prealloc) in mg_lock_writes() 1419 free_prison_cell(cache, prealloc); in mg_lock_writes() 1529 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local 1531 prealloc = alloc_prison_cell(cache); in invalidate_lock() 1535 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock() 1537 free_prison_cell(cache, prealloc); in invalidate_lock() [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | file.c | 220 .prealloc = true, 225 .prealloc = true, 231 .prealloc = true,
|