/linux/net/atm/ |
A D | mpoa_caches.c | 48 entry = entry->next; in in_cache_get() 69 entry = entry->next; in in_cache_get_with_mask() 90 entry = entry->next; in in_cache_get_by_vcc() 201 entry->prev->next = entry->next; in in_cache_remove_entry() 278 entry = entry->next; in check_resolving_entries() 293 entry = entry->next; in check_resolving_entries() 319 entry = entry->next; in refresh_entries() 345 entry = entry->next; in eg_cache_get_by_cache_id() 366 entry = entry->next; in eg_cache_get_by_tag() 388 entry = entry->next; in eg_cache_get_by_vcc() [all …]
|
A D | lec.c | 114 kfree(entry); in lec_arp_put() 282 entry = NULL; in lec_start_xmit() 304 while (entry && (skb2 = skb_dequeue(&entry->tx_wait))) { in lec_start_xmit() 328 if (entry) in lec_start_xmit() 638 if (entry && entry->vcc != vcc) { in lec_push() 1270 entry->recv_vcc->push = entry->old_recv_push; in lec_arp_clear_vccs() 1553 entry = from_timer(entry, t, timer); in lec_arp_expire_arp() 1771 entry->last_used = entry->timestamp = jiffies; in lec_arp_resolve() 1986 entry->vcc ? entry->vcc->vci : 0, in lec_vcc_added() 1987 entry->recv_vcc ? entry->recv_vcc-> in lec_vcc_added() [all …]
|
/linux/sound/core/ |
A D | info.c | 78 if (!entry || !entry->p) in alloc_info_private() 87 data->entry = entry; in alloc_info_private() 111 entry = data->entry; in snd_info_entry_llseek() 114 offset = entry->c.ops->llseek(entry, in snd_info_entry_llseek() 150 struct snd_info_entry *entry = data->entry; in snd_info_entry_read() local 172 struct snd_info_entry *entry = data->entry; in snd_info_entry_write() local 193 struct snd_info_entry *entry = data->entry; in snd_info_entry_poll() local 197 return entry->c.ops->poll(entry, in snd_info_entry_poll() 211 struct snd_info_entry *entry = data->entry; in snd_info_entry_ioctl() local 228 entry = data->entry; in snd_info_entry_mmap() [all …]
|
/linux/drivers/acpi/ |
A D | nvs.c | 106 if (!entry) in suspend_nvs_register() 115 size -= entry->size; in suspend_nvs_register() 122 kfree(entry); in suspend_nvs_register() 135 if (entry->data) { in suspend_nvs_free() 137 entry->data = NULL; in suspend_nvs_free() 160 if (!entry->data) { in suspend_nvs_alloc() 178 if (entry->data) { in suspend_nvs_save() 185 entry->unmap = !!entry->kaddr; in suspend_nvs_save() 191 memcpy(entry->data, entry->kaddr, entry->size); in suspend_nvs_save() 210 if (entry->data) in suspend_nvs_restore() [all …]
|
A D | pci_irq.c | 128 entry->id.segment, entry->id.bus, in do_prt_fixups() 129 entry->id.device, pin_name(entry->pin), in do_prt_fixups() 150 if (!entry) in acpi_pci_irq_check_entry() 191 entry->id.segment, entry->id.bus, entry->id.device, in acpi_pci_irq_check_entry() 192 pin_name(entry->pin), prt->source, entry->index); in acpi_pci_irq_check_entry() 221 while (entry && (entry->length > 0)) { in acpi_pci_irq_find_prt_entry() 226 ((unsigned long)entry + entry->length); in acpi_pci_irq_find_prt_entry() 280 entry->index = (entry->index % 4) + 16; in acpi_reroute_boot_interrupt() 412 if (!entry) { in acpi_pci_irq_enable() 422 if (entry) { in acpi_pci_irq_enable() [all …]
|
/linux/drivers/firmware/ |
A D | memmap.c | 115 kfree(entry); in release_firmware_map_entry() 147 entry->start = start; in firmware_map_add_entry() 148 entry->end = end - 1; in firmware_map_add_entry() 149 entry->type = type; in firmware_map_add_entry() 224 if ((entry->start == start) && (entry->end == end) && in firmware_map_find_entry_in_list() 226 return entry; in firmware_map_find_entry_in_list() 286 if (entry) in firmware_map_add_hotplug() 290 if (!entry) { in firmware_map_add_hotplug() 292 if (!entry) in firmware_map_add_hotplug() 300 memset(entry, 0, sizeof(*entry)); in firmware_map_add_hotplug() [all …]
|
/linux/drivers/staging/media/atomisp/pci/base/refcount/src/ |
A D | refcount.c | 116 entry->id = 0; in ia_css_refcount_uninit() 138 if (!entry) { in ia_css_refcount_increment() 140 assert(entry); in ia_css_refcount_increment() 141 if (!entry) in ia_css_refcount_increment() 143 entry->id = id; in ia_css_refcount_increment() 175 if (entry) { in ia_css_refcount_decrement() 196 if (entry) in ia_css_refcount_decrement() 198 id, ptr, entry, entry->id, entry->count); in ia_css_refcount_decrement() 215 if (entry) in ia_css_refcount_is_single() 237 if ((entry->data != mmgr_NULL) && (entry->id == id)) { in ia_css_refcount_clear() [all …]
|
/linux/kernel/dma/ |
A D | debug.c | 169 if (entry) { in dump_entry_trace() 360 if (entry) in bucket_find_contain() 395 return __pfn_to_phys(entry->pfn) + entry->offset; in phys_addr() 419 phys_addr(entry), entry->pfn, in debug_dma_dump_mappings() 420 entry->dev_addr, entry->size, in debug_dma_dump_mappings() 570 err_printk(entry->dev, entry, in add_dma_entry() 599 memset(entry, 0, sizeof(*entry)); in __dma_entry_alloc() 785 phys_addr(entry), entry->pfn, in dump_show() 786 entry->dev_addr, entry->size, in dump_show() 854 count, entry->dev_addr, entry->size, in dma_debug_device_change() [all …]
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_static_config.c | 272 if (entry->type_egrpcp2outputq) { in sja1110_l2_forwarding_entry_packing() 366 if (entry->lockeds) { in sja1105pqrs_l2_lookup_entry_packing() 394 if (entry->lockeds) { in sja1110_l2_lookup_entry_packing() 722 sja1105_packing(buf, &entry->port, in sja1105_vl_lookup_entry_packing() 732 sja1105_packing(buf, &entry->vlid, in sja1105_vl_lookup_entry_packing() 734 sja1105_packing(buf, &entry->port, in sja1105_vl_lookup_entry_packing() 756 sja1105_packing(buf, &entry->port, in sja1110_vl_lookup_entry_packing() 766 sja1105_packing(buf, &entry->vlid, in sja1110_vl_lookup_entry_packing() 768 sja1105_packing(buf, &entry->port, in sja1110_vl_lookup_entry_packing() 783 if (entry->type == 0) { in sja1105_vl_policing_entry_packing() [all …]
|
/linux/drivers/gpu/drm/ |
A D | drm_scatter.c | 61 kfree(entry); in drm_sg_cleanup() 99 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in drm_legacy_sg_alloc() 100 if (!entry) in drm_legacy_sg_alloc() 109 kfree(entry); in drm_legacy_sg_alloc() 113 entry->busaddr = kcalloc(pages, sizeof(*entry->busaddr), GFP_KERNEL); in drm_legacy_sg_alloc() 116 kfree(entry); in drm_legacy_sg_alloc() 124 kfree(entry); in drm_legacy_sg_alloc() 133 entry->handle = ScatterHandle((unsigned long)entry->virtual); in drm_legacy_sg_alloc() 148 dev->sg = entry; in drm_legacy_sg_alloc() 209 entry = dev->sg; in drm_legacy_sg_free() [all …]
|
/linux/security/integrity/ima/ |
A D | ima_policy.c | 367 if (!entry) in ima_free_rule() 378 kfree(entry); in ima_free_rule() 436 kfree(entry); in ima_lsm_update_rule() 730 actmask &= ~(entry->action | entry->action << 1); in ima_match_policy() 732 actmask &= ~(entry->action | entry->action >> 1); in ima_match_policy() 828 entry = kmemdup(&entries[i], sizeof(*entry), in add_rules() 1182 if (entry->action != MEASURE && entry->flags & IMA_PCR) in ima_validate_rule() 1796 template_desc = entry->template ? entry->template : in ima_parse_rule() 1828 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in ima_parse_add_rule() 1914 &entry->list == &ima_policy_rules) ? NULL : entry; in ima_policy_next() [all …]
|
/linux/arch/s390/include/asm/ |
A D | pci_dma.h | 102 *entry &= ZPCI_PTE_FLAG_MASK; in set_pt_pfaa() 108 *entry &= ZPCI_RTE_FLAG_MASK; in set_rt_sto() 110 *entry |= ZPCI_TABLE_TYPE_RTX; in set_rt_sto() 115 *entry &= ZPCI_STE_FLAG_MASK; in set_st_pto() 117 *entry |= ZPCI_TABLE_TYPE_SX; in set_st_pto() 124 *entry |= ZPCI_TABLE_VALID; in validate_rt_entry() 125 *entry |= ZPCI_TABLE_LEN_RTX; in validate_rt_entry() 131 *entry |= ZPCI_TABLE_VALID; in validate_st_entry() 137 *entry &= ~ZPCI_PTE_VALID_MASK; in invalidate_pt_entry() 138 *entry |= ZPCI_PTE_INVALID; in invalidate_pt_entry() [all …]
|
/linux/drivers/staging/media/tegra-vde/ |
A D | dmabuf-cache.c | 39 tegra_vde_iommu_unmap(entry->vde, entry->iova); in tegra_vde_release_entry() 41 dma_buf_unmap_attachment(entry->a, entry->sgt, entry->dma_dir); in tegra_vde_release_entry() 46 kfree(entry); in tegra_vde_release_entry() 56 vde = entry->vde; in tegra_vde_delayed_unmap() 118 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in tegra_vde_dmabuf_cache_map() 119 if (!entry) { in tegra_vde_dmabuf_cache_map() 140 entry->vde = vde; in tegra_vde_dmabuf_cache_map() 141 entry->sgt = sgt; in tegra_vde_dmabuf_cache_map() 144 entry->refcnt++; in tegra_vde_dmabuf_cache_map() 146 *ap = entry->a; in tegra_vde_dmabuf_cache_map() [all …]
|
/linux/drivers/scsi/libfc/ |
A D | fc_encode.h | 252 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 264 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 276 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 288 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 300 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 312 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 324 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 336 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 348 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 362 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() [all …]
|
/linux/tools/perf/util/ |
A D | block-range.c | 28 old = entry->end; in block_range__debug() 48 return entry; in block_range__find() 144 if (!entry) in block_range__create() 178 .entry = entry->entry, in block_range__create() 183 entry->entry = 0; in block_range__create() 192 iter.start = entry; in block_range__create() 199 entry = iter.start; in block_range__create() 223 entry->pred = 0; in block_range__create() 229 iter.end = entry; in block_range__create() 238 iter.end = entry; in block_range__create() [all …]
|
/linux/fs/ |
A D | mbcache.c | 89 if (!entry) in mb_cache_entry_create() 95 entry->e_key = key; in mb_cache_entry_create() 138 if (entry && !hlist_bl_unhashed(&entry->e_hash_list)) in __entry_find() 145 if (entry->e_key == key && entry->e_reusable) { in __entry_find() 151 entry = NULL; in __entry_find() 157 return entry; in __entry_find() 188 return __entry_find(cache, entry, entry->e_key); in mb_cache_entry_find_next() 208 if (entry->e_key == key && entry->e_value == value) { in mb_cache_entry_get() 213 entry = NULL; in mb_cache_entry_get() 216 return entry; in mb_cache_entry_get() [all …]
|
/linux/fs/squashfs/ |
A D | cache.c | 96 entry = &cache->entry[i]; in squashfs_cache_get() 111 &entry->next_index, entry->actor); in squashfs_cache_get() 116 entry->error = entry->length; in squashfs_cache_get() 140 entry = &cache->entry[i]; in squashfs_cache_get() 152 wait_event(entry->wait_queue, !entry->pending); in squashfs_cache_get() 161 cache->name, i, entry->block, entry->refcount, entry->error); in squashfs_cache_get() 163 if (entry->error) in squashfs_cache_get() 166 return entry; in squashfs_cache_get() 178 entry->refcount--; in squashfs_cache_put() 253 struct squashfs_cache_entry *entry = &cache->entry[i]; in squashfs_cache_init() local [all …]
|
/linux/drivers/platform/x86/intel/pmt/ |
A D | class.c | 59 if (off >= entry->size) in intel_pmt_read() 63 count = entry->size - off; in intel_pmt_read() 86 psize = (PFN_UP(entry->base_addr + entry->size) - pfn) * PAGE_SIZE; in intel_pmt_mmap() 184 entry->base_addr = 0; in intel_pmt_populate_entry() 192 if (!entry->base_addr) in intel_pmt_populate_entry() 226 ret = xa_alloc(ns->xa, &entry->devid, entry, PMT_XA_LIMIT, GFP_KERNEL); in intel_pmt_dev_register() 240 entry->kobj = &dev->kobj; in intel_pmt_dev_register() 249 if (!entry->size) in intel_pmt_dev_register() 267 entry->pmt_bin_attr.size = entry->size; in intel_pmt_dev_register() 318 if (entry->size) in intel_pmt_dev_destroy() [all …]
|
A D | crashlog.c | 53 struct intel_pmt_entry entry; member 59 struct crashlog_entry entry[]; member 148 struct crashlog_entry *entry; in enable_store() local 159 pmt_crashlog_set_disable(&entry->entry, !enabled); in enable_store() 195 pmt_crashlog_set_clear(&entry->entry); in trigger_store() 196 } else if (pmt_crashlog_complete(&entry->entry)) { in trigger_store() 200 } else if (pmt_crashlog_disabled(&entry->entry)) { in trigger_store() 205 pmt_crashlog_set_execute(&entry->entry); in trigger_store() 236 crashlog = container_of(entry, struct crashlog_entry, entry); in pmt_crashlog_header_decode() 266 intel_pmt_dev_destroy(&priv->entry[i].entry, &pmt_crashlog_ns); in pmt_crashlog_remove() [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
A D | vega10_smumgr.c | 60 priv->smu_tables.entry[table_id].table_id, in vega10_copy_table_from_smc() 66 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc() 91 priv->smu_tables.entry[table_id].size); in vega10_copy_table_to_smc() 105 priv->smu_tables.entry[table_id].table_id, in vega10_copy_table_to_smc() 229 &priv->smu_tables.entry[PPTABLE].handle, in vega10_smu_init() 230 &priv->smu_tables.entry[PPTABLE].mc_addr, in vega10_smu_init() 231 &priv->smu_tables.entry[PPTABLE].table); in vega10_smu_init() 244 &priv->smu_tables.entry[WMTABLE].handle, in vega10_smu_init() 245 &priv->smu_tables.entry[WMTABLE].mc_addr, in vega10_smu_init() 246 &priv->smu_tables.entry[WMTABLE].table); in vega10_smu_init() [all …]
|
A D | vega12_smumgr.c | 73 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc() 74 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc() 98 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc() 99 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc() 235 &priv->smu_tables.entry[TABLE_PPTABLE].handle, in vega12_smu_init() 236 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega12_smu_init() 237 &priv->smu_tables.entry[TABLE_PPTABLE].table); in vega12_smu_init() 322 &priv->smu_tables.entry[TABLE_OVERDRIVE].mc_addr, in vega12_smu_init() 323 &priv->smu_tables.entry[TABLE_OVERDRIVE].table); in vega12_smu_init() 339 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega12_smu_init() [all …]
|
/linux/arch/x86/kvm/ |
A D | cpuid.c | 394 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in __kvm_cpu_cap_mask() 627 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid() 746 entry->eax = min(entry->eax, 1u); in __do_cpuid_func() 817 entry->ecx = entry->ebx; in __do_cpuid_func() 868 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func() 900 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func() 954 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func() 983 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func() 993 entry->ecx = entry->edx = 0; in __do_cpuid_func() 1000 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func() [all …]
|
/linux/fs/btrfs/ |
A D | ordered-data.c | 25 if (entry->file_offset + entry->num_bytes < entry->file_offset) in entry_end() 27 return entry->file_offset + entry->num_bytes; in entry_end() 115 entry->file_offset + entry->num_bytes <= file_offset) in range_overlaps() 180 if (!entry) in __btrfs_add_ordered_extent() 350 entry_end = entry->file_offset + entry->num_bytes; in btrfs_mark_ordered_io_finished() 385 end = min(entry->file_offset + entry->num_bytes, in btrfs_mark_ordered_io_finished() 830 if (entry) in btrfs_lookup_ordered_extent() 834 return entry; in btrfs_lookup_ordered_extent() 871 if (entry) in btrfs_lookup_ordered_range() 874 return entry; in btrfs_lookup_ordered_range() [all …]
|
/linux/net/netfilter/ |
A D | nf_queue.c | 60 dev_put(entry->physin); in nf_queue_entry_release_refs() 61 dev_put(entry->physout); in nf_queue_entry_release_refs() 68 kfree(entry); in nf_queue_entry_free() 83 entry->physin = NULL; in __nf_queue_entry_init_physdevs() 84 entry->physout = NULL; in __nf_queue_entry_init_physdevs() 172 entry = kmalloc(sizeof(*entry) + route_key_size, GFP_ATOMIC); in __nf_queue() 173 if (!entry) in __nf_queue() 177 kfree(entry); in __nf_queue() 284 pf = entry->state.pf; in nf_reinject() 288 i = entry->hook_index; in nf_reinject() [all …]
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | global1_vtu.c | 100 entry->vid = val & 0xfff; in mv88e6xxx_g1_vtu_vid_read() 103 entry->vid |= 0x1000; in mv88e6xxx_g1_vtu_vid_read() 115 if (entry->vid & 0x1000) in mv88e6xxx_g1_vtu_vid_write() 118 if (entry->valid) in mv88e6xxx_g1_vtu_vid_write() 326 if (!entry->valid) { in mv88e6xxx_g1_vtu_getnext() 349 if (entry->valid) { in mv88e6185_g1_vtu_getnext() 383 if (entry->valid) { in mv88e6352_g1_vtu_getnext() 415 if (entry->valid) { in mv88e6390_g1_vtu_getnext() 451 if (entry->valid) { in mv88e6185_g1_vtu_loadpurge() 483 if (entry->valid) { in mv88e6352_g1_vtu_loadpurge() [all …]
|