Home
last modified time | relevance | path

Searched full:preallocated (Results 1 – 25 of 201) sorted by relevance

123456789

/linux/net/sunrpc/
H A Dbackchannel_rqst.c37 * Free the preallocated rpc_rqst structure and the memory
109 * preallocated buffers are added to the pool of resources used by
143 * We use a temporary list to keep track of the preallocated in xprt_setup_bc()
194 * xprt_destroy_backchannel - Destroys the backchannel preallocated structures.
195 * @xprt: the transport holding the preallocated strucures
196 * @max_reqs: the maximum number of preallocated structures to destroy
264 * Return the preallocated rpc_rqst structure and XDR buffers
305 * have anymore preallocated entries. in xprt_free_bc_rqst()
314 * One or more rpc_rqst structure have been preallocated during the
316 * has been preallocated as well. Use xprt_alloc_bc_request to allocate
/linux/fs/bcachefs/
H A Ddarray.h17 _type preallocated[_nr]; \
91 (_d)->size = ARRAY_SIZE((_d)->preallocated); \
92 (_d)->data = (_d)->size ? (_d)->preallocated : NULL; \
97 if (!ARRAY_SIZE((_d)->preallocated) || \
98 (_d)->data != (_d)->preallocated) \
H A Ddarray.c31 if (d->data != d->preallocated) in __bch2_darray_resize_noprof()
/linux/include/drm/
H A Ddrm_format_helper.h32 bool preallocated; member
40 .preallocated = (_preallocated), \
54 * @_mem: The preallocated memory area
57 * Initializes an instance of struct drm_format_conv_state to preallocated
/linux/Documentation/core-api/
H A Dmin_heap.rst39 you to define a min-heap with a preallocated buffer or dynamically allocated
51 _type preallocated[_nr]; /* Static preallocated array */
58 elements (`data`). Optionally, you can specify a static array for preallocated
96 `NULL`, the preallocated buffer within the heap structure will be used.
100 `NULL`, the preallocated memory inside the heap structure will be used for
279 /* Initialize the heap with preallocated buffer and size */
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c42 bool preallocated; member
46 .preallocated = false,
60 { "preallocated", ARG_PREALLOCATED, NULL, 0, "use preallocated hash map" },
82 args.preallocated = true; in htab_mem_parse_arg()
184 if (args.preallocated) in htab_mem_setup()
H A Drun_bench_htab_mem.sh36 header "preallocated"
37 htab_mem_bench "--preallocated"
/linux/include/linux/ceph/
H A Dmsgpool.h14 int type; /* preallocated message type */
15 int front_len; /* preallocated payload size */
/linux/drivers/net/ipa/
H A Dipa.h54 * @zero_addr: DMA address of preallocated zero-filled memory
55 * @zero_virt: Virtual address of preallocated zero-filled memory
56 * @zero_size: Size (bytes) of preallocated zero-filled memory
/linux/lib/
H A Dgeneric-radix-tree.c23 struct genradix_node **preallocated, in __genradix_ptr_alloc() argument
30 if (preallocated) in __genradix_ptr_alloc()
31 swap(new_node, *preallocated); in __genradix_ptr_alloc()
H A Dstackdepot.c257 /* We have preallocated memory, use it. */ in depot_init_pool()
290 /* Keeps the preallocated memory to be used for a new stack depot pool. */
297 * pools is reached, do not use the preallocated memory. in depot_keep_new_pool()
663 * depot_alloc_stack() did not consume the preallocated memory. in stack_depot_save_flags()
664 * Try to keep the preallocated memory for future. in stack_depot_save_flags()
/linux/drivers/gpu/drm/
H A Ddrm_encoder.c143 * drm_encoder_init - Init a preallocated encoder
150 * Initializes a preallocated encoder. Encoder should be subclassed as part of
270 * drmm_encoder_init - Initialize a preallocated encoder
277 * Initializes a preallocated encoder. Encoder should be subclassed as
/linux/fs/erofs/
H A Dcompress.h40 * preallocated page (tryalloc) 00 Z_EROFS_PREALLOCATED_PAGE
48 * preallocated page NULL
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log_debugfs.c52 pr_warn_once("preallocated size:%zx for %s exceeded\n", in guc_log_dump_show()
75 pr_warn_once("preallocated size:%zx for %s exceeded\n", in guc_load_err_log_dump_show()
/linux/include/linux/
H A Dxz.h30 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2
169 * Multi-call mode with preallocated dictionary (XZ_PREALLOC): dict_max bytes
170 * of memory is preallocated for the LZMA2 dictionary. This way there is no
172 * never allocate any memory. Instead, if the preallocated dictionary is too
H A Dmin_heap.h14 * @preallocated: Start of the static preallocated array holding the heap elements.
21 _type preallocated[_nr]; \
217 heap->data = heap->preallocated; in __min_heap_init_inline()
H A Dpstore.h95 * @buf: preallocated crash dump buffer
149 * @buf will be pointing to the preallocated @psi.buf, since
/linux/net/rxrpc/
H A Dcall_accept.c434 * Charge up socket with preallocated calls, attaching user call IDs.
449 * rxrpc_kernel_charge_accept - Charge up socket with preallocated calls
453 * @user_call_ID: The tag to attach to the preallocated call
457 * Charge up the socket with preallocated calls, each with a user ID. A
/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c12 * @num_static: number of preallocated interrupts
69 /* skip preallocated entries if the caller says so */ in ice_get_irq_res()
368 /* Treat all preallocated interrupts as used */ in ice_get_max_used_msix_vector()
H A Dice_irq.h15 u16 num_static; /* preallocated entries */
/linux/mm/
H A Dmempool.c262 * this function creates and allocates a guaranteed size, preallocated
454 * mempool_alloc_preallocated - allocate an element from preallocated elements in mempool_alloc()
460 * an element from the preallocated elements. It does not sleep and immediately
461 * returns if no preallocated elements are available.
/linux/drivers/gpu/drm/i915/
H A Di915_active_types.h33 /* Preallocated "exclusive" node */
/linux/drivers/virt/vboxguest/
H A Dvboxguest_core.h85 /** Preallocated struct vmmdev_events for the IRQ handler. */
150 /** Preallocated VMMDEVREQ_GUEST_HEARTBEAT request. */
/linux/fs/hpfs/
H A Dhpfs.h100 __le32 user_id_table; /* 8 preallocated sectors - user id */
185 The to[] list is initialized to point to n_spares preallocated empty
191 /* Sectors 18 and 19 are preallocated and unused.
263 The "directory band" is a bunch of sectors preallocated for dnodes.
/linux/drivers/md/
H A Ddm-log-userspace-transfer.c187 DMINFO("Size of tfr exceeds preallocated size"); in dm_consult_userspace()
196 * use the preallocated space. in dm_consult_userspace()

123456789