Home
last modified time | relevance | path

Searched refs:prealloc (Results 26 – 50 of 78) sorted by relevance

1234

/openbmc/qemu/include/block/
H A Dblock-io.h79 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp);
363 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp);
/openbmc/linux/kernel/bpf/
H A Dhashtab.c422 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local
440 if (lru && !prealloc) in htab_map_alloc_check()
477 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local
571 if (prealloc) { in htab_map_alloc()
1003 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local
1007 if (prealloc) { in alloc_htab_elem()
1044 if (prealloc) { in alloc_htab_elem()
1060 if (!prealloc) in alloc_htab_elem()
2220 bool prealloc = htab_is_prealloc(htab); in htab_map_mem_usage() local
2228 if (prealloc) { in htab_map_mem_usage()
/openbmc/linux/sound/hda/
H A DKconfig36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/openbmc/qemu/qapi/
H A Dqom.json594 # @prealloc: if true, preallocate memory (default: false)
596 # @prealloc-threads: number of CPU threads to use for prealloc
599 # @prealloc-context: thread context to use for creation of
615 # Note: prealloc=true and reserve=false cannot be set at the same
629 '*prealloc': 'bool',
630 '*prealloc-threads': 'uint32',
631 '*prealloc-context': 'str',
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.c224 bool prealloc = false; in intelfb_create() local
256 prealloc = true; in intelfb_create()
328 if (!i915_gem_object_is_shmem(vma->obj) && !prealloc) in intelfb_create()
/openbmc/linux/fs/xfs/
H A Dxfs_dquot.c75 int prealloc = 0; in xfs_qm_adjust_dqlimits() local
82 prealloc = 1; in xfs_qm_adjust_dqlimits()
86 prealloc = 1; in xfs_qm_adjust_dqlimits()
97 if (prealloc) in xfs_qm_adjust_dqlimits()
/openbmc/qemu/block/
H A Dfile-win32.c495 bool exact, PreallocMode prealloc, in raw_co_truncate() argument
502 if (prealloc != PREALLOC_MODE_OFF) { in raw_co_truncate()
504 PreallocMode_str(prealloc)); in raw_co_truncate()
H A Dblkio.c946 bool exact, PreallocMode prealloc, in blkio_truncate() argument
951 if (prealloc != PREALLOC_MODE_OFF) { in blkio_truncate()
953 PreallocMode_str(prealloc)); in blkio_truncate()
H A Dnfs.c763 PreallocMode prealloc, BdrvRequestFlags flags, in nfs_file_co_truncate() argument
769 if (prealloc != PREALLOC_MODE_OFF) { in nfs_file_co_truncate()
771 PreallocMode_str(prealloc)); in nfs_file_co_truncate()
H A Draw-format.c416 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp) in raw_co_truncate() argument
432 return bdrv_co_truncate(bs->file, offset, exact, prealloc, flags, errp); in raw_co_truncate()
H A Dssh.c1269 bool exact, PreallocMode prealloc, in ssh_co_truncate() argument
1274 if (prealloc != PREALLOC_MODE_OFF) { in ssh_co_truncate()
1276 PreallocMode_str(prealloc)); in ssh_co_truncate()
H A Drbd.c1620 PreallocMode prealloc, in qemu_rbd_co_truncate() argument
1626 if (prealloc != PREALLOC_MODE_OFF) { in qemu_rbd_co_truncate()
1628 PreallocMode_str(prealloc)); in qemu_rbd_co_truncate()
/openbmc/linux/mm/
H A Dmemory.c893 new_folio = *prealloc; in copy_present_page()
901 *prealloc = NULL; in copy_present_page()
925 struct folio **prealloc) in copy_present_pte() argument
1014 struct folio *prealloc = NULL; in copy_pte_range() local
1083 addr, rss, &prealloc); in copy_pte_range()
1090 if (unlikely(prealloc)) { in copy_pte_range()
1097 folio_put(prealloc); in copy_pte_range()
1098 prealloc = NULL; in copy_pte_range()
1120 if (!prealloc) in copy_pte_range()
1132 if (unlikely(prealloc)) in copy_pte_range()
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_bmap.h217 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c603 if (vmem->prealloc) { in virtio_mem_set_block_state()
978 } else if (vmem->memdev->prealloc) { in virtio_mem_device_realize()
1234 if (vmem->prealloc && !vmem->early_migration) { in virtio_mem_post_load()
1266 if (!vmem->prealloc) { in virtio_mem_post_load_early()
1690 DEFINE_PROP_BOOL(VIRTIO_MEM_PREALLOC_PROP, VirtIOMEM, prealloc, false),
/openbmc/qemu/block/export/
H A Dfuse.c445 bool req_zero_write, PreallocMode prealloc) in fuse_do_truncate() argument
475 ret = blk_truncate(exp->common.blk, size, true, prealloc, in fuse_do_truncate()
/openbmc/linux/fs/btrfs/
H A Dextent_io.c857 struct btrfs_subpage *prealloc) in attach_extent_buffer_page() argument
881 btrfs_free_subpage(prealloc); in attach_extent_buffer_page()
885 if (prealloc) in attach_extent_buffer_page()
887 attach_page_private(page, prealloc); in attach_extent_buffer_page()
3679 struct btrfs_subpage *prealloc = NULL; in alloc_extent_buffer() local
3725 prealloc = btrfs_alloc_subpage(fs_info, BTRFS_SUBPAGE_METADATA); in alloc_extent_buffer()
3726 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
3727 exists = ERR_CAST(prealloc); in alloc_extent_buffer()
3736 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
3747 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
[all …]
H A Dextent_map.c300 bool prealloc = false; in unpin_extent_cache() local
316 prealloc = true; in unpin_extent_cache()
322 if (prealloc) { in unpin_extent_cache()
/openbmc/linux/drivers/usb/gadget/function/
H A Du_ether.c313 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
357 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
360 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
/openbmc/linux/Documentation/filesystems/
H A Dntfs3.rst102 * - prealloc
/openbmc/qemu/hw/core/
H A Dmachine-qmp-cmds.c165 m->prealloc = object_property_get_bool(obj, "prealloc", &error_abort); in query_memdev()
H A Dmachine-hmp-cmds.c121 m->value->prealloc ? "true" : "false"); in hmp_info_memdev()
/openbmc/linux/fs/kernfs/
H A Dfile.c709 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
711 if (ops->prealloc) { in kernfs_fop_open()
/openbmc/qemu/
H A Dqemu-img-cmds.hx97 …"resize [--object objectdef] [--image-opts] [-f fmt] [--preallocation=prealloc] [-q] [--shrink] fi…
/openbmc/linux/include/linux/
H A Dkernfs.h313 bool prealloc; member

1234