Home
last modified time | relevance | path

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

12345678910>>...211

/linux/sound/core/
H A 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
145 struct snd_info_entry *entry = data->entry; snd_info_entry_read() local
167 struct snd_info_entry *entry = data->entry; snd_info_entry_write() local
188 struct snd_info_entry *entry = data->entry; snd_info_entry_poll() local
206 struct snd_info_entry *entry = data->entry; snd_info_entry_ioctl() local
218 struct snd_info_entry *entry; snd_info_entry_mmap() local
232 struct snd_info_entry *entry = pde_data(inode); snd_info_entry_open() local
266 struct snd_info_entry *entry = data->entry; snd_info_entry_release() local
297 struct snd_info_entry *entry = data->entry; snd_info_text_entry_write() local
336 struct snd_info_entry *entry = data->entry; snd_info_seq_show() local
349 struct snd_info_entry *entry = pde_data(inode); snd_info_text_entry_open() local
383 struct snd_info_entry *entry = data->entry; snd_info_text_entry_release() local
412 struct snd_info_entry *entry; create_subdir() local
467 snd_card_id_read(struct snd_info_entry * entry,struct snd_info_buffer * buffer) snd_card_id_read() argument
482 struct snd_info_entry *entry; snd_info_card_create() local
665 struct snd_info_entry *entry; snd_info_create_entry() local
728 snd_info_clear_entries(struct snd_info_entry * entry) snd_info_clear_entries() argument
745 snd_info_free_entry(struct snd_info_entry * entry) snd_info_free_entry() argument
773 __snd_info_register(struct snd_info_entry * entry) __snd_info_register() argument
812 snd_info_register(struct snd_info_entry * entry) snd_info_register() argument
850 snd_card_rw_proc_new(struct snd_card * card,const char * name,void * private_data,void (* read)(struct snd_info_entry *,struct snd_info_buffer *),void (* write)(struct snd_info_entry * entry,struct snd_info_buffer * buffer)) snd_card_rw_proc_new() argument
853 struct snd_info_entry *entry; snd_card_rw_proc_new() local
871 snd_info_version_read(struct snd_info_entry * entry,struct snd_info_buffer * buffer) snd_info_version_read() argument
880 struct snd_info_entry *entry; snd_info_version_init() local
[all...]
/linux/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 = to_memmap_entry(kobj); in release_firmware_map_entry() local
[all …]
H A Ddmi-sysfs.c14 * entry.
32 the top entry type is only 8 bits */
54 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf);
64 * dmi_sysfs_mapped_attribute - Attribute where we require the entry be
69 ssize_t (*show)(struct dmi_sysfs_entry *entry,
81 * Generic DMI entry support.
101 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_attr_show() local
108 return attr->show(entry, buf); in dmi_sysfs_attr_show()
119 struct dmi_sysfs_entry *entry; member
130 struct dmi_sysfs_entry *entry = data->entry; in find_dmi_entry_helper() local
[all …]
/linux/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->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 …]
/linux/include/linux/
H A Dxarray.h28 * The bottom two bits of the entry determine how the XArray interprets
31 * 00: Pointer entry
32 * 10: Internal entry
33 * x1: Value entry or tagged pointer
41 * 256: Retry entry
42 * 257: Zero entry
52 * xa_mk_value() - Create an XArray entry from an integer.
56 * Return: An entry suitable for storing in the XArray.
65 * xa_to_value() - Get value stored in an XArray entry.
66 * @entry: XArray entry.
[all …]
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.c94 struct sja1105_avb_params_entry *entry = entry_ptr; in sja1105et_avb_params_entry_packing() local
96 sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); in sja1105et_avb_params_entry_packing()
97 sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); in sja1105et_avb_params_entry_packing()
105 struct sja1105_avb_params_entry *entry = entry_ptr; in sja1105pqrs_avb_params_entry_packing() local
107 sja1105_packing(buf, &entry->cas_master, 126, 126, size, op); in sja1105pqrs_avb_params_entry_packing()
108 sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); in sja1105pqrs_avb_params_entry_packing()
109 sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); in sja1105pqrs_avb_params_entry_packing()
117 struct sja1105_general_params_entry *entry = entry_ptr; in sja1105et_general_params_entry_packing() local
119 sja1105_packing(buf, &entry->vllupformat, 319, 319, size, op); in sja1105et_general_params_entry_packing()
120 sja1105_packing(buf, &entry->mirr_ptacu, 318, 318, size, op); in sja1105et_general_params_entry_packing()
[all …]
/linux/tools/perf/ui/browsers/
H A Dannotate-data.c52 struct browser_entry *entry, in get_member_overhead() argument
55 struct annotated_member *member = entry->data; in get_member_overhead()
73 update_hist_entry(&entry->hists[k], hist); in get_member_overhead()
87 struct browser_entry *entry; in add_child_entries()
90 entry = zalloc(sizeof(*entry)); in add_child_entries()
91 if (entry == NULL) in add_child_entries()
94 entry->hists = calloc(browser->nr_events, sizeof(*entry->hists)); in add_child_entries()
95 if (entry in add_child_entries()
83 struct browser_entry *entry; add_child_entries() local
145 struct browser_entry *entry; count_visible_entries() local
180 get_first_child(struct browser_entry * entry) get_first_child() argument
188 get_last_child(struct browser_entry * entry) get_last_child() argument
196 is_first_child(struct browser_entry * entry) is_first_child() argument
205 is_last_child(struct browser_entry * entry) is_last_child() argument
215 browser__prev_entry(struct ui_browser * uib,struct browser_entry * entry) browser__prev_entry() argument
238 browser__next_entry(struct ui_browser * uib,struct browser_entry * entry) browser__next_entry() argument
266 struct browser_entry *entry; browser__seek() local
307 struct browser_entry *entry, *next; browser__refresh() local
387 browser__write(struct ui_browser * uib,void * entry,int row) browser__write() argument
446 annotated_data_browser__fold(struct annotated_data_browser * browser,struct browser_entry * entry,bool recursive) annotated_data_browser__fold() argument
466 annotated_data_browser__unfold(struct annotated_data_browser * browser,struct browser_entry * entry,bool recursive) annotated_data_browser__unfold() argument
[all...]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvega10_smumgr.c46 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_from_smc()
48 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_from_smc()
52 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
56 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
60 priv->smu_tables.entry[table_id].table_id, in vega10_copy_table_from_smc()
65 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
66 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
85 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
87 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
90 memcpy(priv->smu_tables.entry[table_id].table, table, in vega10_copy_table_to_smc()
[all …]
H A Dvega12_smumgr.c49 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_from_smc()
51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_from_smc()
55 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
73 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
74 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
93 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
95 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
98 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc()
99 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc()
[all …]
/linux/net/netlabel/
H A Dnetlabel_domainhash.c55 * netlbl_domhsh_free_entry - Frees a domain hash table entry
56 * @entry: the entry's RCU field
60 * function so that the memory allocated to a hash table entry can be released
64 static void netlbl_domhsh_free_entry(struct rcu_head *entry) in netlbl_domhsh_free_entry() argument
74 ptr = container_of(entry, struct netlbl_dom_map, rcu); in netlbl_domhsh_free_entry()
125 * netlbl_domhsh_search - Search for a domain entry
131 * entry if found, otherwise NULL is returned. @family may be %AF_UNSPEC
159 * netlbl_domhsh_search_def - Search for a domain entry
165 * entry if an exact match is found, if an exact match is not present in the
166 * hash table then the default entry is returned if valid otherwise NULL is
[all …]
H A Dnetlabel_addrlist.c36 * netlbl_af4list_search - Search for a matching IPv4 address entry
41 * Searches the IPv4 address list given by @head. If a matching address entry
59 * netlbl_af4list_search_exact - Search for an exact IPv4 address entry
86 * netlbl_af6list_search - Search for a matching IPv6 address entry
91 * Searches the IPv6 address list given by @head. If a matching address entry
110 * netlbl_af6list_search_exact - Search for an exact IPv6 address entry
138 * netlbl_af4list_add - Add a new IPv4 address entry to a list
139 * @entry: address entry
143 * Add a new address entry to the list pointed to by @head. On success zero is
148 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) in netlbl_af4list_add() argument
[all …]
/linux/tools/perf/util/
H A Dblock-range.c19 struct block_range *entry = rb_entry(rb, struct block_range, node); in block_range__debug() local
21 assert(old < entry->start); in block_range__debug()
22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
24 old = entry->end; in block_range__debug()
33 struct block_range *entry; in block_range__find() local
37 entry = rb_entry(parent, struct block_range, node); in block_range__find()
39 if (addr < entry->start) in block_range__find()
41 else if (addr > entry->end) in block_range__find()
44 return entry; in block_range__find()
81 struct block_range *next, *entry = NULL; block_range__create() local
[all...]
/linux/security/integrity/ima/
H A Dima_policy.c390 static void ima_lsm_free_rule(struct ima_rule_entry *entry) in ima_lsm_free_rule() argument
395 ima_filter_rule_free(entry->lsm[i].rule); in ima_lsm_free_rule()
396 kfree(entry->lsm[i].args_p); in ima_lsm_free_rule()
400 static void ima_free_rule(struct ima_rule_entry *entry) in ima_free_rule() argument
402 if (!entry) in ima_free_rule()
406 * entry->template->fields may be allocated in ima_parse_rule() but that in ima_free_rule()
410 kfree(entry->fsname); in ima_free_rule()
411 kfree(entry->fs_subtype); in ima_free_rule()
412 ima_free_rule_opt_list(entry->keyrings); in ima_free_rule()
413 ima_lsm_free_rule(entry); in ima_free_rule()
417 ima_lsm_copy_rule(struct ima_rule_entry * entry,gfp_t gfp) ima_lsm_copy_rule() argument
451 ima_lsm_update_rule(struct ima_rule_entry * entry) ima_lsm_update_rule() argument
475 ima_rule_contains_lsm_cond(struct ima_rule_entry * entry) ima_rule_contains_lsm_cond() argument
493 struct ima_rule_entry *entry, *e; ima_lsm_update_rules() local
771 struct ima_rule_entry *entry; ima_match_policy() local
839 struct ima_rule_entry *entry; ima_update_policy_flags() local
896 struct ima_rule_entry *entry; add_rules() local
1159 ima_lsm_rule_init(struct ima_rule_entry * entry,substring_t * args,int lsm_rule,int audit_type) ima_lsm_rule_init() argument
1271 ima_validate_rule(struct ima_rule_entry * entry) ima_validate_rule() argument
1441 ima_parse_rule(char * rule,struct ima_rule_entry * entry) ima_parse_rule() argument
1981 struct ima_rule_entry *entry; ima_parse_add_rule() local
2027 struct ima_rule_entry *entry, *tmp; ima_delete_rules() local
2056 struct ima_rule_entry *entry; ima_policy_start() local
2073 struct ima_rule_entry *entry = v; ima_policy_next() local
2130 struct ima_rule_entry *entry = v; ima_policy_show() local
2353 struct ima_rule_entry *entry; ima_appraise_signature() local
[all...]
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c93 struct hlist_node entry; member
103 struct hlist_node entry; member
130 struct hlist_node entry; member
142 struct hlist_node entry; member
149 struct hlist_node entry; member
307 const struct ofdpa_flow_tbl_entry *entry) in ofdpa_cmd_flow_tbl_add_ig_port() argument
310 entry->key.ig_port.in_pport)) in ofdpa_cmd_flow_tbl_add_ig_port()
313 entry->key.ig_port.in_pport_mask)) in ofdpa_cmd_flow_tbl_add_ig_port()
316 entry->key.ig_port.goto_tbl)) in ofdpa_cmd_flow_tbl_add_ig_port()
324 const struct ofdpa_flow_tbl_entry *entry) in ofdpa_cmd_flow_tbl_add_vlan() argument
348 ofdpa_cmd_flow_tbl_add_term_mac(struct rocker_desc_info * desc_info,const struct ofdpa_flow_tbl_entry * entry) ofdpa_cmd_flow_tbl_add_term_mac() argument
384 ofdpa_cmd_flow_tbl_add_ucast_routing(struct rocker_desc_info * desc_info,const struct ofdpa_flow_tbl_entry * entry) ofdpa_cmd_flow_tbl_add_ucast_routing() argument
407 ofdpa_cmd_flow_tbl_add_bridge(struct rocker_desc_info * desc_info,const struct ofdpa_flow_tbl_entry * entry) ofdpa_cmd_flow_tbl_add_bridge() argument
441 ofdpa_cmd_flow_tbl_add_acl(struct rocker_desc_info * desc_info,const struct ofdpa_flow_tbl_entry * entry) ofdpa_cmd_flow_tbl_add_acl() argument
510 const struct ofdpa_flow_tbl_entry *entry = priv; ofdpa_cmd_flow_tbl_add() local
567 const struct ofdpa_flow_tbl_entry *entry = priv; ofdpa_cmd_flow_tbl_del() local
585 ofdpa_cmd_group_tbl_add_l2_interface(struct rocker_desc_info * desc_info,struct ofdpa_group_tbl_entry * entry) ofdpa_cmd_group_tbl_add_l2_interface() argument
599 ofdpa_cmd_group_tbl_add_l2_rewrite(struct rocker_desc_info * desc_info,const struct ofdpa_group_tbl_entry * entry) ofdpa_cmd_group_tbl_add_l2_rewrite() argument
622 ofdpa_cmd_group_tbl_add_group_ids(struct rocker_desc_info * desc_info,const struct ofdpa_group_tbl_entry * entry) ofdpa_cmd_group_tbl_add_group_ids() argument
648 ofdpa_cmd_group_tbl_add_l3_unicast(struct rocker_desc_info * desc_info,const struct ofdpa_group_tbl_entry * entry) ofdpa_cmd_group_tbl_add_l3_unicast() argument
676 struct ofdpa_group_tbl_entry *entry = priv; ofdpa_cmd_group_tbl_add() local
721 const struct ofdpa_group_tbl_entry *entry = priv; ofdpa_cmd_group_tbl_del() local
828 ofdpa_flow_tbl_do(struct ofdpa_port * ofdpa_port,int flags,struct ofdpa_flow_tbl_entry * entry) ofdpa_flow_tbl_do() argument
840 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_ig_port() local
862 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_vlan() local
888 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_term_mac() local
924 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_bridge() local
978 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_ucast4_routing() local
1008 struct ofdpa_flow_tbl_entry *entry; ofdpa_flow_tbl_acl() local
1127 ofdpa_group_tbl_do(struct ofdpa_port * ofdpa_port,int flags,struct ofdpa_group_tbl_entry * entry) ofdpa_group_tbl_do() argument
1139 struct ofdpa_group_tbl_entry *entry; ofdpa_group_l2_interface() local
1155 struct ofdpa_group_tbl_entry *entry; ofdpa_group_l2_fan_out() local
1183 struct ofdpa_group_tbl_entry *entry; ofdpa_group_l3_unicast() local
1215 ofdpa_neigh_add(struct ofdpa * ofdpa,struct ofdpa_neigh_tbl_entry * entry) ofdpa_neigh_add() argument
1223 ofdpa_neigh_del(struct ofdpa_neigh_tbl_entry * entry) ofdpa_neigh_del() argument
1231 ofdpa_neigh_update(struct ofdpa_neigh_tbl_entry * entry,const u8 * eth_dst,bool ttl_check) ofdpa_neigh_update() argument
1246 struct ofdpa_neigh_tbl_entry *entry; ofdpa_port_ipv4_neigh() local
1363 struct ofdpa_neigh_tbl_entry *entry; ofdpa_port_ipv4_nh() local
1973 struct ofdpa_fdb_tbl_entry *entry; ofdpa_fdb_cleanup() local
2216 struct ofdpa_internal_vlan_tbl_entry *entry; ofdpa_port_internal_vlan_id_get() local
[all...]
/linux/lib/
H A Dxarray.c24 * @index is the index of the entry being operated on
30 * @entry refers to something stored in a slot in the xarray
120 * xas_squash_marks() - Merge all marks to the first entry
123 * Set a mark on the first entry if any entry has it set. Clear marks on
184 void *entry; in xas_start() local
191 entry = xa_head(xas->xa); in xas_start()
192 if (!xa_is_node(entry)) { in xas_start()
196 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK) in xas_start()
201 return entry; in xas_start()
208 void *entry = xa_entry(xas->xa, node, offset); xas_descend() local
239 void *entry = xas_start(xas); xas_load() local
433 max_index(void * entry) max_index() argument
440 xa_zero_to_null(void * entry) xa_zero_to_null() argument
451 void *entry; xas_shrink() local
537 void *entry = xa_entry_locked(xas->xa, node, offset); xas_free_nodes() local
650 void *entry; xas_create() local
783 xas_store(struct xa_state * xas,void * entry) xas_store() argument
1012 __xas_init_node_for_split(struct xa_state * xas,struct xa_node * node,void * entry) __xas_init_node_for_split() argument
1045 xas_split_alloc(struct xa_state * xas,void * entry,unsigned int order,gfp_t gfp) xas_split_alloc() argument
1089 xas_split(struct xa_state * xas,void * entry,unsigned int order) xas_split() argument
1178 xas_try_split(struct xa_state * xas,void * entry,unsigned int order) xas_try_split() argument
1311 void *entry; __xas_prev() local
1350 void *entry; __xas_next() local
1398 void *entry; xas_find() local
1469 void *entry; xas_find_marked() local
1618 void *entry; xa_load() local
1670 void *entry; xa_erase() local
1695 __xa_store(struct xarray * xa,unsigned long index,void * entry,gfp_t gfp) __xa_store() argument
1732 xa_store(struct xarray * xa,unsigned long index,void * entry,gfp_t gfp) xa_store() argument
1767 __xa_cmpxchg(struct xarray * xa,unsigned long index,void * old,void * entry,gfp_t gfp) __xa_cmpxchg() argument
1774 __xa_cmpxchg_raw(struct xarray * xa,unsigned long index,void * old,void * entry,gfp_t gfp) __xa_cmpxchg_raw() argument
1810 __xa_insert(struct xarray * xa,unsigned long index,void * entry,gfp_t gfp) __xa_insert() argument
1876 xa_store_range(struct xarray * xa,unsigned long first,unsigned long last,void * entry,gfp_t gfp) xa_store_range() argument
1955 void *entry; xa_get_order() local
1988 __xa_alloc(struct xarray * xa,u32 * id,void * entry,struct xa_limit limit,gfp_t gfp) __xa_alloc() argument
2040 __xa_alloc_cyclic(struct xarray * xa,u32 * id,void * entry,struct xa_limit limit,u32 * next,gfp_t gfp) __xa_alloc_cyclic() argument
2082 void *entry = xas_load(&xas); __xa_set_mark() local
2100 void *entry = xas_load(&xas); __xa_clear_mark() local
2122 void *entry; xa_get_mark() local
2196 void *entry; xa_find() local
2246 void *entry; xa_find_after() local
2276 void *entry; xas_extract_present() local
2295 void *entry; xas_extract_marked() local
2390 void *entry; xa_destroy() local
2439 xa_dump_entry(const void * entry,unsigned long index,unsigned long shift) xa_dump_entry() argument
2474 void *entry = xa->xa_head; xa_dump() local
[all...]
/linux/fs/
H A Ddax.c53 * for pages. We use one bit for locking, one bit for the entry size (PMD)
54 * and two more to tell us if the entry is a zero page or an empty entry that
57 * If the PMD bit isn't set the entry has size PAGE_SIZE, and if the ZERO_PAGE
58 * and EMPTY bits aren't set the entry is a normal DAX entry with a filesystem
67 static unsigned long dax_to_pfn(void *entry) in dax_to_pfn() argument
69 return xa_to_value(entry) >> DAX_SHIFT; in dax_to_pfn()
72 static struct folio *dax_to_folio(void *entry) in dax_to_folio() argument
74 return page_folio(pfn_to_page(dax_to_pfn(entry))); in dax_to_folio()
82 dax_is_locked(void * entry) dax_is_locked() argument
87 dax_entry_order(void * entry) dax_entry_order() argument
94 dax_is_pmd_entry(void * entry) dax_is_pmd_entry() argument
99 dax_is_pte_entry(void * entry) dax_is_pte_entry() argument
104 dax_is_zero_entry(void * entry) dax_is_zero_entry() argument
109 dax_is_empty_entry(void * entry) dax_is_empty_entry() argument
118 dax_is_conflict(void * entry) dax_is_conflict() argument
147 dax_entry_waitqueue(struct xa_state * xas,void * entry,struct exceptional_entry_key * key) dax_entry_waitqueue() argument
184 dax_wake_entry(struct xa_state * xas,void * entry,enum dax_wake_mode mode) dax_wake_entry() argument
214 void *entry; get_next_unlocked_entry() local
246 wait_entry_unlocked_exclusive(struct xa_state * xas,void * entry) wait_entry_unlocked_exclusive() argument
277 wait_entry_unlocked(struct xa_state * xas,void * entry) wait_entry_unlocked() argument
298 put_unlocked_entry(struct xa_state * xas,void * entry,enum dax_wake_mode mode) put_unlocked_entry() argument
310 dax_unlock_entry(struct xa_state * xas,void * entry) dax_unlock_entry() argument
326 dax_lock_entry(struct xa_state * xas,void * entry) dax_lock_entry() argument
332 dax_entry_size(void * entry) dax_entry_size() argument
458 dax_folio_init(void * entry) dax_folio_init() argument
476 dax_associate_entry(void * entry,struct address_space * mapping,struct vm_area_struct * vma,unsigned long address,bool shared) dax_associate_entry() argument
504 dax_disassociate_entry(void * entry,struct address_space * mapping,bool trunc) dax_disassociate_entry() argument
516 dax_busy_page(void * entry) dax_busy_page() argument
541 void *entry; dax_lock_folio() local
609 void *entry; dax_lock_mapping_entry() local
693 void *entry; grab_mapping_entry() local
794 void *entry; dax_layout_busy_page_range() local
850 void *entry; __dax_invalidate_entry() local
875 void *entry; __dax_clear_dirty_range() local
921 void *entry; dax_delete_mapping_range() local
1073 dax_insert_entry(struct xa_state * xas,struct vm_fault * vmf,const struct iomap_iter * iter,void * entry,unsigned long pfn,unsigned long flags) dax_insert_entry() argument
1131 dax_writeback_one(struct xa_state * xas,struct dax_device * dax_dev,struct address_space * mapping,void * entry) dax_writeback_one() argument
1235 void *entry; dax_writeback_mapping_range() local
1389 dax_load_hole(struct xa_state * xas,struct vm_fault * vmf,const struct iomap_iter * iter,void ** entry) dax_load_hole() argument
1405 dax_pmd_load_hole(struct xa_state * xas,struct vm_fault * vmf,const struct iomap_iter * iter,void ** entry) dax_pmd_load_hole() argument
1429 dax_pmd_load_hole(struct xa_state * xas,struct vm_fault * vmf,const struct iomap_iter * iter,void ** entry) dax_pmd_load_hole() argument
1837 dax_fault_iter(struct vm_fault * vmf,const struct iomap_iter * iter,unsigned long * pfnp,struct xa_state * xas,void ** entry,bool pmd) dax_fault_iter() argument
1904 void *entry; dax_iomap_pte_fault() local
2014 void *entry; dax_iomap_pmd_fault() local
2129 void *entry; dax_insert_pfn_mkwrite() local
[all...]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_debugfs.c60 struct mvpp2_dbgfs_flow_tbl_entry *entry = s->private; in mvpp2_dbgfs_flow_flt_hits_show() local
62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); in mvpp2_dbgfs_flow_flt_hits_show()
73 struct mvpp2_dbgfs_flow_entry *entry = s->private; in mvpp2_dbgfs_flow_dec_hits_show() local
75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show()
86 struct mvpp2_dbgfs_flow_entry *entry = s->private; in mvpp2_dbgfs_flow_type_show() local
90 f = mvpp2_cls_flow_get(entry->flow); in mvpp2_dbgfs_flow_type_show()
126 const struct mvpp2_dbgfs_flow_entry *entry = s->private; in mvpp2_dbgfs_flow_id_show() local
129 f = mvpp2_cls_flow_get(entry->flow); in mvpp2_dbgfs_flow_id_show()
142 struct mvpp2_dbgfs_port_flow_entry *entry = s->private; in mvpp2_dbgfs_port_flow_hash_opt_show() local
143 struct mvpp2_port *port = entry->port; in mvpp2_dbgfs_port_flow_hash_opt_show()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c185 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() argument
187 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_l2()
190 return &entry->bridge.l2; in mtk_foe_entry_l2()
193 return &entry->ipv6.l2; in mtk_foe_entry_l2()
195 return &entry->ipv4.l2; in mtk_foe_entry_l2()
199 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() argument
201 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_ib2()
204 return &entry->bridge.ib2; in mtk_foe_entry_ib2()
207 return &entry->ipv6.ib2; in mtk_foe_entry_ib2()
209 return &entry in mtk_foe_entry_ib2()
212 mtk_foe_entry_prepare(struct mtk_eth * eth,struct mtk_foe_entry * entry,int type,int l4proto,u8 pse_port,u8 * src_mac,u8 * dest_mac) mtk_foe_entry_prepare() argument
280 mtk_foe_entry_set_pse_port(struct mtk_eth * eth,struct mtk_foe_entry * entry,u8 port) mtk_foe_entry_set_pse_port() argument
298 mtk_foe_entry_set_ipv4_tuple(struct mtk_eth * eth,struct mtk_foe_entry * entry,bool egress,__be32 src_addr,__be16 src_port,__be32 dest_addr,__be16 dest_port) mtk_foe_entry_set_ipv4_tuple() argument
338 mtk_foe_entry_set_ipv6_tuple(struct mtk_eth * eth,struct mtk_foe_entry * entry,__be32 * src_addr,__be16 src_port,__be32 * dest_addr,__be16 dest_port) mtk_foe_entry_set_ipv6_tuple() argument
370 mtk_foe_entry_set_dsa(struct mtk_eth * eth,struct mtk_foe_entry * entry,int port) mtk_foe_entry_set_dsa() argument
387 mtk_foe_entry_set_vlan(struct mtk_eth * eth,struct mtk_foe_entry * entry,int vid) mtk_foe_entry_set_vlan() argument
412 mtk_foe_entry_set_pppoe(struct mtk_eth * eth,struct mtk_foe_entry * entry,int sid) mtk_foe_entry_set_pppoe() argument
427 mtk_foe_entry_set_wdma(struct mtk_eth * eth,struct mtk_foe_entry * entry,int wdma_idx,int txq,int bss,int wcid,bool amsdu_en) mtk_foe_entry_set_wdma() argument
464 mtk_foe_entry_set_queue(struct mtk_eth * eth,struct mtk_foe_entry * entry,unsigned int queue) mtk_foe_entry_set_queue() argument
483 mtk_flow_entry_match(struct mtk_eth * eth,struct mtk_flow_entry * entry,struct mtk_foe_entry * data) mtk_flow_entry_match() argument
501 __mtk_foe_entry_clear(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) __mtk_foe_entry_clear() argument
555 mtk_flow_entry_update_l2(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_flow_entry_update_l2() argument
588 mtk_flow_entry_update(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_flow_entry_update() argument
617 __mtk_foe_entry_commit(struct mtk_ppe * ppe,struct mtk_foe_entry * entry,u16 hash) __mtk_foe_entry_commit() argument
653 mtk_foe_entry_clear(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_foe_entry_clear() argument
661 mtk_foe_entry_commit_l2(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_foe_entry_commit_l2() argument
679 mtk_foe_entry_commit(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_foe_entry_commit() argument
698 mtk_foe_entry_commit_subflow(struct mtk_ppe * ppe,struct mtk_flow_entry * entry,u16 hash) mtk_foe_entry_commit_subflow() argument
743 struct mtk_flow_entry *entry; __mtk_ppe_check_skb() local
817 mtk_foe_entry_idle_time(struct mtk_ppe * ppe,struct mtk_flow_entry * entry) mtk_foe_entry_idle_time() argument
[all...]
/linux/net/netfilter/
H A Dnf_queue.c59 static void nf_queue_entry_release_refs(struct nf_queue_entry *entry) in nf_queue_entry_release_refs() argument
61 struct nf_hook_state *state = &entry->state; in nf_queue_entry_release_refs()
64 dev_put(entry->skb_dev); in nf_queue_entry_release_refs()
71 dev_put(entry->bridge_dev); in nf_queue_entry_release_refs()
72 dev_put(entry->physin); in nf_queue_entry_release_refs()
73 dev_put(entry->physout); in nf_queue_entry_release_refs()
77 void nf_queue_entry_free(struct nf_queue_entry *entry) in nf_queue_entry_free() argument
79 nf_queue_entry_release_refs(entry); in nf_queue_entry_free()
80 kfree(entry); in nf_queue_entry_free()
84 static void __nf_queue_entry_init_physdevs(struct nf_queue_entry *entry) in __nf_queue_entry_init_physdevs() argument
112 nf_queue_entry_get_refs(struct nf_queue_entry * entry) nf_queue_entry_get_refs() argument
145 nf_ip_saveroute(const struct sk_buff * skb,struct nf_queue_entry * entry) nf_ip_saveroute() argument
160 nf_ip6_saveroute(const struct sk_buff * skb,struct nf_queue_entry * entry) nf_ip6_saveroute() argument
176 struct nf_queue_entry *entry = NULL; __nf_queue() local
[all...]
/linux/drivers/gpio/
H A Dgpiolib-shared.c71 struct gpio_shared_entry *entry; in gpio_shared_find_entry() local
73 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_shared_find_entry()
74 if (entry->fwnode == controller_node && entry->offset == offset) in gpio_shared_find_entry()
75 return entry; in gpio_shared_find_entry()
110 static int gpio_shared_setup_reset_proxy(struct gpio_shared_entry *entry, in gpio_shared_setup_reset_proxy() argument
115 list_for_each_entry(ref, &entry->refs, list) { in gpio_shared_setup_reset_proxy()
127 list_add_tail(&ref->list, &entry->refs); in gpio_shared_setup_reset_proxy()
130 entry->offset, fwnode_get_name(entry in gpio_shared_setup_reset_proxy()
161 struct gpio_shared_entry *entry; gpio_shared_of_traverse() local
315 gpio_shared_make_adev(struct gpio_device * gdev,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_make_adev() argument
360 gpio_shared_dev_is_reset_gpio(struct device * consumer,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_dev_is_reset_gpio() argument
442 gpio_shared_dev_is_reset_gpio(struct device * consumer,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_dev_is_reset_gpio() argument
452 struct gpio_shared_entry *entry; gpio_shared_add_proxy_lookup() local
523 struct gpio_shared_entry *entry; gpiochip_setup_shared() local
608 struct gpio_shared_entry *entry; gpio_device_teardown_shared() local
634 struct gpio_shared_entry *entry = gpio_shared_release() local
649 struct gpio_shared_entry *entry = data; gpiod_shared_put() local
655 gpiod_shared_desc_create(struct gpio_shared_entry * entry) gpiod_shared_desc_create() argument
681 struct gpio_shared_entry *entry; devm_gpiod_shared_get() local
726 gpio_shared_drop_entry(struct gpio_shared_entry * entry) gpio_shared_drop_entry() argument
740 struct gpio_shared_entry *entry, *epos; gpio_shared_teardown() local
751 gpio_shared_entry_is_really_shared(struct gpio_shared_entry * entry) gpio_shared_entry_is_really_shared() argument
779 struct gpio_shared_entry *entry, *epos; gpio_shared_free_exclusive() local
[all...]
/linux/drivers/net/dsa/microchip/
H A Dksz9477_acl.c117 * ksz9477_dump_acl_index - Print the ACL entry at the specified index
120 * @acle: Pointer to the ACL entry array.
121 * @index: The index of the ACL entry to print.
123 * This function prints the details of an ACL entry, located at a particular
127 * Return: 1 if the entry is non-empty and printed, 0 otherwise.
134 u8 *entry; in ksz9477_dump_acl_index() local
137 entry = &acle[index].entry[0]; in ksz9477_dump_acl_index()
139 if (entry[i]) in ksz9477_dump_acl_index()
142 sprintf(buf + (i * 3), "%02x ", entry[i]); in ksz9477_dump_acl_index()
149 dev_err(dev->dev, " Entry %02d, prio: %02d : %s", index, in ksz9477_dump_acl_index()
[all …]
/linux/fs/ceph/
H A Dsubvolume_metrics.c61 struct ceph_subvol_metric_rb_entry *entry = in __lookup_entry() local
64 if (subvol_id < entry->subvolume_id) in __lookup_entry()
66 else if (subvol_id > entry->subvolume_id) in __lookup_entry()
69 return entry; in __lookup_entry()
77 struct ceph_subvol_metric_rb_entry *entry) in __insert_entry() argument
88 if (entry->subvolume_id < cur->subvolume_id) in __insert_entry()
90 else if (entry->subvolume_id > cur->subvolume_id) { in __insert_entry()
97 rb_link_node(&entry->node, parent, link); in __insert_entry()
98 rb_insert_color_cached(&entry->node, &tracker->tree, leftmost); in __insert_entry()
100 return entry; in __insert_entry()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_span.c28 struct prestera_span_entry *entry; in prestera_span_entry_create() local
30 entry = kzalloc_obj(*entry); in prestera_span_entry_create()
31 if (!entry) in prestera_span_entry_create()
34 refcount_set(&entry->ref_count, 1); in prestera_span_entry_create()
35 entry->port = port; in prestera_span_entry_create()
36 entry->id = span_id; in prestera_span_entry_create()
37 list_add_tail(&entry->list, &port->sw->span->entries); in prestera_span_entry_create()
39 return entry; in prestera_span_entry_create()
42 static void prestera_span_entry_del(struct prestera_span_entry *entry) in prestera_span_entry_del() argument
44 list_del(&entry->list); in prestera_span_entry_del()
[all …]
/linux/Documentation/core-api/
H A Dxarray.rst15 next or previous entry in a cache-efficient manner. In contrast to a
35 You must first convert it into an entry using xa_mk_value().
36 When you retrieve an entry from the XArray, you can check whether it is
37 a value entry by calling xa_is_value(), and convert it back to
41 call xa_tag_pointer() to create an entry with a tag, xa_untag_pointer()
42 to turn a tagged entry back into an untagged pointer and xa_pointer_tag()
43 to retrieve the tag of an entry. Tagged pointers use the same bits that
53 the range will return the same entry as looking up any other index in
56 xa_erase() or xa_store() with ``NULL``) any entry will cause the XArray
68 xa_load(). xa_store() will overwrite any entry with the new entry and
[all …]
/linux/rust/kernel/debugfs/
H A Dentry.rs16 /// Owning handle to a DebugFS entry. field
21 pub(crate) struct Entry<'a> {
22 entry: *mut bindings::dentry,
24 _parent: Option<Arc<Entry<'static>>>,
29 // SAFETY: [`Entry`] is just a `dentry` under the hood, which the API promises can be transferred
31 unsafe impl Send for Entry<'_> {} in dynamic_dir()
34 unsafe impl Sync for Entry<'_> {} in dynamic_dir()
36 impl Entry<'static> { in dynamic_dir()
39 Some(entry) => entry in dynamic_dir()
15 pub(crate) struct Entry<'a> { global() struct
18 _parentEntry global() argument
23 _phantomEntry global() argument
25 unsafe impl Send for Entry<'_> {} global() implementation
28 unsafe impl Sync for Entry<'_> {} global() implementation
30 impl Entry<'static> { global() implementation
40 let entry = unsafe { bindings::debugfs_create_dir(name.as_char_ptr(), parent_ptr) }; dynamic_dir() localVariable
64 let entry = unsafe { dynamic_file() localVariable
83 impl<'a> Entry<'a> { global() implementation
94 let entry = unsafe { bindings::debugfs_create_dir(name.as_char_ptr(), parent_ptr) }; dir() localVariable
117 let entry = unsafe { file() localVariable
136 impl Entry<'_> { global() implementation
158 impl Drop for Entry<'_> { global() implementation
[all...]

12345678910>>...211