/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | common.c | 486 struct tomoyo_profile *entry; in tomoyo_assign_profile() local 493 entry = kzalloc(sizeof(*entry), GFP_NOFS | __GFP_NOWARN); in tomoyo_assign_profile() 497 if (!ptr && tomoyo_memory_ok(entry)) { in tomoyo_assign_profile() 498 ptr = entry; in tomoyo_assign_profile() 510 entry = NULL; in tomoyo_assign_profile() 514 kfree(entry); in tomoyo_assign_profile() 829 * tomoyo_same_manager - Check for duplicated "struct tomoyo_manager" entry. 844 * tomoyo_update_manager_entry - Add a manager entry. 1028 * tomoyo_same_task_acl - Check for duplicated "struct tomoyo_task_acl" entry 2057 struct tomoyo_query entry = { }; tomoyo_supervisor() local [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | topology.c | 1339 * Each list entry contains a CPU mask reflecting CPUs that share the same 1355 struct asym_cap_data *entry; in asym_cpu_capacity_classify() local 1364 list_for_each_entry(entry, &asym_cap_list, link) { in asym_cpu_capacity_classify() 1365 if (cpumask_intersects(sd_span, cpu_capacity_span(entry))) in asym_cpu_capacity_classify() 1367 else if (cpumask_intersects(cpu_map, cpu_capacity_span(entry))) in asym_cpu_capacity_classify() 1388 struct asym_cap_data *entry = NULL; in asym_cpu_capacity_update_data() local 1390 list_for_each_entry(entry, &asym_cap_list, link) { in asym_cpu_capacity_update_data() 1391 if (capacity == entry->capacity) in asym_cpu_capacity_update_data() 1395 entry = kzalloc(sizeof(*entry) in asym_cpu_capacity_update_data() 1411 struct asym_cap_data *entry, *next; asym_cpu_capacity_scan() local [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_descriptor_set.c | 1171 const VkDescriptorUpdateTemplateEntry *entry = &pCreateInfo->pDescriptorUpdateEntries[i]; in tu_CreateDescriptorUpdateTemplate() local 1174 set_layout->binding + entry->dstBinding; in tu_CreateDescriptorUpdateTemplate() 1181 switch (entry->descriptorType) { in tu_CreateDescriptorUpdateTemplate() 1191 tu_immutable_samplers(set_layout, binding_layout) + entry->dstArrayElement; in tu_CreateDescriptorUpdateTemplate() 1198 dst_offset += (binding_layout->size * entry->dstArrayElement) / 4; in tu_CreateDescriptorUpdateTemplate() 1201 templ->entry[i] = (struct tu_descriptor_update_template_entry) { in tu_CreateDescriptorUpdateTemplate() 1202 .descriptor_type = entry->descriptorType, in tu_CreateDescriptorUpdateTemplate() 1203 .descriptor_count = entry->descriptorCount, in tu_CreateDescriptorUpdateTemplate() 1204 .src_offset = entry->offset, in tu_CreateDescriptorUpdateTemplate() 1205 .src_stride = entry in tu_CreateDescriptorUpdateTemplate() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 261 struct hash_entry *entry = _mesa_hash_table_search(ht, &key); in find_and_ref_external_bo() local 262 struct iris_bo *bo = entry ? entry->data : NULL; in find_and_ref_external_bo() 587 /* Return the power of two size of a slab entry matching the input size. */ 597 /* Return the slab entry alignment. */ 610 iris_can_reclaim_slab(void *priv, struct pb_slab_entry *entry) in iris_can_reclaim_slab() argument 612 struct iris_bo *bo = container_of(entry, struct iris_bo, slab.entry); in iris_can_reclaim_slab() 679 /* The slab size is twice the size of the largest possible entry. */ in iris_slab_alloc() 685 /* If the entry siz in iris_slab_alloc() 793 struct pb_slab_entry *entry; alloc_bo_from_slabs() local 1315 struct hash_entry *entry; bo_close() local [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgExpression.cpp | 49 bool operator() (const ValueEntry* entry) const in operator ()() 51 if ((m_exprFlags & CONST_EXPR) && (entry->getVariable()->getStorage() != Variable::STORAGE_CONST)) in operator ()() 72 bool operator() (const ValueEntry* entry) const in operator ()() 74 if (!IsReadableEntry::operator()(entry)) in operator ()() 77 if (entry->getValueRange().getType() != m_valueRange.getType()) in operator ()() 80 if (!entry->getValueRange().intersects(m_valueRange)) in operator ()() 100 bool operator() (const ValueEntry* entry) const in operator ()() 102 return IsWritableEntry::operator()(entry) && in operator ()() 103 entry->getVariable()->getType() == m_valueRange.getType() && in operator ()() 104 entry in operator ()() 861 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin<IsWritableEntry>(), state.getVariableManager().getEnd<IsWritableEntry>()); AssignOp() local 1157 const ValueEntry* entry = state.getRandom().chooseWeighted<const ValueEntry*>(availableVars.begin(), availableVars.end(), weights.begin()); VariableRead() local 1211 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(first, end); VariableWrite() local [all...] |
/drivers/peripheral/wlan/hal/src/ |
H A D | wifi_hal_cmd.c | 57 DListInsertTail(&networkList->entry, &g_networkHead); in HalCmdGetAvailableNetwork() 80 DLIST_FOR_EACH_ENTRY(networkList, &g_networkHead, struct IWiFiList, entry) { in GetSupportTypeByList() 312 DLIST_FOR_EACH_ENTRY(networkNode, networkHead, struct IWiFiList, entry) { in HalCmdGetFeatureByIfName() 364 DLIST_FOR_EACH_ENTRY_SAFE(networkList, tmp, &g_networkHead, struct IWiFiList, entry) { in ClearIWiFiList() 365 DListRemove(&networkList->entry); in ClearIWiFiList()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_recognizer.cpp | 154 for (auto entry = dragFingers_.begin(); entry != dragFingers_.end(); ++entry) { in HandleTouchUpEvent() 155 if (entry == iter) { in HandleTouchUpEvent() 158 auto& otherDragInfo = entry->second; in HandleTouchUpEvent()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/sync_fuzzer/ |
H A D | sync_fuzzer.cpp | 97 Entry entry; in CreateEntries() local 98 entry.key = std::vector<uint8_t>(data, data + i); in CreateEntries() 99 keys.push_back(entry.key); in CreateEntries() 100 entry.value = std::vector<uint8_t>(data, data + size); in CreateEntries() 101 entries.push_back(entry); in CreateEntries() 293 /* Fuzzer entry point */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bo_list.c | 93 struct amdgpu_bo_list_entry *entry; in amdgpu_bo_list_create() local 114 entry = &array[--first_userptr]; in amdgpu_bo_list_create() 116 entry = &array[last_entry++]; in amdgpu_bo_list_create() 119 entry->priority = min(info[i].bo_priority, in amdgpu_bo_list_create() 121 entry->tv.bo = &bo->tbo; in amdgpu_bo_list_create()
|
/kernel/linux/linux-5.10/arch/x86/pci/ |
H A D | i386.c | 120 struct pcibios_fwaddrmap *entry, *next; in pcibios_fw_addr_list_del() local 123 list_for_each_entry_safe(entry, next, &pcibios_fwaddrmappings, list) { in pcibios_fw_addr_list_del() 124 list_del(&entry->list); in pcibios_fw_addr_list_del() 125 pci_dev_put(entry->dev); in pcibios_fw_addr_list_del() 126 kfree(entry); in pcibios_fw_addr_list_del()
|
/kernel/linux/linux-5.10/arch/loongarch/ |
H A D | Makefile | 7 $(Q)$(MAKE) $(build)=arch/loongarch/tools elf-entry 35 CC_FLAGS_FTRACE := -fpatchable-function-entry=2 107 entry-y = $(shell $(objtree)/arch/loongarch/tools/elf-entry vmlinux) 115 VMLINUX_ENTRY_ADDRESS=$(entry-y) PLATFORM="$(platform-y)"
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
H A D | acpi.c | 309 u8 *entry; in get_acpi_srat_table() local 345 entry = (u8 *)(root_table + sizeof(struct acpi_table_header)); in get_acpi_srat_table() 349 acpi_table = *(u32 *)entry; in get_acpi_srat_table() 351 acpi_table = *(u64 *)entry; in get_acpi_srat_table() 359 entry += size; in get_acpi_srat_table()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 85 u64 entry, type; in kexec_file_update_purgatory() local 89 entry = STARTUP_KDUMP_OFFSET; in kexec_file_update_purgatory() 92 entry = STARTUP_NORMAL_OFFSET; in kexec_file_update_purgatory() 96 ret = kexec_purgatory_get_set_symbol(image, "kernel_entry", &entry, in kexec_file_update_purgatory() 97 sizeof(entry), false); in kexec_file_update_purgatory()
|
H A D | irq.c | 30 #include "entry.h" 214 struct hlist_node entry; member 243 hlist_add_head_rcu(&p->entry, &ext_int_hash[index]); in register_external_irq() 256 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in unregister_external_irq() 258 hlist_del_rcu(&p->entry); in unregister_external_irq() 280 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in do_ext_interrupt()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | tlb.c | 245 pmd_t old, entry; in pmdp_invalidate() local 247 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate() 248 old = pmdp_establish(vma, address, pmdp, entry); in pmdp_invalidate() 256 if ((pmd_val(entry) & _PAGE_PMD_HUGE) && in pmdp_invalidate() 257 !is_huge_zero_page(pmd_page(entry))) in pmdp_invalidate()
|
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | tlb.c | 250 pmd_t old, entry; in pmdp_invalidate() local 252 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate() 253 old = pmdp_establish(vma, address, pmdp, entry); in pmdp_invalidate() 261 if ((pmd_val(entry) & _PAGE_PMD_HUGE) && in pmdp_invalidate() 262 !is_huge_zero_page(pmd_page(entry))) in pmdp_invalidate()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_chain.c | 108 struct addr_tbl_entry *entry; in qed_chain_free_pbl() local 115 entry = chain->pbl.pp_addr_tbl + i; in qed_chain_free_pbl() 116 if (!entry->virt_addr) in qed_chain_free_pbl() 119 dma_free_coherent(dev, chain->page_size, entry->virt_addr, in qed_chain_free_pbl() 120 entry->dma_map); in qed_chain_free_pbl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_rdma.c | 101 INIT_LIST_HEAD(&edev->rdma_info.entry); in qede_rdma_dev_add() 103 list_add_tail(&edev->rdma_info.entry, &qedr_dev_list); in qede_rdma_dev_add() 128 list_del(&edev->rdma_info.entry); in qede_rdma_dev_remove() 195 list_for_each_entry(edev, &qedr_dev_list, rdma_info.entry) { in qede_rdma_register_driver() 218 list_for_each_entry(edev, &qedr_dev_list, rdma_info.entry) { in qede_rdma_unregister_driver()
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | bus.c | 22 struct resource_entry *entry; in pci_add_resource_offset() local 24 entry = resource_list_create_entry(res, 0); in pci_add_resource_offset() 25 if (!entry) { in pci_add_resource_offset() 30 entry->offset = offset; in pci_add_resource_offset() 31 resource_list_add_tail(entry, resources); in pci_add_resource_offset()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | msi.h | 20 void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg); 97 void (*write_msi_msg)(struct msi_desc *entry, void *data); 192 void free_msi_entry(struct msi_desc *entry); 193 void __pci_read_msi_msg(struct msi_desc *entry, struct msi_msg *msg); 194 void __pci_write_msi_msg(struct msi_desc *entry, struct msi_msg *msg);
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice.c | 196 const struct ieee1394_device_id *entry) in dice_probe() 201 if (!entry->driver_data && entry->vendor_id != OUI_SSL) { in dice_probe() 214 if (!entry->driver_data) { in dice_probe() 218 (snd_dice_detect_formats_t)entry->driver_data; in dice_probe() 195 dice_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) dice_probe() argument
|
/kernel/linux/linux-5.10/tools/hv/ |
H A D | hv_vss_daemon.c | 68 struct dirent *entry; in is_dev_loop() local 95 while ((entry = readdir(dir)) != NULL) { in is_dev_loop() 96 if (strcmp(entry->d_name, ".") == 0 || in is_dev_loop() 97 strcmp(entry->d_name, "..") == 0) in is_dev_loop() 101 entry->d_name); in is_dev_loop()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_attr_inactive.c | 90 struct xfs_attr_leaf_entry *entry; in xfs_attr3_leaf_inactive() local 101 entry = xfs_attr3_leaf_entryp(leaf); in xfs_attr3_leaf_inactive() 102 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive() 105 if (!entry->nameidx || (entry->flags & XFS_ATTR_LOCAL)) in xfs_attr3_leaf_inactive()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | netfilter.c | 80 const struct nf_queue_entry *entry) in nf_ip6_reroute() 82 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() 84 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip6_reroute() 89 return ip6_route_me_harder(entry->state.net, entry->state.sk, skb); in nf_ip6_reroute() 79 nf_ip6_reroute(struct sk_buff *skb, const struct nf_queue_entry *entry) nf_ip6_reroute() argument
|
/kernel/linux/linux-5.10/drivers/rapidio/switches/ |
H A D | idt_gen3.c | 41 u32 entry = route_port; in idtg3_route_add_entry() local 45 __func__, table, route_destid, entry); in idtg3_route_add_entry() 51 entry = RIO_RT_ENTRY_DROP_PKT; in idtg3_route_add_entry() 57 entry); in idtg3_route_add_entry() 74 entry); in idtg3_route_add_entry()
|