Searched refs:table (Results 1 - 25 of 1557) sorted by relevance

1234567891011>>

/linux-master/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; local
34 table = inat_escape_tables[n][0];
35 if (!table)
37 if (inat_has_variant(table[opcode]) && lpfx_id) {
38 table = inat_escape_tables[n][lpfx_id];
39 if (!table)
42 return table[opcode];
48 const insn_attr_t *table; local
53 table = inat_group_tables[n][0];
54 if (!table)
68 const insn_attr_t *table; local
[all...]
/linux-master/tools/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; local
34 table = inat_escape_tables[n][0];
35 if (!table)
37 if (inat_has_variant(table[opcode]) && lpfx_id) {
38 table = inat_escape_tables[n][lpfx_id];
39 if (!table)
42 return table[opcode];
48 const insn_attr_t *table; local
53 table = inat_group_tables[n][0];
54 if (!table)
68 const insn_attr_t *table; local
[all...]
/linux-master/arch/powerpc/boot/
H A Dplanetcore.h23 /* Prepare the table for processing, by turning all newlines
26 void planetcore_prepare_table(char *table);
33 const char *planetcore_get_key(const char *table, const char *key);
34 int planetcore_get_decimal(const char *table, const char *key, u64 *val);
35 int planetcore_get_hex(const char *table, const char *key, u64 *val);
40 void planetcore_set_mac_addrs(const char *table);
45 void planetcore_set_stdout_path(const char *table);
H A Dplanetcore.c17 * a table of key=value strings, separated by newlines.
26 void planetcore_prepare_table(char *table) argument
29 if (*table == '\n')
30 *table = 0;
32 table++;
33 } while (*(table - 1) || *table != '\n');
35 *table = 0;
38 const char *planetcore_get_key(const char *table, const char *key) argument
43 if (!strncmp(table, ke
52 planetcore_get_decimal(const char *table, const char *key, u64 *val) argument
62 planetcore_get_hex(const char *table, const char *key, u64 *val) argument
79 planetcore_set_mac_addrs(const char *table) argument
104 planetcore_set_stdout_path(const char *table) argument
[all...]
H A Dep88xc.c15 static char *table; variable
23 planetcore_set_mac_addrs(table);
25 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) {
36 table = (char *)r3;
37 planetcore_prepare_table(table);
39 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size))
47 planetcore_set_stdout_path(table);
H A Dep8248e.c15 static char *table; variable
25 planetcore_set_mac_addrs(table);
27 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) {
38 table = (char *)r3;
39 planetcore_prepare_table(table);
41 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size))
49 planetcore_set_stdout_path(table);
/linux-master/drivers/md/dm-vdo/
H A Dpriority-table.h15 * an arbitrary entry. The priority of an entry already in the table can be changed by removing it
18 * The links for the table entries must be embedded in the entries themselves. Lists are used to
19 * link entries in the table and no wrapper type is declared, so an existing list entry in an
23 * The table is implemented as an array of queues (circular lists) indexed by priority, along with
25 * height priority queue", but given the resemblance to a hash table, "priority table" seems both
34 void vdo_free_priority_table(struct priority_table *table);
36 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority,
39 void vdo_reset_priority_table(struct priority_table *table);
41 struct list_head * __must_check vdo_priority_table_dequeue(struct priority_table *table);
[all...]
H A Dpriority-table.c6 #include "priority-table.h"
21 * priority. The table is essentially an array of buckets.
25 * The head of a queue of table entries, all having the same priority
33 * A priority table is an array of buckets, indexed by priority. New entries are added to the end
39 /* The maximum priority of entries that may be stored in this table */
49 * @max_priority: The maximum priority value for table entries.
50 * @table_ptr: A pointer to hold the new table.
56 struct priority_table *table; local
64 struct bucket, __func__, &table);
69 struct bucket *bucket = &table
88 vdo_free_priority_table(struct priority_table *table) argument
110 vdo_reset_priority_table(struct priority_table *table) argument
127 vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority, struct list_head *entry) argument
140 mark_bucket_empty(struct priority_table *table, struct bucket *bucket) argument
155 vdo_priority_table_dequeue(struct priority_table *table) argument
189 vdo_priority_table_remove(struct priority_table *table, struct list_head *entry) argument
221 vdo_is_priority_table_empty(struct priority_table *table) argument
[all...]
/linux-master/drivers/net/wireguard/
H A Dpeerlookup.c10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, argument
17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key);
19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)];
24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); local
26 if (!table)
29 get_random_bytes(&table->key, sizeof(table->key));
30 hash_init(table
35 wg_pubkey_hashtable_add(struct pubkey_hashtable *table, struct wg_peer *peer) argument
44 wg_pubkey_hashtable_remove(struct pubkey_hashtable *table, struct wg_peer *peer) argument
54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) argument
73 index_bucket(struct index_hashtable *table, const __le32 index) argument
85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); local
119 wg_index_hashtable_insert(struct index_hashtable *table, struct index_hashtable_entry *entry) argument
166 wg_index_hashtable_replace(struct index_hashtable *table, struct index_hashtable_entry *old, struct index_hashtable_entry *new) argument
192 wg_index_hashtable_remove(struct index_hashtable *table, struct index_hashtable_entry *entry) argument
202 wg_index_hashtable_lookup(struct index_hashtable *table, const enum index_hashtable_type type_mask, const __le32 index, struct wg_peer **peer) argument
[all...]
/linux-master/drivers/platform/x86/siemens/
H A Dsimatic-ipc-batt.h15 struct gpiod_lookup_table *table);
18 struct gpiod_lookup_table *table);
/linux-master/tools/power/acpi/tools/acpidump/
H A Dapdump.c15 ap_dump_table_buffer(struct acpi_table_header *table,
22 * PARAMETERS: table - Pointer to table to be validated
26 * DESCRIPTION: Check for a valid ACPI table header
30 u8 ap_is_valid_header(struct acpi_table_header *table) argument
33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) {
37 if (!acpi_ut_valid_nameseg(table->signature)) {
40 *(u32 *)table->signature);
44 /* Check for minimum table length */
46 if (table
68 ap_is_valid_checksum(struct acpi_table_header *table) argument
106 ap_get_table_length(struct acpi_table_header *table) argument
142 ap_dump_table_buffer(struct acpi_table_header *table, u32 instance, acpi_physical_address address) argument
192 struct acpi_table_header *table; local
251 struct acpi_table_header *table; local
296 struct acpi_table_header *table; local
367 struct acpi_table_header *table; local
[all...]
/linux-master/include/linux/
H A Defi-bgrt.h9 void efi_bgrt_init(struct acpi_table_header *table);
10 int __init acpi_parse_bgrt(struct acpi_table_header *table);
18 static inline void efi_bgrt_init(struct acpi_table_header *table) {} argument
19 static inline int __init acpi_parse_bgrt(struct acpi_table_header *table) argument
/linux-master/scripts/kconfig/
H A Dhashtable.h16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)])
20 * @table: hashtable to add to
24 #define hash_add(table, node, key) \
25 hlist_add_head(node, hash_head(table, key))
29 * @table: hashtable to iterate
33 #define hash_for_each(table, obj, member) \
34 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
35 hlist_for_each_entry(obj, &table[_bk
[all...]
/linux-master/tools/perf/util/
H A Dthreads.c9 return &threads->table[(unsigned int)tid % THREADS__TABLE_SIZE];
14 /* The table lookup removes low bit entropy, but this is just ignored here. */
26 struct threads_table_entry *table = &threads->table[i]; local
28 hashmap__init(&table->shard, key_hash, key_equal, NULL);
29 init_rwsem(&table->lock);
30 table->last_match = NULL;
38 struct threads_table_entry *table = &threads->table[i]; local
40 hashmap__clear(&table
50 struct threads_table_entry *table = &threads->table[i]; local
64 __threads_table_entry__get_last_match(struct threads_table_entry *table, pid_t tid) argument
77 __threads_table_entry__set_last_match(struct threads_table_entry *table, struct thread *th) argument
84 threads_table_entry__set_last_match(struct threads_table_entry *table, struct thread *th) argument
94 struct threads_table_entry *table = threads__table(threads, tid); local
111 struct threads_table_entry *table = threads__table(threads, tid); local
138 struct threads_table_entry *table = &threads->table[i]; local
156 struct threads_table_entry *table = threads__table(threads, thread__tid(thread)); local
173 struct threads_table_entry *table = &threads->table[i]; local
[all...]
/linux-master/drivers/leds/simple/
H A Dsimatic-ipc-leds-gpio.h15 struct gpiod_lookup_table *table,
19 struct gpiod_lookup_table *table,
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c25 const struct drm_i915_mocs_entry *table; member in struct:drm_i915_mocs_table
119 * entries will remain constant and the table will only be updated by
454 struct drm_i915_mocs_table *table)
458 memset(table, 0, sizeof(struct drm_i915_mocs_table));
460 table->unused_entries_index = I915_MOCS_PTE;
462 table->size = ARRAY_SIZE(mtl_mocs_table);
463 table->table = mtl_mocs_table;
464 table->n_entries = MTL_NUM_MOCS_ENTRIES;
465 table
453 get_mocs_settings(struct drm_i915_private *i915, struct drm_i915_mocs_table *table) argument
541 get_entry_control(const struct drm_i915_mocs_table *table, unsigned int index) argument
554 __init_mocs_table(struct intel_uncore *uncore, const struct drm_i915_mocs_table *table, u32 addr) argument
582 init_mocs_table(struct intel_engine_cs *engine, const struct drm_i915_mocs_table *table) argument
593 get_entry_l3cc(const struct drm_i915_mocs_table *table, unsigned int index) argument
614 init_l3cc_table(struct intel_gt *gt, const struct drm_i915_mocs_table *table) argument
632 struct drm_i915_mocs_table table; local
657 struct drm_i915_mocs_table table; local
667 struct drm_i915_mocs_table table; local
[all...]
/linux-master/drivers/acpi/acpica/
H A Dutcksum.c4 * Module Name: utcksum - Support generating table checksums
23 * PARAMETERS: table - ACPI table to verify
24 * length - Length of entire table
28 * DESCRIPTION: Verifies that the table checksums to zero. Optionally returns
31 * not in the RSDT/XSDT, and the CDAT table is never installed
35 acpi_status acpi_ut_verify_checksum(struct acpi_table_header *table, u32 length) argument
43 if (ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_S3PT) ||
44 ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_FACS)) {
48 /* Compute the checksum on the table */
129 acpi_ut_generate_checksum(void *table, u32 length, u8 original_checksum) argument
[all...]
/linux-master/arch/s390/mm/
H A Dpgalloc.c3 * Page table allocation functions
47 unsigned long *table; local
51 table = ptdesc_to_virt(ptdesc);
52 __arch_set_page_dat(table, 1UL << CRST_ALLOC_ORDER);
53 return table;
56 void crst_table_free(struct mm_struct *mm, unsigned long *table) argument
58 pagetable_free(virt_to_ptdesc(table));
141 u64 *table; local
145 table = (u64 *)ptdesc_to_virt(ptdesc);
146 __arch_set_page_dat(table,
163 unsigned long *table; local
187 page_table_free(struct mm_struct *mm, unsigned long *table) argument
194 __tlb_remove_table(void *table) argument
237 unsigned long *table; local
245 base_pgt_free(unsigned long *table) argument
252 unsigned long *table; local
263 base_crst_free(unsigned long *table) argument
312 unsigned long *ste, next, *table; local
341 unsigned long *rtte, next, *table; local
369 unsigned long *rste, next, *table; local
397 unsigned long *rfte, next, *table; local
431 unsigned long *table = __va(asce & _ASCE_ORIGIN); local
483 unsigned long asce, *table, end; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c40 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) argument
42 return xa_load(&table->function_ids, fn_id);
45 static int mlx5_sf_function_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) argument
47 return xa_insert(&table->function_ids, sf->hw_fn_id, sf, GFP_KERNEL);
50 static void mlx5_sf_function_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) argument
52 xa_erase(&table->function_ids, sf->hw_fn_id);
56 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, argument
70 id_err = mlx5_sf_hw_table_sf_alloc(table->dev, controller, sfnum);
82 hw_fn_id = mlx5_sf_sw_to_hw_id(table->dev, controller, sf->id);
83 dl_port_index = mlx5_esw_vport_to_devlink_port_index(table
105 mlx5_sf_free(struct mlx5_sf_table *table, struct mlx5_sf *sf) argument
151 struct mlx5_sf_table *table = dev->priv.sf_table; local
198 mlx5_sf_state_set(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, struct mlx5_sf *sf, enum devlink_port_fn_state state, struct netlink_ext_ack *extack) argument
224 struct mlx5_sf_table *table = dev->priv.sf_table; local
230 mlx5_sf_add(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, const struct devlink_port_new_attrs *new_attr, struct netlink_ext_ack *extack, struct devlink_port **dl_port) argument
298 struct mlx5_sf_table *table = dev->priv.sf_table; local
319 mlx5_sf_dealloc(struct mlx5_sf_table *table, struct mlx5_sf *sf) argument
344 mlx5_sf_del(struct mlx5_sf_table *table, struct mlx5_sf *sf) argument
357 struct mlx5_sf_table *table = dev->priv.sf_table; local
381 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, vhca_nb); local
404 mlx5_sf_del_all(struct mlx5_sf_table *table) argument
415 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, esw_nb); local
431 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, mdev_nb); local
456 struct mlx5_sf_table *table; local
496 struct mlx5_sf_table *table = dev->priv.sf_table; local
[all...]
/linux-master/drivers/soc/samsung/
H A Dexynos-asv.h30 struct exynos_asv_table table; member in struct:exynos_asv_subsys
45 unsigned int table; member in struct:exynos_asv
53 static inline u32 __asv_get_table_entry(const struct exynos_asv_table *table, argument
56 return table->buf[row * (table->num_cols) + col];
62 return __asv_get_table_entry(&subsys->table, level, group + 1);
68 return __asv_get_table_entry(&subsys->table, level, 0);
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddump.c120 struct iwl_umac_error_event_table table = {}; local
129 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table));
131 if (table.valid)
132 fwrt->dump.umac_err_id = table.error_id;
141 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) {
144 fwrt->trans->status, table.valid);
147 if ((table.error_id & ~FW_SYSASSERT_CPU_MASK) ==
154 IWL_ERR(fwrt, "0x%08X | %s\n", table.error_id,
155 iwl_fw_lookup_assert_desc(table
174 struct iwl_error_event_table table = {}; local
297 struct iwl_tcm_error_event_table table = {}; local
371 struct iwl_rcm_error_event_table table = {}; local
[all...]
/linux-master/io_uring/
H A Dfiletable.h8 bool io_alloc_file_tables(struct io_file_table *table, unsigned nr_files);
9 void io_free_file_tables(struct io_file_table *table);
22 static inline void io_file_bitmap_clear(struct io_file_table *table, int bit) argument
24 WARN_ON_ONCE(!test_bit(bit, table->bitmap));
25 __clear_bit(bit, table->bitmap);
26 table->alloc_hint = bit;
29 static inline void io_file_bitmap_set(struct io_file_table *table, int bit) argument
31 WARN_ON_ONCE(test_bit(bit, table->bitmap));
32 __set_bit(bit, table->bitmap);
33 table
37 io_fixed_file_slot(struct io_file_table *table, unsigned i) argument
56 io_file_from_index(struct io_file_table *table, int index) argument
[all...]
/linux-master/scripts/mod/
H A Dsymsearch.c17 * Container used to hold an entire binary search table.
18 * Entries in table are ascending, sorted first by section_index,
27 struct syminfo table[]; member in struct:symsearch
69 struct syminfo *table,
78 table->symbol_index = sym - elf->symtab_start;
79 table->section_index = get_secindex(elf, sym);
80 table->addr = sym->st_value;
88 table->addr &= ~1;
90 table++;
99 * Do any fixups on the table afte
68 symsearch_populate(struct elf_info *elf, struct syminfo *table, unsigned int table_size) argument
113 symsearch_fixup(struct syminfo *table, unsigned int table_size) argument
159 struct syminfo *table = elf->symsearch->table; local
[all...]
/linux-master/fs/squashfs/
H A Did.c15 * converted to 32-bit uids/gids using an id look up table. This table is
16 * stored compressed into metadata blocks. A second index table is used to
17 * locate these. This second index table for speed of access (and because it
30 * Map uid/gid index into real 32-bit uid/gid using the id look up table
58 * Read uncompressed id lookup table indexes from disk into memory
66 __le64 *table; local
78 * The computed size of the index table (length bytes) should exactly
79 * match the table start and end points
84 table
[all...]
/linux-master/lib/
H A Dcrc8.c24 * crc8_populate_msb - fill crc table for given polynomial in reverse bit order.
26 * @table: table to be filled.
27 * @polynomial: polynomial for which table is to be filled.
29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) argument
35 table[0] = 0;
40 table[i+j] = table[j] ^ t;
46 * crc8_populate_lsb - fill crc table for given polynomial in regular bit order.
48 * @table
51 crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) argument
74 crc8(const u8 table[CRC8_TABLE_SIZE], const u8 *pdata, size_t nbytes, u8 crc) argument
[all...]

Completed in 402 milliseconds

1234567891011>>