Searched refs:allocation (Results 1 - 25 of 37) sorted by relevance

12

/linux-master/drivers/acpi/acpica/
H A Duttrack.c4 * Module Name: uttrack - Memory allocation tracking routines (debug only)
14 * Each memory allocation is tracked via a doubly linked list. Each
32 *allocation);
80 * PARAMETERS: size - Size of the allocation
94 struct acpi_debug_mem_block *allocation; local
105 allocation =
107 if (!allocation) {
109 /* Report allocation error */
118 acpi_ut_track_allocation(allocation, size, ACPI_MEM_MALLOC,
121 acpi_os_free(allocation);
157 struct acpi_debug_mem_block *allocation; local
217 acpi_ut_free_and_track(void *allocation, u32 component, const char *module, u32 line) argument
277 acpi_ut_find_allocation(struct acpi_debug_mem_block *allocation) argument
331 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) argument
421 acpi_ut_remove_allocation(struct acpi_debug_mem_block *allocation, u32 component, const char *module, u32 line) argument
[all...]
H A Dutalloc.c4 * Module Name: utalloc - local memory allocation routines
22 * PARAMETERS: size - Size of the allocation
33 void *allocation; local
37 allocation = acpi_os_allocate(size);
38 if (allocation) {
42 memset(allocation, 0, size);
45 return (allocation);
152 /* Memory allocation lists */
222 /* Debug only - display leftover memory allocation, if any */
322 * purposefully bypass the (optionally enabled) internal allocation
[all...]
/linux-master/tools/testing/selftests/resctrl/
H A Dmba_test.c23 * For each allocation, run 5 times in order to get average values.
29 static int runs_per_allocation, allocation = 100; local
40 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX)
43 sprintf(allocation_str, "%d", allocation);
49 allocation -= ALLOCATION_STEP;
56 int allocation, runs; local
61 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP;
62 allocation
[all...]
/linux-master/fs/dlm/
H A Dmemory.h23 struct dlm_mhandle *dlm_allocate_mhandle(gfp_t allocation);
27 struct dlm_msg *dlm_allocate_msg(gfp_t allocation);
H A Dmemory.c137 struct dlm_mhandle *dlm_allocate_mhandle(gfp_t allocation) argument
139 return kmem_cache_alloc(mhandle_cache, allocation);
157 struct dlm_msg *dlm_allocate_msg(gfp_t allocation) argument
159 return kmem_cache_alloc(msg_cache, allocation);
H A Dlowcomms.h42 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation,
H A Dmidcomms.h20 gfp_t allocation, char **ppc);
H A Dmidcomms.c980 int len, gfp_t allocation, char **ppc)
986 allocation, ppc, midcomms_new_msg_cb, mh);
1006 gfp_t allocation, char **ppc)
1021 mh = dlm_allocate_mhandle(allocation);
1032 msg = dlm_lowcomms_new_msg(nodeid, len, allocation, ppc,
1044 msg = dlm_midcomms_get_msg_3_2(mh, nodeid, len, allocation,
979 dlm_midcomms_get_msg_3_2(struct dlm_mhandle *mh, int nodeid, int len, gfp_t allocation, char **ppc) argument
1005 dlm_midcomms_get_mhandle(int nodeid, int len, gfp_t allocation, char **ppc) argument
/linux-master/include/linux/
H A Ddmapool.h22 size_t size, size_t align, size_t allocation);
34 size_t size, size_t align, size_t allocation);
39 struct device *dev, size_t size, size_t align, size_t allocation)
47 struct device *dev, size_t size, size_t align, size_t allocation)
38 dma_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) argument
46 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) argument
H A Dnetlink.h230 __u32 group, gfp_t allocation);
235 __u32 portid, __u32 group, gfp_t allocation,
/linux-master/drivers/md/dm-vdo/
H A Dphysical-zone.c477 * @allocation: The struct allocation of the data_vio attempting to allocate.
483 static int allocate_and_lock_block(struct allocation *allocation) argument
488 VDO_ASSERT_LOG_ONLY(allocation->lock == NULL,
491 result = vdo_allocate_block(allocation->zone->allocator, &allocation->pbn);
495 result = vdo_attempt_physical_zone_pbn_lock(allocation->zone, allocation->pbn,
496 allocation
541 struct allocation *allocation = &data_vio->allocation; local
[all...]
H A Dpacker.c255 * @allocation: The allocation to which the compressed block was written.
258 struct allocation *allocation)
261 .pbn = allocation->pbn,
262 .zone = allocation->zone,
266 vdo_share_compressed_write_lock(data_vio, allocation->lock);
267 update_metadata_for_data_vio_write(data_vio, allocation->lock);
289 release_compressed_write_waiter(client, &agent->allocation);
293 release_compressed_write_waiter(agent, &agent->allocation);
257 release_compressed_write_waiter(struct data_vio *data_vio, struct allocation *allocation) argument
299 struct allocation *allocation = &agent->allocation; local
[all...]
H A Ddump.c163 wait_on, data_vio, data_vio->allocation.pbn, data_vio->logical.lbn,
169 data_vio, data_vio->allocation.pbn, data_vio->logical.lbn,
239 data_vio->allocation.pbn, data_vio->logical.lbn,
244 data_vio->allocation.pbn, data_vio->logical.lbn);
H A Ddata-vio.h143 /* Fields supporting allocation of data blocks. */
144 struct allocation { struct
160 /* The zone which was the start of the current allocation cycle */
209 struct allocation allocation; member in struct:data_vio
212 * Whether this vio has received an allocation. This field is examined from threads not in
213 * the allocation zone.
320 return (data_vio->allocation.pbn != VDO_ZERO_BLOCK);
430 thread_id_t expected = data_vio->allocation.zone->thread_id;
435 (unsigned long long) data_vio->allocation
[all...]
H A Ddata-vio.c454 * writing and has received an allocation, service the read request immediately by copying
457 * allocation, prevent it from blocking in the packer and wait on it. This is necessary in
498 memset(&data_vio->allocation, 0, sizeof(data_vio->allocation));
796 "data_vio data allocation failure");
802 "data_vio compressed block allocation failure");
809 "data_vio scratch allocation failure");
814 "data_vio data bio allocation failure");
1278 VDO_ASSERT_LOG_ONLY(data_vio->allocation.lock == NULL,
1279 "complete data_vio has no allocation loc
1405 struct allocation *allocation = &data_vio->allocation; local
1425 struct allocation *allocation = &data_vio->allocation; local
[all...]
H A Ddedupe.c838 * query agent didn't have an allocation. The UDS update was delayed in case there
1014 * We don't take the downgraded allocation lock from the agent unless we actually need to
1192 * be deduplicated against, otherwise a data_vio allocation will have to be written to and used for
1483 * compression, rollover, or the QUERYING agent not having an allocation.
1497 * agent will release its allocation lock in cleanup.
1504 * select_writing_agent() - Search through the lock waiters for a data_vio that has an allocation.
1507 * If an allocation is found, swap agents, put the old agent at the head of the wait queue, then
1518 * Move waiters to the temp queue one-by-one until we find an allocation. Not ideal to
1541 /* No one has an allocation, so keep the current agent. */
1556 * with an allocation a
1962 struct allocation *allocation = &data_vio->allocation; local
[all...]
/linux-master/drivers/soundwire/
H A DMakefile11 soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
12 obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
/linux-master/mm/
H A Ddmapool.c57 unsigned int allocation; member in struct:dma_pool
63 struct dma_page { /* cacheable header for 'allocation' bytes */
127 if ((dma - page->dma) < pool->allocation)
161 memset(page->vaddr, POOL_POISON_FREED, pool->allocation);
221 * Return: a dma allocation pool with the requested characteristics, or
228 size_t allocation; local
245 allocation = max_t(size_t, size, PAGE_SIZE);
248 boundary = allocation;
252 boundary = min(boundary, allocation);
266 retval->allocation
493 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) argument
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_zswap.c308 void *allocation; local
310 allocation = malloc(values->target_alloc_bytes);
311 if (!allocation) {
316 ((char *)allocation)[i] = 'a';
319 free(allocation);
329 * a very high value so that the allocation falls below low wm, then makes
330 * another allocation to trigger kswapd that should push the memcg-owned pages
/linux-master/include/linux/netfilter/
H A Dnfnetlink.h60 __u32 group, gfp_t allocation);
/linux-master/tools/testing/fault-injection/
H A Dfailcmd.sh5 # failcmd.sh - run a command with injecting slab/page allocation failures
12 # Run command with injecting slab/page allocation failures by fault
59 inject slab allocation failures
61 inject page allocation failures
/linux-master/drivers/gpu/drm/amd/display/dc/bios/
H A Dcommand_table.c980 SET_PIXEL_CLOCK_PS_ALLOCATION allocation; local
982 memset(&allocation, 0, sizeof(allocation));
985 allocation.sPCLKInput.ucPpll = ATOM_PPLL1;
987 allocation.sPCLKInput.ucPpll = ATOM_PPLL2;
991 allocation.sPCLKInput.usRefDiv =
993 allocation.sPCLKInput.usFbDiv =
995 allocation.sPCLKInput.ucFracFbDiv =
997 allocation.sPCLKInput.ucPostDiv =
1001 allocation
[all...]
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dhtc.c444 u8 i, allocation = 0; local
450 allocation = serv_entry[i].credit_allocation;
455 return allocation;
/linux-master/net/netlink/
H A Daf_netlink.c1300 static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation) argument
1310 struct sk_buff *nskb = skb_clone(skb, allocation);
1318 (allocation & ~__GFP_DIRECT_RECLAIM) |
1427 gfp_t allocation; member in struct:netlink_broadcast_data
1466 p->skb2 = skb_clone(p->skb, p->allocation);
1515 u32 group, gfp_t allocation,
1523 skb = netlink_trim(skb, allocation);
1533 info.allocation = allocation;
1557 if (info.congested && gfpflags_allow_blocking(allocation))
1513 netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation, netlink_filter_fn filter, void *filter_data) argument
1565 netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation) argument
[all...]
/linux-master/net/netfilter/
H A Dnfnetlink.c207 __u32 group, gfp_t allocation)
211 netlink_broadcast(nfnlnet->nfnl, skb, portid, group, allocation);
206 nfnetlink_broadcast(struct net *net, struct sk_buff *skb, __u32 portid, __u32 group, gfp_t allocation) argument

Completed in 302 milliseconds

12