Searched refs:alloc (Results 126 - 150 of 462) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmrid_manager.c208 .alloc = vmw_gmrid_man_get_node,
/linux-master/drivers/gpu/drm/i915/
H A Dintel_region_ttm.c238 ret = man->func->alloc(man, &mock_bo, &place, &res);
H A Di915_query.c379 int alloc, n_configs; local
407 alloc = fetch_and_zero(&n_configs);
412 if (n_configs < alloc)
419 } while (n_configs > alloc);
/linux-master/include/linux/
H A Dvt_kern.h141 int vt_move_to_console(unsigned int vt, int alloc);
H A Dremoteproc.h330 * @alloc: specific memory allocator function
344 int (*alloc)(struct rproc *rproc, struct rproc_mem_entry *mem); member in struct:rproc_mem_entry
679 int (*alloc)(struct rproc *, struct rproc_mem_entry *),
H A Dmaple_tree.h297 struct maple_alloc alloc; member in union:maple_node::__anon2047
396 * state->alloc either has a request number of nodes or an allocated node. If
397 * stat->alloc has a requested number of nodes, the first bit will be set (0x1)
398 * and the remaining bits are the value. If state->alloc is a node, then the
403 * nodes into state->alloc->slot[0]'s node. Nodes are taken from state->alloc
404 * by removing a node from the state->alloc node until state->alloc->node_count
405 * is 1, when state->alloc is returned and the state->alloc
433 struct maple_alloc *alloc; /* Allocated nodes for this operation */ member in struct:ma_state
[all...]
/linux-master/arch/x86/events/intel/
H A Duncore.c95 struct pci2phy_map *map, *alloc = NULL; local
106 if (!alloc) {
108 alloc = kmalloc(sizeof(struct pci2phy_map), GFP_KERNEL);
111 if (!alloc)
117 map = alloc;
118 alloc = NULL;
125 kfree(alloc);
188 * reg->alloc can be set due to existing state, so for fake box we
193 (!uncore_box_is_fake(box) && reg1->alloc))
209 reg1->alloc
[all...]
/linux-master/tools/lib/subcmd/
H A Dhelp.c26 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc);
38 cmds->alloc = 0;
/linux-master/security/integrity/evm/
H A Devm_crypto.c97 goto alloc;
120 alloc:
217 * the hmac using the requested xattr value. Don't alloc/free memory for
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c779 cq->cqn = mthca_alloc(&dev->cq_table.alloc);
884 mthca_free(&dev->cq_table.alloc, cq->cqn);
949 mthca_free(&dev->cq_table.alloc, cq->cqn);
959 err = mthca_alloc_init(&dev->cq_table.alloc,
969 mthca_alloc_cleanup(&dev->cq_table.alloc);
977 mthca_alloc_cleanup(&dev->cq_table.alloc);
H A Dmthca_eq.c514 eq->eqn = mthca_alloc(&dev->eq_table.alloc);
568 mthca_free(&dev->eq_table.alloc, eq->eqn);
774 err = mthca_alloc_init(&dev->eq_table.alloc,
885 mthca_alloc_cleanup(&dev->eq_table.alloc);
905 mthca_alloc_cleanup(&dev->eq_table.alloc);
/linux-master/net/mac80211/
H A Dsta_info.c362 struct sta_link_alloc *alloc = NULL; local
378 alloc = container_of(link_sta, typeof(*alloc), info);
383 if (alloc) {
384 sta_info_free_link(&alloc->info);
385 kfree_rcu(alloc, rcu_head);
589 /* TODO link specific alloc and assignments for MLO Link STA */
2891 struct sta_link_alloc *alloc; local
2906 alloc = kzalloc(sizeof(*alloc), GFP_KERNE
[all...]
/linux-master/kernel/
H A Dresource.c458 /* re-alloc */
640 struct resource tmp = *new, avail, alloc; local
668 alloc.flags = avail.flags;
669 alloc.start = constraint->alignf(constraint->alignf_data, &avail,
671 alloc.end = alloc.start + size - 1;
672 if (alloc.start <= alloc.end &&
673 resource_contains(&avail, &alloc)) {
674 new->start = alloc
[all...]
/linux-master/drivers/net/ethernet/micrel/
H A Dksz884x.c925 * @alloc: Number of descriptors allocated.
937 int alloc; member in struct:ksz_desc_info
3433 int alloc = info->alloc; local
3437 while (!(alloc & 1)) {
3439 alloc >>= 1;
3441 if (alloc != 1 || shift < MIN_DESC_SHIFT) {
3443 while (alloc) {
3445 alloc >>= 1;
3449 alloc
[all...]
/linux-master/drivers/iommu/
H A Dio-pgtable-arm.c201 if (cfg->alloc) {
202 pages = cfg->alloc(cookie, size, gfp);
1102 .alloc = arm_64_lpae_alloc_pgtable_s1,
1108 .alloc = arm_64_lpae_alloc_pgtable_s2,
1114 .alloc = arm_32_lpae_alloc_pgtable_s1,
1120 .alloc = arm_32_lpae_alloc_pgtable_s2,
1126 .alloc = arm_mali_lpae_alloc_pgtable,
/linux-master/drivers/dma/dw-edma/
H A Ddw-edma-core.c816 static inline void dw_edma_dec_irq_alloc(int *nr_irqs, u32 *alloc, u16 cnt) argument
818 if (*nr_irqs && *alloc < cnt) {
819 (*alloc)++;
824 static inline void dw_edma_add_irq_mask(u32 *mask, u32 alloc, u16 cnt) argument
826 while (*mask * alloc < cnt)
/linux-master/fs/quota/
H A Dquota_v2.c356 bool alloc = false; local
366 alloc = true;
376 if (alloc)
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-dbg-tlv.c124 const struct iwl_fw_ini_allocation_tlv *alloc = (const void *)tlv->data; local
128 if (le32_to_cpu(tlv->length) != sizeof(*alloc))
131 buf_location = le32_to_cpu(alloc->buf_location);
132 alloc_id = le32_to_cpu(alloc->alloc_id);
151 alloc->req_size == 0) {
156 trans->dbg.fw_mon_cfg[alloc_id] = *alloc;
828 "WRT: Failed to set DRAM buffer for alloc id %d, ret=%d\n",
/linux-master/tools/perf/util/
H A Dtime-utils.c401 goto alloc;
413 alloc:
/linux-master/drivers/media/rc/
H A Drc-main.c221 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table));
222 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table);
223 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL);
231 rc_map->size, rc_map->alloc);
265 unsigned int oldalloc = rc_map->alloc;
272 if (rc_map->alloc >= IR_TAB_MAX_SIZE)
294 rc_map->alloc = newalloc;
295 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table);
/linux-master/arch/sparc/mm/
H A Diommu.c426 .alloc = sbus_iommu_alloc,
437 .alloc = sbus_iommu_alloc,
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c362 device->intr.alloc = true;
377 if (device->intr.alloc)
/linux-master/fs/kernfs/
H A Dinode.c27 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc) argument
34 if (kn->iattr || !alloc)
/linux-master/drivers/xen/
H A Dswiotlb-xen.c389 .alloc = xen_swiotlb_alloc_coherent,
392 .alloc = dma_direct_alloc,
/linux-master/fs/xfs/
H A DMakefile152 alloc.o \

Completed in 479 milliseconds

1234567891011>>