/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | mprog.c | 82 * case of front idx is -1, in case of back idx is bpf_mprog_total(entry). 83 * Adjustment to first and last entry is trivial. The bpf_mprog_insert() 90 * P1 and P2 to the new entry, and we insert P4 into idx 2. Inserting 100 * Again, memmove copies P1 and P2 to the new entry, and we insert P4 102 * bpf_mprog_total(entry). 108 static int bpf_mprog_replace(struct bpf_mprog_entry *entry, in bpf_mprog_replace() argument 116 bpf_mprog_read(entry, idx, &fp, &cp); in bpf_mprog_replace() 123 *entry_new = entry; in bpf_mprog_replace() 127 static int bpf_mprog_insert(struct bpf_mprog_entry *entry, in bpf_mprog_insert() argument 131 int total = bpf_mprog_total(entry); in bpf_mprog_insert() 151 bpf_mprog_delete(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_tuple *dtuple, int idx) bpf_mprog_delete() argument 178 bpf_mprog_pos_exact(struct bpf_mprog_entry *entry, struct bpf_tuple *tuple) bpf_mprog_pos_exact() argument 193 bpf_mprog_pos_before(struct bpf_mprog_entry *entry, struct bpf_tuple *tuple) bpf_mprog_pos_before() argument 209 bpf_mprog_pos_after(struct bpf_mprog_entry *entry, struct bpf_tuple *tuple) bpf_mprog_pos_after() argument 225 bpf_mprog_attach(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_prog *prog_new, struct bpf_link *link, struct bpf_prog *prog_old, u32 flags, u32 id_or_fd, u64 revision) bpf_mprog_attach() argument 297 bpf_mprog_fetch(struct bpf_mprog_entry *entry, struct bpf_tuple *tuple, int idx) bpf_mprog_fetch() argument 328 bpf_mprog_detach(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new, struct bpf_prog *prog, struct bpf_link *link, u32 flags, u32 id_or_fd, u64 revision) bpf_mprog_detach() argument 395 bpf_mprog_query(const union bpf_attr *attr, union bpf_attr __user *uattr, struct bpf_mprog_entry *entry) bpf_mprog_query() argument [all...] |
/base/powermgr/powermgr_lite/services/src/ |
H A D | running_lock_mgr.c | 35 static RunningLockEntry *DupRunningLockEntry(RunningLockEntry *entry) in DupRunningLockEntry() argument 39 POWER_HILOGE("Failed allocate running lock entry"); in DupRunningLockEntry() 42 if (memcpy_s(e, sizeof(RunningLockEntry), entry, sizeof(RunningLockEntry)) != EOK) { in DupRunningLockEntry() 43 POWER_HILOGE("Failed copy running lock entry"); in DupRunningLockEntry() 50 static BOOL AddRunningLockEntryLocked(Vector *vec, RunningLockEntry *entry) in AddRunningLockEntryLocked() argument 52 int16_t pos = VECTOR_FindByKey(vec, (void *)&entry->identity); in AddRunningLockEntryLocked() 54 POWER_HILOGD("Already acquired: %s", entry->lock.name); in AddRunningLockEntryLocked() 57 RunningLockEntry *e = DupRunningLockEntry(entry); in AddRunningLockEntryLocked() 59 POWER_HILOGE("Failed duplicate running lock entry"); in AddRunningLockEntryLocked() 64 POWER_HILOGE("Failed to add entry t in AddRunningLockEntryLocked() 75 RemoveRunningLockEntryLocked(Vector *vec, RunningLockEntry *entry) RemoveRunningLockEntryLocked() argument 109 RunningLockMgrAcquireEntry(RunningLockEntry *entry, int32_t timeoutMs) RunningLockMgrAcquireEntry() argument 123 RunningLockMgrReleaseEntry(RunningLockEntry *entry) RunningLockMgrReleaseEntry() argument 161 GetRunningLockIdentity(const RunningLockEntry *entry) GetRunningLockIdentity() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | ring_mode.c | 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() local 27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 29 desc = tx_q->dma_tx + entry; in jumbo_frm() 46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm() 53 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 54 entry = STMMAC_GET_ENTRY(entry, priv->dma_tx_size); in jumbo_frm() 57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 124 unsigned int entry = tx_q->dirty_tx; clean_desc3() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | ring_mode.c | 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() local 27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 29 desc = tx_q->dma_tx + entry; in jumbo_frm() 46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm() 53 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 54 entry = STMMAC_GET_ENTRY(entry, priv->dma_conf.dma_tx_size); in jumbo_frm() 57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 122 unsigned int entry = tx_q->dirty_tx; clean_desc3() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | utils.c | 47 int avs_get_module_entry(struct avs_dev *adev, const guid_t *uuid, struct avs_module_entry *entry) in avs_get_module_entry() argument 55 memcpy(entry, &adev->mods_info->entries[idx], sizeof(*entry)); in avs_get_module_entry() 61 int avs_get_module_id_entry(struct avs_dev *adev, u32 module_id, struct avs_module_entry *entry) in avs_get_module_id_entry() argument 69 memcpy(entry, &adev->mods_info->entries[idx], sizeof(*entry)); in avs_get_module_id_entry() 237 struct avs_fw_entry *entry; in avs_request_firmware() local 241 list_for_each_entry(entry, &adev->fw_list, node) { in avs_request_firmware() 242 if (!strcmp(name, entry->name)) { in avs_request_firmware() 243 *fw_p = entry in avs_request_firmware() 279 struct avs_fw_entry *entry; avs_release_last_firmware() local 294 struct avs_fw_entry *entry, *tmp; avs_release_firmwares() local [all...] |
/kernel/linux/linux-5.10/sound/drivers/opl4/ |
H A D | opl4_proc.c | 12 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument 15 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open() 27 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument 30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release() 38 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument 43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read() 58 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument 64 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write() 88 struct snd_info_entry *entry; in snd_opl4_create_proc() local 90 entry in snd_opl4_create_proc() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | lru_cache.c | 26 struct btrfs_lru_cache_entry *entry; in match_entry() local 28 list_for_each_entry(entry, head, list) { in match_entry() 29 if (entry->key == key && entry->gen == gen) in match_entry() 30 return entry; in match_entry() 37 * Lookup for an entry in the cache. 40 * @key: The key of the entry we are looking for. 43 * Returns the entry associated with the key or NULL if none found. 49 struct btrfs_lru_cache_entry *entry; in btrfs_lru_cache_lookup() local 55 entry in btrfs_lru_cache_lookup() 70 btrfs_lru_cache_remove(struct btrfs_lru_cache *cache, struct btrfs_lru_cache_entry *entry) btrfs_lru_cache_remove() argument 158 struct btrfs_lru_cache_entry *entry; btrfs_lru_cache_clear() local [all...] |
/kernel/linux/linux-6.6/sound/drivers/opl4/ |
H A D | opl4_proc.c | 12 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument 15 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open() 27 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument 30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release() 38 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument 43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read() 58 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument 64 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write() 88 struct snd_info_entry *entry; in snd_opl4_create_proc() local 90 entry in snd_opl4_create_proc() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | swap.h | 27 #define swap_address_space(entry) \ 28 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \ 33 void *get_shadow_from_swap_cache(swp_entry_t entry); 34 int add_to_swap_cache(struct folio *folio, swp_entry_t entry, 37 swp_entry_t entry, void *shadow); 41 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry); 42 struct folio *swap_cache_get_folio(swp_entry_t entry, 47 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, 51 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_ 74 swap_address_space(swp_entry_t entry) swap_address_space() argument 83 swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, struct vm_fault *vmf) swap_cluster_readahead() argument 100 swapcache_clear(struct swap_info_struct *si, swp_entry_t entry) swapcache_clear() argument 104 swap_cache_get_folio(swp_entry_t entry, struct vm_area_struct *vma, unsigned long addr) swap_cache_get_folio() argument 122 get_shadow_from_swap_cache(swp_entry_t entry) get_shadow_from_swap_cache() argument 127 add_to_swap_cache(struct folio *folio, swp_entry_t entry, gfp_t gfp_mask, void **shadowp) add_to_swap_cache() argument 133 __delete_from_swap_cache(struct folio *folio, swp_entry_t entry, void *shadow) __delete_from_swap_cache() argument [all...] |
H A D | shmem_quota.c | 99 struct quota_id *entry; in shmem_free_file_info() local 105 entry = rb_entry(node, struct quota_id, node); in shmem_free_file_info() 106 node = rb_next(&entry->node); in shmem_free_file_info() 108 rb_erase(&entry->node, root); in shmem_free_file_info() 109 kfree(entry); in shmem_free_file_info() 122 struct quota_id *entry = NULL; in shmem_get_next_id() local 130 entry = rb_entry(node, struct quota_id, node); in shmem_get_next_id() 132 if (id < entry->id) in shmem_get_next_id() 134 else if (id > entry->id) in shmem_get_next_id() 140 if (!entry) { in shmem_get_next_id() 171 struct quota_id *new_entry, *entry; shmem_acquire_dquot() local 270 struct quota_id *entry = NULL; shmem_release_dquot() local [all...] |
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_keyboard_delegate_setting.cpp | 305 auto keyEventEntry = GetEntry("keyEvent", [keyEvent](UvEntry &entry) { entry.pullKeyEventPara = keyEvent; }); in OnDealKeyEvent() 308 auto keyCodeEntry = GetEntry(type, [¶](UvEntry &entry) { in OnDealKeyEvent() 309 entry.keyEventPara = { para.keyCode, para.keyStatus, para.isOnKeyEvent }; in OnDealKeyEvent() 375 auto entry = GetEntry(type, [keyEvent, &consumer](UvEntry &entry) { in OnKeyEvent() local 376 entry.pullKeyEventPara = keyEvent; in OnKeyEvent() 377 entry.keyEvenetConsumer = consumer; in OnKeyEvent() 379 if (entry == nullptr) { in OnKeyEvent() 390 auto task = [entry]() { in OnKeyEvent() 423 auto entry = GetEntry(type, [¶, &consumer](UvEntry &entry) { OnKeyEvent() local 472 auto entry = GetEntry(type, [¶](UvEntry &entry) { OnCursorUpdate() local 510 auto entry = GetEntry(type, [¶](UvEntry &entry) { OnSelectionChange() local 550 auto entry = GetEntry(type, [&text](UvEntry &entry) { entry.text = text; }); OnTextChange() local 580 auto entry = GetEntry(type, [&inputAttribute](UvEntry &entry) { entry.inputAttribute = inputAttribute; }); OnEditorAttributeChange() local 614 UvEntry *entry = nullptr; GetUVwork() local 651 std::shared_ptr<UvEntry> entry = nullptr; GetEntry() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | setacl.cpp | 33 int AclEntryParseTag(const std::string &tagTxt, AclXattrEntry &entry) in AclEntryParseTag() argument 37 entry.tag = ACL_TAG::USER; in AclEntryParseTag() 40 entry.tag = ACL_TAG::GROUP; in AclEntryParseTag() 43 entry.tag = ACL_TAG::MASK; in AclEntryParseTag() 46 entry.tag = ACL_TAG::OTHER; in AclEntryParseTag() 66 int AclEntryParseId(const std::string &idTxt, AclXattrEntry &entry) in AclEntryParseId() argument 71 switch (entry.tag) { in AclEntryParseId() 74 entry.tag = ACL_TAG::USER_OBJ; in AclEntryParseId() 77 if (ParseNumericId(idTxt, entry.id)) { in AclEntryParseId() 83 entry in AclEntryParseId() 110 AclEntryParsePerm(const std::string &permTxt, AclXattrEntry &entry) AclEntryParsePerm() argument 139 AclXattrEntry entry = {}; AclEntryParseText() local 236 AclXattrEntry entry = AclEntryParseText(entryTxt); AclSetAttribution() local [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_analyze_ubo_ranges.c | 54 score(const struct ubo_range_entry *entry) in score() argument 56 return 2 * entry->benefit - entry->range.length; in score() 106 struct hash_entry *entry = in get_block_info() local 109 if (entry) in get_block_info() 110 return (struct ubo_block_info *) entry->data; in get_block_info() 185 const struct ubo_range_entry *entry, in print_ubo_entry() 188 struct ubo_block_info *info = get_block_info(state, entry->range.block); in print_ubo_entry() 193 entry->range.block, entry in print_ubo_entry() 184 print_ubo_entry(FILE *file, const struct ubo_range_entry *entry, struct ubo_analysis_state *state) print_ubo_entry() argument 277 struct ubo_range_entry *entry = brw_nir_analyze_ubo_ranges() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/bcm-vk/ |
H A D | bcm_vk_msg.c | 296 struct bcm_vk_ctx *entry; in bcm_vk_free_ctx() local 317 list_for_each_entry(entry, &vk->pid_ht[hash_idx].head, node) { in bcm_vk_free_ctx() 318 if (entry->pid == pid) in bcm_vk_free_ctx() 328 static void bcm_vk_free_wkent(struct device *dev, struct bcm_vk_wkent *entry) in bcm_vk_free_wkent() argument 332 bcm_vk_sg_free(dev, entry->dma, VK_DMA_MAX_ADDRS, &proc_cnt); in bcm_vk_free_wkent() 334 atomic_dec(&entry->ctx->dma_cnt); in bcm_vk_free_wkent() 336 kfree(entry->to_h_msg); in bcm_vk_free_wkent() 337 kfree(entry); in bcm_vk_free_wkent() 345 struct bcm_vk_wkent *entry, *tmp; in bcm_vk_drain_all_pend() local 355 list_for_each_entry_safe(entry, tm in bcm_vk_drain_all_pend() 521 bcm_vk_append_pendq(struct bcm_vk_msg_chan *chan, u16 q_num, struct bcm_vk_wkent *entry) bcm_vk_append_pendq() argument 536 bcm_vk_append_ib_sgl(struct bcm_vk *vk, struct bcm_vk_wkent *entry, struct _vk_data *data, unsigned int num_planes) bcm_vk_append_ib_sgl() argument 592 bcm_to_v_msg_enqueue(struct bcm_vk *vk, struct bcm_vk_wkent *entry) bcm_to_v_msg_enqueue() argument 689 struct bcm_vk_wkent *entry; bcm_vk_send_shutdown_msg() local 760 struct bcm_vk_wkent *entry = NULL, *iter; bcm_vk_dequeue_pending() local 784 struct bcm_vk_wkent *entry; bcm_to_h_msg_dequeue() local 1012 struct bcm_vk_wkent *entry = NULL, *iter; bcm_vk_read() local 1082 struct bcm_vk_wkent *entry; bcm_vk_write() local [all...] |
/base/powermgr/powermgr_lite/frameworks/src/small/ |
H A D | power_manage.c | 40 static int32_t AcquireRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs); 41 static int32_t ReleaseRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry); 53 POWER_HILOGE("Failed to allocate memory for power manage proxy entry"); in CreatClient() 57 PowerManageProxyEntry *entry = (PowerManageProxyEntry *)&client[size]; in CreatClient() local 58 entry->ver = ((uint16)CLIENT_PROXY_VER | (uint16)DEFAULT_VERSION); in CreatClient() 59 entry->ref = 1; in CreatClient() 60 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreatClient() 61 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreatClient() 62 entry->iUnknown.Release = IUNKNOWN_Release; in CreatClient() 63 entry in CreatClient() 123 AcquireRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs) AcquireRunningLockEntryProxy() argument 149 ReleaseRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry) ReleaseRunningLockEntryProxy() argument 201 InitIdentity(RunningLockEntry *entry) InitIdentity() argument 210 AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) AcquireRunningLockEntry() argument 220 ReleaseRunningLockEntry(RunningLockEntry *entry) ReleaseRunningLockEntry() argument [all...] |
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_api.c | 21 * ima_free_template_entry - free an existing template entry 23 void ima_free_template_entry(struct ima_template_entry *entry) in ima_free_template_entry() argument 27 for (i = 0; i < entry->template_desc->num_fields; i++) in ima_free_template_entry() 28 kfree(entry->template_data[i].data); in ima_free_template_entry() 30 kfree(entry->digests); in ima_free_template_entry() 31 kfree(entry); in ima_free_template_entry() 35 * ima_alloc_init_template - create and initialize a new template entry 38 struct ima_template_entry **entry, in ima_alloc_init_template() 50 *entry = kzalloc(struct_size(*entry, template_dat in ima_alloc_init_template() 37 ima_alloc_init_template(struct ima_event_data *event_data, struct ima_template_entry **entry, struct ima_template_desc *desc) ima_alloc_init_template() argument 102 ima_store_template(struct ima_template_entry *entry, int violation, struct inode *inode, const unsigned char *filename, int pcr) ima_store_template() argument 137 struct ima_template_entry *entry; ima_add_violation() local 311 struct ima_template_entry *entry; ima_store_measurement() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | rl.c | 101 static bool mlx5_rl_are_equal_raw(struct mlx5_rl_entry *entry, void *rl_in, in mlx5_rl_are_equal_raw() argument 104 return (!memcmp(entry->rl_raw, rl_in, sizeof(entry->rl_raw)) && in mlx5_rl_are_equal_raw() 105 entry->uid == uid); in mlx5_rl_are_equal_raw() 108 /* Finds an entry where we can register the given rate 109 * If the rate already exists, return the entry where it is registered, 110 * otherwise return the first available entry. 143 struct mlx5_rl_entry *entry, bool set) in mlx5_set_pp_rate_limit_cmd() 151 MLX5_SET(set_pp_rate_limit_in, in, uid, entry->uid); in mlx5_set_pp_rate_limit_cmd() 152 MLX5_SET(set_pp_rate_limit_in, in, rate_limit_index, entry in mlx5_set_pp_rate_limit_cmd() 142 mlx5_set_pp_rate_limit_cmd(struct mlx5_core_dev *dev, struct mlx5_rl_entry *entry, bool set) mlx5_set_pp_rate_limit_cmd() argument 179 struct mlx5_rl_entry *entry; mlx5_rl_add_rate_raw() local 234 struct mlx5_rl_entry *entry; mlx5_rl_remove_rate_raw() local 268 struct mlx5_rl_entry *entry = NULL; mlx5_rl_remove_rate() local [all...] |
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_api.c | 21 * ima_free_template_entry - free an existing template entry 23 void ima_free_template_entry(struct ima_template_entry *entry) in ima_free_template_entry() argument 27 for (i = 0; i < entry->template_desc->num_fields; i++) in ima_free_template_entry() 28 kfree(entry->template_data[i].data); in ima_free_template_entry() 30 kfree(entry->digests); in ima_free_template_entry() 31 kfree(entry); in ima_free_template_entry() 35 * ima_alloc_init_template - create and initialize a new template entry 38 struct ima_template_entry **entry, in ima_alloc_init_template() 50 *entry = kzalloc(struct_size(*entry, template_dat in ima_alloc_init_template() 37 ima_alloc_init_template(struct ima_event_data *event_data, struct ima_template_entry **entry, struct ima_template_desc *desc) ima_alloc_init_template() argument 102 ima_store_template(struct ima_template_entry *entry, int violation, struct inode *inode, const unsigned char *filename, int pcr) ima_store_template() argument 137 struct ima_template_entry *entry; ima_add_violation() local 351 struct ima_template_entry *entry; ima_store_measurement() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__hosts_file.c | 62 * and ips into a single entry due to file formatting requirements. For 87 /*! iphash is the owner of the 'entry' object as there is only ever a single 90 /*! hosthash does not own the entry so won't free on destruction */ 95 size_t refcnt; /*! If the entry is stored multiple times in the 248 static void ares__hosts_entry_destroy(ares_hosts_entry_t *entry) in ares__hosts_entry_destroy() argument 250 if (entry == NULL) { in ares__hosts_entry_destroy() 255 if (entry->refcnt != 0) { in ares__hosts_entry_destroy() 256 entry->refcnt--; in ares__hosts_entry_destroy() 259 if (entry->refcnt > 0) { in ares__hosts_entry_destroy() 263 ares__llist_destroy(entry in ares__hosts_entry_destroy() 268 ares__hosts_entry_destroy_cb(void *entry) ares__hosts_entry_destroy_cb() argument 322 ares__hosts_file_merge_entry( const ares_hosts_file_t *hf, ares_hosts_entry_t *existing, ares_hosts_entry_t *entry, ares_hosts_file_match_t matchtype) ares__hosts_file_merge_entry() argument 360 ares__hosts_file_match(const ares_hosts_file_t *hf, ares_hosts_entry_t *entry, ares_hosts_entry_t **match) ares__hosts_file_match() argument 388 ares__hosts_file_add(ares_hosts_file_t *hosts, ares_hosts_entry_t *entry) ares__hosts_file_add() argument 452 ares__hosts_entry_isdup(ares_hosts_entry_t *entry, const char *host) ares__hosts_entry_isdup() argument 468 ares__parse_hosts_hostnames(ares__buf_t *buf, ares_hosts_entry_t *entry) ares__parse_hosts_hostnames() argument 547 ares_hosts_entry_t *entry = NULL; ares__parse_hosts_ipaddr() local 598 ares_hosts_entry_t *entry = NULL; ares__parse_hosts() local 805 ares__hosts_search_ipaddr(ares_channel_t *channel, ares_bool_t use_env, const char *ipaddr, const ares_hosts_entry_t **entry) ares__hosts_search_ipaddr() argument 835 ares__hosts_search_host(ares_channel_t *channel, ares_bool_t use_env, const char *host, const ares_hosts_entry_t **entry) ares__hosts_search_host() argument 860 ares__hosts_entry_to_hostent(const ares_hosts_entry_t *entry, int family, struct hostent **hostent) ares__hosts_entry_to_hostent() argument 979 ares__hosts_ai_append_cnames(const ares_hosts_entry_t *entry, struct ares_addrinfo_cname **cnames_out) ares__hosts_ai_append_cnames() argument 1051 ares__hosts_entry_to_addrinfo(const ares_hosts_entry_t *entry, const char *name, int family, unsigned short port, ares_bool_t want_cnames, struct ares_addrinfo *ai) ares__hosts_entry_to_addrinfo() argument [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_dead_functions.cpp | 77 foreach_in_list(signature_entry, entry, &this->signature_list) { in get_signature_entry() 78 if (entry->signature == sig) in get_signature_entry() 79 return entry; in get_signature_entry() 82 signature_entry *entry = new(mem_ctx) signature_entry(sig); in get_signature_entry() local 83 this->signature_list.push_tail(entry); in get_signature_entry() 84 return entry; in get_signature_entry() 91 signature_entry *entry = this->get_signature_entry(ir); in visit_enter() local 94 entry->used = true; in visit_enter() 106 signature_entry *entry = this->get_signature_entry(ir->callee); in visit_enter() local 108 entry in visit_enter() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | zswap.c | 64 /* Store failed because the entry metadata could not be allocated (rare) */ 147 * rbnode - links the entry into red-black tree for the appropriate swap type 148 * offset - the swap offset for the entry. Index into the red-black tree. 149 * refcount - the number of outstanding reference to the entry. This is needed 150 * to protect against premature freeing of the entry by code 152 * for the zswap_tree structure that contains the entry must 157 * pool - the zswap_pool the entry's data is in 180 * - the refcount field of each entry in the tree 250 * zswap entry functions 267 struct zswap_entry *entry; in zswap_entry_cache_alloc() local 276 zswap_entry_cache_free(struct zswap_entry *entry) zswap_entry_cache_free() argument 287 struct zswap_entry *entry; zswap_rb_search() local 305 zswap_rb_insert(struct rb_root *root, struct zswap_entry *entry, struct zswap_entry **dupentry) zswap_rb_insert() argument 328 zswap_rb_erase(struct rb_root *root, struct zswap_entry *entry) zswap_rb_erase() argument 340 zswap_free_entry(struct zswap_entry *entry) zswap_free_entry() argument 354 zswap_entry_get(struct zswap_entry *entry) zswap_entry_get() argument 362 zswap_entry_put(struct zswap_tree *tree, struct zswap_entry *entry) zswap_entry_put() argument 378 struct zswap_entry *entry; zswap_entry_find_get() local 845 zswap_get_swap_cache_page(swp_entry_t entry, struct page **retpage) zswap_get_swap_cache_page() argument 877 struct zswap_entry *entry; zswap_writeback_entry() local 1023 struct zswap_entry *entry, *dupentry; zswap_frontswap_store() local 1167 struct zswap_entry *entry; zswap_frontswap_load() local 1236 struct zswap_entry *entry; zswap_frontswap_invalidate_page() local 1260 struct zswap_entry *entry, *n; zswap_frontswap_invalidate_area() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | peerlookup.c | 120 struct index_hashtable_entry *entry) in wg_index_hashtable_insert() 125 hlist_del_init_rcu(&entry->index_hash); in wg_index_hashtable_insert() 132 entry->index = (__force __le32)get_random_u32(); in wg_index_hashtable_insert() 134 index_bucket(table, entry->index), in wg_index_hashtable_insert() 136 if (existing_entry->index == entry->index) in wg_index_hashtable_insert() 146 index_bucket(table, entry->index), in wg_index_hashtable_insert() 148 if (existing_entry->index == entry->index) { in wg_index_hashtable_insert() 157 hlist_add_head_rcu(&entry->index_hash, in wg_index_hashtable_insert() 158 index_bucket(table, entry->index)); in wg_index_hashtable_insert() 163 return entry in wg_index_hashtable_insert() 119 wg_index_hashtable_insert(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_insert() argument 192 wg_index_hashtable_remove(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_remove() argument 206 struct index_hashtable_entry *iter_entry, *entry = NULL; wg_index_hashtable_lookup() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | peerlookup.c | 120 struct index_hashtable_entry *entry) in wg_index_hashtable_insert() 125 hlist_del_init_rcu(&entry->index_hash); in wg_index_hashtable_insert() 132 entry->index = (__force __le32)get_random_u32(); in wg_index_hashtable_insert() 134 index_bucket(table, entry->index), in wg_index_hashtable_insert() 136 if (existing_entry->index == entry->index) in wg_index_hashtable_insert() 146 index_bucket(table, entry->index), in wg_index_hashtable_insert() 148 if (existing_entry->index == entry->index) { in wg_index_hashtable_insert() 157 hlist_add_head_rcu(&entry->index_hash, in wg_index_hashtable_insert() 158 index_bucket(table, entry->index)); in wg_index_hashtable_insert() 163 return entry in wg_index_hashtable_insert() 119 wg_index_hashtable_insert(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_insert() argument 192 wg_index_hashtable_remove(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_remove() argument 206 struct index_hashtable_entry *iter_entry, *entry = NULL; wg_index_hashtable_lookup() local [all...] |
/third_party/mesa3d/src/util/ |
H A D | hash_table.h | 80 void (*delete_function)(struct hash_entry *entry)); 82 void (*delete_function)(struct hash_entry *entry)); 102 struct hash_entry *entry); 107 struct hash_entry *entry); 109 struct hash_entry *entry); 112 bool (*predicate)(struct hash_entry *entry)); 137 * an entry's data with the deleted marker), but not against insertion 138 * (which may rehash the table, making entry a dangling pointer). 140 #define hash_table_foreach(ht, entry) \ 141 for (struct hash_entry *entry [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/ |
H A D | index.js | 18 function verifyTLogTimestamp(entry, tlogAuthorities) { 20 if (isTLogEntryWithInclusionPromise(entry)) { 21 (0, set_1.verifyTLogSET)(entry, tlogAuthorities); 24 if (isTLogEntryWithInclusionProof(entry)) { 25 (0, merkle_1.verifyMerkleInclusion)(entry); 26 (0, checkpoint_1.verifyCheckpoint)(entry, tlogAuthorities); 37 logID: entry.logId.keyId, 38 timestamp: new Date(Number(entry.integratedTime) * 1000), 42 function isTLogEntryWithInclusionPromise(entry) { 43 return entry [all...] |