Home
last modified time | relevance | path

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

12345678910>>...118

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c34 mlx5_sf_lookup_by_index(struct mlx5_sf_table *table, unsigned int port_index) in mlx5_sf_lookup_by_index() argument
36 return xa_load(&table->port_indices, port_index); in mlx5_sf_lookup_by_index()
40 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() argument
45 xa_for_each(&table->port_indices, index, sf) { in mlx5_sf_lookup_by_function_id()
52 static int mlx5_sf_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_insert() argument
54 return xa_insert(&table->port_indices, sf->port_index, sf, GFP_KERNEL); in mlx5_sf_id_insert()
57 static void mlx5_sf_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_erase() argument
59 xa_erase(&table->port_indices, sf->port_index); in mlx5_sf_id_erase()
63 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc() argument
77 id_err = mlx5_sf_hw_table_sf_alloc(table in mlx5_sf_alloc()
112 mlx5_sf_free(struct mlx5_sf_table *table, struct mlx5_sf *sf) mlx5_sf_free() argument
122 struct mlx5_sf_table *table = dev->priv.sf_table; mlx5_sf_table_try_get() local
130 mlx5_sf_table_put(struct mlx5_sf_table *table) mlx5_sf_table_put() argument
175 struct mlx5_sf_table *table; mlx5_devlink_sf_port_fn_state_get() local
234 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) mlx5_sf_state_set() argument
260 struct mlx5_sf_table *table; mlx5_devlink_sf_port_fn_state_set() local
282 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) mlx5_sf_add() argument
344 struct mlx5_sf_table *table; mlx5_devlink_sf_port_new() local
362 mlx5_sf_dealloc(struct mlx5_sf_table *table, struct mlx5_sf *sf) mlx5_sf_dealloc() argument
387 struct mlx5_sf_table *table; mlx5_devlink_sf_port_del() local
431 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, vhca_nb); mlx5_sf_vhca_event() local
459 mlx5_sf_table_enable(struct mlx5_sf_table *table) mlx5_sf_table_enable() argument
465 mlx5_sf_deactivate_all(struct mlx5_sf_table *table) mlx5_sf_deactivate_all() argument
481 mlx5_sf_table_disable(struct mlx5_sf_table *table) mlx5_sf_table_disable() argument
497 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, esw_nb); mlx5_sf_esw_event() local
522 struct mlx5_sf_table *table; mlx5_sf_table_init() local
560 struct mlx5_sf_table *table = dev->priv.sf_table; mlx5_sf_table_cleanup() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c25 const struct drm_i915_mocs_entry *table; member
120 * entries will remain constant and the table will only be updated by
503 struct drm_i915_mocs_table *table) in get_mocs_settings()
507 memset(table, 0, sizeof(struct drm_i915_mocs_table)); in get_mocs_settings()
509 table->unused_entries_index = I915_MOCS_PTE; in get_mocs_settings()
511 table->size = ARRAY_SIZE(mtl_mocs_table); in get_mocs_settings()
512 table->table = mtl_mocs_table; in get_mocs_settings()
513 table->n_entries = MTL_NUM_MOCS_ENTRIES; in get_mocs_settings()
514 table in get_mocs_settings()
502 get_mocs_settings(const struct drm_i915_private *i915, struct drm_i915_mocs_table *table) get_mocs_settings() argument
608 get_entry_control(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_control() argument
621 __init_mocs_table(struct intel_uncore *uncore, const struct drm_i915_mocs_table *table, u32 addr) __init_mocs_table() argument
649 init_mocs_table(struct intel_engine_cs *engine, const struct drm_i915_mocs_table *table) init_mocs_table() argument
660 get_entry_l3cc(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_l3cc() argument
681 init_l3cc_table(struct intel_gt *gt, const struct drm_i915_mocs_table *table) init_l3cc_table() argument
699 struct drm_i915_mocs_table table; intel_mocs_init_engine() local
724 struct drm_i915_mocs_table table; intel_set_mocs_index() local
734 struct drm_i915_mocs_table table; intel_mocs_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireguard/
H A Dpeerlookup.c10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket() argument
17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket()
24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_pubkey_hashtable_alloc() local
26 if (!table) in wg_pubkey_hashtable_alloc()
29 get_random_bytes(&table->key, sizeof(table->key)); in wg_pubkey_hashtable_alloc()
30 hash_init(table in wg_pubkey_hashtable_alloc()
35 wg_pubkey_hashtable_add(struct pubkey_hashtable *table, struct wg_peer *peer) wg_pubkey_hashtable_add() argument
44 wg_pubkey_hashtable_remove(struct pubkey_hashtable *table, struct wg_peer *peer) wg_pubkey_hashtable_remove() argument
54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) wg_pubkey_hashtable_lookup() argument
73 index_bucket(struct index_hashtable *table, const __le32 index) index_bucket() argument
85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); wg_index_hashtable_alloc() local
119 wg_index_hashtable_insert(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_insert() argument
166 wg_index_hashtable_replace(struct index_hashtable *table, struct index_hashtable_entry *old, struct index_hashtable_entry *new) wg_index_hashtable_replace() argument
192 wg_index_hashtable_remove(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_remove() argument
202 wg_index_hashtable_lookup(struct index_hashtable *table, const enum index_hashtable_type type_mask, const __le32 index, struct wg_peer **peer) wg_index_hashtable_lookup() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dpeerlookup.c10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket() argument
17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket()
24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_pubkey_hashtable_alloc() local
26 if (!table) in wg_pubkey_hashtable_alloc()
29 get_random_bytes(&table->key, sizeof(table->key)); in wg_pubkey_hashtable_alloc()
30 hash_init(table in wg_pubkey_hashtable_alloc()
35 wg_pubkey_hashtable_add(struct pubkey_hashtable *table, struct wg_peer *peer) wg_pubkey_hashtable_add() argument
44 wg_pubkey_hashtable_remove(struct pubkey_hashtable *table, struct wg_peer *peer) wg_pubkey_hashtable_remove() argument
54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) wg_pubkey_hashtable_lookup() argument
73 index_bucket(struct index_hashtable *table, const __le32 index) index_bucket() argument
85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); wg_index_hashtable_alloc() local
119 wg_index_hashtable_insert(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_insert() argument
166 wg_index_hashtable_replace(struct index_hashtable *table, struct index_hashtable_entry *old, struct index_hashtable_entry *new) wg_index_hashtable_replace() argument
192 wg_index_hashtable_remove(struct index_hashtable *table, struct index_hashtable_entry *entry) wg_index_hashtable_remove() argument
202 wg_index_hashtable_lookup(struct index_hashtable *table, const enum index_hashtable_type type_mask, const __le32 index, struct wg_peer **peer) wg_index_hashtable_lookup() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c35 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local
37 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated()
85 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local
113 if (!table->max_sfs) { in mlx5_sf_dev_add()
119 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add()
136 err = xa_insert(&table->devices, sf_index, sf_dev, GFP_KERNEL); in mlx5_sf_dev_add()
150 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local
152 xa_erase(&table in mlx5_sf_dev_del()
159 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); mlx5_sf_dev_state_change_handler() local
203 mlx5_sf_dev_vhca_arm_all(struct mlx5_sf_dev_table *table) mlx5_sf_dev_vhca_arm_all() argument
226 struct mlx5_sf_dev_table *table = container_of(work, struct mlx5_sf_dev_table, work); mlx5_sf_dev_add_active_work() local
272 mlx5_sf_dev_queue_active_work(struct mlx5_sf_dev_table *table) mlx5_sf_dev_queue_active_work() argument
288 mlx5_sf_dev_destroy_active_work(struct mlx5_sf_dev_table *table) mlx5_sf_dev_destroy_active_work() argument
298 struct mlx5_sf_dev_table *table; mlx5_sf_dev_table_create() local
350 mlx5_sf_dev_destroy_all(struct mlx5_sf_dev_table *table) mlx5_sf_dev_destroy_all() argument
363 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; mlx5_sf_dev_table_destroy() local
[all...]
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dpgalloc.c3 * Page table allocation functions
64 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument
66 free_pages((unsigned long) table, 2); in crst_table_free()
169 u64 *table; in page_table_alloc_pgste() local
173 table = (u64 *)page_to_phys(page); in page_table_alloc_pgste()
174 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste()
175 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste()
188 * page table entry allocation/free routines.
192 unsigned long *table; in page_table_alloc() local
196 /* Try to get a fragment of a 4K page as a 2K page table */ in page_table_alloc()
246 page_table_free(struct mm_struct *mm, unsigned long *table) page_table_free() argument
275 page_table_free_rcu(struct mmu_gather *tlb, unsigned long *table, unsigned long vmaddr) page_table_free_rcu() argument
306 void *table = (void *)((unsigned long) _table ^ mask); __tlb_remove_table() local
338 u64 *table; base_pgt_alloc() local
346 base_pgt_free(unsigned long table) base_pgt_free() argument
353 unsigned long table; base_crst_alloc() local
361 base_crst_free(unsigned long table) base_crst_free() argument
410 unsigned long *ste, next, table; base_segment_walk() local
439 unsigned long *rtte, next, table; base_region3_walk() local
467 unsigned long *rste, next, table; base_region2_walk() local
495 unsigned long *rfte, next, table; base_region1_walk() local
529 unsigned long table = asce & _ASCE_ORIGIN; base_asce_free() local
581 unsigned long asce, table, end; base_asce_alloc() local
[all...]
/kernel/linux/linux-5.10/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) in ap_is_valid_header() argument
33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
44 /* Check for minimum table length */ in ap_is_valid_header()
46 if (table in ap_is_valid_header()
68 ap_is_valid_checksum(struct acpi_table_header *table) ap_is_valid_checksum() argument
104 ap_get_table_length(struct acpi_table_header *table) ap_get_table_length() argument
140 ap_dump_table_buffer(struct acpi_table_header *table, u32 instance, acpi_physical_address address) ap_dump_table_buffer() argument
190 struct acpi_table_header *table; ap_dump_all_tables() local
249 struct acpi_table_header *table; ap_dump_table_by_address() local
294 struct acpi_table_header *table; ap_dump_table_by_name() local
365 struct acpi_table_header *table; ap_dump_table_from_file() local
[all...]
/kernel/linux/linux-6.6/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) in ap_is_valid_header() argument
33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
44 /* Check for minimum table length */ in ap_is_valid_header()
46 if (table in ap_is_valid_header()
68 ap_is_valid_checksum(struct acpi_table_header *table) ap_is_valid_checksum() argument
106 ap_get_table_length(struct acpi_table_header *table) ap_get_table_length() argument
142 ap_dump_table_buffer(struct acpi_table_header *table, u32 instance, acpi_physical_address address) ap_dump_table_buffer() argument
192 struct acpi_table_header *table; ap_dump_all_tables() local
251 struct acpi_table_header *table; ap_dump_table_by_address() local
296 struct acpi_table_header *table; ap_dump_table_by_name() local
367 struct acpi_table_header *table; ap_dump_table_from_file() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddump.c120 struct iwl_umac_error_event_table table = {}; in iwl_fwrt_dump_umac_error_log() local
129 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_umac_error_log()
131 if (table.valid) in iwl_fwrt_dump_umac_error_log()
132 fwrt->dump.umac_err_id = table.error_id; in iwl_fwrt_dump_umac_error_log()
141 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_umac_error_log()
144 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log()
147 if ((table.error_id & ~FW_SYSASSERT_CPU_MASK) == in iwl_fwrt_dump_umac_error_log()
154 IWL_ERR(fwrt, "0x%08X | %s\n", table.error_id, in iwl_fwrt_dump_umac_error_log()
155 iwl_fw_lookup_assert_desc(table in iwl_fwrt_dump_umac_error_log()
174 struct iwl_error_event_table table = {}; iwl_fwrt_dump_lmac_error_log() local
297 struct iwl_tcm_error_event_table table = {}; iwl_fwrt_dump_tcm_error_log() local
371 struct iwl_rcm_error_event_table table = {}; iwl_fwrt_dump_rcm_error_log() local
[all...]
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dpgalloc.c3 * Page table allocation functions
54 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument
56 pagetable_free(virt_to_ptdesc(table)); in crst_table_free()
144 u64 *table; in page_table_alloc_pgste() local
148 table = (u64 *)ptdesc_to_virt(ptdesc); in page_table_alloc_pgste()
149 arch_set_page_dat(virt_to_page(table), 0); in page_table_alloc_pgste()
150 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste()
151 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste()
245 unsigned long *table; in page_table_alloc() local
249 /* Try to get a fragment of a 4K page as a 2K page table */ in page_table_alloc()
309 page_table_release_check(struct page *page, void *table, unsigned int half, unsigned int mask) page_table_release_check() argument
333 page_table_free(struct mm_struct *mm, unsigned long *table) page_table_free() argument
372 page_table_release_check(ptdesc_page(ptdesc), table, half, mask); page_table_free() local
379 page_table_free_rcu(struct mmu_gather *tlb, unsigned long *table, unsigned long vmaddr) page_table_free_rcu() argument
422 void *table = (void *)((unsigned long) _table ^ mask); __tlb_remove_table() local
442 page_table_release_check(ptdesc_page(ptdesc), table, half, mask); __tlb_remove_table() local
474 unsigned long *table; base_pgt_alloc() local
482 base_pgt_free(unsigned long *table) base_pgt_free() argument
489 unsigned long *table; base_crst_alloc() local
501 base_crst_free(unsigned long *table) base_crst_free() argument
550 unsigned long *ste, next, *table; base_segment_walk() local
579 unsigned long *rtte, next, *table; base_region3_walk() local
607 unsigned long *rste, next, *table; base_region2_walk() local
635 unsigned long *rfte, next, *table; base_region1_walk() local
669 unsigned long *table = __va(asce & _ASCE_ORIGIN); base_asce_free() local
721 unsigned long asce, *table, end; base_asce_alloc() local
[all...]
/kernel/liteos_m/kal/posix/src/
H A Dpoll.c47 STATIC INLINE VOID SetAddPollWaitFlag(struct PollTable *table, BOOL addQueueFlag) in SetAddPollWaitFlag() argument
49 table->addQueueFlag = addQueueFlag; in SetAddPollWaitFlag()
52 STATIC VOID DestroyPollWait(struct PollTable *table) in DestroyPollWait() argument
55 struct PollWaitNode *waitNode = table->node; in DestroyPollWait()
62 if (LOS_SemDelete(table->sem) != LOS_OK) { in DestroyPollWait()
67 STATIC VOID AddPollWaitQueue(struct PollWaitQueue *waitQueue, struct PollTable *table) in AddPollWaitQueue() argument
76 waitNode->table = table; in AddPollWaitQueue()
78 table->node = waitNode; in AddPollWaitQueue()
82 STATIC INT32 WaitSemTime(struct PollTable *table, UINT3 argument
91 QueryFds(struct pollfd *fds, nfds_t nfds, struct PollTable *table) QueryFds() argument
146 PollWait(struct PollWaitQueue *waitQueue, struct PollTable *table) PollWait() argument
157 PollTimedWait(struct pollfd *fds, nfds_t nfds, struct PollTable *table, INT32 timeout) PollTimedWait() argument
202 struct PollTable table = {0}; poll() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c41 const struct drm_i915_mocs_entry *table; member
118 * entries will remain constant and the table will only be updated by
323 struct drm_i915_mocs_table *table) in get_mocs_settings()
328 table->size = ARRAY_SIZE(tgl_mocs_table); in get_mocs_settings()
329 table->table = tgl_mocs_table; in get_mocs_settings()
330 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings()
332 table->size = ARRAY_SIZE(icl_mocs_table); in get_mocs_settings()
333 table->table in get_mocs_settings()
322 get_mocs_settings(const struct drm_i915_private *i915, struct drm_i915_mocs_table *table) get_mocs_settings() argument
379 get_entry_control(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_control() argument
393 __init_mocs_table(struct intel_uncore *uncore, const struct drm_i915_mocs_table *table, u32 addr) __init_mocs_table() argument
419 init_mocs_table(struct intel_engine_cs *engine, const struct drm_i915_mocs_table *table) init_mocs_table() argument
429 get_entry_l3cc(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_l3cc() argument
451 init_l3cc_table(struct intel_engine_cs *engine, const struct drm_i915_mocs_table *table) init_l3cc_table() argument
464 struct drm_i915_mocs_table table; intel_mocs_init_engine() local
489 struct drm_i915_mocs_table table; intel_mocs_init() local
[all...]
/kernel/linux/linux-5.10/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
35 if (!table) in inat_get_escape_attribute()
37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
39 if (!table) in inat_get_escape_attribute()
42 return table[opcode]; in inat_get_escape_attribute()
48 const insn_attr_t *table; in inat_get_group_attribute() local
53 table = inat_group_tables[n][0]; in inat_get_group_attribute()
54 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; inat_get_avx_attribute() local
[all...]
/kernel/linux/linux-5.10/tools/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
35 if (!table) in inat_get_escape_attribute()
37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
39 if (!table) in inat_get_escape_attribute()
42 return table[opcode]; in inat_get_escape_attribute()
48 const insn_attr_t *table; in inat_get_group_attribute() local
53 table = inat_group_tables[n][0]; in inat_get_group_attribute()
54 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; inat_get_avx_attribute() local
[all...]
/kernel/linux/linux-6.6/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
35 if (!table) in inat_get_escape_attribute()
37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
39 if (!table) in inat_get_escape_attribute()
42 return table[opcode]; in inat_get_escape_attribute()
48 const insn_attr_t *table; in inat_get_group_attribute() local
53 table = inat_group_tables[n][0]; in inat_get_group_attribute()
54 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; inat_get_avx_attribute() local
[all...]
/kernel/linux/linux-6.6/tools/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
35 if (!table) in inat_get_escape_attribute()
37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
39 if (!table) in inat_get_escape_attribute()
42 return table[opcode]; in inat_get_escape_attribute()
48 const insn_attr_t *table; in inat_get_group_attribute() local
53 table = inat_group_tables[n][0]; in inat_get_group_attribute()
54 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; inat_get_avx_attribute() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c258 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() argument
260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
264 mutex_lock(&table->mutex); in mlx4_table_get()
266 if (table->icm[i]) { in mlx4_table_get()
267 ++table->icm[i]->refcount; in mlx4_table_get()
271 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
272 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mlx4_table_get()
273 __GFP_NOWARN, table->coherent); in mlx4_table_get()
274 if (!table in mlx4_table_get()
294 mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) mlx4_table_put() argument
314 mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle) mlx4_table_find() argument
382 mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 start, u32 end) mlx4_table_get_range() argument
406 mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 start, u32 end) mlx4_table_put_range() argument
415 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) mlx4_init_icm_table() argument
481 mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table) mlx4_cleanup_icm_table() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c258 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() argument
260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
264 mutex_lock(&table->mutex); in mlx4_table_get()
266 if (table->icm[i]) { in mlx4_table_get()
267 ++table->icm[i]->refcount; in mlx4_table_get()
271 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
272 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mlx4_table_get()
273 __GFP_NOWARN, table->coherent); in mlx4_table_get()
274 if (!table in mlx4_table_get()
294 mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) mlx4_table_put() argument
314 mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle) mlx4_table_find() argument
382 mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 start, u32 end) mlx4_table_get_range() argument
406 mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 start, u32 end) mlx4_table_put_range() argument
415 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) mlx4_init_icm_table() argument
481 mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table) mlx4_cleanup_icm_table() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dfw.h531 static inline void SET_CTRL_INFO_MACID(void *table, u32 val) in SET_CTRL_INFO_MACID() argument
533 le32p_replace_bits((__le32 *)(table) + 0, val, GENMASK(6, 0)); in SET_CTRL_INFO_MACID()
536 static inline void SET_CTRL_INFO_OPERATION(void *table, u32 val) in SET_CTRL_INFO_OPERATION() argument
538 le32p_replace_bits((__le32 *)(table) + 0, val, BIT(7)); in SET_CTRL_INFO_OPERATION()
541 static inline void SET_CMC_TBL_DATARATE(void *table, u32 val) in SET_CMC_TBL_DATARATE() argument
543 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(8, 0)); in SET_CMC_TBL_DATARATE()
544 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DATARATE, in SET_CMC_TBL_DATARATE()
548 static inline void SET_CMC_TBL_FORCE_TXOP(void *table, u32 val) in SET_CMC_TBL_FORCE_TXOP() argument
550 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(9)); in SET_CMC_TBL_FORCE_TXOP()
551 le32p_replace_bits((__le32 *)(table) in SET_CMC_TBL_FORCE_TXOP()
555 SET_CMC_TBL_DATA_BW(void *table, u32 val) SET_CMC_TBL_DATA_BW() argument
562 SET_CMC_TBL_DATA_GI_LTF(void *table, u32 val) SET_CMC_TBL_DATA_GI_LTF() argument
569 SET_CMC_TBL_DARF_TC_INDEX(void *table, u32 val) SET_CMC_TBL_DARF_TC_INDEX() argument
576 SET_CMC_TBL_ARFR_CTRL(void *table, u32 val) SET_CMC_TBL_ARFR_CTRL() argument
583 SET_CMC_TBL_ACQ_RPT_EN(void *table, u32 val) SET_CMC_TBL_ACQ_RPT_EN() argument
590 SET_CMC_TBL_MGQ_RPT_EN(void *table, u32 val) SET_CMC_TBL_MGQ_RPT_EN() argument
597 SET_CMC_TBL_ULQ_RPT_EN(void *table, u32 val) SET_CMC_TBL_ULQ_RPT_EN() argument
604 SET_CMC_TBL_TWTQ_RPT_EN(void *table, u32 val) SET_CMC_TBL_TWTQ_RPT_EN() argument
611 SET_CMC_TBL_DISRTSFB(void *table, u32 val) SET_CMC_TBL_DISRTSFB() argument
618 SET_CMC_TBL_DISDATAFB(void *table, u32 val) SET_CMC_TBL_DISDATAFB() argument
625 SET_CMC_TBL_TRYRATE(void *table, u32 val) SET_CMC_TBL_TRYRATE() argument
632 SET_CMC_TBL_AMPDU_DENSITY(void *table, u32 val) SET_CMC_TBL_AMPDU_DENSITY() argument
639 SET_CMC_TBL_DATA_RTY_LOWEST_RATE(void *table, u32 val) SET_CMC_TBL_DATA_RTY_LOWEST_RATE() argument
646 SET_CMC_TBL_AMPDU_TIME_SEL(void *table, u32 val) SET_CMC_TBL_AMPDU_TIME_SEL() argument
653 SET_CMC_TBL_AMPDU_LEN_SEL(void *table, u32 val) SET_CMC_TBL_AMPDU_LEN_SEL() argument
660 SET_CMC_TBL_RTS_TXCNT_LMT_SEL(void *table, u32 val) SET_CMC_TBL_RTS_TXCNT_LMT_SEL() argument
667 SET_CMC_TBL_RTS_TXCNT_LMT(void *table, u32 val) SET_CMC_TBL_RTS_TXCNT_LMT() argument
674 SET_CMC_TBL_RTSRATE(void *table, u32 val) SET_CMC_TBL_RTSRATE() argument
681 SET_CMC_TBL_VCS_STBC(void *table, u32 val) SET_CMC_TBL_VCS_STBC() argument
688 SET_CMC_TBL_RTS_RTY_LOWEST_RATE(void *table, u32 val) SET_CMC_TBL_RTS_RTY_LOWEST_RATE() argument
695 SET_CMC_TBL_DATA_TX_CNT_LMT(void *table, u32 val) SET_CMC_TBL_DATA_TX_CNT_LMT() argument
702 SET_CMC_TBL_DATA_TXCNT_LMT_SEL(void *table, u32 val) SET_CMC_TBL_DATA_TXCNT_LMT_SEL() argument
709 SET_CMC_TBL_MAX_AGG_NUM_SEL(void *table, u32 val) SET_CMC_TBL_MAX_AGG_NUM_SEL() argument
716 SET_CMC_TBL_RTS_EN(void *table, u32 val) SET_CMC_TBL_RTS_EN() argument
723 SET_CMC_TBL_CTS2SELF_EN(void *table, u32 val) SET_CMC_TBL_CTS2SELF_EN() argument
730 SET_CMC_TBL_CCA_RTS(void *table, u32 val) SET_CMC_TBL_CCA_RTS() argument
737 SET_CMC_TBL_HW_RTS_EN(void *table, u32 val) SET_CMC_TBL_HW_RTS_EN() argument
744 SET_CMC_TBL_RTS_DROP_DATA_MODE(void *table, u32 val) SET_CMC_TBL_RTS_DROP_DATA_MODE() argument
751 SET_CMC_TBL_AMPDU_MAX_LEN(void *table, u32 val) SET_CMC_TBL_AMPDU_MAX_LEN() argument
758 SET_CMC_TBL_UL_MU_DIS(void *table, u32 val) SET_CMC_TBL_UL_MU_DIS() argument
765 SET_CMC_TBL_AMPDU_MAX_TIME(void *table, u32 val) SET_CMC_TBL_AMPDU_MAX_TIME() argument
772 SET_CMC_TBL_MAX_AGG_NUM(void *table, u32 val) SET_CMC_TBL_MAX_AGG_NUM() argument
779 SET_CMC_TBL_BA_BMAP(void *table, u32 val) SET_CMC_TBL_BA_BMAP() argument
786 SET_CMC_TBL_VO_LFTIME_SEL(void *table, u32 val) SET_CMC_TBL_VO_LFTIME_SEL() argument
793 SET_CMC_TBL_VI_LFTIME_SEL(void *table, u32 val) SET_CMC_TBL_VI_LFTIME_SEL() argument
800 SET_CMC_TBL_BE_LFTIME_SEL(void *table, u32 val) SET_CMC_TBL_BE_LFTIME_SEL() argument
807 SET_CMC_TBL_BK_LFTIME_SEL(void *table, u32 val) SET_CMC_TBL_BK_LFTIME_SEL() argument
814 SET_CMC_TBL_SECTYPE(void *table, u32 val) SET_CMC_TBL_SECTYPE() argument
821 SET_CMC_TBL_MULTI_PORT_ID(void *table, u32 val) SET_CMC_TBL_MULTI_PORT_ID() argument
828 SET_CMC_TBL_BMC(void *table, u32 val) SET_CMC_TBL_BMC() argument
835 SET_CMC_TBL_MBSSID(void *table, u32 val) SET_CMC_TBL_MBSSID() argument
842 SET_CMC_TBL_NAVUSEHDR(void *table, u32 val) SET_CMC_TBL_NAVUSEHDR() argument
849 SET_CMC_TBL_TXPWR_MODE(void *table, u32 val) SET_CMC_TBL_TXPWR_MODE() argument
856 SET_CMC_TBL_DATA_DCM(void *table, u32 val) SET_CMC_TBL_DATA_DCM() argument
863 SET_CMC_TBL_DATA_ER(void *table, u32 val) SET_CMC_TBL_DATA_ER() argument
870 SET_CMC_TBL_DATA_LDPC(void *table, u32 val) SET_CMC_TBL_DATA_LDPC() argument
877 SET_CMC_TBL_DATA_STBC(void *table, u32 val) SET_CMC_TBL_DATA_STBC() argument
884 SET_CMC_TBL_A_CTRL_BQR(void *table, u32 val) SET_CMC_TBL_A_CTRL_BQR() argument
891 SET_CMC_TBL_A_CTRL_UPH(void *table, u32 val) SET_CMC_TBL_A_CTRL_UPH() argument
898 SET_CMC_TBL_A_CTRL_BSR(void *table, u32 val) SET_CMC_TBL_A_CTRL_BSR() argument
905 SET_CMC_TBL_A_CTRL_CAS(void *table, u32 val) SET_CMC_TBL_A_CTRL_CAS() argument
912 SET_CMC_TBL_DATA_BW_ER(void *table, u32 val) SET_CMC_TBL_DATA_BW_ER() argument
919 SET_CMC_TBL_LSIG_TXOP_EN(void *table, u32 val) SET_CMC_TBL_LSIG_TXOP_EN() argument
926 SET_CMC_TBL_CTRL_CNT_VLD(void *table, u32 val) SET_CMC_TBL_CTRL_CNT_VLD() argument
933 SET_CMC_TBL_CTRL_CNT(void *table, u32 val) SET_CMC_TBL_CTRL_CNT() argument
940 SET_CMC_TBL_RESP_REF_RATE(void *table, u32 val) SET_CMC_TBL_RESP_REF_RATE() argument
947 SET_CMC_TBL_ALL_ACK_SUPPORT(void *table, u32 val) SET_CMC_TBL_ALL_ACK_SUPPORT() argument
954 SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT(void *table, u32 val) SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT() argument
961 SET_CMC_TBL_NTX_PATH_EN(void *table, u32 val) SET_CMC_TBL_NTX_PATH_EN() argument
968 SET_CMC_TBL_PATH_MAP_A(void *table, u32 val) SET_CMC_TBL_PATH_MAP_A() argument
975 SET_CMC_TBL_PATH_MAP_B(void *table, u32 val) SET_CMC_TBL_PATH_MAP_B() argument
982 SET_CMC_TBL_PATH_MAP_C(void *table, u32 val) SET_CMC_TBL_PATH_MAP_C() argument
989 SET_CMC_TBL_PATH_MAP_D(void *table, u32 val) SET_CMC_TBL_PATH_MAP_D() argument
996 SET_CMC_TBL_ANTSEL_A(void *table, u32 val) SET_CMC_TBL_ANTSEL_A() argument
1003 SET_CMC_TBL_ANTSEL_B(void *table, u32 val) SET_CMC_TBL_ANTSEL_B() argument
1010 SET_CMC_TBL_ANTSEL_C(void *table, u32 val) SET_CMC_TBL_ANTSEL_C() argument
1017 SET_CMC_TBL_ANTSEL_D(void *table, u32 val) SET_CMC_TBL_ANTSEL_D() argument
1025 SET_CMC_TBL_NOMINAL_PKT_PADDING_V1(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING_V1() argument
1032 SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1() argument
1039 SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1() argument
1046 SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1() argument
1054 SET_CMC_TBL_ADDR_CAM_INDEX(void *table, u32 val) SET_CMC_TBL_ADDR_CAM_INDEX() argument
1061 SET_CMC_TBL_PAID(void *table, u32 val) SET_CMC_TBL_PAID() argument
1068 SET_CMC_TBL_ULDL(void *table, u32 val) SET_CMC_TBL_ULDL() argument
1075 SET_CMC_TBL_DOPPLER_CTRL(void *table, u32 val) SET_CMC_TBL_DOPPLER_CTRL() argument
1081 SET_CMC_TBL_NOMINAL_PKT_PADDING(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING() argument
1088 SET_CMC_TBL_NOMINAL_PKT_PADDING40(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING40() argument
1095 SET_CMC_TBL_TXPWR_TOLERENCE(void *table, u32 val) SET_CMC_TBL_TXPWR_TOLERENCE() argument
1102 SET_CMC_TBL_NOMINAL_PKT_PADDING80(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING80() argument
1109 SET_CMC_TBL_NC(void *table, u32 val) SET_CMC_TBL_NC() argument
1116 SET_CMC_TBL_NR(void *table, u32 val) SET_CMC_TBL_NR() argument
1123 SET_CMC_TBL_NG(void *table, u32 val) SET_CMC_TBL_NG() argument
1130 SET_CMC_TBL_CB(void *table, u32 val) SET_CMC_TBL_CB() argument
1137 SET_CMC_TBL_CS(void *table, u32 val) SET_CMC_TBL_CS() argument
1144 SET_CMC_TBL_CSI_TXBF_EN(void *table, u32 val) SET_CMC_TBL_CSI_TXBF_EN() argument
1151 SET_CMC_TBL_CSI_STBC_EN(void *table, u32 val) SET_CMC_TBL_CSI_STBC_EN() argument
1158 SET_CMC_TBL_CSI_LDPC_EN(void *table, u32 val) SET_CMC_TBL_CSI_LDPC_EN() argument
1165 SET_CMC_TBL_CSI_PARA_EN(void *table, u32 val) SET_CMC_TBL_CSI_PARA_EN() argument
1172 SET_CMC_TBL_CSI_FIX_RATE(void *table, u32 val) SET_CMC_TBL_CSI_FIX_RATE() argument
1179 SET_CMC_TBL_CSI_GI_LTF(void *table, u32 val) SET_CMC_TBL_CSI_GI_LTF() argument
1186 SET_CMC_TBL_NOMINAL_PKT_PADDING160(void *table, u32 val) SET_CMC_TBL_NOMINAL_PKT_PADDING160() argument
1194 SET_CMC_TBL_CSI_BW(void *table, u32 val) SET_CMC_TBL_CSI_BW() argument
1201 SET_DCTL_MACID_V1(void *table, u32 val) SET_DCTL_MACID_V1() argument
1206 SET_DCTL_OPERATION_V1(void *table, u32 val) SET_DCTL_OPERATION_V1() argument
1212 SET_DCTL_QOS_FIELD_V1(void *table, u32 val) SET_DCTL_QOS_FIELD_V1() argument
1220 SET_DCTL_HW_EXSEQ_MACID_V1(void *table, u32 val) SET_DCTL_HW_EXSEQ_MACID_V1() argument
1228 SET_DCTL_QOS_DATA_V1(void *table, u32 val) SET_DCTL_QOS_DATA_V1() argument
1236 SET_DCTL_AES_IV_L_V1(void *table, u32 val) SET_DCTL_AES_IV_L_V1() argument
1244 SET_DCTL_AES_IV_H_V1(void *table, u32 val) SET_DCTL_AES_IV_H_V1() argument
1252 SET_DCTL_SEQ0_V1(void *table, u32 val) SET_DCTL_SEQ0_V1() argument
1260 SET_DCTL_SEQ1_V1(void *table, u32 val) SET_DCTL_SEQ1_V1() argument
1268 SET_DCTL_AMSDU_MAX_LEN_V1(void *table, u32 val) SET_DCTL_AMSDU_MAX_LEN_V1() argument
1276 SET_DCTL_STA_AMSDU_EN_V1(void *table, u32 val) SET_DCTL_STA_AMSDU_EN_V1() argument
1284 SET_DCTL_CHKSUM_OFLD_EN_V1(void *table, u32 val) SET_DCTL_CHKSUM_OFLD_EN_V1() argument
1292 SET_DCTL_WITH_LLC_V1(void *table, u32 val) SET_DCTL_WITH_LLC_V1() argument
1300 SET_DCTL_SEQ2_V1(void *table, u32 val) SET_DCTL_SEQ2_V1() argument
1308 SET_DCTL_SEQ3_V1(void *table, u32 val) SET_DCTL_SEQ3_V1() argument
1316 SET_DCTL_TGT_IND_V1(void *table, u32 val) SET_DCTL_TGT_IND_V1() argument
1324 SET_DCTL_TGT_IND_EN_V1(void *table, u32 val) SET_DCTL_TGT_IND_EN_V1() argument
1332 SET_DCTL_HTC_LB_V1(void *table, u32 val) SET_DCTL_HTC_LB_V1() argument
1340 SET_DCTL_MHDR_LEN_V1(void *table, u32 val) SET_DCTL_MHDR_LEN_V1() argument
1348 SET_DCTL_VLAN_TAG_VALID_V1(void *table, u32 val) SET_DCTL_VLAN_TAG_VALID_V1() argument
1356 SET_DCTL_VLAN_TAG_SEL_V1(void *table, u32 val) SET_DCTL_VLAN_TAG_SEL_V1() argument
1364 SET_DCTL_HTC_ORDER_V1(void *table, u32 val) SET_DCTL_HTC_ORDER_V1() argument
1372 SET_DCTL_SEC_KEY_ID_V1(void *table, u32 val) SET_DCTL_SEC_KEY_ID_V1() argument
1380 SET_DCTL_WAPI_V1(void *table, u32 val) SET_DCTL_WAPI_V1() argument
1388 SET_DCTL_SEC_ENT_MODE_V1(void *table, u32 val) SET_DCTL_SEC_ENT_MODE_V1() argument
1396 SET_DCTL_SEC_ENT0_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT0_KEYID_V1() argument
1403 SET_DCTL_SEC_ENT1_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT1_KEYID_V1() argument
1410 SET_DCTL_SEC_ENT2_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT2_KEYID_V1() argument
1417 SET_DCTL_SEC_ENT3_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT3_KEYID_V1() argument
1424 SET_DCTL_SEC_ENT4_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT4_KEYID_V1() argument
1431 SET_DCTL_SEC_ENT5_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT5_KEYID_V1() argument
1438 SET_DCTL_SEC_ENT6_KEYID_V1(void *table, u32 val) SET_DCTL_SEC_ENT6_KEYID_V1() argument
1446 SET_DCTL_SEC_ENT_VALID_V1(void *table, u32 val) SET_DCTL_SEC_ENT_VALID_V1() argument
1454 SET_DCTL_SEC_ENT0_V1(void *table, u32 val) SET_DCTL_SEC_ENT0_V1() argument
1461 SET_DCTL_SEC_ENT1_V1(void *table, u32 val) SET_DCTL_SEC_ENT1_V1() argument
1468 SET_DCTL_SEC_ENT2_V1(void *table, u32 val) SET_DCTL_SEC_ENT2_V1() argument
1475 SET_DCTL_SEC_ENT3_V1(void *table, u32 val) SET_DCTL_SEC_ENT3_V1() argument
1482 SET_DCTL_SEC_ENT4_V1(void *table, u32 val) SET_DCTL_SEC_ENT4_V1() argument
1489 SET_DCTL_SEC_ENT5_V1(void *table, u32 val) SET_DCTL_SEC_ENT5_V1() argument
1496 SET_DCTL_SEC_ENT6_V1(void *table, u32 val) SET_DCTL_SEC_ENT6_V1() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Drl.c110 * If the table is full, return NULL
112 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() argument
119 lockdep_assert_held(&table->rl_lock); in find_rl_entry()
120 WARN_ON(!table->rl_entry); in find_rl_entry()
122 for (i = 0; i < table->max_size; i++) { in find_rl_entry()
124 if (!table->rl_entry[i].refcount) in find_rl_entry()
125 return &table->rl_entry[i]; in find_rl_entry()
129 if (table->rl_entry[i].refcount) { in find_rl_entry()
130 if (table->rl_entry[i].dedicated) in find_rl_entry()
132 if (mlx5_rl_are_equal_raw(&table in find_rl_entry()
162 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_rl_is_in_range() local
177 mlx5_rl_table_get(struct mlx5_rl_table *table) mlx5_rl_table_get() argument
203 mlx5_rl_table_put(struct mlx5_rl_table *table) mlx5_rl_table_put() argument
213 mlx5_rl_table_free(struct mlx5_core_dev *dev, struct mlx5_rl_table *table) mlx5_rl_table_free() argument
243 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_rl_add_rate_raw() local
304 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_rl_remove_rate_raw() local
336 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_rl_remove_rate() local
367 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_init_rl_table() local
391 struct mlx5_rl_table *table = &dev->priv.rl_table; mlx5_cleanup_rl_table() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Dplanetcore.c17 * a table of key=value strings, separated by newlines.
26 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument
29 if (*table == '\n') in planetcore_prepare_table()
30 *table = 0; in planetcore_prepare_table()
32 table++; in planetcore_prepare_table()
33 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table()
35 *table = 0; in planetcore_prepare_table()
38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument
43 if (!strncmp(table, ke in planetcore_get_key()
52 planetcore_get_decimal(const char *table, const char *key, u64 *val) planetcore_get_decimal() argument
62 planetcore_get_hex(const char *table, const char *key, u64 *val) planetcore_get_hex() argument
79 planetcore_set_mac_addrs(const char *table) planetcore_set_mac_addrs() argument
104 planetcore_set_stdout_path(const char *table) planetcore_set_stdout_path() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Dplanetcore.c17 * a table of key=value strings, separated by newlines.
26 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument
29 if (*table == '\n') in planetcore_prepare_table()
30 *table = 0; in planetcore_prepare_table()
32 table++; in planetcore_prepare_table()
33 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table()
35 *table = 0; in planetcore_prepare_table()
38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument
43 if (!strncmp(table, ke in planetcore_get_key()
52 planetcore_get_decimal(const char *table, const char *key, u64 *val) planetcore_get_decimal() argument
62 planetcore_get_hex(const char *table, const char *key, u64 *val) planetcore_get_hex() argument
79 planetcore_set_mac_addrs(const char *table) planetcore_set_mac_addrs() argument
104 planetcore_set_stdout_path(const char *table) planetcore_set_stdout_path() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcache.c49 u16 table[]; member
75 * GID entry is detached from the table.
101 /* In RoCE, adding a GID to the table requires:
165 * @table: GID table pointer
166 * @index: Index to check in GID table
170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default() argument
173 return index < 32 && (BIT(index) & table->default_gid_indices); in is_gid_index_default()
241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local
246 write_lock_irq(&table in free_gid_entry_locked()
286 struct ib_gid_table *table = rdma_gid_table(device, port_num); free_gid_work() local
321 store_gid_entry(struct ib_gid_table *table, struct ib_gid_table_entry *entry) store_gid_entry() argument
382 del_gid(struct ib_device *ib_dev, u8 port, struct ib_gid_table *table, int ix) del_gid() argument
426 add_modify_gid(struct ib_gid_table *table, const struct ib_gid_attr *attr) add_modify_gid() argument
466 find_gid(struct ib_gid_table *table, const union ib_gid *gid, const struct ib_gid_attr *val, bool default_gid, unsigned long mask, int *pempty) find_gid() argument
550 struct ib_gid_table *table; __ib_cache_gid_add() local
605 struct ib_gid_table *table; _ib_cache_gid_del() local
644 struct ib_gid_table *table; ib_cache_gid_del_all_netdev_gids() local
690 struct ib_gid_table *table; rdma_find_gid_by_port() local
743 struct ib_gid_table *table; rdma_find_gid_by_filter() local
774 struct ib_gid_table *table = kzalloc(sizeof(*table), GFP_KERNEL); alloc_gid_table() local
794 release_gid_table(struct ib_device *device, struct ib_gid_table *table) release_gid_table() argument
821 cleanup_gid_table_port(struct ib_device *ib_dev, u8 port, struct ib_gid_table *table) cleanup_gid_table_port() argument
870 gid_table_reserve_default(struct ib_device *ib_dev, u8 port, struct ib_gid_table *table) gid_table_reserve_default() argument
897 struct ib_gid_table *table; _gid_table_setup_one() local
956 struct ib_gid_table *table; rdma_query_gid() local
1023 struct ib_gid_table *table; rdma_find_gid() local
1228 struct ib_gid_table *table; rdma_get_gid_attr() local
1266 struct ib_gid_table *table; rdma_query_gid_table() local
1366 struct ib_gid_table *table; rdma_read_gid_attr_ndev_rcu() local
1448 struct ib_gid_table *table; config_non_roce_gid_cache() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcache.c49 u16 table[]; member
75 * GID entry is detached from the table.
101 /* In RoCE, adding a GID to the table requires:
165 * @table: GID table pointer
166 * @index: Index to check in GID table
170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default() argument
173 return index < 32 && (BIT(index) & table->default_gid_indices); in is_gid_index_default()
241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local
246 write_lock_irq(&table in free_gid_entry_locked()
286 struct ib_gid_table *table = rdma_gid_table(device, port_num); free_gid_work() local
321 store_gid_entry(struct ib_gid_table *table, struct ib_gid_table_entry *entry) store_gid_entry() argument
382 del_gid(struct ib_device *ib_dev, u32 port, struct ib_gid_table *table, int ix) del_gid() argument
426 add_modify_gid(struct ib_gid_table *table, const struct ib_gid_attr *attr) add_modify_gid() argument
466 find_gid(struct ib_gid_table *table, const union ib_gid *gid, const struct ib_gid_attr *val, bool default_gid, unsigned long mask, int *pempty) find_gid() argument
550 struct ib_gid_table *table; __ib_cache_gid_add() local
605 struct ib_gid_table *table; _ib_cache_gid_del() local
644 struct ib_gid_table *table; ib_cache_gid_del_all_netdev_gids() local
689 struct ib_gid_table *table; rdma_find_gid_by_port() local
743 struct ib_gid_table *table; rdma_find_gid_by_filter() local
774 struct ib_gid_table *table = kzalloc(sizeof(*table), GFP_KERNEL); alloc_gid_table() local
794 release_gid_table(struct ib_device *device, struct ib_gid_table *table) release_gid_table() argument
821 cleanup_gid_table_port(struct ib_device *ib_dev, u32 port, struct ib_gid_table *table) cleanup_gid_table_port() argument
870 gid_table_reserve_default(struct ib_device *ib_dev, u32 port, struct ib_gid_table *table) gid_table_reserve_default() argument
897 struct ib_gid_table *table; _gid_table_setup_one() local
956 struct ib_gid_table *table; rdma_query_gid() local
1029 struct ib_gid_table *table; rdma_find_gid() local
1222 struct ib_gid_table *table; rdma_get_gid_attr() local
1259 struct ib_gid_table *table; rdma_query_gid_table() local
1359 struct ib_gid_table *table; rdma_read_gid_attr_ndev_rcu() local
1441 struct ib_gid_table *table; config_non_roce_gid_cache() local
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dsch_gred.c61 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() argument
63 return test_bit(GRED_WRED_MODE, &table->flags); in gred_wred_mode()
66 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() argument
68 __set_bit(GRED_WRED_MODE, &table->flags); in gred_enable_wred_mode()
71 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() argument
73 __clear_bit(GRED_WRED_MODE, &table->flags); in gred_disable_wred_mode()
76 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() argument
78 return test_bit(GRED_RIO_MODE, &table->flags); in gred_rio_mode()
81 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() argument
83 __set_bit(GRED_RIO_MODE, &table in gred_enable_rio_mode()
86 gred_disable_rio_mode(struct gred_sched *table) gred_disable_rio_mode() argument
93 struct gred_sched *table = qdisc_priv(sch); gred_wred_mode_check() local
112 gred_backlog(struct gred_sched *table, struct gred_sched_data *q, struct Qdisc *sch) gred_backlog() argument
127 gred_load_wred_set(const struct gred_sched *table, struct gred_sched_data *q) gred_load_wred_set() argument
134 gred_store_wred_set(struct gred_sched *table, struct gred_sched_data *q) gred_store_wred_set() argument
151 gred_per_vq_red_flags_used(struct gred_sched *table) gred_per_vq_red_flags_used() argument
312 struct gred_sched *table = qdisc_priv(sch); gred_offload() local
354 struct gred_sched *table = qdisc_priv(sch); gred_offload_dump_stats() local
404 struct gred_sched *table = qdisc_priv(sch); gred_change_table_def() local
480 struct gred_sched *table = qdisc_priv(sch); gred_change_vq() local
531 gred_vq_apply(struct gred_sched *table, const struct nlattr *entry) gred_vq_apply() argument
545 gred_vqs_apply(struct gred_sched *table, struct nlattr *vqs) gred_vqs_apply() argument
559 gred_vq_validate(struct gred_sched *table, u32 cdp, const struct nlattr *entry, struct netlink_ext_ack *extack) gred_vq_validate() argument
603 gred_vqs_validate(struct gred_sched *table, u32 cdp, struct nlattr *vqs, struct netlink_ext_ack *extack) gred_vqs_validate() argument
638 struct gred_sched *table = qdisc_priv(sch); gred_change() local
759 struct gred_sched *table = qdisc_priv(sch); gred_dump() local
902 struct gred_sched *table = qdisc_priv(sch); gred_destroy() local
[all...]

Completed in 20 milliseconds

12345678910>>...118