Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 200 of 2359) sorted by relevance

12345678910>>...12

/linux-4.4.14/net/atm/
Dmpoa_caches.c37 in_cache_entry *entry; in in_cache_get() local
40 entry = client->in_cache; in in_cache_get()
41 while (entry != NULL) { in in_cache_get()
42 if (entry->ctrl_info.in_dst_ip == dst_ip) { in in_cache_get()
43 atomic_inc(&entry->use); in in_cache_get()
45 return entry; in in_cache_get()
47 entry = entry->next; in in_cache_get()
58 in_cache_entry *entry; in in_cache_get_with_mask() local
61 entry = client->in_cache; in in_cache_get_with_mask()
62 while (entry != NULL) { in in_cache_get_with_mask()
[all …]
Dlec.c102 static inline void lec_arp_hold(struct lec_arp_table *entry) in lec_arp_hold() argument
104 atomic_inc(&entry->usage); in lec_arp_hold()
107 static inline void lec_arp_put(struct lec_arp_table *entry) in lec_arp_put() argument
109 if (atomic_dec_and_test(&entry->usage)) in lec_arp_put()
110 kfree(entry); in lec_arp_put()
208 struct lec_arp_table *entry; in lec_start_xmit() local
279 entry = NULL; in lec_start_xmit()
280 vcc = lec_arp_resolve(priv, dst, is_rdesc, &entry); in lec_start_xmit()
282 dev->name, vcc, vcc ? vcc->flags : 0, entry); in lec_start_xmit()
284 if (entry && (entry->tx_wait.qlen < LEC_UNRES_QUE_LEN)) { in lec_start_xmit()
[all …]
Dmpc.c86 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
178 struct atm_mpoa_qos *entry; in atm_mpoa_add_qos() local
180 entry = atm_mpoa_search_qos(dst_ip); in atm_mpoa_add_qos()
181 if (entry != NULL) { in atm_mpoa_add_qos()
182 entry->qos = *qos; in atm_mpoa_add_qos()
183 return entry; in atm_mpoa_add_qos()
186 entry = kmalloc(sizeof(struct atm_mpoa_qos), GFP_KERNEL); in atm_mpoa_add_qos()
187 if (entry == NULL) { in atm_mpoa_add_qos()
189 return entry; in atm_mpoa_add_qos()
192 entry->ipaddr = dst_ip; in atm_mpoa_add_qos()
[all …]
Dclip.c75 static void link_vcc(struct clip_vcc *clip_vcc, struct atmarp_entry *entry) in link_vcc() argument
77 pr_debug("%p to entry %p (neigh %p)\n", clip_vcc, entry, entry->neigh); in link_vcc()
78 clip_vcc->entry = entry; in link_vcc()
80 clip_vcc->next = entry->vccs; in link_vcc()
81 entry->vccs = clip_vcc; in link_vcc()
82 entry->neigh->used = jiffies; in link_vcc()
87 struct atmarp_entry *entry = clip_vcc->entry; in unlink_clip_vcc() local
90 if (!entry) { in unlink_clip_vcc()
94 netif_tx_lock_bh(entry->neigh->dev); /* block clip_start_xmit() */ in unlink_clip_vcc()
95 entry->neigh->used = jiffies; in unlink_clip_vcc()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dpci_dma.h97 static inline void set_pt_pfaa(unsigned long *entry, void *pfaa) in set_pt_pfaa() argument
99 *entry &= ZPCI_PTE_FLAG_MASK; in set_pt_pfaa()
100 *entry |= ((unsigned long) pfaa & ZPCI_PTE_ADDR_MASK); in set_pt_pfaa()
103 static inline void set_rt_sto(unsigned long *entry, void *sto) in set_rt_sto() argument
105 *entry &= ZPCI_RTE_FLAG_MASK; in set_rt_sto()
106 *entry |= ((unsigned long) sto & ZPCI_RTE_ADDR_MASK); in set_rt_sto()
107 *entry |= ZPCI_TABLE_TYPE_RTX; in set_rt_sto()
110 static inline void set_st_pto(unsigned long *entry, void *pto) in set_st_pto() argument
112 *entry &= ZPCI_STE_FLAG_MASK; in set_st_pto()
113 *entry |= ((unsigned long) pto & ZPCI_STE_ADDR_MASK); in set_st_pto()
[all …]
Dpci_io.h35 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(addr)]; \
36 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
50 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(addr)]; \
51 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
138 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(src)]; in zpci_memcpy_fromio() local
145 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_fromio()
159 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(dst)]; in zpci_memcpy_toio() local
169 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_toio()
/linux-4.4.14/sound/core/
Dinfo.c70 struct snd_info_entry *entry; member
75 static void snd_info_disconnect(struct snd_info_entry *entry);
89 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
94 if (!entry || !entry->p) in alloc_info_private()
96 if (!try_module_get(entry->module)) in alloc_info_private()
100 module_put(entry->module); in alloc_info_private()
103 data->entry = entry; in alloc_info_private()
123 struct snd_info_entry *entry; in snd_info_entry_llseek() local
127 entry = data->entry; in snd_info_entry_llseek()
128 mutex_lock(&entry->access); in snd_info_entry_llseek()
[all …]
Dpcm.c369 static void snd_pcm_stream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_stream_proc_info_read() argument
372 snd_pcm_proc_info_read(((struct snd_pcm_str *)entry->private_data)->substream, in snd_pcm_stream_proc_info_read()
376 static void snd_pcm_substream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_info_read() argument
379 snd_pcm_proc_info_read(entry->private_data, buffer); in snd_pcm_substream_proc_info_read()
382 static void snd_pcm_substream_proc_hw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_hw_params_read() argument
385 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_hw_params_read()
419 static void snd_pcm_substream_proc_sw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_sw_params_read() argument
422 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_sw_params_read()
447 static void snd_pcm_substream_proc_status_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_status_read() argument
450 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_status_read()
[all …]
Dpcm_memory.c132 static void snd_pcm_lib_preallocate_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_read() argument
135 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read()
144 static void snd_pcm_lib_preallocate_max_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_max_proc_read() argument
147 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read()
156 static void snd_pcm_lib_preallocate_proc_write(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_write() argument
159 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write()
200 struct snd_info_entry *entry; in preallocate_info_init() local
202 …if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) !… in preallocate_info_init()
203 entry->c.text.read = snd_pcm_lib_preallocate_proc_read; in preallocate_info_init()
204 entry->c.text.write = snd_pcm_lib_preallocate_proc_write; in preallocate_info_init()
[all …]
/linux-4.4.14/drivers/acpi/
Dnvs.c96 struct nvs_page *entry, *next; in suspend_nvs_register() local
104 entry = kzalloc(sizeof(struct nvs_page), GFP_KERNEL); in suspend_nvs_register()
105 if (!entry) in suspend_nvs_register()
108 list_add_tail(&entry->node, &nvs_list); in suspend_nvs_register()
109 entry->phys_start = start; in suspend_nvs_register()
111 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
113 start += entry->size; in suspend_nvs_register()
114 size -= entry->size; in suspend_nvs_register()
119 list_for_each_entry_safe(entry, next, &nvs_list, node) { in suspend_nvs_register()
120 list_del(&entry->node); in suspend_nvs_register()
[all …]
Dpci_irq.c124 static void do_prt_fixups(struct acpi_prt_entry *entry, in do_prt_fixups() argument
138 entry->id.segment == quirk->segment && in do_prt_fixups()
139 entry->id.bus == quirk->bus && in do_prt_fixups()
140 entry->id.device == quirk->device && in do_prt_fixups()
141 entry->pin == quirk->pin && in do_prt_fixups()
147 entry->id.segment, entry->id.bus, in do_prt_fixups()
148 entry->id.device, pin_name(entry->pin), in do_prt_fixups()
162 struct acpi_prt_entry *entry; in acpi_pci_irq_check_entry() local
168 entry = kzalloc(sizeof(struct acpi_prt_entry), GFP_KERNEL); in acpi_pci_irq_check_entry()
169 if (!entry) in acpi_pci_irq_check_entry()
[all …]
Dprocessor_core.c34 static int map_lapic_id(struct acpi_subtable_header *entry, in map_lapic_id() argument
38 container_of(entry, struct acpi_madt_local_apic, header); in map_lapic_id()
50 static int map_x2apic_id(struct acpi_subtable_header *entry, in map_x2apic_id() argument
54 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
67 static int map_lsapic_id(struct acpi_subtable_header *entry, in map_lsapic_id() argument
71 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
77 if ((entry->length < 16) || (lsapic->uid != acpi_id)) in map_lsapic_id()
89 static int map_gicc_mpidr(struct acpi_subtable_header *entry, in map_gicc_mpidr() argument
93 container_of(entry, struct acpi_madt_generic_interrupt, header); in map_gicc_mpidr()
113 unsigned long madt_end, entry; in map_madt_entry() local
[all …]
Dpower.c101 struct acpi_power_resource_entry *entry; in acpi_power_resources_list_add() local
106 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in acpi_power_resources_list_add()
107 if (!entry) in acpi_power_resources_list_add()
110 entry->resource = resource; in acpi_power_resources_list_add()
116 list_add_tail(&entry->node, &e->node); in acpi_power_resources_list_add()
120 list_add_tail(&entry->node, list); in acpi_power_resources_list_add()
126 struct acpi_power_resource_entry *entry, *e; in acpi_power_resources_list_free() local
128 list_for_each_entry_safe(entry, e, list, node) { in acpi_power_resources_list_free()
129 list_del(&entry->node); in acpi_power_resources_list_free()
130 kfree(entry); in acpi_power_resources_list_free()
[all …]
Dproc.c32 struct acpi_device_physical_node *entry; in acpi_system_wakeup_device_seq_show() local
50 list_for_each_entry(entry, &dev->physical_node_list, in acpi_system_wakeup_device_seq_show()
52 ldev = get_device(entry->dev); in acpi_system_wakeup_device_seq_show()
56 if (&entry->node != in acpi_system_wakeup_device_seq_show()
79 struct acpi_device_physical_node *entry; in physical_device_enable_wakeup() local
83 list_for_each_entry(entry, in physical_device_enable_wakeup()
85 if (entry->dev && device_can_wakeup(entry->dev)) { in physical_device_enable_wakeup()
86 bool enable = !device_may_wakeup(entry->dev); in physical_device_enable_wakeup()
87 device_set_wakeup_enable(entry->dev, enable); in physical_device_enable_wakeup()
/linux-4.4.14/drivers/firmware/
Dmemmap.c52 static ssize_t start_show(struct firmware_map_entry *entry, char *buf);
53 static ssize_t end_show(struct firmware_map_entry *entry, char *buf);
54 static ssize_t type_show(struct firmware_map_entry *entry, char *buf);
65 ssize_t (*show)(struct firmware_map_entry *entry, char *buf);
108 struct firmware_map_entry *entry = to_memmap_entry(kobj); in release_firmware_map_entry() local
110 if (PageReserved(virt_to_page(entry))) { in release_firmware_map_entry()
118 list_add(&entry->list, &map_entries_bootmem); in release_firmware_map_entry()
124 kfree(entry); in release_firmware_map_entry()
152 struct firmware_map_entry *entry) in firmware_map_add_entry() argument
156 entry->start = start; in firmware_map_add_entry()
[all …]
Ddmi-sysfs.c52 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf);
67 ssize_t (*show)(struct dmi_sysfs_entry *entry,
99 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_attr_show() local
106 return attr->show(entry, buf); in dmi_sysfs_attr_show()
117 struct dmi_sysfs_entry *entry; member
128 struct dmi_sysfs_entry *entry = data->entry; in find_dmi_entry_helper() local
131 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
147 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper()
157 static ssize_t find_dmi_entry(struct dmi_sysfs_entry *entry, in find_dmi_entry() argument
161 .entry = entry, in find_dmi_entry()
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_scatter.c50 static void drm_sg_cleanup(struct drm_sg_mem * entry) in drm_sg_cleanup() argument
55 for (i = 0; i < entry->pages; i++) { in drm_sg_cleanup()
56 page = entry->pagelist[i]; in drm_sg_cleanup()
61 vfree(entry->virtual); in drm_sg_cleanup()
63 kfree(entry->busaddr); in drm_sg_cleanup()
64 kfree(entry->pagelist); in drm_sg_cleanup()
65 kfree(entry); in drm_sg_cleanup()
86 struct drm_sg_mem *entry; in drm_legacy_sg_alloc() local
100 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in drm_legacy_sg_alloc()
101 if (!entry) in drm_legacy_sg_alloc()
[all …]
Ddrm_agpsupport.c199 struct drm_agp_mem *entry; in drm_agp_alloc() local
206 if (!(entry = kzalloc(sizeof(*entry), GFP_KERNEL))) in drm_agp_alloc()
212 kfree(entry); in drm_agp_alloc()
216 entry->handle = (unsigned long)memory->key + 1; in drm_agp_alloc()
217 entry->memory = memory; in drm_agp_alloc()
218 entry->bound = 0; in drm_agp_alloc()
219 entry->pages = pages; in drm_agp_alloc()
220 list_add(&entry->head, &dev->agp->memory); in drm_agp_alloc()
222 request->handle = entry->handle; in drm_agp_alloc()
250 struct drm_agp_mem *entry; in drm_agp_lookup_entry() local
[all …]
Ddrm_bufs.c42 struct drm_map_list *entry; in drm_find_matching_map() local
43 list_for_each_entry(entry, &dev->maplist, head) { in drm_find_matching_map()
52 if (!entry->map || in drm_find_matching_map()
53 map->type != entry->map->type || in drm_find_matching_map()
54 entry->master != dev->primary->master) in drm_find_matching_map()
60 return entry; in drm_find_matching_map()
63 if ((entry->map->offset & 0xffffffff) == in drm_find_matching_map()
65 return entry; in drm_find_matching_map()
69 if (entry->map->offset == map->offset) in drm_find_matching_map()
70 return entry; in drm_find_matching_map()
[all …]
Ddrm_hashtab.c61 struct drm_hash_item *entry; in drm_ht_verbose_list() local
69 hlist_for_each_entry(entry, h_list, head) in drm_ht_verbose_list()
70 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key); in drm_ht_verbose_list()
76 struct drm_hash_item *entry; in drm_ht_find_key() local
82 hlist_for_each_entry(entry, h_list, head) { in drm_ht_find_key()
83 if (entry->key == key) in drm_ht_find_key()
84 return &entry->head; in drm_ht_find_key()
85 if (entry->key > key) in drm_ht_find_key()
94 struct drm_hash_item *entry; in drm_ht_find_key_rcu() local
100 hlist_for_each_entry_rcu(entry, h_list, head) { in drm_ht_find_key_rcu()
[all …]
Ddrm_vma_manager.c298 struct drm_vma_offset_file *new, *entry; in drm_vma_node_allow() local
305 new = kmalloc(sizeof(*entry), GFP_KERNEL); in drm_vma_node_allow()
313 entry = rb_entry(*iter, struct drm_vma_offset_file, vm_rb); in drm_vma_node_allow()
315 if (filp == entry->vm_filp) { in drm_vma_node_allow()
316 entry->vm_count++; in drm_vma_node_allow()
318 } else if (filp > entry->vm_filp) { in drm_vma_node_allow()
358 struct drm_vma_offset_file *entry; in drm_vma_node_revoke() local
365 entry = rb_entry(iter, struct drm_vma_offset_file, vm_rb); in drm_vma_node_revoke()
366 if (filp == entry->vm_filp) { in drm_vma_node_revoke()
367 if (!--entry->vm_count) { in drm_vma_node_revoke()
[all …]
Dati_pcigart.c61 struct drm_sg_mem *entry = dev->sg; in drm_ati_pcigart_cleanup() local
67 if (!entry) { in drm_ati_pcigart_cleanup()
75 pages = (entry->pages <= max_pages) in drm_ati_pcigart_cleanup()
76 ? entry->pages : max_pages; in drm_ati_pcigart_cleanup()
79 if (!entry->busaddr[i]) in drm_ati_pcigart_cleanup()
81 pci_unmap_page(dev->pdev, entry->busaddr[i], in drm_ati_pcigart_cleanup()
101 struct drm_sg_mem *entry = dev->sg; in drm_ati_pcigart_init() local
109 if (!entry) { in drm_ati_pcigart_init()
144 pages = (entry->pages <= max_real_pages) in drm_ati_pcigart_init()
145 ? entry->pages : max_real_pages; in drm_ati_pcigart_init()
[all …]
Ddrm_mm.c419 struct drm_mm_node *entry; in drm_mm_search_free_generic() local
430 __drm_mm_for_each_hole(entry, mm, adj_start, adj_end, in drm_mm_search_free_generic()
435 mm->color_adjust(entry, color, &adj_start, &adj_end); in drm_mm_search_free_generic()
444 return entry; in drm_mm_search_free_generic()
447 best = entry; in drm_mm_search_free_generic()
463 struct drm_mm_node *entry; in drm_mm_search_free_in_range_generic() local
474 __drm_mm_for_each_hole(entry, mm, adj_start, adj_end, in drm_mm_search_free_in_range_generic()
484 mm->color_adjust(entry, color, &adj_start, &adj_end); in drm_mm_search_free_in_range_generic()
493 return entry; in drm_mm_search_free_in_range_generic()
496 best = entry; in drm_mm_search_free_in_range_generic()
[all …]
/linux-4.4.14/fs/squashfs/
Dcache.c69 struct squashfs_cache_entry *entry; in squashfs_cache_get() local
75 if (cache->entry[i].block == block) { in squashfs_cache_get()
103 if (cache->entry[i].refcount == 0) in squashfs_cache_get()
109 entry = &cache->entry[i]; in squashfs_cache_get()
116 entry->block = block; in squashfs_cache_get()
117 entry->refcount = 1; in squashfs_cache_get()
118 entry->pending = 1; in squashfs_cache_get()
119 entry->num_waiters = 0; in squashfs_cache_get()
120 entry->error = 0; in squashfs_cache_get()
123 entry->length = squashfs_read_data(sb, block, length, in squashfs_cache_get()
[all …]
/linux-4.4.14/lib/
Ddma-debug.c172 static inline void dump_entry_trace(struct dma_debug_entry *entry) in dump_entry_trace() argument
175 if (entry) { in dump_entry_trace()
177 print_stack_trace(&entry->stacktrace, 0); in dump_entry_trace()
223 #define err_printk(dev, entry, format, arg...) do { \ argument
230 dump_entry_trace(entry); \
242 static int hash_fn(struct dma_debug_entry *entry) in hash_fn() argument
248 return (entry->dev_addr >> HASH_FN_SHIFT) & HASH_FN_MASK; in hash_fn()
254 static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry, in get_hash_bucket() argument
257 int idx = hash_fn(entry); in get_hash_bucket()
302 struct dma_debug_entry *entry, *ret = NULL; in __hash_bucket_find() local
[all …]
Dlist_debug.c44 void __list_del_entry(struct list_head *entry) in __list_del_entry() argument
48 prev = entry->prev; in __list_del_entry()
49 next = entry->next; in __list_del_entry()
53 entry, LIST_POISON1) || in __list_del_entry()
56 entry, LIST_POISON2) || in __list_del_entry()
57 WARN(prev->next != entry, in __list_del_entry()
59 "but was %p\n", entry, prev->next) || in __list_del_entry()
60 WARN(next->prev != entry, in __list_del_entry()
62 "but was %p\n", entry, next->prev)) in __list_del_entry()
75 void list_del(struct list_head *entry) in list_del() argument
[all …]
Dllist.c67 struct llist_node *entry, *old_entry, *next; in llist_del_first() local
69 entry = smp_load_acquire(&head->first); in llist_del_first()
71 if (entry == NULL) in llist_del_first()
73 old_entry = entry; in llist_del_first()
74 next = READ_ONCE(entry->next); in llist_del_first()
75 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first()
76 if (entry == old_entry) in llist_del_first()
80 return entry; in llist_del_first()
/linux-4.4.14/sound/pci/emu10k1/
Demuproc.c80 static void snd_emu10k1_proc_read(struct snd_info_entry *entry, in snd_emu10k1_proc_read() argument
186 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read()
237 static void snd_emu10k1_proc_spdif_read(struct snd_info_entry *entry, in snd_emu10k1_proc_spdif_read() argument
240 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read()
276 static void snd_emu10k1_proc_rates_read(struct snd_info_entry *entry, in snd_emu10k1_proc_rates_read() argument
280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read()
291 static void snd_emu10k1_proc_acode_read(struct snd_info_entry *entry, in snd_emu10k1_proc_acode_read() argument
295 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read()
334 static ssize_t snd_emu10k1_fx8010_read(struct snd_info_entry *entry, in snd_emu10k1_fx8010_read() argument
339 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read()
[all …]
/linux-4.4.14/arch/sparc/include/asm/
Dspitfire.h101 static inline unsigned long spitfire_get_dtlb_data(int entry) in spitfire_get_dtlb_data() argument
107 : "r" (entry << 3), "i" (ASI_DTLB_DATA_ACCESS)); in spitfire_get_dtlb_data()
115 static inline unsigned long spitfire_get_dtlb_tag(int entry) in spitfire_get_dtlb_tag() argument
121 : "r" (entry << 3), "i" (ASI_DTLB_TAG_READ)); in spitfire_get_dtlb_tag()
125 static inline void spitfire_put_dtlb_data(int entry, unsigned long data) in spitfire_put_dtlb_data() argument
130 : "r" (data), "r" (entry << 3), in spitfire_put_dtlb_data()
134 static inline unsigned long spitfire_get_itlb_data(int entry) in spitfire_get_itlb_data() argument
140 : "r" (entry << 3), "i" (ASI_ITLB_DATA_ACCESS)); in spitfire_get_itlb_data()
148 static inline unsigned long spitfire_get_itlb_tag(int entry) in spitfire_get_itlb_tag() argument
154 : "r" (entry << 3), "i" (ASI_ITLB_TAG_READ)); in spitfire_get_itlb_tag()
[all …]
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c106 struct vmw_cmdbuf_res *entry) in vmw_cmdbuf_res_free() argument
108 list_del(&entry->head); in vmw_cmdbuf_res_free()
109 WARN_ON(drm_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free()
110 vmw_resource_unreference(&entry->res); in vmw_cmdbuf_res_free()
111 kfree(entry); in vmw_cmdbuf_res_free()
126 struct vmw_cmdbuf_res *entry, *next; in vmw_cmdbuf_res_commit() local
128 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_commit()
129 list_del(&entry->head); in vmw_cmdbuf_res_commit()
130 if (entry->res->func->commit_notify) in vmw_cmdbuf_res_commit()
131 entry->res->func->commit_notify(entry->res, in vmw_cmdbuf_res_commit()
[all …]
/linux-4.4.14/net/irda/
Dirqueue.c447 void hashbin_insert(hashbin_t* hashbin, irda_queue_t* entry, long hashv, in hashbin_insert() argument
471 entry->q_hash = hashv; in hashbin_insert()
473 strlcpy( entry->q_name, name, sizeof(entry->q_name)); in hashbin_insert()
479 entry); in hashbin_insert()
501 irda_queue_t *entry = NULL; in hashbin_remove_first() local
508 entry = hashbin_get_first( hashbin); in hashbin_remove_first()
509 if ( entry != NULL) { in hashbin_remove_first()
515 hashv = entry->q_hash; in hashbin_remove_first()
522 entry); in hashbin_remove_first()
524 entry->q_next = NULL; in hashbin_remove_first()
[all …]
/linux-4.4.14/net/netfilter/
Dnf_queue.c49 void nf_queue_entry_release_refs(struct nf_queue_entry *entry) in nf_queue_entry_release_refs() argument
51 struct nf_hook_state *state = &entry->state; in nf_queue_entry_release_refs()
61 if (entry->skb->nf_bridge) { in nf_queue_entry_release_refs()
64 physdev = nf_bridge_get_physindev(entry->skb); in nf_queue_entry_release_refs()
67 physdev = nf_bridge_get_physoutdev(entry->skb); in nf_queue_entry_release_refs()
76 void nf_queue_entry_get_refs(struct nf_queue_entry *entry) in nf_queue_entry_get_refs() argument
78 struct nf_hook_state *state = &entry->state; in nf_queue_entry_get_refs()
87 if (entry->skb->nf_bridge) { in nf_queue_entry_get_refs()
90 physdev = nf_bridge_get_physindev(entry->skb); in nf_queue_entry_get_refs()
93 physdev = nf_bridge_get_physoutdev(entry->skb); in nf_queue_entry_get_refs()
[all …]
Dnfnetlink_queue.c188 __enqueue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry) in __enqueue_entry() argument
190 list_add_tail(&entry->list, &queue->queue_list); in __enqueue_entry()
195 __dequeue_entry(struct nfqnl_instance *queue, struct nf_queue_entry *entry) in __dequeue_entry() argument
197 list_del(&entry->list); in __dequeue_entry()
204 struct nf_queue_entry *entry = NULL, *i; in find_dequeue_entry() local
210 entry = i; in find_dequeue_entry()
215 if (entry) in find_dequeue_entry()
216 __dequeue_entry(queue, entry); in find_dequeue_entry()
220 return entry; in find_dequeue_entry()
226 struct nf_queue_entry *entry, *next; in nfqnl_flush() local
[all …]
/linux-4.4.14/sound/pci/ctxfi/
Dctimap.c22 int input_mapper_add(struct list_head *mappers, struct imapper *entry, in input_mapper_add() argument
31 entry->next = entry->addr; in input_mapper_add()
32 map_op(data, entry); in input_mapper_add()
33 list_add(&entry->list, head); in input_mapper_add()
39 if (pos_ent->slot > entry->slot) { in input_mapper_add()
50 __list_add(&entry->list, pos->prev, pos); in input_mapper_add()
54 list_add_tail(&entry->list, head); in input_mapper_add()
60 entry->next = pos_ent->addr; in input_mapper_add()
61 map_op(data, entry); in input_mapper_add()
62 pre_ent->next = entry->addr; in input_mapper_add()
[all …]
Dctvmem.c35 struct ct_vm_block *block = NULL, *entry; in get_vm_block() local
47 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block()
48 if (entry->size >= size) in get_vm_block()
54 if (entry->size == size) { in get_vm_block()
56 list_move(&entry->list, &vm->used); in get_vm_block()
58 block = entry; in get_vm_block()
66 block->addr = entry->addr; in get_vm_block()
69 entry->addr += size; in get_vm_block()
70 entry->size -= size; in get_vm_block()
80 struct ct_vm_block *entry, *pre_ent; in put_vm_block() local
[all …]
Dctdaio.c162 struct imapper *entry; in dao_set_left_input() local
166 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input()
167 if (!entry) in dao_set_left_input()
174 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input()
175 entry->slot = input->ops->output_slot(input); in dao_set_left_input()
176 entry->user = entry->addr = daio->rscl.ops->index(&daio->rscl); in dao_set_left_input()
177 dao->mgr->imap_add(dao->mgr, entry); in dao_set_left_input()
178 dao->imappers[i] = entry; in dao_set_left_input()
191 struct imapper *entry; in dao_set_right_input() local
195 entry = kzalloc((sizeof(*entry) * daio->rscr.msr), GFP_KERNEL); in dao_set_right_input()
[all …]
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c894 struct qp_entry *entry; in qp_list_find() local
899 list_for_each_entry(entry, &qp_list->head, list_item) { in qp_list_find()
900 if (vmci_handle_is_equal(entry->handle, handle)) in qp_list_find()
901 return entry; in qp_list_find()
913 struct qp_guest_endpoint *entry; in qp_guest_handle_to_entry() local
916 entry = qp ? container_of( in qp_guest_handle_to_entry()
918 return entry; in qp_guest_handle_to_entry()
927 struct qp_broker_entry *entry; in qp_broker_handle_to_entry() local
930 entry = qp ? container_of( in qp_broker_handle_to_entry()
932 return entry; in qp_broker_handle_to_entry()
[all …]
Dvmci_doorbell.c99 struct dbell_entry *entry; in vmci_dbell_get_priv_flags() local
107 entry = container_of(resource, struct dbell_entry, resource); in vmci_dbell_get_priv_flags()
108 *priv_flags = entry->priv_flags; in vmci_dbell_get_priv_flags()
145 static void dbell_index_table_add(struct dbell_entry *entry) in dbell_index_table_add() argument
150 vmci_resource_get(&entry->resource); in dbell_index_table_add()
194 entry->idx = new_notify_idx; in dbell_index_table_add()
195 bucket = VMCI_DOORBELL_HASH(entry->idx); in dbell_index_table_add()
196 hlist_add_head(&entry->node, &vmci_doorbell_it.entries[bucket]); in dbell_index_table_add()
205 static void dbell_index_table_remove(struct dbell_entry *entry) in dbell_index_table_remove() argument
209 hlist_del_init(&entry->node); in dbell_index_table_remove()
[all …]
Dvmci_datagram.c44 struct datagram_entry *entry; member
67 struct datagram_entry *entry; in dg_create_handle() local
82 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in dg_create_handle()
83 if (!entry) { in dg_create_handle()
88 entry->run_delayed = (flags & VMCI_FLAG_DG_DELAYED_CB) ? true : false; in dg_create_handle()
89 entry->flags = flags; in dg_create_handle()
90 entry->recv_cb = recv_cb; in dg_create_handle()
91 entry->client_data = client_data; in dg_create_handle()
92 entry->priv_flags = priv_flags; in dg_create_handle()
95 result = vmci_resource_add(&entry->resource, in dg_create_handle()
[all …]
/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_pipeline.c82 struct dsp_element_entry *entry = in mISDN_dsp_dev_release() local
84 list_del(&entry->list); in mISDN_dsp_dev_release()
85 kfree(entry); in mISDN_dsp_dev_release()
90 struct dsp_element_entry *entry; in mISDN_dsp_element_register() local
96 entry = kzalloc(sizeof(struct dsp_element_entry), GFP_ATOMIC); in mISDN_dsp_element_register()
97 if (!entry) in mISDN_dsp_element_register()
100 entry->elem = elem; in mISDN_dsp_element_register()
102 entry->dev.class = elements_class; in mISDN_dsp_element_register()
103 entry->dev.release = mISDN_dsp_dev_release; in mISDN_dsp_element_register()
104 dev_set_drvdata(&entry->dev, elem); in mISDN_dsp_element_register()
[all …]
/linux-4.4.14/drivers/sh/intc/
Dvirq.c27 #define for_each_virq(entry, head) \ argument
28 for (entry = head; entry; entry = entry->next)
86 struct intc_virq_list *entry; in add_virq_to_pirq() local
90 for_each_virq(entry, irq_get_handler_data(irq)) { in add_virq_to_pirq()
91 if (entry->irq == virq) in add_virq_to_pirq()
93 last = &entry->next; in add_virq_to_pirq()
96 entry = kzalloc(sizeof(struct intc_virq_list), GFP_ATOMIC); in add_virq_to_pirq()
97 if (!entry) { in add_virq_to_pirq()
102 entry->irq = virq; in add_virq_to_pirq()
105 *last = entry; in add_virq_to_pirq()
[all …]
/linux-4.4.14/security/integrity/ima/
Dima_policy.c183 struct ima_rule_entry *entry, *tmp; in ima_lsm_update_rules() local
188 list_for_each_entry_safe(entry, tmp, &ima_policy_rules, list) { in ima_lsm_update_rules()
190 if (!entry->lsm[i].rule) in ima_lsm_update_rules()
192 result = security_filter_rule_init(entry->lsm[i].type, in ima_lsm_update_rules()
194 entry->lsm[i].args_p, in ima_lsm_update_rules()
195 &entry->lsm[i].rule); in ima_lsm_update_rules()
196 BUG_ON(!entry->lsm[i].rule); in ima_lsm_update_rules()
329 struct ima_rule_entry *entry; in ima_match_policy() local
332 list_for_each_entry(entry, ima_rules, list) { in ima_match_policy()
334 if (!(entry->action & actmask)) in ima_match_policy()
[all …]
Dima_api.c27 void ima_free_template_entry(struct ima_template_entry *entry) in ima_free_template_entry() argument
31 for (i = 0; i < entry->template_desc->num_fields; i++) in ima_free_template_entry()
32 kfree(entry->template_data[i].data); in ima_free_template_entry()
34 kfree(entry); in ima_free_template_entry()
41 struct ima_template_entry **entry) in ima_alloc_init_template() argument
46 *entry = kzalloc(sizeof(**entry) + template_desc->num_fields * in ima_alloc_init_template()
48 if (!*entry) in ima_alloc_init_template()
51 (*entry)->template_desc = template_desc; in ima_alloc_init_template()
57 &((*entry)->template_data[i])); in ima_alloc_init_template()
61 len = (*entry)->template_data[i].len; in ima_alloc_init_template()
[all …]
Dima_queue.c56 rc = memcmp(qe->entry->digest, digest_value, TPM_DIGEST_SIZE); in ima_lookup_digest_entry()
71 static int ima_add_digest_entry(struct ima_template_entry *entry) in ima_add_digest_entry() argument
81 qe->entry = entry; in ima_add_digest_entry()
87 key = ima_hash_key(entry->digest); in ima_add_digest_entry()
108 int ima_add_template_entry(struct ima_template_entry *entry, int violation, in ima_add_template_entry() argument
120 memcpy(digest, entry->digest, sizeof(digest)); in ima_add_template_entry()
128 result = ima_add_digest_entry(entry); in ima_add_template_entry()
/linux-4.4.14/arch/s390/kernel/
Djump_label.c21 struct jump_entry *entry; member
25 static void jump_label_make_nop(struct jump_entry *entry, struct insn *insn) in jump_label_make_nop() argument
32 static void jump_label_make_branch(struct jump_entry *entry, struct insn *insn) in jump_label_make_branch() argument
36 insn->offset = (entry->target - entry->code) >> 1; in jump_label_make_branch()
39 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, in jump_label_bug() argument
42 unsigned char *ipc = (unsigned char *)entry->code; in jump_label_bug()
58 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
65 jump_label_make_nop(entry, &old); in __jump_label_transform()
66 jump_label_make_branch(entry, &new); in __jump_label_transform()
68 jump_label_make_branch(entry, &old); in __jump_label_transform()
[all …]
Dos_info.c47 os_info.entry[nr].addr = (u64)(unsigned long)ptr; in os_info_entry_add()
48 os_info.entry[nr].size = size; in os_info_entry_add()
49 os_info.entry[nr].csum = csum_partial(ptr, size, 0); in os_info_entry_add()
80 addr = os_info_old->entry[nr].addr; in os_info_old_alloc()
85 size = os_info_old->entry[nr].size; in os_info_old_alloc()
97 if (csum != os_info_old->entry[nr].csum) { in os_info_old_alloc()
101 os_info_old->entry[nr].addr = (u64)(unsigned long)buf_align; in os_info_old_alloc()
107 os_info_old->entry[nr].addr = 0; in os_info_old_alloc()
163 if (!os_info_old->entry[nr].addr) in os_info_old_entry()
165 *size = (unsigned long) os_info_old->entry[nr].size; in os_info_old_entry()
[all …]
/linux-4.4.14/drivers/hid/
Dhid-lg4ff.c310 struct lg4ff_device_entry *entry = drv_data->device_props; in lg4ff_adjust_input_event() local
313 if (!entry) { in lg4ff_adjust_input_event()
318 switch (entry->wdata.product_id) { in lg4ff_adjust_input_event()
322 new_value = lg4ff_adjust_dfp_x_axis(value, entry->wdata.range); in lg4ff_adjust_input_event()
364 struct lg4ff_device_entry *entry; in lg4ff_play() local
376 entry = drv_data->device_props; in lg4ff_play()
377 if (!entry) { in lg4ff_play()
381 value = entry->report->field[0]->value; in lg4ff_play()
390 spin_lock_irqsave(&entry->report_lock, flags); in lg4ff_play()
401 hid_hw_request(hid, entry->report, HID_REQ_SET_REPORT); in lg4ff_play()
[all …]
/linux-4.4.14/arch/x86/kvm/
Dcpuid.c131 struct kvm_cpuid_entry2 *e, *entry; in cpuid_fix_nx_cap() local
133 entry = NULL; in cpuid_fix_nx_cap()
137 entry = e; in cpuid_fix_nx_cap()
141 if (entry && (entry->edx & F(NX)) && !is_efer_nx()) { in cpuid_fix_nx_cap()
142 entry->edx &= ~F(NX); in cpuid_fix_nx_cap()
251 static void do_cpuid_1_ent(struct kvm_cpuid_entry2 *entry, u32 function, in do_cpuid_1_ent() argument
254 entry->function = function; in do_cpuid_1_ent()
255 entry->index = index; in do_cpuid_1_ent()
256 cpuid_count(entry->function, entry->index, in do_cpuid_1_ent()
257 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
[all …]
/linux-4.4.14/kernel/time/
Dtimer_stats.c53 struct entry { struct
57 struct entry *next; argument
117 static struct entry entries[MAX_ENTRIES];
128 #define __tstat_hashfn(entry) \ argument
129 (((unsigned long)(entry)->timer ^ \
130 (unsigned long)(entry)->start_func ^ \
131 (unsigned long)(entry)->expire_func ^ \
132 (unsigned long)(entry)->pid ) & TSTAT_HASH_MASK)
134 #define tstat_hashentry(entry) (tstat_hash_table + __tstat_hashfn(entry)) argument
136 static struct entry *tstat_hash_table[TSTAT_HASH_SIZE] __read_mostly;
[all …]
/linux-4.4.14/fs/btrfs/
Dordered-data.c31 static u64 entry_end(struct btrfs_ordered_extent *entry) in entry_end() argument
33 if (entry->file_offset + entry->len < entry->file_offset) in entry_end()
35 return entry->file_offset + entry->len; in entry_end()
46 struct btrfs_ordered_extent *entry; in tree_insert() local
50 entry = rb_entry(parent, struct btrfs_ordered_extent, rb_node); in tree_insert()
52 if (file_offset < entry->file_offset) in tree_insert()
54 else if (file_offset >= entry_end(entry)) in tree_insert()
83 struct btrfs_ordered_extent *entry; in __tree_search() local
87 entry = rb_entry(n, struct btrfs_ordered_extent, rb_node); in __tree_search()
89 prev_entry = entry; in __tree_search()
[all …]
Dfree-space-cache.c521 struct btrfs_free_space_entry *entry; in io_ctl_add_entry() local
526 entry = io_ctl->cur; in io_ctl_add_entry()
527 entry->offset = cpu_to_le64(offset); in io_ctl_add_entry()
528 entry->bytes = cpu_to_le64(bytes); in io_ctl_add_entry()
529 entry->type = (bitmap) ? BTRFS_FREE_SPACE_BITMAP : in io_ctl_add_entry()
589 struct btrfs_free_space *entry, u8 *type) in io_ctl_read_entry() argument
601 entry->offset = le64_to_cpu(e->offset); in io_ctl_read_entry()
602 entry->bytes = le64_to_cpu(e->bytes); in io_ctl_read_entry()
616 struct btrfs_free_space *entry) in io_ctl_read_bitmap() argument
624 memcpy(entry->bitmap, io_ctl->cur, PAGE_CACHE_SIZE); in io_ctl_read_bitmap()
[all …]
/linux-4.4.14/include/linux/
Dswapops.h39 static inline unsigned swp_type(swp_entry_t entry) in swp_type() argument
41 return (entry.val >> SWP_TYPE_SHIFT(entry)); in swp_type()
48 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() argument
50 return entry.val & SWP_OFFSET_MASK(entry); in swp_offset()
79 static inline pte_t swp_entry_to_pte(swp_entry_t entry) in swp_entry_to_pte() argument
83 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()
89 swp_entry_t entry; in radix_to_swp_entry() local
91 entry.val = (unsigned long)arg >> RADIX_TREE_EXCEPTIONAL_SHIFT; in radix_to_swp_entry()
92 return entry; in radix_to_swp_entry()
95 static inline void *swp_to_radix_entry(swp_entry_t entry) in swp_to_radix_entry() argument
[all …]
Dresource_ext.h42 static inline void resource_list_add(struct resource_entry *entry, in resource_list_add() argument
45 list_add(&entry->node, head); in resource_list_add()
48 static inline void resource_list_add_tail(struct resource_entry *entry, in resource_list_add_tail() argument
51 list_add_tail(&entry->node, head); in resource_list_add_tail()
54 static inline void resource_list_del(struct resource_entry *entry) in resource_list_del() argument
56 list_del(&entry->node); in resource_list_del()
59 static inline void resource_list_free_entry(struct resource_entry *entry) in resource_list_free_entry() argument
61 kfree(entry); in resource_list_free_entry()
65 resource_list_destroy_entry(struct resource_entry *entry) in resource_list_destroy_entry() argument
67 resource_list_del(entry); in resource_list_destroy_entry()
[all …]
/linux-4.4.14/net/netlabel/
Dnetlabel_domainhash.c75 static void netlbl_domhsh_free_entry(struct rcu_head *entry) in netlbl_domhsh_free_entry() argument
85 ptr = container_of(entry, struct netlbl_dom_map, rcu); in netlbl_domhsh_free_entry()
172 struct netlbl_dom_map *entry; in netlbl_domhsh_search_def() local
174 entry = netlbl_domhsh_search(domain); in netlbl_domhsh_search_def()
175 if (entry == NULL) { in netlbl_domhsh_search_def()
176 entry = netlbl_domhsh_rcu_deref(netlbl_domhsh_def); in netlbl_domhsh_search_def()
177 if (entry != NULL && !entry->valid) in netlbl_domhsh_search_def()
178 entry = NULL; in netlbl_domhsh_search_def()
181 return entry; in netlbl_domhsh_search_def()
198 static void netlbl_domhsh_audit_add(struct netlbl_dom_map *entry, in netlbl_domhsh_audit_add() argument
[all …]
Dnetlabel_addrlist.c162 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) in netlbl_af4list_add() argument
166 iter = netlbl_af4list_search(entry->addr, head); in netlbl_af4list_add()
168 iter->addr == entry->addr && iter->mask == entry->mask) in netlbl_af4list_add()
177 ntohl(entry->mask) > ntohl(iter->mask)) { in netlbl_af4list_add()
178 __list_add_rcu(&entry->list, in netlbl_af4list_add()
183 list_add_tail_rcu(&entry->list, head); in netlbl_af4list_add()
199 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) in netlbl_af6list_add() argument
203 iter = netlbl_af6list_search(&entry->addr, head); in netlbl_af6list_add()
205 ipv6_addr_equal(&iter->addr, &entry->addr) && in netlbl_af6list_add()
206 ipv6_addr_equal(&iter->mask, &entry->mask)) in netlbl_af6list_add()
[all …]
Dnetlabel_kapi.c109 struct netlbl_dom_map *entry; in netlbl_cfg_unlbl_map_add() local
114 entry = kzalloc(sizeof(*entry), GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
115 if (entry == NULL) in netlbl_cfg_unlbl_map_add()
118 entry->domain = kstrdup(domain, GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
119 if (entry->domain == NULL) in netlbl_cfg_unlbl_map_add()
124 entry->def.type = NETLBL_NLTYPE_UNLABELED; in netlbl_cfg_unlbl_map_add()
175 entry->def.addrsel = addrmap; in netlbl_cfg_unlbl_map_add()
176 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_cfg_unlbl_map_add()
182 ret_val = netlbl_domhsh_add(entry, audit_info); in netlbl_cfg_unlbl_map_add()
189 kfree(entry->domain); in netlbl_cfg_unlbl_map_add()
[all …]
Dnetlabel_mgmt.c99 struct netlbl_dom_map *entry = kzalloc(sizeof(*entry), GFP_KERNEL); in netlbl_mgmt_add_common() local
101 if (!entry) in netlbl_mgmt_add_common()
103 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common()
106 entry->domain = kmalloc(tmp_size, GFP_KERNEL); in netlbl_mgmt_add_common()
107 if (entry->domain == NULL) { in netlbl_mgmt_add_common()
111 nla_strlcpy(entry->domain, in netlbl_mgmt_add_common()
120 switch (entry->def.type) { in netlbl_mgmt_add_common()
131 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common()
171 map->def.type = entry->def.type; in netlbl_mgmt_add_common()
181 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_mgmt_add_common()
[all …]
Dnetlabel_unlabeled.c167 static void netlbl_unlhsh_free_iface(struct rcu_head *entry) in netlbl_unlhsh_free_iface() argument
177 iface = container_of(entry, struct netlbl_unlhsh_iface, rcu); in netlbl_unlhsh_free_iface()
256 struct netlbl_unlhsh_addr4 *entry; in netlbl_unlhsh_add_addr4() local
258 entry = kzalloc(sizeof(*entry), GFP_ATOMIC); in netlbl_unlhsh_add_addr4()
259 if (entry == NULL) in netlbl_unlhsh_add_addr4()
262 entry->list.addr = addr->s_addr & mask->s_addr; in netlbl_unlhsh_add_addr4()
263 entry->list.mask = mask->s_addr; in netlbl_unlhsh_add_addr4()
264 entry->list.valid = 1; in netlbl_unlhsh_add_addr4()
265 entry->secid = secid; in netlbl_unlhsh_add_addr4()
268 ret_val = netlbl_af4list_add(&entry->list, &iface->addr4_list); in netlbl_unlhsh_add_addr4()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dresource.c84 u32 entry; in c4iw_get_resource() local
85 entry = c4iw_id_alloc(id_table); in c4iw_get_resource()
86 if (entry == (u32)(-1)) in c4iw_get_resource()
88 return entry; in c4iw_get_resource()
91 void c4iw_put_resource(struct c4iw_id_table *id_table, u32 entry) in c4iw_put_resource() argument
93 PDBG("%s entry 0x%x\n", __func__, entry); in c4iw_put_resource()
94 c4iw_id_free(id_table, entry); in c4iw_put_resource()
99 struct c4iw_qid_list *entry; in c4iw_get_cqid() local
105 entry = list_entry(uctx->cqids.next, struct c4iw_qid_list, in c4iw_get_cqid()
106 entry); in c4iw_get_cqid()
[all …]
/linux-4.4.14/drivers/pci/
Dmsi.c110 struct msi_desc *entry; in arch_setup_msi_irqs() local
122 for_each_pci_msi_entry(entry, dev) { in arch_setup_msi_irqs()
123 ret = arch_setup_msi_irq(dev, entry); in arch_setup_msi_irqs()
140 struct msi_desc *entry; in default_teardown_msi_irqs() local
142 for_each_pci_msi_entry(entry, dev) in default_teardown_msi_irqs()
143 if (entry->irq) in default_teardown_msi_irqs()
144 for (i = 0; i < entry->nvec_used; i++) in default_teardown_msi_irqs()
145 arch_teardown_msi_irq(entry->irq + i); in default_teardown_msi_irqs()
155 struct msi_desc *entry; in default_restore_msi_irq() local
157 entry = NULL; in default_restore_msi_irq()
[all …]
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_execbuf_util.c36 struct ttm_validate_buffer *entry) in ttm_eu_backoff_reservation_reverse() argument
38 list_for_each_entry_continue_reverse(entry, list, head) { in ttm_eu_backoff_reservation_reverse()
39 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation_reverse()
47 struct ttm_validate_buffer *entry; in ttm_eu_del_from_lru_locked() local
49 list_for_each_entry(entry, list, head) { in ttm_eu_del_from_lru_locked()
50 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_del_from_lru_locked()
60 struct ttm_validate_buffer *entry; in ttm_eu_backoff_reservation() local
66 entry = list_first_entry(list, struct ttm_validate_buffer, head); in ttm_eu_backoff_reservation()
67 glob = entry->bo->glob; in ttm_eu_backoff_reservation()
70 list_for_each_entry(entry, list, head) { in ttm_eu_backoff_reservation()
[all …]
/linux-4.4.14/sound/drivers/opl4/
Dopl4_proc.c25 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument
28 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
40 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument
43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
51 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument
56 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read()
71 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument
77 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write()
101 struct snd_info_entry *entry; in snd_opl4_create_proc() local
103 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root); in snd_opl4_create_proc()
[all …]
/linux-4.4.14/drivers/oprofile/
Dcpu_buffer.c142 *op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size) in op_cpu_buffer_write_reserve() argument
144 entry->event = ring_buffer_lock_reserve in op_cpu_buffer_write_reserve()
146 size * sizeof(entry->sample->data[0])); in op_cpu_buffer_write_reserve()
147 if (!entry->event) in op_cpu_buffer_write_reserve()
149 entry->sample = ring_buffer_event_data(entry->event); in op_cpu_buffer_write_reserve()
150 entry->size = size; in op_cpu_buffer_write_reserve()
151 entry->data = entry->sample->data; in op_cpu_buffer_write_reserve()
153 return entry->sample; in op_cpu_buffer_write_reserve()
156 int op_cpu_buffer_write_commit(struct op_entry *entry) in op_cpu_buffer_write_commit() argument
158 return ring_buffer_unlock_commit(op_ring_buffer, entry->event); in op_cpu_buffer_write_commit()
[all …]
Dcpu_buffer.h78 *op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size);
79 int op_cpu_buffer_write_commit(struct op_entry *entry);
80 struct op_sample *op_cpu_buffer_read_entry(struct op_entry *entry, int cpu);
85 int op_cpu_buffer_add_data(struct op_entry *entry, unsigned long val) in op_cpu_buffer_add_data() argument
87 if (!entry->size) in op_cpu_buffer_add_data()
89 *entry->data = val; in op_cpu_buffer_add_data()
90 entry->size--; in op_cpu_buffer_add_data()
91 entry->data++; in op_cpu_buffer_add_data()
92 return entry->size; in op_cpu_buffer_add_data()
97 int op_cpu_buffer_get_size(struct op_entry *entry) in op_cpu_buffer_get_size() argument
[all …]
/linux-4.4.14/drivers/firmware/efi/
Druntime-map.c30 ssize_t (*show)(struct efi_runtime_map_entry *entry, char *buf);
38 static ssize_t type_show(struct efi_runtime_map_entry *entry, char *buf) in type_show() argument
40 return snprintf(buf, PAGE_SIZE, "0x%x\n", entry->md.type); in type_show()
43 #define EFI_RUNTIME_FIELD(var) entry->md.var
46 static ssize_t name##_show(struct efi_runtime_map_entry *entry, char *buf) \
64 struct efi_runtime_map_entry *entry = to_map_entry(kobj); in map_attr_show() local
67 return map_attr->show(entry, buf); in map_attr_show()
94 struct efi_runtime_map_entry *entry; in map_release() local
96 entry = to_map_entry(kobj); in map_release()
97 kfree(entry); in map_release()
[all …]
Defivars.c102 ssize_t (*show) (struct efivar_entry *entry, char *buf);
103 ssize_t (*store)(struct efivar_entry *entry, const char *buf, size_t count);
123 efivar_guid_read(struct efivar_entry *entry, char *buf) in efivar_guid_read() argument
125 struct efi_variable *var = &entry->var; in efivar_guid_read()
128 if (!entry || !buf) in efivar_guid_read()
139 efivar_attr_read(struct efivar_entry *entry, char *buf) in efivar_attr_read() argument
141 struct efi_variable *var = &entry->var; in efivar_attr_read()
144 if (!entry || !buf) in efivar_attr_read()
148 if (efivar_entry_get(entry, &var->Attributes, &var->DataSize, var->Data)) in efivar_attr_read()
172 efivar_size_read(struct efivar_entry *entry, char *buf) in efivar_size_read() argument
[all …]
Defi-pstore.c46 static int efi_pstore_read_func(struct efivar_entry *entry, void *data) in efi_pstore_read_func() argument
56 if (efi_guidcmp(entry->var.VendorGuid, vendor)) in efi_pstore_read_func()
60 name[i] = entry->var.VariableName[i]; in efi_pstore_read_func()
94 entry->var.DataSize = 1024; in efi_pstore_read_func()
95 __efivar_entry_get(entry, &entry->var.Attributes, in efi_pstore_read_func()
96 &entry->var.DataSize, entry->var.Data); in efi_pstore_read_func()
97 size = entry->var.DataSize; in efi_pstore_read_func()
98 memcpy(*cb_data->buf, entry->var.Data, in efi_pstore_read_func()
124 static inline void __efi_pstore_scan_sysfs_exit(struct efivar_entry *entry, in __efi_pstore_scan_sysfs_exit() argument
127 if (entry->deleting) { in __efi_pstore_scan_sysfs_exit()
[all …]
Dvars.c357 struct efivar_entry *entry, *n; in variable_is_present() local
362 list_for_each_entry_safe(entry, n, head, list) { in variable_is_present()
363 strsize2 = ucs2_strsize(entry->var.VariableName, 1024); in variable_is_present()
365 !memcmp(variable_name, &(entry->var.VariableName), in variable_is_present()
367 !efi_guidcmp(entry->var.VendorGuid, in variable_is_present()
532 void efivar_entry_add(struct efivar_entry *entry, struct list_head *head) in efivar_entry_add() argument
535 list_add(&entry->list, head); in efivar_entry_add()
544 void efivar_entry_remove(struct efivar_entry *entry) in efivar_entry_remove() argument
547 list_del(&entry->list); in efivar_entry_remove()
563 static void efivar_entry_list_del_unlock(struct efivar_entry *entry) in efivar_entry_list_del_unlock() argument
[all …]
Desrt.c75 ssize_t (*show)(struct esre_entry *entry, char *buf);
76 ssize_t (*store)(struct esre_entry *entry,
93 struct esre_entry *entry = to_entry(kobj); in esre_attr_show() local
100 return attr->show(entry, buf); in esre_attr_show()
108 static ssize_t esre_fw_class_show(struct esre_entry *entry, char *buf) in esre_fw_class_show() argument
112 efi_guid_to_str(&entry->esre.esre1->fw_class, str); in esre_fw_class_show()
123 static ssize_t esre_##name##_show(struct esre_entry *entry, char *buf) \
126 le##size##_to_cpu(entry->esre.esre1->name)); \
151 struct esre_entry *entry = to_entry(kobj); in esre_release() local
153 list_del(&entry->list); in esre_release()
[all …]
/linux-4.4.14/drivers/parisc/
Dpdc_stable.c111 ssize_t (*show)(struct pdcspath_entry *entry, char *buf);
112 ssize_t (*store)(struct pdcspath_entry *entry, const char *buf, size_t count);
152 pdcspath_fetch(struct pdcspath_entry *entry) in pdcspath_fetch() argument
156 if (!entry) in pdcspath_fetch()
159 devpath = &entry->devpath; in pdcspath_fetch()
162 entry, devpath, entry->addr); in pdcspath_fetch()
165 if (pdc_stable_read(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) in pdcspath_fetch()
171 entry->dev = hwpath_to_device((struct hardware_path *)devpath); in pdcspath_fetch()
173 entry->ready = 1; in pdcspath_fetch()
175 DPRINTK("%s: device: 0x%p\n", __func__, entry->dev); in pdcspath_fetch()
[all …]
/linux-4.4.14/arch/x86/kernel/
Djump_label.c39 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
56 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
64 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
68 code.offset = entry->target - in __jump_label_transform()
69 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
79 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
82 code.offset = entry->target - in __jump_label_transform()
[all …]
/linux-4.4.14/fs/ext4/
Dblock_validity.c60 struct ext4_system_zone *new_entry = NULL, *entry; in add_system_zone() local
66 entry = rb_entry(parent, struct ext4_system_zone, node); in add_system_zone()
67 if (start_blk < entry->start_blk) in add_system_zone()
69 else if (start_blk >= (entry->start_blk + entry->count)) in add_system_zone()
72 if (start_blk + count > (entry->start_blk + in add_system_zone()
73 entry->count)) in add_system_zone()
74 entry->count = (start_blk + count - in add_system_zone()
75 entry->start_blk); in add_system_zone()
99 entry = rb_entry(node, struct ext4_system_zone, node); in add_system_zone()
100 if (can_merge(entry, new_entry)) { in add_system_zone()
[all …]
Dxattr.c190 ext4_xattr_check_names(struct ext4_xattr_entry *entry, void *end, in ext4_xattr_check_names() argument
193 struct ext4_xattr_entry *e = entry; in ext4_xattr_check_names()
202 while (!IS_LAST_ENTRY(entry)) { in ext4_xattr_check_names()
203 if (entry->e_value_size != 0 && in ext4_xattr_check_names()
204 (value_start + le16_to_cpu(entry->e_value_offs) < in ext4_xattr_check_names()
206 value_start + le16_to_cpu(entry->e_value_offs) + in ext4_xattr_check_names()
207 le32_to_cpu(entry->e_value_size) > end)) in ext4_xattr_check_names()
209 entry = EXT4_XATTR_NEXT(entry); in ext4_xattr_check_names()
236 ext4_xattr_check_entry(struct ext4_xattr_entry *entry, size_t size) in ext4_xattr_check_entry() argument
238 size_t value_size = le32_to_cpu(entry->e_value_size); in ext4_xattr_check_entry()
[all …]
/linux-4.4.14/include/scsi/
Dfc_encode.h222 struct fc_fdmi_attr_entry *entry; in fc_ct_ms_fill() local
257 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
262 &entry->type); in fc_ct_ms_fill()
263 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
265 (__be64 *)&entry->value[0]); in fc_ct_ms_fill()
268 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
273 &entry->type); in fc_ct_ms_fill()
274 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
275 strncpy((char *)&entry->value, in fc_ct_ms_fill()
280 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dstatahead.c90 static inline int ll_sa_entry_unhashed(struct ll_sa_entry *entry) in ll_sa_entry_unhashed() argument
92 return list_empty(&entry->se_hash); in ll_sa_entry_unhashed()
98 static inline int ll_sa_entry_stated(struct ll_sa_entry *entry) in ll_sa_entry_stated() argument
101 return (entry->se_stat != SA_ENTRY_INIT); in ll_sa_entry_stated()
113 ll_sa_entry_enhash(struct ll_statahead_info *sai, struct ll_sa_entry *entry) in ll_sa_entry_enhash() argument
115 int i = ll_sa_entry_hash(entry->se_qstr.hash); in ll_sa_entry_enhash()
118 list_add_tail(&entry->se_hash, &sai->sai_cache[i]); in ll_sa_entry_enhash()
126 ll_sa_entry_unhash(struct ll_statahead_info *sai, struct ll_sa_entry *entry) in ll_sa_entry_unhash() argument
128 int i = ll_sa_entry_hash(entry->se_qstr.hash); in ll_sa_entry_unhash()
131 list_del_init(&entry->se_hash); in ll_sa_entry_unhash()
[all …]
/linux-4.4.14/mm/
Dzswap.c234 struct zswap_entry *entry; in zswap_entry_cache_alloc() local
235 entry = kmem_cache_alloc(zswap_entry_cache, gfp); in zswap_entry_cache_alloc()
236 if (!entry) in zswap_entry_cache_alloc()
238 entry->refcount = 1; in zswap_entry_cache_alloc()
239 RB_CLEAR_NODE(&entry->rbnode); in zswap_entry_cache_alloc()
240 return entry; in zswap_entry_cache_alloc()
243 static void zswap_entry_cache_free(struct zswap_entry *entry) in zswap_entry_cache_free() argument
245 kmem_cache_free(zswap_entry_cache, entry); in zswap_entry_cache_free()
254 struct zswap_entry *entry; in zswap_rb_search() local
257 entry = rb_entry(node, struct zswap_entry, rbnode); in zswap_rb_search()
[all …]
Dswap_state.c79 int __add_to_swap_cache(struct page *page, swp_entry_t entry) in __add_to_swap_cache() argument
90 set_page_private(page, entry.val); in __add_to_swap_cache()
92 address_space = swap_address_space(entry); in __add_to_swap_cache()
95 entry.val, page); in __add_to_swap_cache()
119 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache() argument
125 error = __add_to_swap_cache(page, entry); in add_to_swap_cache()
137 swp_entry_t entry; in __delete_from_swap_cache() local
144 entry.val = page_private(page); in __delete_from_swap_cache()
145 address_space = swap_address_space(entry); in __delete_from_swap_cache()
163 swp_entry_t entry; in add_to_swap() local
[all …]
/linux-4.4.14/kernel/
Dauditfilter.c117 struct audit_entry *entry; in audit_init_entry() local
120 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in audit_init_entry()
121 if (unlikely(!entry)) in audit_init_entry()
126 kfree(entry); in audit_init_entry()
129 entry->rule.fields = fields; in audit_init_entry()
131 return entry; in audit_init_entry()
219 static int audit_match_signal(struct audit_entry *entry) in audit_match_signal() argument
221 struct audit_field *arch = entry->rule.arch_f; in audit_match_signal()
227 entry->rule.mask) && in audit_match_signal()
229 entry->rule.mask)); in audit_match_signal()
[all …]
Dasync.c111 struct async_entry *entry = in async_run_entry_fn() local
119 (long long)entry->cookie, in async_run_entry_fn()
120 entry->func, task_pid_nr(current)); in async_run_entry_fn()
123 entry->func(entry->data, entry->cookie); in async_run_entry_fn()
128 (long long)entry->cookie, in async_run_entry_fn()
129 entry->func, in async_run_entry_fn()
135 list_del_init(&entry->domain_list); in async_run_entry_fn()
136 list_del_init(&entry->global_list); in async_run_entry_fn()
139 kfree(entry); in async_run_entry_fn()
150 struct async_entry *entry; in __async_schedule() local
[all …]
Djump_label.c120 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() argument
122 if (entry->code <= (unsigned long)end && in addr_conflict()
123 entry->code + JUMP_LABEL_NOP_SIZE > (unsigned long)start) in addr_conflict()
150 void __weak __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
153 arch_jump_label_transform(entry, type); in arch_jump_label_transform_static()
166 static inline struct static_key *jump_entry_key(struct jump_entry *entry) in jump_entry_key() argument
168 return (struct static_key *)((unsigned long)entry->key & ~1UL); in jump_entry_key()
171 static bool jump_entry_branch(struct jump_entry *entry) in jump_entry_branch() argument
173 return (unsigned long)entry->key & 1UL; in jump_entry_branch()
176 static enum jump_label_type jump_label_type(struct jump_entry *entry) in jump_label_type() argument
[all …]
Dfutex_compat.c23 fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, in fetch_robust_entry() argument
29 *entry = compat_ptr((*uentry) & ~1); in fetch_robust_entry()
35 static void __user *futex_uaddr(struct robust_list __user *entry, in futex_uaddr() argument
38 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr()
53 struct robust_list __user *entry, *next_entry, *pending; in compat_exit_robust_list() local
67 if (fetch_robust_entry(&uentry, &entry, &head->list.next, &pi)) in compat_exit_robust_list()
83 while (entry != (struct robust_list __user *) &head->list) { in compat_exit_robust_list()
89 (compat_uptr_t __user *)&entry->next, &next_pi); in compat_exit_robust_list()
94 if (entry != pending) { in compat_exit_robust_list()
95 void __user *uaddr = futex_uaddr(entry, futex_offset); in compat_exit_robust_list()
[all …]
/linux-4.4.14/sound/pci/ca0106/
Dca0106_proc.c272 static void snd_ca0106_proc_iec958(struct snd_info_entry *entry, in snd_ca0106_proc_iec958() argument
275 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958()
294 static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write32() argument
297 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32()
312 static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read32() argument
315 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32()
328 static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read16() argument
331 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16()
344 static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read8() argument
347 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8()
[all …]
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00usb.c218 static void rt2x00usb_work_txdone_entry(struct queue_entry *entry) in rt2x00usb_work_txdone_entry() argument
228 if (test_bit(ENTRY_DATA_IO_FAILED, &entry->flags)) in rt2x00usb_work_txdone_entry()
229 rt2x00lib_txdone_noinfo(entry, TXDONE_FAILURE); in rt2x00usb_work_txdone_entry()
231 rt2x00lib_txdone_noinfo(entry, TXDONE_UNKNOWN); in rt2x00usb_work_txdone_entry()
239 struct queue_entry *entry; in rt2x00usb_work_txdone() local
243 entry = rt2x00queue_get_entry(queue, Q_INDEX_DONE); in rt2x00usb_work_txdone()
245 if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) || in rt2x00usb_work_txdone()
246 !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2x00usb_work_txdone()
249 rt2x00usb_work_txdone_entry(entry); in rt2x00usb_work_txdone()
256 struct queue_entry *entry = (struct queue_entry *)urb->context; in rt2x00usb_interrupt_txdone() local
[all …]
Drt2x00dev.c261 void rt2x00lib_dmastart(struct queue_entry *entry) in rt2x00lib_dmastart() argument
263 set_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags); in rt2x00lib_dmastart()
264 rt2x00queue_index_inc(entry, Q_INDEX); in rt2x00lib_dmastart()
268 void rt2x00lib_dmadone(struct queue_entry *entry) in rt2x00lib_dmadone() argument
270 set_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags); in rt2x00lib_dmadone()
271 clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags); in rt2x00lib_dmadone()
272 rt2x00queue_index_inc(entry, Q_INDEX_DMA_DONE); in rt2x00lib_dmadone()
276 static inline int rt2x00lib_txdone_bar_status(struct queue_entry *entry) in rt2x00lib_txdone_bar_status() argument
278 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2x00lib_txdone_bar_status()
279 struct ieee80211_bar *bar = (void *) entry->skb->data; in rt2x00lib_txdone_bar_status()
[all …]
Drt2800usb.c119 static inline bool rt2800usb_entry_txstatus_timeout(struct queue_entry *entry) in rt2800usb_entry_txstatus_timeout() argument
123 if (!test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2800usb_entry_txstatus_timeout()
126 tout = time_after(jiffies, entry->last_action + msecs_to_jiffies(100)); in rt2800usb_entry_txstatus_timeout()
128 rt2x00_dbg(entry->queue->rt2x00dev, in rt2800usb_entry_txstatus_timeout()
130 entry->entry_idx, entry->queue->qid); in rt2800usb_entry_txstatus_timeout()
138 struct queue_entry *entry; in rt2800usb_txstatus_timeout() local
141 entry = rt2x00queue_get_entry(queue, Q_INDEX_DONE); in rt2800usb_txstatus_timeout()
142 if (rt2800usb_entry_txstatus_timeout(entry)) in rt2800usb_txstatus_timeout()
211 static void rt2800usb_tx_dma_done(struct queue_entry *entry) in rt2800usb_tx_dma_done() argument
213 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800usb_tx_dma_done()
[all …]
Drt2800mmio.c42 __le32 *rt2800mmio_get_txwi(struct queue_entry *entry) in rt2800mmio_get_txwi() argument
44 return (__le32 *) entry->skb->data; in rt2800mmio_get_txwi()
48 void rt2800mmio_write_tx_desc(struct queue_entry *entry, in rt2800mmio_write_tx_desc() argument
51 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800mmio_write_tx_desc()
52 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_write_tx_desc()
55 const unsigned int txwi_size = entry->queue->winfo_size; in rt2800mmio_write_tx_desc()
73 rt2x00_set_field32(&word, TXD_W1_SD_LEN1, entry->skb->len); in rt2800mmio_write_tx_desc()
105 void rt2800mmio_fill_rxdone(struct queue_entry *entry, in rt2800mmio_fill_rxdone() argument
108 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_fill_rxdone()
154 rt2800_process_rxwi(entry, rxdesc); in rt2800mmio_fill_rxdone()
[all …]
Drt2x00queue.c34 struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry, gfp_t gfp) in rt2x00queue_alloc_rxskb() argument
36 struct data_queue *queue = entry->queue; in rt2x00queue_alloc_rxskb()
86 skbdesc->entry = entry; in rt2x00queue_alloc_rxskb()
105 int rt2x00queue_map_txskb(struct queue_entry *entry) in rt2x00queue_map_txskb() argument
107 struct device *dev = entry->queue->rt2x00dev->dev; in rt2x00queue_map_txskb()
108 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_map_txskb()
111 dma_map_single(dev, entry->skb->data, entry->skb->len, DMA_TO_DEVICE); in rt2x00queue_map_txskb()
121 void rt2x00queue_unmap_skb(struct queue_entry *entry) in rt2x00queue_unmap_skb() argument
123 struct device *dev = entry->queue->rt2x00dev->dev; in rt2x00queue_unmap_skb()
124 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_unmap_skb()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c743 struct brcmf_fws_mac_descriptor *entry; in brcmf_fws_macdesc_lookup() local
749 entry = &fws->desc.nodes[0]; in brcmf_fws_macdesc_lookup()
751 if (entry->occupied && !memcmp(entry->ea, ea, ETH_ALEN)) in brcmf_fws_macdesc_lookup()
752 return entry; in brcmf_fws_macdesc_lookup()
753 entry++; in brcmf_fws_macdesc_lookup()
762 struct brcmf_fws_mac_descriptor *entry = &fws->desc.other; in brcmf_fws_macdesc_find() local
772 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
776 entry = brcmf_fws_macdesc_lookup(fws, da); in brcmf_fws_macdesc_find()
777 if (IS_ERR(entry)) in brcmf_fws_macdesc_find()
778 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
[all …]
/linux-4.4.14/sound/isa/gus/
Dgus_mem_proc.c34 static ssize_t snd_gf1_mem_proc_dump(struct snd_info_entry *entry, in snd_gf1_mem_proc_dump() argument
39 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_dump()
49 static void snd_gf1_mem_proc_free(struct snd_info_entry *entry) in snd_gf1_mem_proc_free() argument
51 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_free()
64 struct snd_info_entry *entry; in snd_gf1_mem_proc_init() local
73 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
74 entry->content = SNDRV_INFO_CONTENT_DATA; in snd_gf1_mem_proc_init()
75 entry->private_data = priv; in snd_gf1_mem_proc_init()
76 entry->private_free = snd_gf1_mem_proc_free; in snd_gf1_mem_proc_init()
77 entry->c.ops = &snd_gf1_mem_proc_ops; in snd_gf1_mem_proc_init()
[all …]
/linux-4.4.14/drivers/ntb/
Dntb_transport.c99 struct list_head entry; member
115 unsigned int entry; member
195 struct list_head entry; member
201 struct list_head entry; member
301 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init()
309 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove()
312 list_del(&client_dev->entry); in ntb_bus_remove()
316 list_del(&nt->entry); in ntb_bus_remove()
338 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev()
339 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev()
[all …]
/linux-4.4.14/net/bridge/
Dbr_mdb.c167 struct br_mdb_entry *entry, u32 pid, in nlmsg_populate_mdb_fill() argument
189 if (nla_put(skb, MDBA_MDB_ENTRY_INFO, sizeof(*entry), entry)) in nlmsg_populate_mdb_fill()
210 static void __br_mdb_notify(struct net_device *dev, struct br_mdb_entry *entry, in __br_mdb_notify() argument
221 err = nlmsg_populate_mdb_fill(skb, dev, entry, 0, 0, type, NTF_SELF); in __br_mdb_notify()
236 struct br_mdb_entry entry; in br_mdb_notify() local
238 memset(&entry, 0, sizeof(entry)); in br_mdb_notify()
239 entry.ifindex = port->dev->ifindex; in br_mdb_notify()
240 entry.addr.proto = group->proto; in br_mdb_notify()
241 entry.addr.u.ip4 = group->u.ip4; in br_mdb_notify()
243 entry.addr.u.ip6 = group->u.ip6; in br_mdb_notify()
[all …]
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dinterrupt.c62 int entry; in tulip_refill_rx() local
67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx()
68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx()
72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx()
81 tp->rx_buffers[entry].skb = NULL; in tulip_refill_rx()
85 tp->rx_buffers[entry].mapping = mapping; in tulip_refill_rx()
87 tp->rx_ring[entry].buffer1 = cpu_to_le32(mapping); in tulip_refill_rx()
90 tp->rx_ring[entry].status = cpu_to_le32(DescOwned); in tulip_refill_rx()
116 int entry = tp->cur_rx % RX_RING_SIZE; in tulip_poll() local
132 entry, tp->rx_ring[entry].status); in tulip_poll()
[all …]
/linux-4.4.14/fs/nilfs2/
Ddat.c91 struct nilfs_dat_entry *entry; in nilfs_dat_commit_alloc() local
95 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_alloc()
97 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_alloc()
98 entry->de_end = cpu_to_le64(NILFS_CNO_MAX); in nilfs_dat_commit_alloc()
99 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_alloc()
115 struct nilfs_dat_entry *entry; in nilfs_dat_commit_free() local
119 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_free()
121 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
122 entry->de_end = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
123 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_free()
[all …]
/linux-4.4.14/fs/afs/
Dvlclient.c64 struct afs_cache_vlocation *entry; in afs_deliver_vl_get_entry_by_xxx() local
79 entry = call->reply; in afs_deliver_vl_get_entry_by_xxx()
83 entry->name[loop] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
84 entry->name[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
88 entry->nservers = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
91 entry->servers[loop].s_addr = *bp++; in afs_deliver_vl_get_entry_by_xxx()
97 entry->srvtmask[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
99 entry->srvtmask[loop] |= AFS_VOL_VTM_RW; in afs_deliver_vl_get_entry_by_xxx()
101 entry->srvtmask[loop] |= AFS_VOL_VTM_RO; in afs_deliver_vl_get_entry_by_xxx()
103 entry->srvtmask[loop] |= AFS_VOL_VTM_BAK; in afs_deliver_vl_get_entry_by_xxx()
[all …]
/linux-4.4.14/tools/usb/
Dtestusb.c250 struct testdev *entry; in find_testdev() local
268 entry = calloc(1, sizeof *entry); in find_testdev()
269 if (!entry) in find_testdev()
272 entry->name = strdup(name); in find_testdev()
273 if (!entry->name) { in find_testdev()
274 free(entry); in find_testdev()
280 entry->ifnum = ifnum; in find_testdev()
285 speed(entry->speed), entry->name, entry->ifnum); in find_testdev()
287 entry->next = testdevs; in find_testdev()
288 testdevs = entry; in find_testdev()
[all …]
/linux-4.4.14/include/sound/
Dinfo.h45 void (*read)(struct snd_info_entry *entry,
47 void (*write)(struct snd_info_entry *entry,
52 int (*open)(struct snd_info_entry *entry,
54 int (*release)(struct snd_info_entry *entry,
56 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data,
59 ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data,
62 loff_t (*llseek)(struct snd_info_entry *entry,
65 unsigned int (*poll)(struct snd_info_entry *entry,
68 int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
70 int (*mmap)(struct snd_info_entry *entry, void *file_private_data,
[all …]
/linux-4.4.14/arch/cris/kernel/
Dasm-offsets.c17 #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) in main() argument
37 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() argument
43 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main() argument
53 #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) in main() argument
/linux-4.4.14/net/dccp/
Dfeat.c282 static void dccp_feat_print_entry(struct dccp_feat_entry const *entry) in dccp_feat_print_entry() argument
284 dccp_debug(" * %s %s = ", entry->is_local ? "local" : "remote", in dccp_feat_print_entry()
285 dccp_feat_fname(entry->feat_num)); in dccp_feat_print_entry()
286 dccp_feat_printval(entry->feat_num, &entry->val); in dccp_feat_print_entry()
287 dccp_pr_debug_cat(", state=%s %s\n", dccp_feat_sname[entry->state], in dccp_feat_print_entry()
288 entry->needs_confirm ? "(Confirm pending)" : ""); in dccp_feat_print_entry()
414 static void dccp_feat_entry_destructor(struct dccp_feat_entry *entry) in dccp_feat_entry_destructor() argument
416 if (entry != NULL) { in dccp_feat_entry_destructor()
417 dccp_feat_val_destructor(entry->feat_num, &entry->val); in dccp_feat_entry_destructor()
418 kfree(entry); in dccp_feat_entry_destructor()
[all …]
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_cq.c160 int entry) in get_cqe_from_buf() argument
163 return buf->queue.direct.buf + (entry * MTHCA_CQ_ENTRY_SIZE); in get_cqe_from_buf()
165 return buf->queue.page_list[entry * MTHCA_CQ_ENTRY_SIZE / PAGE_SIZE].buf in get_cqe_from_buf()
166 + (entry * MTHCA_CQ_ENTRY_SIZE) % PAGE_SIZE; in get_cqe_from_buf()
169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) in get_cqe() argument
171 return get_cqe_from_buf(&cq->buf, entry); in get_cqe()
380 struct ib_wc *entry, int *free_cqe) in handle_error_cqe() argument
399 entry->status = IB_WC_LOC_LEN_ERR; in handle_error_cqe()
402 entry->status = IB_WC_LOC_QP_OP_ERR; in handle_error_cqe()
405 entry->status = IB_WC_LOC_EEC_OP_ERR; in handle_error_cqe()
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dos_intfs.c208 struct proc_dir_entry *entry = NULL;
222 entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO,
225 if (!entry) {
251 entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
253 if (!entry) {
257 entry->write_proc = proc_set_write_reg;
259 entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
261 if (!entry) {
265 entry->write_proc = proc_set_read_reg;
268 entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
[all …]
/linux-4.4.14/security/tomoyo/
Dgc.c158 struct tomoyo_path_acl *entry in tomoyo_del_acl() local
159 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
160 tomoyo_put_name_union(&entry->name); in tomoyo_del_acl()
165 struct tomoyo_path2_acl *entry in tomoyo_del_acl() local
166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
167 tomoyo_put_name_union(&entry->name1); in tomoyo_del_acl()
168 tomoyo_put_name_union(&entry->name2); in tomoyo_del_acl()
173 struct tomoyo_path_number_acl *entry in tomoyo_del_acl() local
174 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
175 tomoyo_put_name_union(&entry->name); in tomoyo_del_acl()
[all …]
Ddomain.c36 struct tomoyo_acl_head *entry; in tomoyo_update_policy() local
41 list_for_each_entry_rcu(entry, list, list) { in tomoyo_update_policy()
42 if (entry->is_deleted == TOMOYO_GC_IN_PROGRESS) in tomoyo_update_policy()
44 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
46 entry->is_deleted = param->is_delete; in tomoyo_update_policy()
51 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
52 if (entry) { in tomoyo_update_policy()
53 list_add_tail_rcu(&entry->list, list); in tomoyo_update_policy()
100 struct tomoyo_acl_info *entry; in tomoyo_update_domain() local
119 list_for_each_entry_rcu(entry, list, list) { in tomoyo_update_domain()
[all …]
Dmemory.c117 struct tomoyo_group *entry = tomoyo_commit_ok(&e, sizeof(e)); in tomoyo_get_group() local
118 if (entry) { in tomoyo_get_group()
119 INIT_LIST_HEAD(&entry->member_list); in tomoyo_get_group()
120 atomic_set(&entry->head.users, 1); in tomoyo_get_group()
121 list_add_tail_rcu(&entry->head.list, list); in tomoyo_get_group()
122 group = entry; in tomoyo_get_group()
162 if (hash != ptr->entry.hash || strcmp(name, ptr->entry.name) || in tomoyo_get_name()
170 ptr->entry.name = ((char *) ptr) + sizeof(*ptr); in tomoyo_get_name()
171 memmove((char *) ptr->entry.name, name, len); in tomoyo_get_name()
173 tomoyo_fill_path_info(&ptr->entry); in tomoyo_get_name()
[all …]
/linux-4.4.14/fs/f2fs/
Dxattr.h63 #define ENTRY_SIZE(entry) (XATTR_ALIGN(sizeof(struct f2fs_xattr_entry) + \ argument
64 entry->e_name_len + le16_to_cpu(entry->e_value_size)))
66 #define XATTR_NEXT_ENTRY(entry) ((struct f2fs_xattr_entry *)((char *)(entry) +\ argument
67 ENTRY_SIZE(entry)))
69 #define IS_XATTR_LAST_ENTRY(entry) (*(__u32 *)(entry) == 0) argument
71 #define list_for_each_xattr(entry, addr) \ argument
72 for (entry = XATTR_FIRST_ENTRY(addr);\
73 !IS_XATTR_LAST_ENTRY(entry);\
74 entry = XATTR_NEXT_ENTRY(entry))
Dacl.c53 struct f2fs_acl_entry *entry = (struct f2fs_acl_entry *)(hdr + 1); in f2fs_acl_from_disk() local
71 if ((char *)entry > end) in f2fs_acl_from_disk()
74 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
75 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
82 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
89 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
90 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
96 le32_to_cpu(entry->e_id)); in f2fs_acl_from_disk()
97 entry = (struct f2fs_acl_entry *)((char *)entry + in f2fs_acl_from_disk()
104 if ((char *)entry != end) in f2fs_acl_from_disk()
[all …]
Drecovery.c61 struct fsync_inode_entry *entry; in get_fsync_inode() local
63 list_for_each_entry(entry, head, list) in get_fsync_inode()
64 if (entry->inode->i_ino == ino) in get_fsync_inode()
65 return entry; in get_fsync_inode()
186 struct fsync_inode_entry *entry; in find_fsync_dnodes() local
199 entry = get_fsync_inode(head, ino_of_node(page)); in find_fsync_dnodes()
200 if (!entry) { in find_fsync_dnodes()
208 entry = kmem_cache_alloc(fsync_entry_slab, GFP_F2FS_ZERO); in find_fsync_dnodes()
209 if (!entry) { in find_fsync_dnodes()
217 entry->inode = f2fs_iget(sbi->sb, ino_of_node(page)); in find_fsync_dnodes()
[all …]
/linux-4.4.14/drivers/staging/gdm72xx/
Dgdm_qos.c43 struct qos_entry_s *entry; in alloc_qos_entry() local
48 entry = list_entry(qos_free_list.head.prev, struct qos_entry_s, in alloc_qos_entry()
50 list_del(&entry->list); in alloc_qos_entry()
53 return entry; in alloc_qos_entry()
57 return kmalloc(sizeof(*entry), GFP_ATOMIC); in alloc_qos_entry()
60 static void free_qos_entry(void *entry) in free_qos_entry() argument
62 struct qos_entry_s *qentry = entry; in free_qos_entry()
74 kfree(entry); in free_qos_entry()
79 struct qos_entry_s *entry, *n; in free_qos_entry_list() local
82 list_for_each_entry_safe(entry, n, free_list, list) { in free_qos_entry_list()
[all …]
/linux-4.4.14/fs/proc/
Dproc_sysctl.c106 struct ctl_table *entry; in find_entry() local
117 entry = &head->ctl_table[ctl_node - head->node]; in find_entry()
118 procname = entry->procname; in find_entry()
127 return entry; in find_entry()
133 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) in insert_entry() argument
135 struct rb_node *node = &head->node[entry - head->ctl_table].node; in insert_entry()
138 const char *name = entry->procname; in insert_entry()
162 pr_cont("/%s\n", entry->procname); in insert_entry()
172 static void erase_entry(struct ctl_table_header *head, struct ctl_table *entry) in erase_entry() argument
174 struct rb_node *node = &head->node[entry - head->ctl_table].node; in erase_entry()
[all …]
Dnamespaces.c109 const struct proc_ns_operations **entry, **last; in proc_ns_dir_readdir() local
118 entry = ns_entries + (ctx->pos - 2); in proc_ns_dir_readdir()
120 while (entry <= last) { in proc_ns_dir_readdir()
121 const struct proc_ns_operations *ops = *entry; in proc_ns_dir_readdir()
126 entry++; in proc_ns_dir_readdir()
143 const struct proc_ns_operations **entry, **last; in proc_ns_dir_lookup() local
152 for (entry = ns_entries; entry < last; entry++) { in proc_ns_dir_lookup()
153 if (strlen((*entry)->name) != len) in proc_ns_dir_lookup()
155 if (!memcmp(dentry->d_name.name, (*entry)->name, len)) in proc_ns_dir_lookup()
158 if (entry == last) in proc_ns_dir_lookup()
[all …]
/linux-4.4.14/drivers/s390/block/
Ddcssblk.c89 struct segment_info *entry, *temp; in dcssblk_release_segment() local
92 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment()
93 list_del(&entry->lh); in dcssblk_release_segment()
94 kfree(entry); in dcssblk_release_segment()
110 struct dcssblk_dev_info *entry; in dcssblk_assign_free_minor() local
117 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor()
118 if (minor == entry->gd->first_minor) in dcssblk_assign_free_minor()
136 struct dcssblk_dev_info *entry; in dcssblk_get_device_by_name() local
138 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name()
139 if (!strcmp(name, entry->segment_name)) { in dcssblk_get_device_by_name()
[all …]
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c117 struct hlist_node entry; member
126 struct hlist_node entry; member
152 struct hlist_node entry; member
164 struct hlist_node entry; member
171 struct hlist_node entry; member
1918 const struct rocker_flow_tbl_entry *entry) in rocker_cmd_flow_tbl_add_ig_port() argument
1921 entry->key.ig_port.in_pport)) in rocker_cmd_flow_tbl_add_ig_port()
1924 entry->key.ig_port.in_pport_mask)) in rocker_cmd_flow_tbl_add_ig_port()
1927 entry->key.ig_port.goto_tbl)) in rocker_cmd_flow_tbl_add_ig_port()
1935 const struct rocker_flow_tbl_entry *entry) in rocker_cmd_flow_tbl_add_vlan() argument
[all …]
/linux-4.4.14/arch/sh/mm/
Dtlbex_32.c29 pte_t entry; in handle_tlbmiss() local
52 entry = *pte; in handle_tlbmiss()
53 if (unlikely(pte_none(entry) || pte_not_present(entry))) in handle_tlbmiss()
55 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
59 entry = pte_mkdirty(entry); in handle_tlbmiss()
60 entry = pte_mkyoung(entry); in handle_tlbmiss()
62 set_pte(pte, entry); in handle_tlbmiss()
Dtlb-sh5.c59 unsigned long long entry = sh64_next_free_dtlb_entry(); in sh64_get_wired_dtlb_entry() local
64 return entry; in sh64_get_wired_dtlb_entry()
74 int sh64_put_wired_dtlb_entry(unsigned long long entry) in sh64_put_wired_dtlb_entry() argument
76 __flush_tlb_slot(entry); in sh64_put_wired_dtlb_entry()
92 if (entry <= DTLB_FIXED) in sh64_put_wired_dtlb_entry()
99 if (entry < (cpu_data->dtlb.first - cpu_data->dtlb.step)) in sh64_put_wired_dtlb_entry()
104 cpu_data->dtlb.next = entry; in sh64_put_wired_dtlb_entry()
152 unsigned long long entry; in tlb_wire_entry() local
159 entry = sh64_get_wired_dtlb_entry(); in tlb_wire_entry()
160 dtlb_entries[dtlb_entry++] = entry; in tlb_wire_entry()
[all …]
Dtlb-debugfs.c45 unsigned int nentries, entry; in tlb_seq_show() local
93 for (entry = 0; entry < nentries; entry++) { in tlb_seq_show()
100 val = __raw_readl(addr1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
105 val = __raw_readl(addr2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
109 val = __raw_readl(data1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
113 val = __raw_readl(data2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
126 entry, vpn, ppn, asid, in tlb_seq_show()
128 (urb <= entry) ? "W" : "-"); in tlb_seq_show()
/linux-4.4.14/arch/arm64/kernel/
Dperf_callchain.c34 struct perf_callchain_entry *entry) in user_backtrace() argument
50 perf_callchain_store(entry, buftail.lr); in user_backtrace()
79 struct perf_callchain_entry *entry) in compat_user_backtrace() argument
95 perf_callchain_store(entry, buftail.lr); in compat_user_backtrace()
109 void perf_callchain_user(struct perf_callchain_entry *entry, in perf_callchain_user() argument
117 perf_callchain_store(entry, regs->pc); in perf_callchain_user()
125 while (entry->nr < PERF_MAX_STACK_DEPTH && in perf_callchain_user()
127 tail = user_backtrace(tail, entry); in perf_callchain_user()
135 while ((entry->nr < PERF_MAX_STACK_DEPTH) && in perf_callchain_user()
137 tail = compat_user_backtrace(tail, entry); in perf_callchain_user()
[all …]
Djump_label.c25 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
28 void *addr = (void *)entry->code; in arch_jump_label_transform()
32 insn = aarch64_insn_gen_branch_imm(entry->code, in arch_jump_label_transform()
33 entry->target, in arch_jump_label_transform()
42 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
/linux-4.4.14/arch/s390/pci/
Dpci_dma.c29 unsigned long *table, *entry; in dma_alloc_cpu_table() local
35 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++) in dma_alloc_cpu_table()
36 *entry = ZPCI_TABLE_INVALID; in dma_alloc_cpu_table()
47 unsigned long *table, *entry; in dma_alloc_page_table() local
53 for (entry = table; entry < table + ZPCI_PT_ENTRIES; entry++) in dma_alloc_page_table()
54 *entry = ZPCI_PTE_INVALID; in dma_alloc_page_table()
63 static unsigned long *dma_get_seg_table_origin(unsigned long *entry) in dma_get_seg_table_origin() argument
67 if (reg_entry_isvalid(*entry)) in dma_get_seg_table_origin()
68 sto = get_rt_sto(*entry); in dma_get_seg_table_origin()
74 set_rt_sto(entry, sto); in dma_get_seg_table_origin()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c100 struct amdgpu_bo_list_entry *entry = &array[i]; in amdgpu_bo_list_set() local
107 entry->robj = amdgpu_bo_ref(gem_to_amdgpu_bo(gobj)); in amdgpu_bo_list_set()
109 entry->priority = info[i].bo_priority; in amdgpu_bo_list_set()
110 entry->prefered_domains = entry->robj->initial_domain; in amdgpu_bo_list_set()
111 entry->allowed_domains = entry->prefered_domains; in amdgpu_bo_list_set()
112 if (entry->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_list_set()
113 entry->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_list_set()
114 if (amdgpu_ttm_tt_has_userptr(entry->robj->tbo.ttm)) { in amdgpu_bo_list_set()
116 entry->prefered_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_list_set()
117 entry->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_list_set()
[all …]
Damdgpu_dpm.c263 ATOM_PPLIB_Clock_Voltage_Dependency_Record *entry; in amdgpu_parse_clk_voltage_dep_table() local
269 entry = &atom_table->entries[0]; in amdgpu_parse_clk_voltage_dep_table()
271 amdgpu_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in amdgpu_parse_clk_voltage_dep_table()
272 (entry->ucClockHigh << 16); in amdgpu_parse_clk_voltage_dep_table()
273 amdgpu_table->entries[i].v = le16_to_cpu(entry->usVoltage); in amdgpu_parse_clk_voltage_dep_table()
274 entry = (ATOM_PPLIB_Clock_Voltage_Dependency_Record *) in amdgpu_parse_clk_voltage_dep_table()
275 ((u8 *)entry + sizeof(ATOM_PPLIB_Clock_Voltage_Dependency_Record)); in amdgpu_parse_clk_voltage_dep_table()
428 ATOM_PPLIB_PhaseSheddingLimits_Record *entry; in amdgpu_parse_extended_power_table() local
439 entry = &psl->entries[0]; in amdgpu_parse_extended_power_table()
442 le16_to_cpu(entry->usSclkLow) | (entry->ucSclkHigh << 16); in amdgpu_parse_extended_power_table()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-phy-db.c186 struct iwl_phy_db_entry *entry = in iwl_phy_db_free_section() local
188 if (!entry) in iwl_phy_db_free_section()
191 kfree(entry->data); in iwl_phy_db_free_section()
192 entry->data = NULL; in iwl_phy_db_free_section()
193 entry->size = 0; in iwl_phy_db_free_section()
221 struct iwl_phy_db_entry *entry; in iwl_phy_db_set_section() local
231 entry = iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_set_section()
232 if (!entry) in iwl_phy_db_set_section()
235 kfree(entry->data); in iwl_phy_db_set_section()
236 entry->data = kmemdup(phy_db_notif->data, size, alloc_ctx); in iwl_phy_db_set_section()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/
Dkey.c42 bool ath_hw_keyreset(struct ath_common *common, u16 entry) in ath_hw_keyreset() argument
47 if (entry >= common->keymax) { in ath_hw_keyreset()
49 entry); in ath_hw_keyreset()
53 keyType = REG_READ(ah, AR_KEYTABLE_TYPE(entry)); in ath_hw_keyreset()
57 REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ath_hw_keyreset()
58 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ath_hw_keyreset()
59 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ath_hw_keyreset()
60 REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ath_hw_keyreset()
61 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ath_hw_keyreset()
62 REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), AR_KEYTABLE_TYPE_CLR); in ath_hw_keyreset()
[all …]
/linux-4.4.14/tools/testing/selftests/vm/
Dcompaction_test.c158 struct map_list *list, *entry; in main() local
196 entry = malloc(sizeof(struct map_list)); in main()
197 if (!entry) { in main()
201 entry->map = map; in main()
202 entry->next = list; in main()
203 list = entry; in main()
214 for (entry = list; entry != NULL; entry = entry->next) { in main()
215 munmap(entry->map, MAP_SIZE); in main()
216 if (!entry->next) in main()
218 entry = entry->next; in main()
/linux-4.4.14/arch/cris/arch-v32/mm/
Dintmem.c22 struct list_head entry; member
45 list_add_tail(&alloc->entry, &intmem_allocations); in crisv32_intmem_init()
58 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_alloc()
72 list_add(&alloc->entry, &allocation->entry); in crisv32_intmem_alloc()
81 list_add_tail(&tmp->entry, in crisv32_intmem_alloc()
82 &allocation->entry); in crisv32_intmem_alloc()
105 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_free()
108 list_entry(allocation->entry.prev, in crisv32_intmem_free()
109 struct intmem_allocation, entry); in crisv32_intmem_free()
111 list_entry(allocation->entry.next, in crisv32_intmem_free()
[all …]
/linux-4.4.14/arch/mips/mm/
Dpgtable-64.c19 unsigned long entry; in pgd_init() local
22 entry = (unsigned long)invalid_pte_table; in pgd_init()
24 entry = (unsigned long)invalid_pmd_table; in pgd_init()
31 p[0] = entry; in pgd_init()
32 p[1] = entry; in pgd_init()
33 p[2] = entry; in pgd_init()
34 p[3] = entry; in pgd_init()
35 p[4] = entry; in pgd_init()
37 p[-3] = entry; in pgd_init()
38 p[-2] = entry; in pgd_init()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlustre_peer.c99 struct uuid_nid_data *data, *entry; in class_add_uuid() local
116 list_for_each_entry(entry, &g_uuid_list, un_list) { in class_add_uuid()
117 if (obd_uuid_equals(&entry->un_uuid, &data->un_uuid)) { in class_add_uuid()
121 for (i = 0; i < entry->un_nid_count; i++) in class_add_uuid()
122 if (nid == entry->un_nids[i]) in class_add_uuid()
125 if (i == entry->un_nid_count) { in class_add_uuid()
126 LASSERT(entry->un_nid_count < NIDS_MAX); in class_add_uuid()
127 entry->un_nids[entry->un_nid_count++] = nid; in class_add_uuid()
138 libcfs_nid2str(nid), entry->un_nid_count); in class_add_uuid()
192 struct uuid_nid_data *entry; in class_check_uuid() local
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bios.c976 u8 entries, *entry; in bit_table() local
982 entry = &bios->data[bios->offset + 12]; in bit_table()
984 if (entry[0] == id) { in bit_table()
985 bit->id = entry[0]; in bit_table()
986 bit->version = entry[1]; in bit_table()
987 bit->length = ROM16(entry[2]); in bit_table()
988 bit->offset = ROM16(entry[4]); in bit_table()
989 bit->data = ROMPTR(dev, entry[4]); in bit_table()
993 entry += bios->data[bios->offset + 9]; in bit_table()
1375 struct dcb_output *entry = &dcb->entry[dcb->entries]; in new_dcb_entry() local
[all …]
/linux-4.4.14/drivers/net/ethernet/natsemi/
Dsonic.c206 int entry = lp->next_tx; in sonic_send_packet() local
229 sonic_tda_put(dev, entry, SONIC_TD_STATUS, 0); /* clear status */ in sonic_send_packet()
230 sonic_tda_put(dev, entry, SONIC_TD_FRAG_COUNT, 1); /* single fragment */ in sonic_send_packet()
231 sonic_tda_put(dev, entry, SONIC_TD_PKTSIZE, length); /* length of packet */ in sonic_send_packet()
232 sonic_tda_put(dev, entry, SONIC_TD_FRAG_PTR_L, laddr & 0xffff); in sonic_send_packet()
233 sonic_tda_put(dev, entry, SONIC_TD_FRAG_PTR_H, laddr >> 16); in sonic_send_packet()
234 sonic_tda_put(dev, entry, SONIC_TD_FRAG_SIZE, length); in sonic_send_packet()
235 sonic_tda_put(dev, entry, SONIC_TD_LINK, in sonic_send_packet()
236 sonic_tda_get(dev, entry, SONIC_TD_LINK) | SONIC_EOL); in sonic_send_packet()
243 lp->tx_len[entry] = length; in sonic_send_packet()
[all …]
Dsonic.h371 static inline void sonic_cda_put(struct net_device* dev, int entry, in sonic_cda_put() argument
376 (entry * SIZEOF_SONIC_CD) + offset, val); in sonic_cda_put()
379 static inline __u16 sonic_cda_get(struct net_device* dev, int entry, in sonic_cda_get() argument
384 (entry * SIZEOF_SONIC_CD) + offset); in sonic_cda_get()
399 static inline void sonic_tda_put(struct net_device* dev, int entry, in sonic_tda_put() argument
404 (entry * SIZEOF_SONIC_TD) + offset, val); in sonic_tda_put()
407 static inline __u16 sonic_tda_get(struct net_device* dev, int entry, in sonic_tda_get() argument
412 (entry * SIZEOF_SONIC_TD) + offset); in sonic_tda_get()
415 static inline void sonic_rda_put(struct net_device* dev, int entry, in sonic_rda_put() argument
420 (entry * SIZEOF_SONIC_RD) + offset, val); in sonic_rda_put()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h134 __list_add(struct list_head *entry, in __list_add() argument
137 next->prev = entry; in __list_add()
138 entry->next = next; in __list_add()
139 entry->prev = prev; in __list_add()
140 prev->next = entry; in __list_add()
159 list_add(struct list_head *entry, struct list_head *head) in list_add() argument
161 __list_add(entry, head, head->next); in list_add()
180 list_add_tail(struct list_head *entry, struct list_head *head) in list_add_tail() argument
182 __list_add(entry, head->prev, head); in list_add_tail()
207 list_del(struct list_head *entry) in list_del() argument
[all …]
/linux-4.4.14/include/drm/
Ddrm_mm.h179 #define drm_mm_for_each_node(entry, mm) list_for_each_entry(entry, \ argument
202 #define drm_mm_for_each_hole(entry, mm, hole_start, hole_end) \ argument
203 for (entry = list_entry((mm)->hole_stack.next, struct drm_mm_node, hole_stack); \
204 &entry->hole_stack != &(mm)->hole_stack ? \
205 hole_start = drm_mm_hole_node_start(entry), \
206 hole_end = drm_mm_hole_node_end(entry), \
208 entry = list_entry(entry->hole_stack.next, struct drm_mm_node, hole_stack))
210 #define __drm_mm_for_each_hole(entry, mm, hole_start, hole_end, backwards) \ argument
211 …for (entry = list_entry((backwards) ? (mm)->hole_stack.prev : (mm)->hole_stack.next, struct drm_mm…
212 &entry->hole_stack != &(mm)->hole_stack ? \
[all …]
/linux-4.4.14/arch/arm/kernel/
Djump_label.c8 static void __arch_jump_label_transform(struct jump_entry *entry, in __arch_jump_label_transform() argument
12 void *addr = (void *)entry->code; in __arch_jump_label_transform()
16 insn = arm_gen_branch(entry->code, entry->target); in __arch_jump_label_transform()
26 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
29 __arch_jump_label_transform(entry, type, false); in arch_jump_label_transform()
32 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
35 __arch_jump_label_transform(entry, type, true); in arch_jump_label_transform_static()
Dperf_callchain.c34 struct perf_callchain_entry *entry) in user_backtrace() argument
49 perf_callchain_store(entry, buftail.lr); in user_backtrace()
62 perf_callchain_user(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_user() argument
71 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
78 while ((entry->nr < PERF_MAX_STACK_DEPTH) && in perf_callchain_user()
80 tail = user_backtrace(tail, entry); in perf_callchain_user()
92 struct perf_callchain_entry *entry = data; in callchain_trace() local
93 perf_callchain_store(entry, fr->pc); in callchain_trace()
98 perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
108 walk_stackframe(&fr, callchain_trace, entry); in perf_callchain_kernel()
/linux-4.4.14/drivers/acpi/apei/
Dapei-base.c65 int __apei_exec_read_register(struct acpi_whea_header *entry, u64 *val) in __apei_exec_read_register() argument
69 rc = apei_read(val, &entry->register_region); in __apei_exec_read_register()
72 *val >>= entry->register_region.bit_offset; in __apei_exec_read_register()
73 *val &= entry->mask; in __apei_exec_read_register()
79 struct acpi_whea_header *entry) in apei_exec_read_register() argument
84 rc = __apei_exec_read_register(entry, &val); in apei_exec_read_register()
94 struct acpi_whea_header *entry) in apei_exec_read_register_value() argument
98 rc = apei_exec_read_register(ctx, entry); in apei_exec_read_register_value()
101 ctx->value = (ctx->value == entry->value); in apei_exec_read_register_value()
107 int __apei_exec_write_register(struct acpi_whea_header *entry, u64 val) in __apei_exec_write_register() argument
[all …]
/linux-4.4.14/drivers/hwmon/
Dapplesmc.c313 static int applesmc_read_entry(const struct applesmc_entry *entry, in applesmc_read_entry() argument
318 if (entry->len != len) in applesmc_read_entry()
321 ret = read_smc(APPLESMC_READ_CMD, entry->key, buf, len); in applesmc_read_entry()
327 static int applesmc_write_entry(const struct applesmc_entry *entry, in applesmc_write_entry() argument
332 if (entry->len != len) in applesmc_write_entry()
335 ret = write_smc(APPLESMC_WRITE_CMD, entry->key, buf, len); in applesmc_write_entry()
378 const struct applesmc_entry *entry; in applesmc_get_lower_bound() local
382 entry = applesmc_get_entry_by_index(middle); in applesmc_get_lower_bound()
383 if (IS_ERR(entry)) { in applesmc_get_lower_bound()
385 return PTR_ERR(entry); in applesmc_get_lower_bound()
[all …]
/linux-4.4.14/kernel/power/
Dconsole.c47 struct pm_vt_switch *entry, *tmp; in pm_vt_switch_required() local
58 entry = kmalloc(sizeof(*entry), GFP_KERNEL); in pm_vt_switch_required()
59 if (!entry) in pm_vt_switch_required()
62 entry->required = required; in pm_vt_switch_required()
63 entry->dev = dev; in pm_vt_switch_required()
65 list_add(&entry->head, &pm_vt_switch_list); in pm_vt_switch_required()
108 struct pm_vt_switch *entry; in pm_vt_switch() local
118 list_for_each_entry(entry, &pm_vt_switch_list, head) { in pm_vt_switch()
119 if (entry->required) in pm_vt_switch()
/linux-4.4.14/kernel/trace/
Dtrace_syscalls.c24 struct syscall_metadata *entry = call->data; in syscall_get_enter_fields() local
26 return &entry->enter_fields; in syscall_get_enter_fields()
117 struct syscall_metadata *entry; in print_syscall_enter() local
122 entry = syscall_nr_to_meta(syscall); in print_syscall_enter()
124 if (!entry) in print_syscall_enter()
127 if (entry->enter_event->event.type != ent->type) { in print_syscall_enter()
132 trace_seq_printf(s, "%s(", entry->name); in print_syscall_enter()
134 for (i = 0; i < entry->nb_args; i++) { in print_syscall_enter()
141 trace_seq_printf(s, "%s ", entry->types[i]); in print_syscall_enter()
144 trace_seq_printf(s, "%s: %lx%s", entry->args[i], in print_syscall_enter()
[all …]
/linux-4.4.14/arch/x86/kernel/apic/
Dio_apic.c76 #define for_each_irq_pin(entry, head) \ argument
77 list_for_each_entry(entry, &head, list)
91 struct IO_APIC_route_entry entry; member
302 struct IO_APIC_route_entry entry; member
312 return eu.entry; in __ioapic_read_entry()
321 eu.entry = __ioapic_read_entry(apic, pin); in ioapic_read_entry()
324 return eu.entry; in ioapic_read_entry()
337 eu.entry = e; in __ioapic_write_entry()
359 union entry_union eu = { .entry.mask = IOAPIC_MASKED }; in ioapic_mask_entry()
375 struct irq_pin_list *entry; in __add_pin_to_irq_node() local
[all …]
/linux-4.4.14/net/x25/
Dx25_route.c35 struct list_head *entry; in x25_add_route() local
40 list_for_each(entry, &x25_route_list) { in x25_add_route()
41 rt = list_entry(entry, struct x25_route, node); in x25_add_route()
86 struct list_head *entry; in x25_del_route() local
91 list_for_each(entry, &x25_route_list) { in x25_del_route()
92 rt = list_entry(entry, struct x25_route, node); in x25_del_route()
112 struct list_head *entry, *tmp; in x25_route_device_down() local
116 list_for_each_safe(entry, tmp, &x25_route_list) { in x25_route_device_down()
117 rt = list_entry(entry, struct x25_route, node); in x25_route_device_down()
157 struct list_head *entry; in x25_get_route() local
[all …]
Dx25_forward.c27 struct list_head *entry; in x25_forward_call() local
54 list_for_each(entry, &x25_forward_list) { in x25_forward_call()
55 x25_frwd = list_entry(entry, struct x25_forward, node); in x25_forward_call()
100 struct list_head *entry; in x25_forward_data() local
107 list_for_each(entry, &x25_forward_list) { in x25_forward_data()
108 frwd = list_entry(entry, struct x25_forward, node); in x25_forward_data()
140 struct list_head *entry, *tmp; in x25_clear_forward_by_lci() local
144 list_for_each_safe(entry, tmp, &x25_forward_list) { in x25_clear_forward_by_lci()
145 fwd = list_entry(entry, struct x25_forward, node); in x25_clear_forward_by_lci()
158 struct list_head *entry, *tmp; in x25_clear_forward_by_dev() local
[all …]
/linux-4.4.14/fs/efivarfs/
Dsuper.c116 struct efivar_entry *entry; in efivarfs_callback() local
125 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in efivarfs_callback()
126 if (!entry) in efivarfs_callback()
129 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback()
130 memcpy(&(entry->var.VendorGuid), &vendor, sizeof(efi_guid_t)); in efivarfs_callback()
132 len = ucs2_utf8size(entry->var.VariableName); in efivarfs_callback()
139 ucs2_as_utf8(name, entry->var.VariableName, len); in efivarfs_callback()
141 if (efivar_variable_is_removable(entry->var.VendorGuid, name, len)) in efivarfs_callback()
146 efi_guid_to_str(&entry->var.VendorGuid, name + len + 1); in efivarfs_callback()
164 efivar_entry_size(entry, &size); in efivarfs_callback()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-dmi-entries16 each entry has a common header indicating the type and
17 length of the entry, as well as a firmware-provided
23 never expect to find a specific entry type on their
28 to handle these duplicate entry types, each entry is
30 derived from an entry type's ordinal position. That is
36 Example entry directories:
45 assigned entry handles as the kernel itself makes no
50 Each DMI entry in sysfs has the common header values
54 entry by the firmware. This handle may be
56 length : The length of the entry, as presented in the
[all …]
/linux-4.4.14/drivers/md/
Ddm-cache-policy-smq.c37 struct entry { struct
59 struct entry *begin; argument
60 struct entry *end;
70 es->begin = vzalloc(sizeof(struct entry) * nr_entries); in space_init()
83 static struct entry *__get_entry(struct entry_space *es, unsigned block) in __get_entry()
85 struct entry *e; in __get_entry()
93 static unsigned to_index(struct entry_space *es, struct entry *e) in to_index()
99 static struct entry *to_entry(struct entry_space *es, unsigned block) in to_entry()
120 static struct entry *l_head(struct entry_space *es, struct ilist *l) in l_head()
125 static struct entry *l_tail(struct entry_space *es, struct ilist *l) in l_tail()
[all …]
Ddm-cache-policy-mq.c306 struct entry { struct
325 struct entry *entries, *entries_end;
334 ep->entries = vzalloc(sizeof(struct entry) * nr_entries); in epool_init()
354 static struct entry *alloc_entry(struct entry_pool *ep) in alloc_entry()
356 struct entry *e; in alloc_entry()
361 e = list_entry(list_pop(&ep->free), struct entry, list); in alloc_entry()
372 static struct entry *alloc_particular_entry(struct entry_pool *ep, dm_cblock_t cblock) in alloc_particular_entry()
374 struct entry *e = ep->entries + from_cblock(cblock); in alloc_particular_entry()
383 static void free_entry(struct entry_pool *ep, struct entry *e) in free_entry()
394 static struct entry *epool_find(struct entry_pool *ep, dm_cblock_t cblock) in epool_find()
[all …]
/linux-4.4.14/sound/core/seq/
Dseq_info.c39 struct snd_info_entry *entry; in create_info_entry() local
41 entry = snd_info_create_module_entry(THIS_MODULE, name, snd_seq_root); in create_info_entry()
42 if (entry == NULL) in create_info_entry()
44 entry->content = SNDRV_INFO_CONTENT_TEXT; in create_info_entry()
45 entry->c.text.read = read; in create_info_entry()
46 if (snd_info_register(entry) < 0) { in create_info_entry()
47 snd_info_free_entry(entry); in create_info_entry()
50 return entry; in create_info_entry()
/linux-4.4.14/arch/mips/kernel/
Dperf_event.c28 static void save_raw_perf_callchain(struct perf_callchain_entry *entry, in save_raw_perf_callchain() argument
37 perf_callchain_store(entry, addr); in save_raw_perf_callchain()
38 if (entry->nr >= PERF_MAX_STACK_DEPTH) in save_raw_perf_callchain()
44 void perf_callchain_kernel(struct perf_callchain_entry *entry, in perf_callchain_kernel() argument
57 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
61 perf_callchain_store(entry, pc); in perf_callchain_kernel()
62 if (entry->nr >= PERF_MAX_STACK_DEPTH) in perf_callchain_kernel()
67 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
/linux-4.4.14/arch/arm/xen/
Dp2m.c35 struct xen_p2m_entry *entry; in xen_add_phys_to_mach_entry() local
40 entry = rb_entry(parent, struct xen_p2m_entry, rbnode_phys); in xen_add_phys_to_mach_entry()
42 if (new->pfn == entry->pfn) in xen_add_phys_to_mach_entry()
45 if (new->pfn < entry->pfn) in xen_add_phys_to_mach_entry()
57 __func__, &new->pfn, &new->mfn, &entry->pfn, &entry->mfn); in xen_add_phys_to_mach_entry()
65 struct xen_p2m_entry *entry; in __pfn_to_mfn() local
70 entry = rb_entry(n, struct xen_p2m_entry, rbnode_phys); in __pfn_to_mfn()
71 if (entry->pfn <= pfn && in __pfn_to_mfn()
72 entry->pfn + entry->nr_pages > pfn) { in __pfn_to_mfn()
74 return entry->mfn + (pfn - entry->pfn); in __pfn_to_mfn()
[all …]
/linux-4.4.14/scripts/gdb/linux/
Dmodules.py26 entry = modules['next']
29 while entry != end_of_list:
30 yield utils.container_of(entry, module_ptr_type, "list")
31 entry = entry['next']
84 entry = source_list['next']
86 while entry != source_list.address:
87 use = utils.container_of(entry, t, "source_list")
92 entry = entry['next']
/linux-4.4.14/arch/metag/kernel/
Dperf_callchain.c32 struct perf_callchain_entry *entry) in user_backtrace() argument
50 perf_callchain_store(entry, calladdr); in user_backtrace()
59 perf_callchain_user(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_user() argument
68 while ((entry->nr < PERF_MAX_STACK_DEPTH) && frame) in perf_callchain_user()
69 frame = user_backtrace(frame, entry); in perf_callchain_user()
81 struct perf_callchain_entry *entry = data; in callchain_trace() local
82 perf_callchain_store(entry, fr->pc); in callchain_trace()
87 perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
95 walk_stackframe(&fr, callchain_trace, entry); in perf_callchain_kernel()
/linux-4.4.14/drivers/net/wireless/p54/
Deeprom.c238 struct p54_channel_entry *entry = NULL; in p54_update_channel_param() local
247 entry = &list->channels[i]; in p54_update_channel_param()
264 entry = &list->channels[i]; in p54_update_channel_param()
265 entry->freq = freq; in p54_update_channel_param()
266 entry->band = band; in p54_update_channel_param()
267 entry->index = ieee80211_frequency_to_channel(freq); in p54_update_channel_param()
268 entry->max_power = 0; in p54_update_channel_param()
269 entry->data = 0; in p54_update_channel_param()
273 if (entry) in p54_update_channel_param()
274 entry->data |= data; in p54_update_channel_param()
[all …]
/linux-4.4.14/sound/usb/
Dproc.c46 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() argument
48 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbbus_read()
53 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument
55 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbid_read()
64 struct snd_info_entry *entry; in snd_usb_audio_create_proc() local
65 if (!snd_card_proc_new(chip->card, "usbbus", &entry)) in snd_usb_audio_create_proc()
66 snd_info_set_text_ops(entry, chip, proc_audio_usbbus_read); in snd_usb_audio_create_proc()
67 if (!snd_card_proc_new(chip->card, "usbid", &entry)) in snd_usb_audio_create_proc()
68 snd_info_set_text_ops(entry, chip, proc_audio_usbid_read); in snd_usb_audio_create_proc()
150 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dextdev.c61 struct nvbios_extdev_func *entry) in extdev_parse_entry() argument
63 entry->type = nvbios_rd08(bios, offset + 0); in extdev_parse_entry()
64 entry->addr = nvbios_rd08(bios, offset + 1); in extdev_parse_entry()
65 entry->bus = (nvbios_rd08(bios, offset + 2) >> 4) & 1; in extdev_parse_entry()
73 u16 entry; in nvbios_extdev_parse() local
75 if (!(entry = nvbios_extdev_entry(bios, idx, &ver, &len))) in nvbios_extdev_parse()
78 extdev_parse_entry(bios, entry, func); in nvbios_extdev_parse()
87 u16 entry; in nvbios_extdev_find() local
90 while ((entry = nvbios_extdev_entry(bios, i++, &ver, &len))) { in nvbios_extdev_find()
91 extdev_parse_entry(bios, entry, func); in nvbios_extdev_find()
Dbit.c32 u32 entry = bios->bit_offset + 12; in bit_entry() local
34 if (nvbios_rd08(bios, entry + 0) == id) { in bit_entry()
35 bit->id = nvbios_rd08(bios, entry + 0); in bit_entry()
36 bit->version = nvbios_rd08(bios, entry + 1); in bit_entry()
37 bit->length = nvbios_rd16(bios, entry + 2); in bit_entry()
38 bit->offset = nvbios_rd16(bios, entry + 4); in bit_entry()
42 entry += nvbios_rd08(bios, bios->bit_offset + 9); in bit_entry()
Dtherm.c73 u16 entry; in nvbios_therm_sensor_parse() local
83 while ((entry = nvbios_therm_entry(bios, i++, &ver, &len))) { in nvbios_therm_sensor_parse()
84 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_sensor_parse()
86 switch (nvbios_rd08(bios, entry + 0)) { in nvbios_therm_sensor_parse()
95 offset = ((s8) nvbios_rd08(bios, entry + 2)) / 2; in nvbios_therm_sensor_parse()
157 u16 entry; in nvbios_therm_fan_parse() local
165 while ((entry = nvbios_therm_entry(bios, i++, &ver, &len))) { in nvbios_therm_fan_parse()
166 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_fan_parse()
168 switch (nvbios_rd08(bios, entry + 0)) { in nvbios_therm_fan_parse()
199 fan->linear_min_temp = nvbios_rd08(bios, entry + 1); in nvbios_therm_fan_parse()
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Dsun3mmu.h87 register unsigned long entry; in sun3_get_segmap() local
94 entry = c; in sun3_get_segmap()
96 return entry; in sun3_get_segmap()
100 static inline void sun3_put_segmap(unsigned long addr, unsigned long entry) in sun3_put_segmap() argument
106 SET_CONTROL_BYTE (AC_SEGMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_segmap()
115 register unsigned long entry; in sun3_get_pte() local
120 GET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_get_pte()
123 return entry; in sun3_get_pte()
127 static inline void sun3_put_pte(unsigned long addr, unsigned long entry) in sun3_put_pte() argument
133 SET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_pte()
/linux-4.4.14/fs/nfs_common/
Dnfsacl.c54 struct posix_acl_entry *entry = in xdr_nfsace_encode() local
57 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
58 switch(entry->e_tag) { in xdr_nfsace_encode()
66 *p++ = htonl(from_kuid(&init_user_ns, entry->e_uid)); in xdr_nfsace_encode()
69 *p++ = htonl(from_kgid(&init_user_ns, entry->e_gid)); in xdr_nfsace_encode()
75 *p++ = htonl(entry->e_perm & S_IRWXO); in xdr_nfsace_encode()
150 struct posix_acl_entry *entry; in xdr_nfsace_decode() local
162 entry = &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_decode()
163 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode()
165 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
[all …]
/linux-4.4.14/fs/fuse/
Ddir.c41 static inline void fuse_dentry_settime(struct dentry *entry, u64 time) in fuse_dentry_settime() argument
43 entry->d_time = time; in fuse_dentry_settime()
46 static inline u64 fuse_dentry_time(struct dentry *entry) in fuse_dentry_time() argument
48 return entry->d_time; in fuse_dentry_time()
54 static void fuse_dentry_settime(struct dentry *entry, u64 time) in fuse_dentry_settime() argument
56 entry->d_time = time; in fuse_dentry_settime()
57 entry->d_fsdata = (void *) (unsigned long) (time >> 32); in fuse_dentry_settime()
60 static u64 fuse_dentry_time(struct dentry *entry) in fuse_dentry_time() argument
62 return (u64) entry->d_time + in fuse_dentry_time()
63 ((u64) (unsigned long) entry->d_fsdata << 32); in fuse_dentry_time()
[all …]
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_release.c165 struct qxl_bo_list *entry; in qxl_release_free_list() local
168 entry = container_of(release->bos.next, in qxl_release_free_list()
170 bo = to_qxl_bo(entry->tv.bo); in qxl_release_free_list()
172 list_del(&entry->tv.head); in qxl_release_free_list()
173 kfree(entry); in qxl_release_free_list()
216 struct qxl_bo_list *entry; in qxl_release_list_add() local
218 list_for_each_entry(entry, &release->bos, tv.head) { in qxl_release_list_add()
219 if (entry->tv.bo == &bo->tbo) in qxl_release_list_add()
223 entry = kmalloc(sizeof(struct qxl_bo_list), GFP_KERNEL); in qxl_release_list_add()
224 if (!entry) in qxl_release_list_add()
[all …]
/linux-4.4.14/sound/pci/lola/
Dlola_proc.c110 static void lola_proc_codec_read(struct snd_info_entry *entry, in lola_proc_codec_read() argument
113 struct lola *chip = entry->private_data; in lola_proc_codec_read()
147 static void lola_proc_codec_rw_write(struct snd_info_entry *entry, in lola_proc_codec_rw_write() argument
150 struct lola *chip = entry->private_data; in lola_proc_codec_rw_write()
162 static void lola_proc_codec_rw_read(struct snd_info_entry *entry, in lola_proc_codec_rw_read() argument
165 struct lola *chip = entry->private_data; in lola_proc_codec_rw_read()
172 static void lola_proc_regs_read(struct snd_info_entry *entry, in lola_proc_regs_read() argument
175 struct lola *chip = entry->private_data; in lola_proc_regs_read()
211 struct snd_info_entry *entry; in lola_proc_debug_new() local
213 if (!snd_card_proc_new(chip->card, "codec", &entry)) in lola_proc_debug_new()
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c171 struct cqm_rmid_entry *entry; in __rmid_entry() local
173 entry = cqm_rmid_ptrs[rmid]; in __rmid_entry()
174 WARN_ON(entry->rmid != rmid); in __rmid_entry()
176 return entry; in __rmid_entry()
186 struct cqm_rmid_entry *entry; in __get_rmid() local
193 entry = list_first_entry(&cqm_rmid_free_lru, struct cqm_rmid_entry, list); in __get_rmid()
194 list_del(&entry->list); in __get_rmid()
196 return entry->rmid; in __get_rmid()
201 struct cqm_rmid_entry *entry; in __put_rmid() local
206 entry = __rmid_entry(rmid); in __put_rmid()
[all …]
/linux-4.4.14/sound/pci/ac97/
Dac97_proc.c343 static void snd_ac97_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_read() argument
345 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read()
378 static void snd_ac97_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_regs_write() argument
380 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write()
405 static void snd_ac97_proc_regs_read(struct snd_info_entry *entry, in snd_ac97_proc_regs_read() argument
408 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read()
431 struct snd_info_entry *entry; in snd_ac97_proc_init() local
439 if ((entry = snd_info_create_card_entry(ac97->bus->card, name, ac97->bus->proc)) != NULL) { in snd_ac97_proc_init()
440 snd_info_set_text_ops(entry, ac97, snd_ac97_proc_read); in snd_ac97_proc_init()
441 if (snd_info_register(entry) < 0) { in snd_ac97_proc_init()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dmodule_32.c173 static inline int entry_matches(struct ppc_plt_entry *entry, Elf32_Addr val) in entry_matches() argument
175 if (entry->jump[0] == 0x3d800000 + ((val + 0x8000) >> 16) in entry_matches()
176 && entry->jump[1] == 0x398c0000 + (val & 0xffff)) in entry_matches()
187 struct ppc_plt_entry *entry; in do_plt_call() local
193 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr; in do_plt_call()
195 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr; in do_plt_call()
198 while (entry->jump[0]) { in do_plt_call()
199 if (entry_matches(entry, val)) return (uint32_t)entry; in do_plt_call()
200 entry++; in do_plt_call()
203 entry->jump[0] = 0x3d800000+((val+0x8000)>>16); /* lis r12,sym@ha */ in do_plt_call()
[all …]
/linux-4.4.14/sound/firewire/bebob/
Dbebob_proc.c36 proc_read_hw_info(struct snd_info_entry *entry, in proc_read_hw_info() argument
39 struct snd_bebob *bebob = entry->private_data; in proc_read_hw_info()
72 proc_read_meters(struct snd_info_entry *entry, in proc_read_meters() argument
75 struct snd_bebob *bebob = entry->private_data; in proc_read_meters()
105 proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument
108 struct snd_bebob *bebob = entry->private_data; in proc_read_formation()
132 proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument
140 struct snd_bebob *bebob = entry->private_data; in proc_read_clock()
163 struct snd_info_entry *entry; in add_node() local
165 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node()
[all …]
/linux-4.4.14/arch/xtensa/mm/
Dmisc.S33 entry a1, 16
60 entry a1, 16
119 entry a1, 32
167 entry a1, 32
251 entry sp, 16
275 entry sp, 16
299 entry sp, 16
328 entry sp, 16
343 entry sp, 16
358 entry sp, 16
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dpci_sun4v.c41 unsigned long entry; /* Index into IOTSB. */ member
50 static inline void iommu_batch_start(struct device *dev, unsigned long prot, unsigned long entry) in iommu_batch_start() argument
56 p->entry = entry; in iommu_batch_start()
66 unsigned long entry = p->entry; in iommu_batch_flush() local
73 num = pci_sun4v_iommu_map(devhandle, HV_PCI_TSBID(0, entry), in iommu_batch_flush()
80 devhandle, HV_PCI_TSBID(0, entry), in iommu_batch_flush()
85 entry += num; in iommu_batch_flush()
90 p->entry = entry; in iommu_batch_flush()
96 static inline void iommu_batch_new_entry(unsigned long entry) in iommu_batch_new_entry() argument
100 if (p->entry + p->npages == entry) in iommu_batch_new_entry()
[all …]
/linux-4.4.14/kernel/events/
Dcallchain.c27 __weak void perf_callchain_kernel(struct perf_callchain_entry *entry, in perf_callchain_kernel() argument
32 __weak void perf_callchain_user(struct perf_callchain_entry *entry, in perf_callchain_user() argument
163 struct perf_callchain_entry *entry; in perf_callchain() local
171 entry = get_callchain_entry(&rctx); in perf_callchain()
175 if (!entry) in perf_callchain()
178 entry->nr = 0; in perf_callchain()
181 perf_callchain_store(entry, PERF_CONTEXT_KERNEL); in perf_callchain()
182 perf_callchain_kernel(entry, regs); in perf_callchain()
200 perf_callchain_store(entry, PERF_CONTEXT_USER); in perf_callchain()
201 perf_callchain_user(entry, regs); in perf_callchain()
[all …]
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c35 unsigned int entry = priv->cur_tx % txsize; in stmmac_jumbo_frm() local
41 desc = (struct dma_desc *)(priv->dma_etx + entry); in stmmac_jumbo_frm()
43 desc = priv->dma_tx + entry; in stmmac_jumbo_frm()
59 priv->tx_skbuff_dma[entry].buf = desc->des2; in stmmac_jumbo_frm()
64 priv->tx_skbuff[entry] = NULL; in stmmac_jumbo_frm()
65 entry = (++priv->cur_tx) % txsize; in stmmac_jumbo_frm()
68 desc = (struct dma_desc *)(priv->dma_etx + entry); in stmmac_jumbo_frm()
70 desc = priv->dma_tx + entry; in stmmac_jumbo_frm()
76 priv->tx_skbuff_dma[entry].buf = desc->des2; in stmmac_jumbo_frm()
87 priv->tx_skbuff_dma[entry].buf = desc->des2; in stmmac_jumbo_frm()
[all …]
/linux-4.4.14/Documentation/
Dkref.txt156 struct my_data *entry = NULL;
159 entry = container_of(q.next, struct my_data, link);
160 kref_get(&entry->refcount);
163 return entry;
168 struct my_data *entry = container_of(ref, struct my_data, refcount);
170 list_del(&entry->link);
171 kfree(entry);
174 static void put_entry(struct my_data *entry)
177 kref_put(&entry->refcount, release_entry);
191 static void put_entry(struct my_data *entry)
[all …]
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-proc.c26 static void proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument
39 struct snd_dg00x *dg00x = entry->private_data; in proc_read_clock()
71 struct snd_info_entry *root, *entry; in snd_dg00x_proc_init() local
88 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init()
89 if (entry == NULL) { in snd_dg00x_proc_init()
94 snd_info_set_text_ops(entry, dg00x, proc_read_clock); in snd_dg00x_proc_init()
95 if (snd_info_register(entry) < 0) { in snd_dg00x_proc_init()
96 snd_info_free_entry(entry); in snd_dg00x_proc_init()
/linux-4.4.14/arch/metag/mm/
Dmmu-meta2.c23 pgd_t *pgd, entry; in mmu_read_first_level_page() local
48 entry = pgd[offset]; in mmu_read_first_level_page()
50 return pgd_val(entry); in mmu_read_first_level_page()
135 unsigned long entry, addr; in mmu_init() local
151 entry = pgd_index(META_MEMORY_BASE); in mmu_init()
152 p_swapper_pg_dir = pgd_offset_k(0) + entry; in mmu_init()
154 while (entry < (PTRS_PER_PGD - pgd_index(META_MEMORY_BASE))) { in mmu_init()
162 entry++; in mmu_init()
173 entry = pgd_index(PAGE_OFFSET); in mmu_init()
174 p_swapper_pg_dir = pgd_offset_k(0) + entry; in mmu_init()
/linux-4.4.14/tools/perf/util/
Dstrlist.c15 struct rb_node *strlist__node_new(struct rblist *rblist, const void *entry) in strlist__node_new() argument
17 const char *s = entry; in strlist__node_new()
55 static int strlist__node_cmp(struct rb_node *rb_node, const void *entry) in strlist__node_cmp() argument
57 const char *str = entry; in strlist__node_cmp()
70 char entry[1024]; in strlist__load() local
77 while (fgets(entry, sizeof(entry), fp) != NULL) { in strlist__load()
78 const size_t len = strlen(entry); in strlist__load()
82 entry[len - 1] = '\0'; in strlist__load()
84 err = strlist__add(slist, entry); in strlist__load()
100 struct str_node *strlist__find(struct strlist *slist, const char *entry) in strlist__find() argument
[all …]
/linux-4.4.14/drivers/base/power/
Dtrace.c192 struct list_head *entry; in show_dev_hash() local
195 entry = dpm_list.prev; in show_dev_hash()
196 while (entry != &dpm_list) { in show_dev_hash()
197 struct device * dev = to_device(entry); in show_dev_hash()
203 entry = entry->prev; in show_dev_hash()
215 struct list_head *entry; in show_trace_dev_match() local
222 entry = dpm_list.prev; in show_trace_dev_match()
223 while (size && entry != &dpm_list) { in show_trace_dev_match()
224 struct device *dev = to_device(entry); in show_trace_dev_match()
236 entry = entry->prev; in show_trace_dev_match()
/linux-4.4.14/arch/x86/platform/uv/
Duv_irq.c30 struct uv_IO_APIC_route_entry *entry; in uv_program_mmr() local
36 entry = (struct uv_IO_APIC_route_entry *)&mmr_value; in uv_program_mmr()
37 entry->vector = cfg->vector; in uv_program_mmr()
38 entry->delivery_mode = apic->irq_delivery_mode; in uv_program_mmr()
39 entry->dest_mode = apic->irq_dest_mode; in uv_program_mmr()
40 entry->polarity = 0; in uv_program_mmr()
41 entry->trigger = 0; in uv_program_mmr()
42 entry->mask = 0; in uv_program_mmr()
43 entry->dest = cfg->dest_apicid; in uv_program_mmr()
144 struct uv_IO_APIC_route_entry *entry; in uv_domain_deactivate() local
[all …]
/linux-4.4.14/arch/powerpc/perf/
Dcallchain.c50 perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
60 perf_callchain_store(entry, perf_instruction_pointer(regs)); in perf_callchain_kernel()
79 perf_callchain_store(entry, PERF_CONTEXT_KERNEL); in perf_callchain_kernel()
101 perf_callchain_store(entry, next_ip); in perf_callchain_kernel()
235 static void perf_callchain_user_64(struct perf_callchain_entry *entry, in perf_callchain_user_64() argument
248 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
250 while (entry->nr < PERF_MAX_STACK_DEPTH) { in perf_callchain_user_64()
277 perf_callchain_store(entry, PERF_CONTEXT_USER); in perf_callchain_user_64()
278 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
284 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra20-host1x.txt12 - clocks: Must contain one entry, for the module clock.
14 - resets: Must contain an entry for each entry in reset-names.
28 - clocks: Must contain one entry, for the module clock.
30 - resets: Must contain an entry for each entry in reset-names.
41 - clocks: Must contain one entry, for the module clock.
43 - resets: Must contain an entry for each entry in reset-names.
54 - clocks: Must contain one entry, for the module clock.
56 - resets: Must contain an entry for each entry in reset-names.
67 - clocks: Must contain one entry, for the module clock.
69 - resets: Must contain an entry for each entry in reset-names.
[all …]
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dmsi.c65 struct msi_desc *entry; in pasemi_msi_teardown_msi_irqs() local
70 for_each_pci_msi_entry(entry, pdev) { in pasemi_msi_teardown_msi_irqs()
71 if (entry->irq == NO_IRQ) in pasemi_msi_teardown_msi_irqs()
74 hwirq = virq_to_hw(entry->irq); in pasemi_msi_teardown_msi_irqs()
75 irq_set_msi_desc(entry->irq, NULL); in pasemi_msi_teardown_msi_irqs()
76 irq_dispose_mapping(entry->irq); in pasemi_msi_teardown_msi_irqs()
86 struct msi_desc *entry; in pasemi_msi_setup_msi_irqs() local
98 for_each_pci_msi_entry(entry, pdev) { in pasemi_msi_setup_msi_irqs()
126 irq_set_msi_desc(virq, entry); in pasemi_msi_setup_msi_irqs()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-proc.c11 static void proc_read_firmware(struct snd_info_entry *entry, in proc_read_firmware() argument
14 struct snd_tscm *tscm = entry->private_data; in proc_read_firmware()
58 struct snd_info_entry *entry; in add_node() local
60 entry = snd_info_create_card_entry(tscm->card, name, root); in add_node()
61 if (entry == NULL) in add_node()
64 snd_info_set_text_ops(entry, tscm, op); in add_node()
65 if (snd_info_register(entry) < 0) in add_node()
66 snd_info_free_entry(entry); in add_node()
/linux-4.4.14/drivers/staging/unisys/Documentation/
Dproc-entries.txt7 /proc/uislib/info: This entry contains debugging information for the
13 /proc/uislib/platform: This entry is used to display the platform
17 /proc/visorchipset/chipsetready: This entry is written to by scripts
26 virtual bus. Each numbered sub-directory contains an info entry, which
29 /proc/uislib/cycles_before_wait: This entry is used to tune
34 /proc/uislib/smart_wakeup: This entry is used to tune performance, by
37 /proc/virthba/info: This entry contains debugging information for the
40 /proc/virthba/enable_ints: This entry controls interrupt use by the
41 virthba module. Writing a 0 to this entry will disable interrupts.
43 /proc/virtnic/info: This entry contains debugging information for the
[all …]
/linux-4.4.14/arch/sparc/mm/
Dextable.c92 const struct exception_table_entry *entry; in search_extables_range() local
94 entry = search_exception_tables(addr); in search_extables_range()
95 if (!entry) in search_extables_range()
99 if (!entry->fixup) { in search_extables_range()
100 *g2 = (addr - entry->insn) / 4; in search_extables_range()
101 return (entry + 1)->fixup; in search_extables_range()
104 return entry->fixup; in search_extables_range()
/linux-4.4.14/tools/usb/usbip/libsrc/
Dlist.h85 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry() argument
87 __list_del(entry->prev, entry->next); in __list_del_entry()
90 static inline void list_del(struct list_head *entry) in list_del() argument
92 __list_del(entry->prev, entry->next); in list_del()
93 entry->next = LIST_POISON1; in list_del()
94 entry->prev = LIST_POISON2; in list_del()
/linux-4.4.14/fs/fat/
Dfatent.c21 static void fat12_ent_blocknr(struct super_block *sb, int entry, in fat12_ent_blocknr() argument
25 int bytes = entry + (entry >> 1); in fat12_ent_blocknr()
26 WARN_ON(entry < FAT_START_ENT || sbi->max_cluster <= entry); in fat12_ent_blocknr()
31 static void fat_ent_blocknr(struct super_block *sb, int entry, in fat_ent_blocknr() argument
35 int bytes = (entry << sbi->fatent_shift); in fat_ent_blocknr()
36 WARN_ON(entry < FAT_START_ENT || sbi->max_cluster <= entry); in fat_ent_blocknr()
123 if (fatent->entry & 1) in fat12_ent_get()
161 if (fatent->entry & 1) { in fat12_ent_put()
196 u8 *nextp = ent12_p[1] + 1 + (fatent->entry & 1); in fat12_ent_next()
198 fatent->entry++; in fat12_ent_next()
[all …]
/linux-4.4.14/drivers/uwb/
Dest.c52 const struct uwb_est_entry *entry; member
257 const struct uwb_est_entry *entry, size_t entries) in uwb_est_register() argument
282 uwb_est[itr].entry = entry; in uwb_est_register()
306 const struct uwb_est_entry *entry, size_t entries) in uwb_est_unregister() argument
314 .entry = entry, in uwb_est_unregister()
359 const struct uwb_est_entry *entry; in uwb_est_get_size() local
369 entry = &est->entry[event_low]; in uwb_est_get_size()
370 if (entry->size == 0 && entry->offset == 0) { /* unknown? */ in uwb_est_get_size()
376 offset = entry->offset; /* extra fries with that? */ in uwb_est_get_size()
378 size = entry->size; in uwb_est_get_size()
[all …]
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_proc.c29 proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_hwinfo() argument
31 struct snd_efw *efw = entry->private_data; in proc_read_hwinfo()
106 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_clock() argument
108 struct snd_efw *efw = entry->private_data; in proc_read_clock()
128 proc_read_phys_meters(struct snd_info_entry *entry, in proc_read_phys_meters() argument
131 struct snd_efw *efw = entry->private_data; in proc_read_phys_meters()
179 proc_read_queues_state(struct snd_info_entry *entry, in proc_read_queues_state() argument
182 struct snd_efw *efw = entry->private_data; in proc_read_queues_state()
199 struct snd_info_entry *entry; in add_node() local
201 entry = snd_info_create_card_entry(efw->card, name, root); in add_node()
[all …]
/linux-4.4.14/sound/synth/emux/
Demux_proc.c28 snd_emux_proc_info_read(struct snd_info_entry *entry, in snd_emux_proc_info_read() argument
34 emu = entry->private_data; in snd_emux_proc_info_read()
107 struct snd_info_entry *entry; in snd_emux_proc_init() local
111 entry = snd_info_create_card_entry(card, name, card->proc_root); in snd_emux_proc_init()
112 if (entry == NULL) in snd_emux_proc_init()
115 entry->content = SNDRV_INFO_CONTENT_TEXT; in snd_emux_proc_init()
116 entry->private_data = emu; in snd_emux_proc_init()
117 entry->c.text.read = snd_emux_proc_info_read; in snd_emux_proc_init()
118 if (snd_info_register(entry) < 0) in snd_emux_proc_init()
119 snd_info_free_entry(entry); in snd_emux_proc_init()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/gpu/
Dnvidia,gk20a.txt9 - first entry for bar0
10 - second entry for bar1
11 - interrupts: Must contain an entry for each entry in interrupt-names.
17 - clocks: Must contain an entry for each entry in clock-names.
22 - resets: Must contain an entry for each entry in reset-names.
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-proc.c11 static void proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument
14 struct snd_oxfw *oxfw = entry->private_data; in proc_read_formation()
83 struct snd_info_entry *entry; in add_node() local
85 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node()
86 if (entry == NULL) in add_node()
89 snd_info_set_text_ops(entry, oxfw, op); in add_node()
90 if (snd_info_register(entry) < 0) in add_node()
91 snd_info_free_entry(entry); in add_node()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dspu_profiler.c77 static void spu_pc_extract(int cpu, int entry) in spu_pc_extract() argument
100 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
102 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
113 int entry; in cell_spu_pc_collection() local
117 entry = 0; in cell_spu_pc_collection()
122 spu_pc_extract(cpu, entry); in cell_spu_pc_collection()
124 entry++; in cell_spu_pc_collection()
126 if (entry >= TRACE_ARRAY_SIZE) in cell_spu_pc_collection()
133 return entry; in cell_spu_pc_collection()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscalltbl.sh7 while read nr abi name entry compat; do
10 echo "__SYSCALL_${abi}($nr, $entry, $compat)"
11 elif [ -n "$entry" ]; then
12 echo "__SYSCALL_${abi}($nr, $entry, $entry)"
/linux-4.4.14/fs/omfs/
Dfile.c35 struct omfs_extent_entry *entry; in omfs_shrink_inode() local
71 entry = &oe->e_entry; in omfs_shrink_inode()
76 start = be64_to_cpu(entry->e_cluster); in omfs_shrink_inode()
77 count = be64_to_cpu(entry->e_blocks); in omfs_shrink_inode()
80 entry++; in omfs_shrink_inode()
120 struct omfs_extent_entry *entry = &oe->e_entry; in omfs_grow_extent() local
142 terminator = entry + extent_count - 1; in omfs_grow_extent()
144 entry = terminator-1; in omfs_grow_extent()
145 new_block = be64_to_cpu(entry->e_cluster) + in omfs_grow_extent()
146 be64_to_cpu(entry->e_blocks); in omfs_grow_extent()
[all …]
/linux-4.4.14/sound/pci/cs46xx/
Ddsp_spos.c502 static void cs46xx_dsp_proc_symbol_table_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_symbol_table_read() argument
505 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_symbol_table_read()
530 static void cs46xx_dsp_proc_modules_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_modules_read() argument
533 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_modules_read()
553 static void cs46xx_dsp_proc_task_tree_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_task_tree_read() argument
556 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_task_tree_read()
581 static void cs46xx_dsp_proc_scb_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_scb_read() argument
584 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_scb_read()
614 static void cs46xx_dsp_proc_parameter_dump_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_parameter_dump_read() argument
617 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_parameter_dump_read()
[all …]
/linux-4.4.14/drivers/remoteproc/
Dste_modem_rproc.c90 const struct ste_toc_entry *entry; in sproc_find_rsc_table() local
95 entry = sproc_find_rsc_entry(fw->data); in sproc_find_rsc_table()
96 if (!entry) { in sproc_find_rsc_table()
101 table = (void *)(fw->data + entry->start); in sproc_find_rsc_table()
104 if (entry->start > SPROC_FW_SIZE || in sproc_find_rsc_table()
105 entry->size > SPROC_FW_SIZE || in sproc_find_rsc_table()
107 entry->start + entry->size > fw->size || in sproc_find_rsc_table()
108 sizeof(struct resource_table) > entry->size) { in sproc_find_rsc_table()
128 sizeof(struct resource_table) > entry->size) { in sproc_find_rsc_table()
141 *tablesz = entry->size; in sproc_find_rsc_table()
[all …]
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-main.c57 struct list_head entry; member
102 list_for_each_entry_continue(tmp, &req_queue.cmds, entry) { in ccp_crypto_cmd_complete()
115 if (req_queue.backlog == &crypto_cmd->entry) in ccp_crypto_cmd_complete()
116 req_queue.backlog = crypto_cmd->entry.next; in ccp_crypto_cmd_complete()
119 struct ccp_crypto_cmd, entry); in ccp_crypto_cmd_complete()
123 if (req_queue.backlog == &crypto_cmd->entry) in ccp_crypto_cmd_complete()
124 req_queue.backlog = crypto_cmd->entry.next; in ccp_crypto_cmd_complete()
129 list_del(&crypto_cmd->entry); in ccp_crypto_cmd_complete()
223 list_for_each_entry(tmp, &req_queue.cmds, entry) { in ccp_crypto_enqueue_cmd()
243 req_queue.backlog = &crypto_cmd->entry; in ccp_crypto_enqueue_cmd()
[all …]
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_hw.c182 struct hostap_cmd_queue *entry, in __hostap_cmd_queue_free() argument
186 entry->del_req = 1; in __hostap_cmd_queue_free()
187 if (!list_empty(&entry->list)) { in __hostap_cmd_queue_free()
188 list_del_init(&entry->list); in __hostap_cmd_queue_free()
193 if (atomic_dec_and_test(&entry->usecnt) && entry->del_req) in __hostap_cmd_queue_free()
194 kfree(entry); in __hostap_cmd_queue_free()
207 struct hostap_cmd_queue *entry, in hostap_cmd_queue_free() argument
213 __hostap_cmd_queue_free(local, entry, del_req); in hostap_cmd_queue_free()
226 struct hostap_cmd_queue *entry; in prism2_clear_cmd_queue() local
230 entry = list_entry(ptr, struct hostap_cmd_queue, list); in prism2_clear_cmd_queue()
[all …]
/linux-4.4.14/net/appletalk/
Daarp.c490 struct aarp_entry *entry; in aarp_proxy_probe_network() local
505 entry = aarp_alloc(); in aarp_proxy_probe_network()
507 if (!entry) in aarp_proxy_probe_network()
510 entry->expires_at = -1; in aarp_proxy_probe_network()
511 entry->status = ATIF_PROBE; in aarp_proxy_probe_network()
512 entry->target_addr.s_node = sa->s_node; in aarp_proxy_probe_network()
513 entry->target_addr.s_net = sa->s_net; in aarp_proxy_probe_network()
514 entry->dev = atif->dev; in aarp_proxy_probe_network()
519 entry->next = proxies[hash]; in aarp_proxy_probe_network()
520 proxies[hash] = entry; in aarp_proxy_probe_network()
[all …]
/linux-4.4.14/drivers/misc/mic/host/
Dmic_smpt.c86 if (!smpt_info->entry[i].ref_count && in mic_add_smpt_entry()
87 (smpt_info->entry[i].dma_addr != addr)) { in mic_add_smpt_entry()
89 smpt_info->entry[i].dma_addr = addr; in mic_add_smpt_entry()
91 smpt_info->entry[i].ref_count += ref[i - spt]; in mic_add_smpt_entry()
114 if (smpt_info->entry[i].dma_addr == addr) { in mic_smpt_op()
126 ae = (smpt_info->entry[i].ref_count == 0) ? ae + 1 : 0; in mic_smpt_op()
189 dma_addr = smpt_info->entry[spt].dma_addr + in mic_to_dma_addr()
285 smpt_info->entry[i].ref_count -= ref[i - spt]; in mic_unmap()
286 if (smpt_info->entry[i].ref_count < 0) in mic_unmap()
366 smpt_info->entry = kmalloc_array(smpt_info->info.num_reg, in mic_smpt_init()
[all …]
Dmic_intr.c212 mdev->irq_info.msix_entries[i].entry = i; in mic_setup_msix()
441 u16 entry; in mic_request_threaded_irq() local
470 entry = msix->entry; in mic_request_threaded_irq()
471 mdev->irq_info.mic_msi_map[entry] |= BIT(offset); in mic_request_threaded_irq()
473 entry, offset, true); in mic_request_threaded_irq()
474 cookie = MK_COOKIE(entry, offset); in mic_request_threaded_irq()
487 entry = 0; in mic_request_threaded_irq()
489 mdev->irq_info.mic_msi_map[entry] |= (1 << offset); in mic_request_threaded_irq()
491 entry, offset, true); in mic_request_threaded_irq()
493 cookie = MK_COOKIE(entry, intr_cb->cb_id); in mic_request_threaded_irq()
[all …]
/linux-4.4.14/Documentation/mic/mpssd/
Dsysfs.c26 readsysfs(char *dir, char *entry) in readsysfs() argument
35 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); in readsysfs()
38 "%s/%s/%s", MICSYSFSDIR, dir, entry); in readsysfs()
68 setsysfs(char *dir, char *entry, char *value) in setsysfs() argument
75 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); in setsysfs()
78 MICSYSFSDIR, dir, entry); in setsysfs()
80 oldvalue = readsysfs(dir, entry); in setsysfs()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_attr_leaf.c835 struct xfs_attr_leaf_entry *entry; in xfs_attr_shortform_allfit() local
844 entry = xfs_attr3_leaf_entryp(leaf); in xfs_attr_shortform_allfit()
847 for (i = 0; i < leafhdr.count; entry++, i++) { in xfs_attr_shortform_allfit()
848 if (entry->flags & XFS_ATTR_INCOMPLETE) in xfs_attr_shortform_allfit()
850 if (!(entry->flags & XFS_ATTR_LOCAL)) in xfs_attr_shortform_allfit()
879 struct xfs_attr_leaf_entry *entry; in xfs_attr3_leaf_to_shortform() local
897 entry = xfs_attr3_leaf_entryp(leaf); in xfs_attr3_leaf_to_shortform()
931 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_to_shortform()
932 if (entry->flags & XFS_ATTR_INCOMPLETE) in xfs_attr3_leaf_to_shortform()
934 if (!entry->nameidx) in xfs_attr3_leaf_to_shortform()
[all …]
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_cq.c48 void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int solicited) in ipath_cq_enter() argument
81 wc->uqueue[head].wr_id = entry->wr_id; in ipath_cq_enter()
82 wc->uqueue[head].status = entry->status; in ipath_cq_enter()
83 wc->uqueue[head].opcode = entry->opcode; in ipath_cq_enter()
84 wc->uqueue[head].vendor_err = entry->vendor_err; in ipath_cq_enter()
85 wc->uqueue[head].byte_len = entry->byte_len; in ipath_cq_enter()
86 wc->uqueue[head].ex.imm_data = (__u32 __force) entry->ex.imm_data; in ipath_cq_enter()
87 wc->uqueue[head].qp_num = entry->qp->qp_num; in ipath_cq_enter()
88 wc->uqueue[head].src_qp = entry->src_qp; in ipath_cq_enter()
89 wc->uqueue[head].wc_flags = entry->wc_flags; in ipath_cq_enter()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dperf_callchain.c24 struct perf_callchain_entry *entry = data; in callchain_address() local
27 perf_callchain_store(entry, addr); in callchain_address()
36 perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
38 perf_callchain_store(entry, regs->pc); in perf_callchain_kernel()
40 unwind_stack(NULL, regs, NULL, &callchain_ops, entry); in perf_callchain_kernel()
/linux-4.4.14/drivers/s390/char/
Dmonwriter.c81 struct mon_buf *entry, *next; in monwrite_find_hdr() local
83 list_for_each_entry_safe(entry, next, &monpriv->list, list) in monwrite_find_hdr()
84 if ((entry->hdr.mon_function == monhdr->mon_function || in monwrite_find_hdr()
86 entry->hdr.applid == monhdr->applid && in monwrite_find_hdr()
87 entry->hdr.record_num == monhdr->record_num && in monwrite_find_hdr()
88 entry->hdr.version == monhdr->version && in monwrite_find_hdr()
89 entry->hdr.release == monhdr->release && in monwrite_find_hdr()
90 entry->hdr.mod_level == monhdr->mod_level) in monwrite_find_hdr()
91 return entry; in monwrite_find_hdr()
199 struct mon_buf *entry, *next; in monwrite_close() local
[all …]

12345678910>>...12