Home
last modified time | relevance | path

Searched refs:entry (Results 76 – 100 of 4710) sorted by relevance

12345678910>>...189

/openbmc/linux/arch/x86/kernel/
H A De820.c87 if (entry->addr >= end || entry->addr + entry->size <= start) in _e820__mapped_any()
124 if (entry->addr >= end || entry->addr + entry->size <= start) in __e820__mapped_all()
132 start = entry->addr + entry->size; in __e820__mapped_all()
160 return entry ? entry->type : -EINVAL; in e820__get_entry_type()
502 entry->size = start - entry->addr; in __e820__range_update()
569 memset(entry, 0, sizeof(*entry)); in e820__range_remove()
576 entry->size = start - entry->addr; in e820__range_remove()
1172 end = entry->addr + entry->size - 1; in e820__reserve_resources()
1199 firmware_map_add_early(entry->addr, entry->addr + entry->size, e820_type_to_string(entry)); in e820__reserve_resources()
1247 start = entry->addr + entry->size; in e820__reserve_resources_late()
[all …]
/openbmc/linux/arch/x86/platform/efi/
H A Druntime-map.c92 entry = to_map_entry(kobj); in map_release()
93 kfree(entry); in map_release()
117 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in add_sysfs_runtime_map_entry()
118 if (!entry) { in add_sysfs_runtime_map_entry()
127 entry->kobj.kset = map_kset; in add_sysfs_runtime_map_entry()
130 kobject_put(&entry->kobj); in add_sysfs_runtime_map_entry()
136 return entry; in add_sysfs_runtime_map_entry()
178 if (IS_ERR(entry)) { in efi_runtime_map_init()
179 ret = PTR_ERR(entry); in efi_runtime_map_init()
188 entry = *(map_entries + j); in efi_runtime_map_init()
[all …]
/openbmc/qemu/target/nios2/
H A Dmmu.c44 if (((entry->tag >> 12) != vpn) || in mmu_translate()
45 (((entry->tag & (1 << 11)) == 0) && in mmu_translate()
72 if ((entry->tag & (1 << 10)) && (!(entry->tag & (1 << 11))) && in mmu_flush_pid()
104 Nios2TLBEntry *entry = in helper_mmu_write_tlbacc() local
111 if ((entry->tag != newTag) || (entry->data != newData)) { in helper_mmu_write_tlbacc()
112 if (entry->tag & (1 << 10)) { in helper_mmu_write_tlbacc()
116 entry->tag = newTag; in helper_mmu_write_tlbacc()
117 entry->data = newData; in helper_mmu_write_tlbacc()
152 Nios2TLBEntry *entry = in helper_mmu_write_tlbmisc() local
205 i, entry->tag, entry->data, in dump_mmu()
[all …]
/openbmc/linux/fs/
H A Ddax.c211 void *entry; in get_unlocked_entry() local
220 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in get_unlocked_entry()
267 if (entry && !dax_is_conflict(entry)) in put_unlocked_entry()
426 void *entry; in dax_lock_folio() local
494 void *entry; in dax_lock_mapping_entry() local
578 void *entry; in grab_mapping_entry() local
585 if (entry) { in grab_mapping_entry()
721 if (entry) in dax_layout_busy_page_range()
754 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in __dax_invalidate_entry()
946 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in dax_writeback_one()
[all …]
/openbmc/qemu/ui/
H A Dvnc-palette.c35 VncPaletteEntry *entry; in palette_find() local
39 return entry; in palette_find()
80 VncPaletteEntry *entry; in palette_put() local
88 if (!entry) { in palette_put()
90 entry->color = color; in palette_put()
91 entry->idx = idx; in palette_put()
100 VncPaletteEntry *entry; in palette_idx() local
105 return (entry == NULL ? -1 : entry->idx); in palette_idx()
118 VncPaletteEntry *entry; in palette_iter() local
122 iter(entry->idx, entry->color, opaque); in palette_iter()
[all …]
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.c91 struct dbell_entry *entry; in vmci_dbell_get_priv_flags() local
285 entry->notify_cb(entry->client_data); in dbell_delayed_dispatch()
294 struct dbell_entry *entry; in vmci_dbell_host_context_notify() local
312 if (entry->run_delayed) { in vmci_dbell_host_context_notify()
316 entry->notify_cb(entry->client_data); in vmci_dbell_host_context_notify()
414 struct dbell_entry *entry; in vmci_doorbell_create() local
422 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in vmci_doorbell_create()
423 if (entry == NULL) { in vmci_doorbell_create()
465 entry->idx = 0; in vmci_doorbell_create()
501 kfree(entry); in vmci_doorbell_create()
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_parse.js121 let entry = { class in munchLegacyMessageStart
153 entry.lun = x[0];
160 entry.cmd = x[0];
183 let entry = null;
242 let entry = { class in munchNewMessageStart
266 entry.lun = x[0];
273 entry.cmd = x[0];
382 g_ipmi_in_flight[entry.serial] = entry;
400 g_ipmi_in_flight[entry.serial] = entry;
454 entry.netfn, entry.cmd, parseInt(entry.start_usec - time_shift),
[all …]
/openbmc/linux/tools/perf/util/
H A Dprobe-file.c391 if (entry) { in probe_cache_entry__delete()
397 free(entry); in probe_cache_entry__delete()
404 struct probe_cache_entry *entry = zalloc(sizeof(*entry)); in probe_cache_entry__new() local
406 if (entry) { in probe_cache_entry__new()
421 return entry; in probe_cache_entry__new()
665 entry = NULL; in probe_cache__find()
669 return entry; in probe_cache__find()
684 entry = NULL; in probe_cache__find_by_name()
705 if (entry) { in probe_cache__add_entry()
712 if (!entry) in probe_cache__add_entry()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dsfi.c65 if (!entry) in sfi_write_system_header()
69 *entry++ = tab->table[i]; in sfi_write_system_header()
81 if (!entry) in sfi_write_cpus()
92 entry++; in sfi_write_cpus()
107 if (!entry) in sfi_write_apic()
111 entry++; in sfi_write_apic()
121 if (!entry) in sfi_write_xsdt()
124 entry->oem_revision = 1; in sfi_write_xsdt()
125 entry->creator_id = 1; in sfi_write_xsdt()
126 entry->creator_revision = 1; in sfi_write_xsdt()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dcommon_baco.c89 if ((entry[i].cmd == CMD_WRITE) || in baco_program_registers()
91 (entry[i].cmd == CMD_WAITFOR)) in baco_program_registers()
92 reg = entry[i].reg_offset; in baco_program_registers()
93 if (!baco_cmd_handler(hwmgr, entry[i].cmd, reg, entry[i].mask, in baco_program_registers()
94 entry[i].shift, entry[i].val, entry[i].timeout)) in baco_program_registers()
109 if ((entry[i].cmd == CMD_WRITE) || in soc15_baco_program_registers()
111 (entry[i].cmd == CMD_WAITFOR)) in soc15_baco_program_registers()
112 reg = adev->reg_offset[entry[i].hwip][entry[i].inst][entry[i].seg] in soc15_baco_program_registers()
113 + entry[i].reg_offset; in soc15_baco_program_registers()
114 if (!baco_cmd_handler(hwmgr, entry[i].cmd, reg, entry[i].mask, in soc15_baco_program_registers()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_agpsupport.c204 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in drm_legacy_agp_alloc()
205 if (!entry) in drm_legacy_agp_alloc()
212 kfree(entry); in drm_legacy_agp_alloc()
218 entry->bound = 0; in drm_legacy_agp_alloc()
254 return entry; in drm_legacy_agp_lookup_entry()
275 if (!entry || !entry->bound) in drm_legacy_agp_unbind()
311 if (!entry || entry->bound) in drm_legacy_agp_bind()
350 if (!entry) in drm_legacy_agp_free()
352 if (entry->bound) in drm_legacy_agp_free()
358 kfree(entry); in drm_legacy_agp_free()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dresource.c118 list_del(&entry->entry); in c4iw_get_cqid()
133 list_add_tail(&entry->entry, &uctx->cqids); in c4iw_get_cqid()
140 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in c4iw_get_cqid()
144 list_add_tail(&entry->entry, &uctx->qpids); in c4iw_get_cqid()
150 list_add_tail(&entry->entry, &uctx->qpids); in c4iw_get_cqid()
168 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in c4iw_put_cqid()
174 list_add_tail(&entry->entry, &uctx->cqids); in c4iw_put_cqid()
188 list_del(&entry->entry); in c4iw_get_qpid()
218 list_add_tail(&entry->entry, &uctx->cqids); in c4iw_get_qpid()
242 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in c4iw_put_qpid()
[all …]
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c55 switch (entry->flags) { in perf_get_sample()
61 if (entry->part) in perf_get_sample()
76 if (entry->part == 1) in perf_get_sample()
78 if (entry->part == 2) in perf_get_sample()
80 if (entry->part == 3) in perf_get_sample()
92 if (entry->part == 1) in perf_get_sample()
94 if (entry->part == 2) in perf_get_sample()
102 if (entry->part == 4) in perf_get_sample()
104 if (entry->part == 5) in perf_get_sample()
151 if (entry == NULL) in perf_sample_filter()
[all …]
/openbmc/u-boot/cmd/
H A Dbootmenu.c61 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry()
279 if (!entry) in bootmenu_create()
285 free(entry); in bootmenu_create()
295 free(entry); in bootmenu_create()
303 entry->num = i; in bootmenu_create()
312 iter = entry; in bootmenu_create()
322 if (!entry) in bootmenu_create()
327 free(entry); in bootmenu_create()
334 free(entry); in bootmenu_create()
340 entry->num = i; in bootmenu_create()
[all …]
/openbmc/linux/tools/objtool/
H A Dspecial.c75 offset = idx * entry->size; in get_alt_entry()
77 alt->group = entry->group; in get_alt_entry()
82 entry->orig_len); in get_alt_entry()
84 entry->new_len); in get_alt_entry()
87 if (entry->feature) { in get_alt_entry()
93 entry->feature)); in get_alt_entry()
109 sec, offset + entry->new); in get_alt_entry()
120 if (entry->key) { in get_alt_entry()
126 sec, offset + entry->key); in get_alt_entry()
150 for (entry = entries; entry->sec; entry++) { in special_get_alts()
[all …]
/openbmc/linux/mm/
H A Dzswap.c300 if (!entry) in zswap_entry_cache_alloc()
304 return entry; in zswap_entry_cache_alloc()
390 obj_cgroup_uncharge_zswap(entry->objcg, entry->length); in zswap_free_entry()
399 zpool_free(zswap_find_zpool(entry), entry->handle); in zswap_free_entry()
435 if (entry) in zswap_entry_find_get()
438 return entry; in zswap_entry_find_get()
1264 if (!entry) { in zswap_store()
1367 list_add(&entry->lru, &entry->pool->lru); in zswap_store()
1416 if (!entry) { in zswap_load()
1476 list_move(&entry->lru, &entry->pool->lru); in zswap_load()
[all …]
/openbmc/u-boot/tools/binman/
H A Dentry_test.py16 entry = None variable
36 global entry
37 import entry
42 global entry
43 if entry:
46 import entry
48 del entry
52 import entry
58 import entry
68 import entry
[all …]
/openbmc/qemu/qobject/
H A Dqlist.c41 QListEntry *entry; in qlist_copy() local
59 QListEntry *entry; in qlist_append_obj() local
61 entry = g_malloc(sizeof(*entry)); in qlist_append_obj()
62 entry->value = value; in qlist_append_obj()
89 QListEntry *entry; in qlist_pop() local
99 ret = entry->value; in qlist_pop()
100 g_free(entry); in qlist_pop()
107 QListEntry *entry; in qlist_peek() local
115 return entry->value; in qlist_peek()
126 QListEntry *entry; in qlist_size() local
[all …]
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c36 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation_reverse()
45 struct ttm_validate_buffer *entry; in ttm_eu_backoff_reservation() local
50 list_for_each_entry(entry, list, head) { in ttm_eu_backoff_reservation()
51 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation()
78 struct ttm_validate_buffer *entry; in ttm_eu_reserve_buffers() local
87 list_for_each_entry(entry, list, head) { in ttm_eu_reserve_buffers()
94 entry = list_prev_entry(entry, head); in ttm_eu_reserve_buffers()
133 list_del(&entry->head); in ttm_eu_reserve_buffers()
134 list_add(&entry->head, list); in ttm_eu_reserve_buffers()
145 struct ttm_validate_buffer *entry; in ttm_eu_fence_buffer_objects() local
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dsmp2p.c222 struct smp2p_entry *entry; in qcom_smp2p_notify_in() local
246 if (!entry->value) in qcom_smp2p_notify_in()
249 val = readl(entry->value); in qcom_smp2p_notify_in()
252 entry->last_value = val; in qcom_smp2p_notify_in()
384 entry->domain = irq_domain_add_linear(node, 32, &smp2p_irq_ops, entry); in qcom_smp2p_inbound_entry()
385 if (!entry->domain) { in qcom_smp2p_inbound_entry()
404 writel(val, entry->value); in smp2p_update_bits()
433 entry->state = qcom_smem_state_register(node, &smp2p_state_ops, entry); in qcom_smp2p_outbound_entry()
577 entry = devm_kzalloc(&pdev->dev, sizeof(*entry), GFP_KERNEL); in qcom_smp2p_probe()
578 if (!entry) { in qcom_smp2p_probe()
[all …]
/openbmc/linux/drivers/net/wireguard/
H A Dratelimiter.c50 hlist_del_rcu(&entry->hash); in entry_uninit()
67 entry_uninit(entry); in wg_ratelimiter_gc_entries()
73 entry_uninit(entry); in wg_ratelimiter_gc_entries()
112 if (entry->net == net && entry->ip == ip) { in wg_ratelimiter_allow()
120 spin_lock(&entry->lock); in wg_ratelimiter_allow()
125 entry->last_time_ns = now; in wg_ratelimiter_allow()
128 spin_unlock(&entry->lock); in wg_ratelimiter_allow()
139 if (unlikely(!entry)) in wg_ratelimiter_allow()
142 entry->net = net; in wg_ratelimiter_allow()
143 entry->ip = ip; in wg_ratelimiter_allow()
[all …]
/openbmc/linux/kernel/
H A Dauditfilter.c111 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in audit_init_entry()
112 if (unlikely(!entry)) in audit_init_entry()
117 kfree(entry); in audit_init_entry()
122 return entry; in audit_init_entry()
273 if (!entry) in audit_to_entry_common()
300 return entry; in audit_to_entry_common()
461 if (IS_ERR(entry)) in audit_data_to_entry()
607 if (entry->rule.inode_f && entry->rule.inode_f->op == Audit_not_equal) in audit_data_to_entry()
611 return entry; in audit_data_to_entry()
832 new = &entry->rule; in audit_dupe_rule()
[all …]
/openbmc/linux/sound/drivers/opl4/
H A Dopl4_proc.c15 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
88 struct snd_info_entry *entry; in snd_opl4_create_proc() local
91 if (entry) { in snd_opl4_create_proc()
94 entry->mode |= 0200; in snd_opl4_create_proc()
95 entry->size = 4 * 1024 * 1024; in snd_opl4_create_proc()
98 entry->size = 1 * 1024 * 1024; in snd_opl4_create_proc()
101 entry->c.ops = &snd_opl4_mem_proc_ops; in snd_opl4_create_proc()
102 entry->module = THIS_MODULE; in snd_opl4_create_proc()
103 entry->private_data = opl4; in snd_opl4_create_proc()
[all …]
/openbmc/qemu/hw/intc/
H A Dgic_internal.h135 #define GICH_LR_VIRT_ID(entry) (FIELD_EX32(entry, GICH_LR0, VirtualID)) argument
136 #define GICH_LR_PHYS_ID(entry) (FIELD_EX32(entry, GICH_LR0, PhysicalID)) argument
137 #define GICH_LR_CPUID(entry) (FIELD_EX32(entry, GICH_LR0, CPUID)) argument
138 #define GICH_LR_EOI(entry) (FIELD_EX32(entry, GICH_LR0, EOI)) argument
139 #define GICH_LR_PRIORITY(entry) (FIELD_EX32(entry, GICH_LR0, Priority) << 3) argument
140 #define GICH_LR_STATE(entry) (FIELD_EX32(entry, GICH_LR0, State)) argument
141 #define GICH_LR_GROUP(entry) (FIELD_EX32(entry, GICH_LR0, Grp1)) argument
142 #define GICH_LR_HW(entry) (FIELD_EX32(entry, GICH_LR0, HW)) argument
146 #define GICH_LR_SET_ACTIVE(entry) \ argument
239 return entry; in gic_get_lr_entry()
[all …]
/openbmc/linux/arch/um/kernel/
H A Dirq.c236 os_add_epoll_fd(events, entry->fd, entry); in update_irq_entry()
240 os_del_epoll_fd(entry->fd); in update_irq_entry()
325 struct irq_entry *entry; in free_irq_by_irq_and_dev() local
354 struct irq_entry *entry; in deactivate_fd() local
362 if (!entry) in deactivate_fd()
388 struct irq_entry *entry; in deactivate_all_fds() local
499 struct irq_entry *entry; in um_irqs_suspend() local
531 entry->suspended = true; in um_irqs_suspend()
542 struct irq_entry *entry; in um_irqs_resume() local
571 if (entry->suspended) { in um_irqs_resume()
[all …]

12345678910>>...189