Home
last modified time | relevance | path

Searched refs:entry (Results 1 - 25 of 4997) sorted by relevance

12345678910>>...200

/kernel/linux/linux-5.10/net/atm/
H A Dmpoa_caches.c38 in_cache_entry *entry; in in_cache_get() local
41 entry = client->in_cache; in in_cache_get()
42 while (entry != NULL) { in in_cache_get()
43 if (entry->ctrl_info.in_dst_ip == dst_ip) { in in_cache_get()
44 refcount_inc(&entry->use); in in_cache_get()
46 return entry; in in_cache_get()
48 entry = entry->next; in in_cache_get()
59 in_cache_entry *entry; in in_cache_get_with_mask() local
62 entry in in_cache_get_with_mask()
80 in_cache_entry *entry; in_cache_get_by_vcc() local
100 in_cache_entry *entry = kzalloc(sizeof(in_cache_entry), GFP_KERNEL); in_cache_add_entry() local
133 cache_hit(in_cache_entry *entry, struct mpoa_client *mpc) cache_hit() argument
180 in_cache_put(in_cache_entry *entry) in_cache_put() argument
190 in_cache_remove_entry(in_cache_entry *entry, struct mpoa_client *client) in_cache_remove_entry() argument
228 in_cache_entry *entry, *next_entry; clear_count_and_expired() local
253 in_cache_entry *entry; check_resolving_entries() local
302 struct in_cache_entry *entry = client->in_cache; refresh_entries() local
335 eg_cache_entry *entry; eg_cache_get_by_cache_id() local
356 eg_cache_entry *entry; eg_cache_get_by_tag() local
378 eg_cache_entry *entry; eg_cache_get_by_vcc() local
398 eg_cache_entry *entry; eg_cache_get_by_src_ip() local
415 eg_cache_put(eg_cache_entry *entry) eg_cache_put() argument
425 eg_cache_remove_entry(eg_cache_entry *entry, struct mpoa_client *client) eg_cache_remove_entry() argument
459 eg_cache_entry *entry = kzalloc(sizeof(eg_cache_entry), GFP_KERNEL); eg_cache_add_entry() local
493 update_eg_cache_entry(eg_cache_entry *entry, uint16_t holding_time) update_eg_cache_entry() argument
502 eg_cache_entry *entry, *next_entry; clear_expired() local
[all...]
/kernel/linux/linux-6.6/net/atm/
H A Dmpoa_caches.c38 in_cache_entry *entry; in in_cache_get() local
41 entry = client->in_cache; in in_cache_get()
42 while (entry != NULL) { in in_cache_get()
43 if (entry->ctrl_info.in_dst_ip == dst_ip) { in in_cache_get()
44 refcount_inc(&entry->use); in in_cache_get()
46 return entry; in in_cache_get()
48 entry = entry->next; in in_cache_get()
59 in_cache_entry *entry; in in_cache_get_with_mask() local
62 entry in in_cache_get_with_mask()
80 in_cache_entry *entry; in_cache_get_by_vcc() local
100 in_cache_entry *entry = kzalloc(sizeof(in_cache_entry), GFP_KERNEL); in_cache_add_entry() local
133 cache_hit(in_cache_entry *entry, struct mpoa_client *mpc) cache_hit() argument
180 in_cache_put(in_cache_entry *entry) in_cache_put() argument
190 in_cache_remove_entry(in_cache_entry *entry, struct mpoa_client *client) in_cache_remove_entry() argument
228 in_cache_entry *entry, *next_entry; clear_count_and_expired() local
253 in_cache_entry *entry; check_resolving_entries() local
302 struct in_cache_entry *entry = client->in_cache; refresh_entries() local
335 eg_cache_entry *entry; eg_cache_get_by_cache_id() local
356 eg_cache_entry *entry; eg_cache_get_by_tag() local
378 eg_cache_entry *entry; eg_cache_get_by_vcc() local
398 eg_cache_entry *entry; eg_cache_get_by_src_ip() local
415 eg_cache_put(eg_cache_entry *entry) eg_cache_put() argument
425 eg_cache_remove_entry(eg_cache_entry *entry, struct mpoa_client *client) eg_cache_remove_entry() argument
459 eg_cache_entry *entry = kzalloc(sizeof(eg_cache_entry), GFP_KERNEL); eg_cache_add_entry() local
493 update_eg_cache_entry(eg_cache_entry *entry, uint16_t holding_time) update_eg_cache_entry() argument
502 eg_cache_entry *entry, *next_entry; clear_expired() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c58 /* for new entry */ in refcount_find_entry()
63 /* found entry */ in refcount_find_entry()
98 struct ia_css_refcount_entry *entry; in ia_css_refcount_uninit() local
102 "%s() entry\n", __func__); in ia_css_refcount_uninit()
108 entry = myrefcount.items + i; in ia_css_refcount_uninit()
109 if (entry->data != mmgr_NULL) { in ia_css_refcount_uninit()
112 entry->data);*/ in ia_css_refcount_uninit()
113 hmm_free(entry->data); in ia_css_refcount_uninit()
114 entry->data = mmgr_NULL; in ia_css_refcount_uninit()
115 entry in ia_css_refcount_uninit()
128 struct ia_css_refcount_entry *entry; ia_css_refcount_increment() local
165 struct ia_css_refcount_entry *entry; ia_css_refcount_decrement() local
208 struct ia_css_refcount_entry *entry; ia_css_refcount_is_single() local
223 struct ia_css_refcount_entry *entry; ia_css_refcount_clear() local
269 struct ia_css_refcount_entry *entry; ia_css_refcount_is_valid() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c58 /* for new entry */ in refcount_find_entry()
63 /* found entry */ in refcount_find_entry()
98 struct ia_css_refcount_entry *entry; in ia_css_refcount_uninit() local
102 "%s() entry\n", __func__); in ia_css_refcount_uninit()
108 entry = myrefcount.items + i; in ia_css_refcount_uninit()
109 if (entry->data != mmgr_NULL) { in ia_css_refcount_uninit()
112 entry->data);*/ in ia_css_refcount_uninit()
113 hmm_free(entry->data); in ia_css_refcount_uninit()
114 entry->data = mmgr_NULL; in ia_css_refcount_uninit()
115 entry in ia_css_refcount_uninit()
128 struct ia_css_refcount_entry *entry; ia_css_refcount_increment() local
165 struct ia_css_refcount_entry *entry; ia_css_refcount_decrement() local
208 struct ia_css_refcount_entry *entry; ia_css_refcount_is_single() local
223 struct ia_css_refcount_entry *entry; ia_css_refcount_clear() local
269 struct ia_css_refcount_entry *entry; ia_css_refcount_is_valid() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dswapops.h45 * Migration swap entry specific bitfield definitions. Layout:
69 static inline bool is_pfn_swap_entry(swp_entry_t entry);
98 static inline unsigned swp_type(swp_entry_t entry) in swp_type() argument
100 return (entry.val >> SWP_TYPE_SHIFT); in swp_type()
107 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() argument
109 return entry.val & SWP_OFFSET_MASK; in swp_offset()
113 * This should only be called upon a pfn swap entry to get the PFN stored
114 * in the swap entry. Please refers to is_pfn_swap_entry() for definition
115 * of pfn swap entry.
117 static inline unsigned long swp_offset_pfn(swp_entry_t entry) in swp_offset_pfn() argument
146 swp_entry_to_pte(swp_entry_t entry) swp_entry_to_pte() argument
156 swp_entry_t entry; radix_to_swp_entry() local
162 swp_to_radix_entry(swp_entry_t entry) swp_to_radix_entry() argument
178 is_device_private_entry(swp_entry_t entry) is_device_private_entry() argument
184 is_writable_device_private_entry(swp_entry_t entry) is_writable_device_private_entry() argument
199 is_device_exclusive_entry(swp_entry_t entry) is_device_exclusive_entry() argument
205 is_writable_device_exclusive_entry(swp_entry_t entry) is_writable_device_exclusive_entry() argument
220 is_device_private_entry(swp_entry_t entry) is_device_private_entry() argument
225 is_writable_device_private_entry(swp_entry_t entry) is_writable_device_private_entry() argument
240 is_device_exclusive_entry(swp_entry_t entry) is_device_exclusive_entry() argument
245 is_writable_device_exclusive_entry(swp_entry_t entry) is_writable_device_exclusive_entry() argument
252 is_migration_entry(swp_entry_t entry) is_migration_entry() argument
259 is_writable_migration_entry(swp_entry_t entry) is_writable_migration_entry() argument
264 is_readable_migration_entry(swp_entry_t entry) is_readable_migration_entry() argument
269 is_readable_exclusive_migration_entry(swp_entry_t entry) is_readable_exclusive_migration_entry() argument
303 make_migration_entry_young(swp_entry_t entry) make_migration_entry_young() argument
311 is_migration_entry_young(swp_entry_t entry) is_migration_entry_young() argument
319 make_migration_entry_dirty(swp_entry_t entry) make_migration_entry_dirty() argument
327 is_migration_entry_dirty(swp_entry_t entry) is_migration_entry_dirty() argument
363 is_writable_migration_entry(swp_entry_t entry) is_writable_migration_entry() argument
367 is_readable_migration_entry(swp_entry_t entry) is_readable_migration_entry() argument
372 make_migration_entry_young(swp_entry_t entry) make_migration_entry_young() argument
377 is_migration_entry_young(swp_entry_t entry) is_migration_entry_young() argument
382 make_migration_entry_dirty(swp_entry_t entry) make_migration_entry_dirty() argument
387 is_migration_entry_dirty(swp_entry_t entry) is_migration_entry_dirty() argument
409 is_pte_marker_entry(swp_entry_t entry) is_pte_marker_entry() argument
414 pte_marker_get(swp_entry_t entry) pte_marker_get() argument
434 is_poisoned_swp_entry(swp_entry_t entry) is_poisoned_swp_entry() argument
458 pfn_swap_entry_to_page(swp_entry_t entry) pfn_swap_entry_to_page() argument
476 is_pfn_swap_entry(swp_entry_t entry) is_pfn_swap_entry() argument
[all...]
H A Dbpf_mprog.h23 * struct bpf_mprog_entry *entry, *entry_new;
27 * // fetch active @entry from attach location
29 * ret = bpf_mprog_attach(entry, &entry_new, [...]);
31 * if (entry != entry_new) {
32 * // swap @entry to @entry_new at attach location
33 * // ensure there are no inflight users of @entry:
36 * bpf_mprog_commit(entry);
44 * struct bpf_mprog_entry *entry, *entry_new;
48 * // fetch active @entry from attach location
50 * ret = bpf_mprog_detach(entry,
159 bpf_mprog_peer(const struct bpf_mprog_entry *entry) bpf_mprog_peer() argument
179 bpf_mprog_inc(struct bpf_mprog_entry *entry) bpf_mprog_inc() argument
184 bpf_mprog_dec(struct bpf_mprog_entry *entry) bpf_mprog_dec() argument
194 bpf_mprog_total(struct bpf_mprog_entry *entry) bpf_mprog_total() argument
202 bpf_mprog_exists(struct bpf_mprog_entry *entry, struct bpf_prog *prog) bpf_mprog_exists() argument
215 bpf_mprog_mark_for_release(struct bpf_mprog_entry *entry, struct bpf_tuple *tuple) bpf_mprog_mark_for_release() argument
223 bpf_mprog_complete_release(struct bpf_mprog_entry *entry) bpf_mprog_complete_release() argument
237 bpf_mprog_revision_new(struct bpf_mprog_entry *entry) bpf_mprog_revision_new() argument
242 bpf_mprog_commit(struct bpf_mprog_entry *entry) bpf_mprog_commit() argument
248 bpf_mprog_revision(struct bpf_mprog_entry *entry) bpf_mprog_revision() argument
264 bpf_mprog_clear_all(struct bpf_mprog_entry *entry, struct bpf_mprog_entry **entry_new) bpf_mprog_clear_all() argument
275 bpf_mprog_entry_grow(struct bpf_mprog_entry *entry, int idx) bpf_mprog_entry_grow() argument
288 bpf_mprog_entry_shrink(struct bpf_mprog_entry *entry, int idx) bpf_mprog_entry_shrink() argument
304 bpf_mprog_read(struct bpf_mprog_entry *entry, u32 idx, struct bpf_mprog_fp **fp, struct bpf_mprog_cp **cp) bpf_mprog_read() argument
[all...]
/kernel/linux/linux-5.10/drivers/firmware/
H A Dmemmap.c22 * Firmware map entry. Because firmware memory maps are flat and not
34 struct list_head list; /* entry for the linked list */
35 struct kobject kobj; /* kobject for each entry */
43 static ssize_t start_show(struct firmware_map_entry *entry, char *buf);
44 static ssize_t end_show(struct firmware_map_entry *entry, char *buf);
45 static ssize_t type_show(struct firmware_map_entry *entry, char *buf);
56 ssize_t (*show)(struct firmware_map_entry *entry, char *buf);
64 * These are default attributes that are added for every memmap entry.
84 * map entry is allocated by bootmem, we need to remember the storage and
99 struct firmware_map_entry *entry in release_firmware_map_entry() local
141 firmware_map_add_entry(u64 start, u64 end, const char *type, struct firmware_map_entry *entry) firmware_map_add_entry() argument
167 firmware_map_remove_entry(struct firmware_map_entry *entry) firmware_map_remove_entry() argument
175 add_sysfs_fw_map_entry(struct firmware_map_entry *entry) add_sysfs_fw_map_entry() argument
199 remove_sysfs_fw_map_entry(struct firmware_map_entry *entry) remove_sysfs_fw_map_entry() argument
221 struct firmware_map_entry *entry; firmware_map_find_entry_in_list() local
283 struct firmware_map_entry *entry; firmware_map_add_hotplug() local
325 struct firmware_map_entry *entry; firmware_map_add_early() local
347 struct firmware_map_entry *entry; firmware_map_remove() local
369 start_show(struct firmware_map_entry *entry, char *buf) start_show() argument
375 end_show(struct firmware_map_entry *entry, char *buf) end_show() argument
381 type_show(struct firmware_map_entry *entry, char *buf) type_show() argument
394 struct firmware_map_entry *entry = to_memmap_entry(kobj); memmap_attr_show() local
410 struct firmware_map_entry *entry; firmware_memmap_init() local
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Dmemmap.c22 * Firmware map entry. Because firmware memory maps are flat and not
34 struct list_head list; /* entry for the linked list */
35 struct kobject kobj; /* kobject for each entry */
43 static ssize_t start_show(struct firmware_map_entry *entry, char *buf);
44 static ssize_t end_show(struct firmware_map_entry *entry, char *buf);
45 static ssize_t type_show(struct firmware_map_entry *entry, char *buf);
56 ssize_t (*show)(struct firmware_map_entry *entry, char *buf);
64 * These are default attributes that are added for every memmap entry.
85 * map entry is allocated by bootmem, we need to remember the storage and
100 struct firmware_map_entry *entry in release_firmware_map_entry() local
142 firmware_map_add_entry(u64 start, u64 end, const char *type, struct firmware_map_entry *entry) firmware_map_add_entry() argument
168 firmware_map_remove_entry(struct firmware_map_entry *entry) firmware_map_remove_entry() argument
176 add_sysfs_fw_map_entry(struct firmware_map_entry *entry) add_sysfs_fw_map_entry() argument
200 remove_sysfs_fw_map_entry(struct firmware_map_entry *entry) remove_sysfs_fw_map_entry() argument
222 struct firmware_map_entry *entry; firmware_map_find_entry_in_list() local
284 struct firmware_map_entry *entry; firmware_map_add_hotplug() local
326 struct firmware_map_entry *entry; firmware_map_add_early() local
348 struct firmware_map_entry *entry; firmware_map_remove() local
370 start_show(struct firmware_map_entry *entry, char *buf) start_show() argument
376 end_show(struct firmware_map_entry *entry, char *buf) end_show() argument
382 type_show(struct firmware_map_entry *entry, char *buf) type_show() argument
395 struct firmware_map_entry *entry = to_memmap_entry(kobj); memmap_attr_show() local
411 struct firmware_map_entry *entry; firmware_memmap_init() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dnvs.c95 struct nvs_page *entry, *next; in suspend_nvs_register() local
103 entry = kzalloc(sizeof(struct nvs_page), GFP_KERNEL); in suspend_nvs_register()
104 if (!entry) in suspend_nvs_register()
107 list_add_tail(&entry->node, &nvs_list); in suspend_nvs_register()
108 entry->phys_start = start; in suspend_nvs_register()
110 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
112 start += entry->size; in suspend_nvs_register()
113 size -= entry->size; in suspend_nvs_register()
118 list_for_each_entry_safe(entry, next, &nvs_list, node) { in suspend_nvs_register()
119 list_del(&entry in suspend_nvs_register()
130 struct nvs_page *entry; suspend_nvs_free() local
154 struct nvs_page *entry; suspend_nvs_alloc() local
171 struct nvs_page *entry; suspend_nvs_save() local
203 struct nvs_page *entry; suspend_nvs_restore() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_scatter.c46 static void drm_sg_cleanup(struct drm_sg_mem * entry) in drm_sg_cleanup() argument
51 for (i = 0; i < entry->pages; i++) { in drm_sg_cleanup()
52 page = entry->pagelist[i]; in drm_sg_cleanup()
57 vfree(entry->virtual); in drm_sg_cleanup()
59 kfree(entry->busaddr); in drm_sg_cleanup()
60 kfree(entry->pagelist); in drm_sg_cleanup()
61 kfree(entry); in drm_sg_cleanup()
82 struct drm_sg_mem *entry; in drm_legacy_sg_alloc() local
99 entry = kzalloc(sizeof(*entry), GFP_KERNE in drm_legacy_sg_alloc()
201 struct drm_sg_mem *entry; drm_legacy_sg_free() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dnvs.c97 struct nvs_page *entry, *next; in suspend_nvs_register() local
105 entry = kzalloc(sizeof(struct nvs_page), GFP_KERNEL); in suspend_nvs_register()
106 if (!entry) in suspend_nvs_register()
109 list_add_tail(&entry->node, &nvs_list); in suspend_nvs_register()
110 entry->phys_start = start; in suspend_nvs_register()
112 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
114 start += entry->size; in suspend_nvs_register()
115 size -= entry->size; in suspend_nvs_register()
120 list_for_each_entry_safe(entry, next, &nvs_list, node) { in suspend_nvs_register()
121 list_del(&entry in suspend_nvs_register()
132 struct nvs_page *entry; suspend_nvs_free() local
156 struct nvs_page *entry; suspend_nvs_alloc() local
173 struct nvs_page *entry; suspend_nvs_save() local
205 struct nvs_page *entry; suspend_nvs_restore() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_scatter.c46 static void drm_sg_cleanup(struct drm_sg_mem * entry) in drm_sg_cleanup() argument
51 for (i = 0; i < entry->pages; i++) { in drm_sg_cleanup()
52 page = entry->pagelist[i]; in drm_sg_cleanup()
57 vfree(entry->virtual); in drm_sg_cleanup()
59 kfree(entry->busaddr); in drm_sg_cleanup()
60 kfree(entry->pagelist); in drm_sg_cleanup()
61 kfree(entry); in drm_sg_cleanup()
82 struct drm_sg_mem *entry; in drm_legacy_sg_alloc() local
99 entry = kzalloc(sizeof(*entry), GFP_KERNE in drm_legacy_sg_alloc()
201 struct drm_sg_mem *entry; drm_legacy_sg_free() local
[all...]
/kernel/linux/linux-5.10/fs/squashfs/
H A Dcache.c56 struct squashfs_cache_entry *entry; in squashfs_cache_get() local
62 if (cache->entry[i].block == block) { in squashfs_cache_get()
84 * At least one unused cache entry. A simple in squashfs_cache_get()
85 * round-robin strategy is used to choose the entry to in squashfs_cache_get()
90 if (cache->entry[i].refcount == 0) in squashfs_cache_get()
96 entry = &cache->entry[i]; in squashfs_cache_get()
99 * Initialise chosen cache entry, and fill it in from in squashfs_cache_get()
103 entry->block = block; in squashfs_cache_get()
104 entry in squashfs_cache_get()
173 squashfs_cache_put(struct squashfs_cache_entry *entry) squashfs_cache_put() argument
253 struct squashfs_cache_entry *entry = &cache->entry[i]; squashfs_cache_init() local
293 squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, int offset, int length) squashfs_copy_data() argument
336 struct squashfs_cache_entry *entry; squashfs_read_metadata() local
[all...]
/kernel/linux/linux-6.6/fs/squashfs/
H A Dcache.c56 struct squashfs_cache_entry *entry; in squashfs_cache_get() local
62 if (cache->entry[i].block == block) { in squashfs_cache_get()
84 * At least one unused cache entry. A simple in squashfs_cache_get()
85 * round-robin strategy is used to choose the entry to in squashfs_cache_get()
90 if (cache->entry[i].refcount == 0) in squashfs_cache_get()
96 entry = &cache->entry[i]; in squashfs_cache_get()
99 * Initialise chosen cache entry, and fill it in from in squashfs_cache_get()
103 entry->block = block; in squashfs_cache_get()
104 entry in squashfs_cache_get()
173 squashfs_cache_put(struct squashfs_cache_entry *entry) squashfs_cache_put() argument
253 struct squashfs_cache_entry *entry = &cache->entry[i]; squashfs_cache_init() local
293 squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, int offset, int length) squashfs_copy_data() argument
336 struct squashfs_cache_entry *entry; squashfs_read_metadata() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dcpuid.c107 * If the index isn't significant, use the first entry with a in cpuid_entry2_find()
116 * Similarly, use the first matching entry if KVM is doing a in cpuid_entry2_find()
196 struct kvm_cpuid_entry2 *entry; in kvm_get_hypervisor_cpuid() local
200 entry = kvm_find_cpuid_entry(vcpu, base); in kvm_get_hypervisor_cpuid()
202 if (entry) { in kvm_get_hypervisor_cpuid()
205 signature[0] = entry->ebx; in kvm_get_hypervisor_cpuid()
206 signature[1] = entry->ecx; in kvm_get_hypervisor_cpuid()
207 signature[2] = entry->edx; in kvm_get_hypervisor_cpuid()
211 cpuid.limit = entry->eax; in kvm_get_hypervisor_cpuid()
317 struct kvm_cpuid_entry2 *entry; in kvm_cpuid_has_hyperv() local
545 struct kvm_cpuid_entry2 entry; __kvm_cpu_cap_mask() local
827 struct kvm_cpuid_entry2 *entry = get_next_cpuid(array); do_host_cpuid() local
869 struct kvm_cpuid_entry2 *entry; __do_cpuid_func_emulated() local
904 struct kvm_cpuid_entry2 *entry; __do_cpuid_func() local
1524 struct kvm_cpuid_entry2 *entry; kvm_cpuid() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
H A Ddmabuf-cache.c29 static void tegra_vde_release_entry(struct tegra_vde_cache_entry *entry) in tegra_vde_release_entry() argument
31 struct dma_buf *dmabuf = entry->a->dmabuf; in tegra_vde_release_entry()
33 WARN_ON_ONCE(entry->refcnt); in tegra_vde_release_entry()
35 if (entry->vde->domain) in tegra_vde_release_entry()
36 tegra_vde_iommu_unmap(entry->vde, entry->iova); in tegra_vde_release_entry()
38 dma_buf_unmap_attachment(entry->a, entry->sgt, entry->dma_dir); in tegra_vde_release_entry()
39 dma_buf_detach(dmabuf, entry in tegra_vde_release_entry()
48 struct tegra_vde_cache_entry *entry; tegra_vde_delayed_unmap() local
68 struct tegra_vde_cache_entry *entry; tegra_vde_dmabuf_cache_map() local
165 struct tegra_vde_cache_entry *entry; tegra_vde_dmabuf_cache_unmap() local
189 struct tegra_vde_cache_entry *entry, *tmp; tegra_vde_dmabuf_cache_unmap_sync() local
208 struct tegra_vde_cache_entry *entry, *tmp; tegra_vde_dmabuf_cache_unmap_all() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
H A Ddmabuf-cache.c32 static void tegra_vde_release_entry(struct tegra_vde_cache_entry *entry) in tegra_vde_release_entry() argument
34 struct dma_buf *dmabuf = entry->a->dmabuf; in tegra_vde_release_entry()
36 WARN_ON_ONCE(entry->refcnt); in tegra_vde_release_entry()
38 if (entry->vde->domain) in tegra_vde_release_entry()
39 tegra_vde_iommu_unmap(entry->vde, entry->iova); in tegra_vde_release_entry()
41 dma_buf_unmap_attachment_unlocked(entry->a, entry->sgt, entry->dma_dir); in tegra_vde_release_entry()
42 dma_buf_detach(dmabuf, entry in tegra_vde_release_entry()
51 struct tegra_vde_cache_entry *entry; tegra_vde_delayed_unmap() local
70 struct tegra_vde_cache_entry *entry; tegra_vde_dmabuf_cache_map() local
168 struct tegra_vde_cache_entry *entry; tegra_vde_dmabuf_cache_unmap() local
192 struct tegra_vde_cache_entry *entry, *tmp; tegra_vde_dmabuf_cache_unmap_sync() local
211 struct tegra_vde_cache_entry *entry, *tmp; tegra_vde_dmabuf_cache_unmap_all() local
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dpci_dma.h100 static inline void set_pt_pfaa(unsigned long *entry, void *pfaa) in set_pt_pfaa() argument
102 *entry &= ZPCI_PTE_FLAG_MASK; in set_pt_pfaa()
103 *entry |= ((unsigned long) pfaa & ZPCI_PTE_ADDR_MASK); in set_pt_pfaa()
106 static inline void set_rt_sto(unsigned long *entry, void *sto) in set_rt_sto() argument
108 *entry &= ZPCI_RTE_FLAG_MASK; in set_rt_sto()
109 *entry |= ((unsigned long) sto & ZPCI_RTE_ADDR_MASK); in set_rt_sto()
110 *entry |= ZPCI_TABLE_TYPE_RTX; in set_rt_sto()
113 static inline void set_st_pto(unsigned long *entry, void *pto) in set_st_pto() argument
115 *entry &= ZPCI_STE_FLAG_MASK; in set_st_pto()
116 *entry | in set_st_pto()
120 validate_rt_entry(unsigned long *entry) validate_rt_entry() argument
128 validate_st_entry(unsigned long *entry) validate_st_entry() argument
134 invalidate_pt_entry(unsigned long *entry) invalidate_pt_entry() argument
141 validate_pt_entry(unsigned long *entry) validate_pt_entry() argument
148 entry_set_protected(unsigned long *entry) entry_set_protected() argument
154 entry_clr_protected(unsigned long *entry) entry_clr_protected() argument
160 reg_entry_isvalid(unsigned long entry) reg_entry_isvalid() argument
165 pt_entry_isvalid(unsigned long entry) pt_entry_isvalid() argument
170 get_rt_sto(unsigned long entry) get_rt_sto() argument
177 get_st_pto(unsigned long entry) get_st_pto() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dpci_dma.h100 static inline void set_pt_pfaa(unsigned long *entry, phys_addr_t pfaa) in set_pt_pfaa() argument
102 *entry &= ZPCI_PTE_FLAG_MASK; in set_pt_pfaa()
103 *entry |= (pfaa & ZPCI_PTE_ADDR_MASK); in set_pt_pfaa()
106 static inline void set_rt_sto(unsigned long *entry, phys_addr_t sto) in set_rt_sto() argument
108 *entry &= ZPCI_RTE_FLAG_MASK; in set_rt_sto()
109 *entry |= (sto & ZPCI_RTE_ADDR_MASK); in set_rt_sto()
110 *entry |= ZPCI_TABLE_TYPE_RTX; in set_rt_sto()
113 static inline void set_st_pto(unsigned long *entry, phys_addr_t pto) in set_st_pto() argument
115 *entry &= ZPCI_STE_FLAG_MASK; in set_st_pto()
116 *entry | in set_st_pto()
120 validate_rt_entry(unsigned long *entry) validate_rt_entry() argument
128 validate_st_entry(unsigned long *entry) validate_st_entry() argument
134 invalidate_pt_entry(unsigned long *entry) invalidate_pt_entry() argument
141 validate_pt_entry(unsigned long *entry) validate_pt_entry() argument
148 entry_set_protected(unsigned long *entry) entry_set_protected() argument
154 entry_clr_protected(unsigned long *entry) entry_clr_protected() argument
160 reg_entry_isvalid(unsigned long entry) reg_entry_isvalid() argument
165 pt_entry_isvalid(unsigned long entry) pt_entry_isvalid() argument
170 get_rt_sto(unsigned long entry) get_rt_sto() argument
179 get_st_pto(unsigned long entry) get_st_pto() argument
[all...]
/kernel/linux/linux-6.6/security/integrity/ima/
H A Dima_policy.c378 static void ima_lsm_free_rule(struct ima_rule_entry *entry) in ima_lsm_free_rule() argument
383 ima_filter_rule_free(entry->lsm[i].rule); in ima_lsm_free_rule()
384 kfree(entry->lsm[i].args_p); in ima_lsm_free_rule()
388 static void ima_free_rule(struct ima_rule_entry *entry) in ima_free_rule() argument
390 if (!entry) in ima_free_rule()
394 * entry->template->fields may be allocated in ima_parse_rule() but that in ima_free_rule()
398 kfree(entry->fsname); in ima_free_rule()
399 ima_free_rule_opt_list(entry->keyrings); in ima_free_rule()
400 ima_lsm_free_rule(entry); in ima_free_rule()
401 kfree(entry); in ima_free_rule()
404 ima_lsm_copy_rule(struct ima_rule_entry *entry) ima_lsm_copy_rule() argument
436 ima_lsm_update_rule(struct ima_rule_entry *entry) ima_lsm_update_rule() argument
460 ima_rule_contains_lsm_cond(struct ima_rule_entry *entry) ima_rule_contains_lsm_cond() argument
478 struct ima_rule_entry *entry, *e; ima_lsm_update_rules() local
743 struct ima_rule_entry *entry; ima_match_policy() local
811 struct ima_rule_entry *entry; ima_update_policy_flags() local
868 struct ima_rule_entry *entry; add_rules() local
1128 ima_lsm_rule_init(struct ima_rule_entry *entry, substring_t *args, int lsm_rule, int audit_type) ima_lsm_rule_init() argument
1239 ima_validate_rule(struct ima_rule_entry *entry) ima_validate_rule() argument
1404 ima_parse_rule(char *rule, struct ima_rule_entry *entry) ima_parse_rule() argument
1923 struct ima_rule_entry *entry; ima_parse_add_rule() local
1966 struct ima_rule_entry *entry, *tmp; ima_delete_rules() local
1996 struct ima_rule_entry *entry; ima_policy_start() local
2013 struct ima_rule_entry *entry = v; ima_policy_next() local
2070 struct ima_rule_entry *entry = v; ima_policy_show() local
2286 struct ima_rule_entry *entry; ima_appraise_signature() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dswapops.h51 static inline unsigned swp_type(swp_entry_t entry) in swp_type() argument
53 return (entry.val >> SWP_TYPE_SHIFT); in swp_type()
60 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() argument
62 return entry.val & SWP_OFFSET_MASK; in swp_offset()
65 /* check whether a pte points to a swap entry */
88 static inline pte_t swp_entry_to_pte(swp_entry_t entry) in swp_entry_to_pte() argument
92 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()
98 swp_entry_t entry; in radix_to_swp_entry() local
100 entry in radix_to_swp_entry()
104 swp_to_radix_entry(swp_entry_t entry) swp_to_radix_entry() argument
116 is_device_private_entry(swp_entry_t entry) is_device_private_entry() argument
122 make_device_private_entry_read(swp_entry_t *entry) make_device_private_entry_read() argument
127 is_write_device_private_entry(swp_entry_t entry) is_write_device_private_entry() argument
132 device_private_entry_to_pfn(swp_entry_t entry) device_private_entry_to_pfn() argument
137 device_private_entry_to_page(swp_entry_t entry) device_private_entry_to_page() argument
147 make_device_private_entry_read(swp_entry_t *entry) make_device_private_entry_read() argument
151 is_device_private_entry(swp_entry_t entry) is_device_private_entry() argument
156 is_write_device_private_entry(swp_entry_t entry) is_write_device_private_entry() argument
161 device_private_entry_to_pfn(swp_entry_t entry) device_private_entry_to_pfn() argument
166 device_private_entry_to_page(swp_entry_t entry) device_private_entry_to_page() argument
181 is_migration_entry(swp_entry_t entry) is_migration_entry() argument
187 is_write_migration_entry(swp_entry_t entry) is_write_migration_entry() argument
192 migration_entry_to_pfn(swp_entry_t entry) migration_entry_to_pfn() argument
197 migration_entry_to_page(swp_entry_t entry) migration_entry_to_page() argument
208 make_migration_entry_read(swp_entry_t *entry) make_migration_entry_read() argument
227 migration_entry_to_pfn(swp_entry_t entry) migration_entry_to_pfn() argument
232 migration_entry_to_page(swp_entry_t entry) migration_entry_to_page() argument
244 is_write_migration_entry(swp_entry_t entry) is_write_migration_entry() argument
274 swp_entry_to_pmd(swp_entry_t entry) swp_entry_to_pmd() argument
306 swp_entry_to_pmd(swp_entry_t entry) swp_entry_to_pmd() argument
330 is_hwpoison_entry(swp_entry_t entry) is_hwpoison_entry() argument
364 non_swap_entry(swp_entry_t entry) non_swap_entry() argument
369 non_swap_entry(swp_entry_t entry) non_swap_entry() argument
[all...]
/kernel/linux/linux-6.6/kernel/dma/
H A Ddebug.c167 static inline void dump_entry_trace(struct dma_debug_entry *entry) in dump_entry_trace() argument
170 if (entry) { in dump_entry_trace()
172 stack_trace_print(entry->stack_entries, entry->stack_len, 0); in dump_entry_trace()
218 #define err_printk(dev, entry, format, arg...) do { \
225 dump_entry_trace(entry); \
237 static int hash_fn(struct dma_debug_entry *entry) in hash_fn() argument
243 return (entry->dev_addr >> HASH_FN_SHIFT) & HASH_FN_MASK; in hash_fn()
249 static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry,
253 int idx = hash_fn(entry);
297 struct dma_debug_entry *entry, *ret = NULL; __hash_bucket_find() local
354 struct dma_debug_entry *entry, index = *ref; bucket_find_contain() local
377 hash_bucket_add(struct hash_bucket *bucket, struct dma_debug_entry *entry) hash_bucket_add() argument
386 hash_bucket_del(struct dma_debug_entry *entry) hash_bucket_del() argument
391 phys_addr(struct dma_debug_entry *entry) phys_addr() argument
425 to_cacheline_number(struct dma_debug_entry *entry) to_cacheline_number() argument
478 active_cacheline_insert(struct dma_debug_entry *entry) active_cacheline_insert() argument
500 active_cacheline_remove(struct dma_debug_entry *entry) active_cacheline_remove() argument
529 struct dma_debug_entry *entry; debug_dma_dump_mappings() local
561 struct dma_debug_entry *entry; dump_show() local
587 add_dma_entry(struct dma_debug_entry *entry, unsigned long attrs) add_dma_entry() argument
609 struct dma_debug_entry *entry; dma_debug_create_entries() local
627 struct dma_debug_entry *entry; __dma_entry_alloc() local
664 struct dma_debug_entry *entry; dma_entry_alloc() local
695 dma_entry_free(struct dma_debug_entry *entry) dma_entry_free() argument
831 struct dma_debug_entry *entry; device_dma_allocations() local
852 struct dma_debug_entry *entry; dma_debug_device_change() local
962 struct dma_debug_entry *entry; check_unmap() local
1095 struct dma_debug_entry *entry; check_sync() local
1212 struct dma_debug_entry *entry; debug_dma_map_page() local
1247 struct dma_debug_entry *entry; debug_dma_mapping_error() local
1302 struct dma_debug_entry *entry; debug_dma_map_sg() local
1339 struct dma_debug_entry *entry; get_nr_mapped_entries() local
1391 struct dma_debug_entry *entry; debug_dma_alloc_coherent() local
1453 struct dma_debug_entry *entry; debug_dma_map_resource() local
[all...]
/kernel/linux/linux-5.10/kernel/dma/
H A Ddebug.c166 static inline void dump_entry_trace(struct dma_debug_entry *entry) in dump_entry_trace() argument
169 if (entry) { in dump_entry_trace()
171 stack_trace_print(entry->stack_entries, entry->stack_len, 0); in dump_entry_trace()
217 #define err_printk(dev, entry, format, arg...) do { \
224 dump_entry_trace(entry); \
236 static int hash_fn(struct dma_debug_entry *entry) in hash_fn() argument
242 return (entry->dev_addr >> HASH_FN_SHIFT) & HASH_FN_MASK; in hash_fn()
248 static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry,
252 int idx = hash_fn(entry);
296 struct dma_debug_entry *entry, *ret = NULL; __hash_bucket_find() local
354 struct dma_debug_entry *entry, index = *ref; bucket_find_contain() local
378 hash_bucket_add(struct hash_bucket *bucket, struct dma_debug_entry *entry) hash_bucket_add() argument
387 hash_bucket_del(struct dma_debug_entry *entry) hash_bucket_del() argument
392 phys_addr(struct dma_debug_entry *entry) phys_addr() argument
409 struct dma_debug_entry *entry; debug_dma_dump_mappings() local
457 to_cacheline_number(struct dma_debug_entry *entry) to_cacheline_number() argument
510 active_cacheline_insert(struct dma_debug_entry *entry) active_cacheline_insert() argument
532 active_cacheline_remove(struct dma_debug_entry *entry) active_cacheline_remove() argument
555 add_dma_entry(struct dma_debug_entry *entry) add_dma_entry() argument
578 struct dma_debug_entry *entry; dma_debug_create_entries() local
596 struct dma_debug_entry *entry; __dma_entry_alloc() local
633 struct dma_debug_entry *entry; dma_entry_alloc() local
664 dma_entry_free(struct dma_debug_entry *entry) dma_entry_free() argument
786 struct dma_debug_entry *entry; dump_show() local
827 struct dma_debug_entry *entry; device_dma_allocations() local
848 struct dma_debug_entry *entry; dma_debug_device_change() local
958 struct dma_debug_entry *entry; check_unmap() local
1101 struct dma_debug_entry *entry; check_sync() local
1217 struct dma_debug_entry *entry; debug_dma_map_page() local
1252 struct dma_debug_entry *entry; debug_dma_mapping_error() local
1306 struct dma_debug_entry *entry; debug_dma_map_sg() local
1343 struct dma_debug_entry *entry; get_nr_mapped_entries() local
1394 struct dma_debug_entry *entry; debug_dma_alloc_coherent() local
1455 struct dma_debug_entry *entry; debug_dma_map_resource() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c36 * struct vmw_cmdbuf_res - Command buffer managed resource entry.
39 * @hash: Hash entry for the manager hash table.
42 * @state: Staging state of this resource entry.
43 * @man: Pointer to a resource manager for this entry.
100 * @entry: Pointer to a struct vmw_cmdbuf_res.
102 * Frees a struct vmw_cmdbuf_res entry and drops its reference to the
106 struct vmw_cmdbuf_res *entry) in vmw_cmdbuf_res_free()
108 list_del(&entry->head); in vmw_cmdbuf_res_free()
109 hash_del_rcu(&entry->hash.head); in vmw_cmdbuf_res_free()
110 vmw_resource_unreference(&entry in vmw_cmdbuf_res_free()
105 vmw_cmdbuf_res_free(struct vmw_cmdbuf_res_manager *man, struct vmw_cmdbuf_res *entry) vmw_cmdbuf_res_free() argument
126 struct vmw_cmdbuf_res *entry, *next; vmw_cmdbuf_res_commit() local
162 struct vmw_cmdbuf_res *entry, *next; vmw_cmdbuf_res_revert() local
240 struct vmw_cmdbuf_res *entry = NULL; vmw_cmdbuf_res_remove() local
309 struct vmw_cmdbuf_res *entry, *next; vmw_cmdbuf_res_man_destroy() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dmbcache.c21 * identifies a cache entry.
24 * and a special "delete entry with given key-value pair" operation. Fixed
63 * mb_cache_entry_create - create entry in cache
64 * @cache - cache where the entry should be created
65 * @mask - gfp mask with which the entry should be allocated
66 * @key - key of the entry
67 * @value - value of the entry
68 * @reusable - is the entry reusable by others?
70 * Creates entry in @cache with key @key and value @value. The function returns
71 * -EBUSY if entry wit
77 struct mb_cache_entry *entry, *dup; mb_cache_entry_create() local
127 __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) __mb_cache_entry_free() argument
146 mb_cache_entry_wait_unused(struct mb_cache_entry *entry) mb_cache_entry_wait_unused() argument
152 __entry_find(struct mb_cache *cache, struct mb_cache_entry *entry, u32 key) __entry_find() argument
209 mb_cache_entry_find_next(struct mb_cache *cache, struct mb_cache_entry *entry) mb_cache_entry_find_next() argument
227 struct mb_cache_entry *entry; mb_cache_entry_get() local
257 struct mb_cache_entry *entry; mb_cache_entry_delete_or_get() local
286 mb_cache_entry_touch(struct mb_cache *cache, struct mb_cache_entry *entry) mb_cache_entry_touch() argument
306 struct mb_cache_entry *entry; mb_cache_shrink() local
407 struct mb_cache_entry *entry, *next; mb_cache_destroy() local
[all...]

Completed in 17 milliseconds

12345678910>>...200