Home
last modified time | relevance | path

Searched full:entry (Results 1 – 25 of 9475) sorted by relevance

12345678910>>...379

/kernel/linux/linux-6.6/net/atm/
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 = client->in_cache; in in_cache_get_with_mask()
63 while (entry != NULL) { in in_cache_get_with_mask()
[all …]
/kernel/linux/linux-5.10/net/atm/
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 = client->in_cache; in in_cache_get_with_mask()
63 while (entry != NULL) { in in_cache_get_with_mask()
[all …]
/kernel/linux/linux-6.6/sound/core/
Dinfo.c54 struct snd_info_entry *entry; member
59 static void snd_info_clear_entries(struct snd_info_entry *entry);
73 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
78 if (!entry || !entry->p) in alloc_info_private()
80 if (!try_module_get(entry->module)) in alloc_info_private()
84 module_put(entry->module); in alloc_info_private()
87 data->entry = entry; in alloc_info_private()
107 struct snd_info_entry *entry; in snd_info_entry_llseek() local
111 entry = data->entry; in snd_info_entry_llseek()
112 mutex_lock(&entry->access); in snd_info_entry_llseek()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dinfo.c55 struct snd_info_entry *entry; member
60 static void snd_info_clear_entries(struct snd_info_entry *entry);
74 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
79 if (!entry || !entry->p) in alloc_info_private()
81 if (!try_module_get(entry->module)) in alloc_info_private()
85 module_put(entry->module); in alloc_info_private()
88 data->entry = entry; in alloc_info_private()
108 struct snd_info_entry *entry; in snd_info_entry_llseek() local
112 entry = data->entry; in snd_info_entry_llseek()
113 mutex_lock(&entry->access); in snd_info_entry_llseek()
[all …]
/kernel/linux/linux-5.10/fs/
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 with the same key and value already exists in cache.
[all …]
/kernel/linux/linux-6.6/fs/
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 with the same key and value already exists in cache.
[all …]
/kernel/linux/linux-5.10/drivers/firmware/
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 = to_memmap_entry(kobj); in release_firmware_map_entry() local
[all …]
/kernel/linux/linux-6.6/drivers/firmware/
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 = to_memmap_entry(kobj); in release_firmware_map_entry() local
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
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->a); in tegra_vde_release_entry()
45 list_del(&entry->list); in tegra_vde_release_entry()
46 kfree(entry); in tegra_vde_release_entry()
51 struct tegra_vde_cache_entry *entry; in tegra_vde_delayed_unmap() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
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->a); in tegra_vde_release_entry()
42 list_del(&entry->list); in tegra_vde_release_entry()
43 kfree(entry); in tegra_vde_release_entry()
48 struct tegra_vde_cache_entry *entry; in tegra_vde_delayed_unmap() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/refcount/src/
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->count = 0; in ia_css_refcount_uninit()
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/base/refcount/src/
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->count = 0; in ia_css_refcount_uninit()
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/
Dasm-offsets_64.c28 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) in main() argument
29 ENTRY(bx); in main()
30 ENTRY(cx); in main()
31 ENTRY(dx); in main()
32 ENTRY(sp); in main()
33 ENTRY(bp); in main()
34 ENTRY(si); in main()
35 ENTRY(di); in main()
36 ENTRY(r8); in main()
37 ENTRY(r9); in main()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/libfc/
Dfc_encode.h166 static inline void fc_ct_ms_fill_attr(struct fc_fdmi_attr_entry *entry, in fc_ct_ms_fill_attr() argument
171 copied = strscpy(entry->value, in, len); in fc_ct_ms_fill_attr()
173 memset(entry->value + copied + 1, 0, len - copied - 1); in fc_ct_ms_fill_attr()
192 struct fc_fdmi_attr_entry *entry; in fc_ct_ms_fill() local
241 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
246 &entry->type); in fc_ct_ms_fill()
247 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
249 (__be64 *)&entry->value); in fc_ct_ms_fill()
252 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
257 &entry->type); in fc_ct_ms_fill()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dasm-offsets_64.c30 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) in main() argument
31 ENTRY(bx); in main()
32 ENTRY(cx); in main()
33 ENTRY(dx); in main()
34 ENTRY(sp); in main()
35 ENTRY(bp); in main()
36 ENTRY(si); in main()
37 ENTRY(di); in main()
38 ENTRY(r8); in main()
39 ENTRY(r9); in main()
[all …]
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
Dsja1105_static_config.c98 struct sja1105_avb_params_entry *entry = entry_ptr; in sja1105et_avb_params_entry_packing() local
100 sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); in sja1105et_avb_params_entry_packing()
101 sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); in sja1105et_avb_params_entry_packing()
109 struct sja1105_avb_params_entry *entry = entry_ptr; in sja1105pqrs_avb_params_entry_packing() local
111 sja1105_packing(buf, &entry->cas_master, 126, 126, size, op); in sja1105pqrs_avb_params_entry_packing()
112 sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); in sja1105pqrs_avb_params_entry_packing()
113 sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); in sja1105pqrs_avb_params_entry_packing()
121 struct sja1105_general_params_entry *entry = entry_ptr; in sja1105et_general_params_entry_packing() local
123 sja1105_packing(buf, &entry->vllupformat, 319, 319, size, op); in sja1105et_general_params_entry_packing()
124 sja1105_packing(buf, &entry->mirr_ptacu, 318, 318, size, op); in sja1105et_general_params_entry_packing()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dxarray.h24 * The bottom two bits of the entry determine how the XArray interprets
27 * 00: Pointer entry
28 * 10: Internal entry
29 * x1: Value entry or tagged pointer
37 * 256: Retry entry
38 * 257: Zero entry
48 * xa_mk_value() - Create an XArray entry from an integer.
52 * Return: An entry suitable for storing in the XArray.
61 * xa_to_value() - Get value stored in an XArray entry.
62 * @entry: XArray entry.
[all …]
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, &entry_new, [...]);
[all …]
/kernel/linux/linux-5.10/include/linux/
Dxarray.h22 * The bottom two bits of the entry determine how the XArray interprets
25 * 00: Pointer entry
26 * 10: Internal entry
27 * x1: Value entry or tagged pointer
35 * 256: Retry entry
36 * 257: Zero entry
46 * xa_mk_value() - Create an XArray entry from an integer.
50 * Return: An entry suitable for storing in the XArray.
59 * xa_to_value() - Get value stored in an XArray entry.
60 * @entry: XArray entry.
[all …]
/kernel/linux/linux-6.6/drivers/firmware/broadcom/
Dbcm47xx_sprom.c175 #define ENTRY(_revmask, _type, _prefix, _name, _val, _allset, _fallback) \ macro
195 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto()
197 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto()
198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto()
199 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto()
200 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto()
201 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto()
202 ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true); in bcm47xx_sprom_fill_auto()
203 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto()
204 ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb); in bcm47xx_sprom_fill_auto()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/broadcom/
Dbcm47xx_sprom.c175 #define ENTRY(_revmask, _type, _prefix, _name, _val, _allset, _fallback) \ macro
195 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto()
197 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto()
198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto()
199 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto()
200 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto()
201 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto()
202 ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true); in bcm47xx_sprom_fill_auto()
203 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto()
204 ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb); in bcm47xx_sprom_fill_auto()
[all …]
/kernel/linux/linux-6.6/arch/s390/include/asm/
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 |= (pto & ZPCI_STE_ADDR_MASK); in set_st_pto()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
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->node); in suspend_nvs_register()
[all …]
/kernel/linux/linux-6.6/drivers/acpi/
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->node); in suspend_nvs_register()
[all …]
/kernel/linux/linux-6.6/fs/squashfs/
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->refcount = 1; in squashfs_cache_get()
105 entry->pending = 1; in squashfs_cache_get()
[all …]

12345678910>>...379