/kernel/linux/linux-5.10/security/ |
H A D | security.c | 553 panic("%s: Early cred alloc failed.\n", __func__); in lsm_early_cred() 672 panic("%s: Early task alloc failed.\n", __func__); in lsm_early_task() 1376 int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) in security_inode_getsecurity() argument 1387 rc = hp->hook.inode_getsecurity(inode, name, buffer, alloc); in security_inode_getsecurity()
|
/kernel/linux/linux-5.10/fs/ |
H A D | binfmt_elf.c | 1656 alloc: in fill_files_note() 1685 goto alloc; in fill_files_note()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | hashtab.c | 63 * spin_lock*(); alloc(GPF_ATOMIC); spin_unlock*(); 1074 /* For LRU, we need to alloc before taking bucket's in htab_lru_map_update_elem() 1190 /* For LRU, we need to alloc before taking bucket's in __htab_lru_percpu_map_update_elem() 1191 * spinlock because LRU's elem alloc may need in __htab_lru_percpu_map_update_elem() 1428 alloc: in __htab_map_lookup_and_delete_batch() 1482 goto alloc; in __htab_map_lookup_and_delete_batch()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/ |
H A D | ag71xx.c | 1222 void *(*alloc)(unsigned int size)) in ag71xx_fill_rx_buf() 1230 data = alloc(ag71xx_buffer_size(ag)); in ag71xx_fill_rx_buf()
|
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_elf.c | 1659 alloc: in fill_files_note() 1688 goto alloc; in fill_files_note()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 303 goto alloc; in get_page_hdr() 322 alloc: in get_page_hdr() 856 /* De-alloc circular buffer of TFDs */ in iwl_txq_gen2_free_memory() 897 /* De-alloc array of command/tx buffers */ in iwl_txq_gen2_free() 1154 IWL_ERR(trans, "Tx queue alloc failed\n"); in iwl_txq_dyn_alloc_dma() 1336 /* alloc and init the tx queue */ in iwl_txq_gen2_init() 1356 IWL_ERR(trans, "Tx %d queue alloc failed\n", txq_id); in iwl_txq_gen2_init()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76.h | 232 int (*alloc)(struct mt76_dev *dev, struct mt76_queue *q, member 1057 #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__)
|
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 318 .alloc = rsi_alloc, 595 .alloc = rsc_alloc,
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | cache.c | 106 new = detail->alloc(); in sunrpc_cache_add_entry() 223 tmp = detail->alloc(); in sunrpc_cache_update()
|
/kernel/linux/linux-6.6/mm/ |
H A D | memory_hotplug.c | 392 altmap->alloc = 0; in __add_pages() 2217 WARN(altmap->alloc, "Altmap not fully unmapped"); in try_remove_memory()
|
/test/xts/hats/hdf/codec/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 202 AllocInfo alloc = {.width = WIDTH, in InitBufferHandle() local 207 auto err = gralloc_->AllocMem(alloc, *bufferHandle); in InitBufferHandle()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_tables_api.c | 2134 unsigned int alloc) in nf_tables_chain_alloc_rules() 2136 if (alloc > INT_MAX) in nf_tables_chain_alloc_rules() 2139 alloc += 1; /* NULL, ends rules */ in nf_tables_chain_alloc_rules() 2140 if (sizeof(struct nft_rule *) > INT_MAX / alloc) in nf_tables_chain_alloc_rules() 2143 alloc *= sizeof(struct nft_rule *); in nf_tables_chain_alloc_rules() 2144 alloc += sizeof(struct nft_rules_old); in nf_tables_chain_alloc_rules() 2146 return kvmalloc(alloc, GFP_KERNEL); in nf_tables_chain_alloc_rules() 7955 unsigned int alloc = 0; in nf_tables_commit_chain_prepare() local 7967 alloc++; in nf_tables_commit_chain_prepare() 7970 chain->rules_next = nf_tables_chain_alloc_rules(chain, alloc); in nf_tables_commit_chain_prepare() 2133 nf_tables_chain_alloc_rules(const struct nft_chain *chain, unsigned int alloc) nf_tables_chain_alloc_rules() argument [all...] |
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
H A D | iommu.c | 2981 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte() argument 2995 if (!alloc) in __get_gcr3_pte() 3905 .alloc = irq_remapping_alloc,
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2653 XFS_BTREE_STATS_INC(cur, alloc); in __xfs_btree_split() 2916 XFS_BTREE_STATS_INC(cur, alloc); in xfs_btree_new_iroot() 3013 XFS_BTREE_STATS_INC(cur, alloc); in xfs_btree_new_root()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock.c | 2656 u64 alloc; in __sk_mem_raise_allocated() local 2660 alloc = sk_sockets_allocated_read_positive(sk); in __sk_mem_raise_allocated() 2661 if (sk_prot_mem_limits(sk, 2) > alloc * in __sk_mem_raise_allocated()
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | n_gsm.c | 25 * alloc/free model ready) 4201 bool alloc = false; in gsmtty_install() local 4227 alloc = true; in gsmtty_install() 4236 if (alloc) in gsmtty_install()
|
/kernel/linux/linux-6.6/drivers/iommu/amd/ |
H A D | iommu.c | 2678 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte() argument 2692 if (!alloc) in __get_gcr3_pte() 3541 .alloc = irq_remapping_alloc,
|
/kernel/linux/linux-6.6/net/core/ |
H A D | sock.c | 3096 u64 alloc; in __sk_mem_raise_allocated() local 3100 alloc = sk_sockets_allocated_read_positive(sk); in __sk_mem_raise_allocated() 3101 if (sk_prot_mem_limits(sk, 2) > alloc * in __sk_mem_raise_allocated()
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | core.c | 2945 * reg->alloc can be set due to existing state, so for fake cpuc we in __intel_shared_reg_get_constraints() 2949 if (reg->alloc && !cpuc->is_fake) in __intel_shared_reg_get_constraints() 2966 * on each event, this avoids the need for reg->alloc. in __intel_shared_reg_get_constraints() 2979 * scheduling(). reg->alloc ensures we only do the ER in __intel_shared_reg_get_constraints() 2982 reg->alloc = 1; in __intel_shared_reg_get_constraints() 3020 * (reg->alloc) and we don't care about leaving inconsistent cpuc state in __intel_shared_reg_put_constraints() 3023 if (!reg->alloc || cpuc->is_fake) in __intel_shared_reg_put_constraints() 3032 reg->alloc = 0; in __intel_shared_reg_put_constraints()
|
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | core.c | 3232 * reg->alloc can be set due to existing state, so for fake cpuc we in __intel_shared_reg_get_constraints() 3236 if (reg->alloc && !cpuc->is_fake) in __intel_shared_reg_get_constraints() 3253 * on each event, this avoids the need for reg->alloc. in __intel_shared_reg_get_constraints() 3266 * scheduling(). reg->alloc ensures we only do the ER in __intel_shared_reg_get_constraints() 3269 reg->alloc = 1; in __intel_shared_reg_get_constraints() 3307 * (reg->alloc) and we don't care about leaving inconsistent cpuc state in __intel_shared_reg_put_constraints() 3310 if (!reg->alloc || cpuc->is_fake) in __intel_shared_reg_put_constraints() 3319 reg->alloc = 0; in __intel_shared_reg_put_constraints()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_submission.c | 3517 .alloc = guc_context_alloc, 3793 .alloc = guc_virtual_context_alloc, 3885 .alloc = guc_virtual_context_alloc, 3909 .alloc = guc_virtual_context_alloc,
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 226 /* Memops alloc requires size to be page aligned. */ in __vb2_buf_mem_alloc() 233 mem_priv = call_ptr_memop(vb, alloc, in __vb2_buf_mem_alloc() 407 dprintk(q, 1, "memory alloc for buffer struct failed\n"); in __vb2_queue_alloc() 578 pr_info(" alloc: %u put: %u prepare: %u finish: %u mmap: %u\n", in __vb2_queue_free() 668 if (!(q->io_modes & VB2_MMAP) || !q->mem_ops->alloc || in __verify_mmap_ops()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | hashtab.c | 65 * spin_lock*(); alloc(GFP_ATOMIC); spin_unlock*(); 1221 /* For LRU, we need to alloc before taking bucket's in htab_lru_map_update_elem() 1345 /* For LRU, we need to alloc before taking bucket's in __htab_lru_percpu_map_update_elem() 1346 * spinlock because LRU's elem alloc may need in __htab_lru_percpu_map_update_elem() 1737 alloc: in __htab_map_lookup_and_delete_batch() 1797 goto alloc; in __htab_map_lookup_and_delete_batch()
|
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 226 /* Memops alloc requires size to be page aligned. */ in __vb2_buf_mem_alloc() 233 mem_priv = call_ptr_memop(alloc, in __vb2_buf_mem_alloc() 423 dprintk(q, 1, "memory alloc for buffer struct failed\n"); in __vb2_queue_alloc() 573 pr_info(" alloc: %u put: %u prepare: %u finish: %u mmap: %u\n", in __vb2_queue_free() 662 if (!(q->io_modes & VB2_MMAP) || !q->mem_ops->alloc || in __verify_mmap_ops()
|
/kernel/linux/linux-6.6/security/ |
H A D | security.c | 594 panic("%s: Early cred alloc failed.\n", __func__); in lsm_early_cred() 713 panic("%s: Early task alloc failed.\n", __func__); in lsm_early_task() 2394 * @alloc: allocation flag 2399 * @alloc is used to specify if the call should return a value via the buffer 2406 void **buffer, bool alloc) in security_inode_getsecurity() 2418 alloc); in security_inode_getsecurity() 2404 security_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc) security_inode_getsecurity() argument
|