/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | coreboot_table.c | 32 return device->entry.tag == driver->tag; in coreboot_bus_match() 92 struct coreboot_table_entry *entry; in coreboot_table_populate() local 97 entry = ptr_entry; in coreboot_table_populate() 99 device = kzalloc(sizeof(struct device) + entry->size, GFP_KERNEL); in coreboot_table_populate() 107 memcpy(&device->entry, ptr_entry, entry->size); in coreboot_table_populate() 115 ptr_entry += entry->size; in coreboot_table_populate()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | machine_kexec.c | 85 kimage_entry_t *entry; in kexec_list_flush() local 87 for (entry = &kimage->head; ; entry++) { in kexec_list_flush() 92 __flush_dcache_area(entry, sizeof(kimage_entry_t)); in kexec_list_flush() 94 flag = *entry & IND_FLAGS; in kexec_list_flush() 98 addr = phys_to_virt(*entry & PAGE_MASK); in kexec_list_flush() 102 /* Set entry point just before the new list page. */ in kexec_list_flush() 103 entry = (kimage_entry_t *)addr - 1; in kexec_list_flush() 199 * position and transfers control to the image entry point when the in machine_kexec() 202 * kernel entry an in machine_kexec() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_managed.c | 39 struct list_head entry; member 68 list_for_each_entry_safe(dr, tmp, &dev->managed.resources, node.entry) { in drm_managed_release() 75 list_del(&dr->node.entry); in drm_managed_release() 101 INIT_LIST_HEAD(&dr->node.entry); in alloc_dr() 110 list_del_init(&dr->node.entry); in del_dr() 121 list_add(&dr->node.entry, &dev->managed.resources); in add_dr() 250 list_for_each_entry(dr, &dev->managed.resources, node.entry) { in drmm_kfree()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt.c | 38 struct ieee80211_crypt_data *entry; in ieee80211_crypt_deinit_entries() local 42 entry = list_entry(ptr, struct ieee80211_crypt_data, list); in ieee80211_crypt_deinit_entries() 44 if (atomic_read(&entry->refcnt) != 0 && !force) in ieee80211_crypt_deinit_entries() 49 if (entry->ops) in ieee80211_crypt_deinit_entries() 50 entry->ops->deinit(entry->priv); in ieee80211_crypt_deinit_entries() 51 kfree(entry); in ieee80211_crypt_deinit_entries()
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
H A D | vpci.c | 36 struct pci_dev_entry *entry; in __xen_pcibk_get_pci_dev() local 46 list_for_each_entry(entry, in __xen_pcibk_get_pci_dev() 49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev() 50 dev = entry->dev; in __xen_pcibk_get_pci_dev() 88 "Error adding entry to virtual PCI bus"); in __xen_pcibk_add_pci_dev() 237 struct pci_dev_entry *entry; in __xen_pcibk_get_pcifront_dev() local 244 list_for_each_entry(entry, in __xen_pcibk_get_pcifront_dev() 247 dev = entry->dev; in __xen_pcibk_get_pcifront_dev()
|
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
H A D | vpci.c | 36 struct pci_dev_entry *entry; in __xen_pcibk_get_pci_dev() local 46 list_for_each_entry(entry, in __xen_pcibk_get_pci_dev() 49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev() 50 dev = entry->dev; in __xen_pcibk_get_pci_dev() 88 "Error adding entry to virtual PCI bus"); in __xen_pcibk_add_pci_dev() 237 struct pci_dev_entry *entry; in __xen_pcibk_get_pcifront_dev() local 243 list_for_each_entry(entry, in __xen_pcibk_get_pcifront_dev() 246 if (entry->dev == pcidev) { in __xen_pcibk_get_pcifront_dev()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt.c | 38 struct ieee80211_crypt_data *entry; in ieee80211_crypt_deinit_entries() local 42 entry = list_entry(ptr, struct ieee80211_crypt_data, list); in ieee80211_crypt_deinit_entries() 44 if (atomic_read(&entry->refcnt) != 0 && !force) in ieee80211_crypt_deinit_entries() 49 if (entry->ops) in ieee80211_crypt_deinit_entries() 50 entry->ops->deinit(entry->priv); in ieee80211_crypt_deinit_entries() 51 kfree(entry); in ieee80211_crypt_deinit_entries()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_managed.c | 40 struct list_head entry; member 69 list_for_each_entry_safe(dr, tmp, &dev->managed.resources, node.entry) { in drm_managed_release() 76 list_del(&dr->node.entry); in drm_managed_release() 102 INIT_LIST_HEAD(&dr->node.entry); in alloc_dr() 111 list_del_init(&dr->node.entry); in del_dr() 122 list_add(&dr->node.entry, &dev->managed.resources); in add_dr() 251 list_for_each_entry(dr, &dev->managed.resources, node.entry) { in drmm_kfree()
|
/third_party/eudev/src/libudev/ |
H A D | libudev-private.h | 98 void udev_list_node_remove(struct udev_list_node *entry); 111 void udev_list_entry_delete(struct udev_list_entry *entry); 114 #define udev_list_entry_foreach_safe(entry, tmp, first) \ 115 for (entry = first, tmp = udev_list_entry_get_next(entry); \ 116 entry != NULL; \ 117 entry = tmp, tmp = udev_list_entry_get_next(tmp))
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_phis_to_scalar.c | 43 * pointers to phi instructions and the entry is either NULL for not 155 struct hash_entry *entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi() local 156 if (entry) in should_lower_phi() 157 return entry->data != NULL; in should_lower_phi() 159 /* Insert an entry and mark it as scalarizable for now. That way in should_lower_phi() 163 entry = _mesa_hash_table_insert(state->phi_table, phi, (void *)(intptr_t)1); in should_lower_phi() 178 /* The hash table entry for 'phi' may have changed while recursing the in should_lower_phi() 180 entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi() 181 assert(entry); in should_lower_phi() 183 entry in should_lower_phi() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-debug.h | 110 // Only store differences from the last entry, to keep the table small. 132 const Entry::Value* FindValue(const Entry* entry, int stack_index) const { in FindValue() argument 134 if (auto* value = entry->FindChangedValue(stack_index)) { in FindValue() 136 // also had an entry for {stack_index}, it must be different. in FindValue() 137 DCHECK(entry == &entries_.front() || in FindValue() 138 (entry - 1)->stack_height() <= stack_index || in FindValue() 139 *FindValue(entry - 1, stack_index) != *value); in FindValue() 142 DCHECK_NE(&entries_.front(), entry); in FindValue() 143 --entry; in FindValue()
|
/third_party/ltp/tools/sparse/ |
H A D | sparse-ltp.c | 7 * of entry points (functions) containing basic blocks of 199 "LTP-005: Struct array doesn't appear to be null-terminated; did you forget to add '{}' as the final entry?"); in check_struct_array_initializer() 208 struct expression *entry; in check_test_struct() local 229 FOR_EACH_PTR(init->expr_list, entry) { in check_test_struct() 230 if (entry->init_expr->type != EXPR_SYMBOL) in check_test_struct() 233 switch (entry->ctype->ctype.base_type->type) { in check_test_struct() 241 const struct symbol *entry_init = entry->init_expr->symbol; in check_test_struct() 246 } END_FOR_EACH_PTR(entry); in check_test_struct() 272 if (!ep || !ep->entry) in process_symbols()
|
/third_party/node/deps/v8/src/strings/ |
H A D | unicode-inl.h | 17 CacheEntry entry = entries_[code_point & kMask]; in get() local 18 if (entry.code_point() == code_point) return entry.value(); in get() 31 CacheEntry entry = entries_[c & kMask]; in get() local 32 if (entry.code_point_ == c) { in get() 33 if (entry.offset_ == 0) { in get() 36 result[0] = c + entry.offset_; in get()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_tcs_variant.cpp | 50 delete_entry(struct hash_entry *entry) in delete_entry() argument 52 d3d12_shader_free((d3d12_shader_selector *)entry->data); in delete_entry() 156 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(ctx->tcs_variant_cache, in d3d12_get_tcs_variant() local 158 if (!entry) { in d3d12_get_tcs_variant() 160 entry = _mesa_hash_table_insert_pre_hashed(ctx->tcs_variant_cache, in d3d12_get_tcs_variant() 162 assert(entry); in d3d12_get_tcs_variant() 165 return (d3d12_shader_selector *)entry->data; in d3d12_get_tcs_variant()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | nftw.c | 62 struct dirent *entry; in remove_directory() local 69 while ((entry = readdir(dir)) != NULL) { in remove_directory() 70 if (entry->d_type == DT_DIR) { in remove_directory() 71 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { in remove_directory() 75 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory() 81 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | VertexDeclarationCache.cpp | 206 VertexDeclCacheEntry *entry = &mVertexDeclCache[i]; in applyDeclaration() local 207 if (memcmp(entry->cachedElements, elements, in applyDeclaration() 209 entry->vertexDeclaration) in applyDeclaration() 211 entry->lruCount = ++mMaxLru; in applyDeclaration() 212 if (entry->vertexDeclaration != mLastSetVDecl) in applyDeclaration() 214 device->SetVertexDeclaration(entry->vertexDeclaration); in applyDeclaration() 215 mLastSetVDecl = entry->vertexDeclaration; in applyDeclaration()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | assembly_grammar.cpp | 64 spv_operand_desc entry = nullptr; in spvTextParseMaskOperand() local 66 &entry)) { in spvTextParseMaskOperand() 69 value |= entry->value; in spvTextParseMaskOperand() 221 [name](const SpecConstantOpcodeEntry& entry) { in lookupSpecConstantOpcode() 222 return 0 == strcmp(name, entry.name); in lookupSpecConstantOpcode() 233 [opcode](const SpecConstantOpcodeEntry& entry) { in lookupSpecConstantOpcode() 234 return opcode == entry.opcode; in lookupSpecConstantOpcode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | assembly_grammar.cpp | 64 spv_operand_desc entry = nullptr; in spvTextParseMaskOperand() local 66 &entry)) { in spvTextParseMaskOperand() 69 value |= entry->value; in spvTextParseMaskOperand() 221 [name](const SpecConstantOpcodeEntry& entry) { in lookupSpecConstantOpcode() 222 return 0 == strcmp(name, entry.name); in lookupSpecConstantOpcode() 233 [opcode](const SpecConstantOpcodeEntry& entry) { in lookupSpecConstantOpcode() 234 return opcode == entry.opcode; in lookupSpecConstantOpcode()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireOptionalTests.cpp | 38 WGPUBindGroupEntry entry; in TEST_F() local 39 entry.binding = 0; in TEST_F() 40 entry.sampler = nullptr; in TEST_F() 41 entry.textureView = nullptr; in TEST_F() 42 entry.buffer = nullptr; in TEST_F() 43 entry.nextInChain = nullptr; in TEST_F() 48 bgDesc.entries = &entry; in TEST_F()
|
/third_party/spirv-tools/source/opt/ |
H A D | private_to_local_pass.cpp | 66 // In SPIR-V 1.4 and later entry points must list private storage class in Process() 67 // variables that are statically used by the entry point. Go through the in Process() 68 // entry points and remove any references to variables that were localized. in Process() 69 for (auto& entry : get_module()->entry_points()) { in Process() 71 for (uint32_t i = 0; i < entry.NumInOperands(); ++i) { in Process() 74 !localized_variables.count(entry.GetSingleWordInOperand(i))) { in Process() 75 new_operands.push_back(entry.GetInOperand(i)); in Process() 78 if (new_operands.size() != entry.NumInOperands()) { in Process() 79 entry.SetInOperands(std::move(new_operands)); in Process() 80 context()->AnalyzeUses(&entry); in Process() [all...] |
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/include/ |
H A D | utils_data_stub.h | 43 static bool WriteMetadata(const camera_metadata_item_t &entry, MessageParcel &data); 44 static bool ReadMetadata(camera_metadata_item_t &entry, MessageParcel &data); 45 static void EntryDataToBuffer(const camera_metadata_item_t &entry, void **buffer); 46 static bool WriteMetadataDataToVec(const camera_metadata_item_t &entry, std::vector<uint8_t> &cameraAbility); 47 static bool ReadMetadataDataFromVec(int32_t &index, camera_metadata_item_t &entry,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_parser_test/ |
H A D | bms_bundle_parser_test.cpp | 87 "package": "com.example.hiworld.himusic.entry", 93 "moduleType": "entry", 108 "targetClass": "com.demo.hiworld.himusic.entry.MainAbility" 211 "com.example.hiworld.himusic.entry.MainAbility", 212 "com.example.hiworld.himusic.entry.PlayService" 267 "moduleName":"entry", 268 "moduleType":"entry", 288 "name":".entry", 349 "moduleName":"entry", 350 "moduleType":"entry", [all...] |
/foundation/multimodalinput/input/service/libinput_adapter/src/ |
H A D | hotplug_detector.cpp | 90 dirent* entry = nullptr; in Scan() local 91 while ((entry = readdir(dir)) != nullptr) { in Scan() 92 if (entry->d_name == "."s || entry->d_name == ".."s) { in Scan() 95 addFunc_(std::string{INPUT_DEVICES_PATH} + entry->d_name); in Scan()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | intercepted_data_impl.cpp | 130 auto entry = dataItems_[indexes_[index]]; in ModifyKey() local 131 entry->SetKey(newKey); in ModifyKey() 139 entry->SetHashKey(hashKey); in ModifyKey() 167 auto entry = dataItems_[indexes_[index]]; in ModifyValue() local 168 entry->SetValue(newValue); in ModifyValue()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | single_ver_natural_store_connection.cpp | 34 Entry entry{key, value}; in Put() 35 entries.emplace_back(std::move(entry)); in Put() 62 for (const auto &entry : entries) { in CheckAndGetEntryLen() 63 len += (entry.key.size() + entry.value.size()); in CheckAndGetEntryLen()
|