Home
last modified time | relevance | path

Searched refs:tables (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/Linux-v5.4/drivers/staging/comedi/drivers/
Dni_routes.h79 struct ni_route_tables *tables);
133 const struct ni_route_tables *tables);
151 const struct ni_route_tables *tables);
163 const struct ni_route_tables *tables) in route_is_valid() argument
165 return ni_route_to_register(src, dest, tables) >= 0; in route_is_valid()
195 unsigned int ni_count_valid_routes(const struct ni_route_tables *tables);
210 unsigned int ni_get_valid_routes(const struct ni_route_tables *tables,
235 const struct ni_route_tables *tables);
244 const struct ni_route_tables *tables) in route_register_is_valid() argument
246 return ni_find_route_source(src_sel_reg_value, dest, tables) >= 0; in route_register_is_valid()
[all …]
Dni_routes.c62 struct ni_route_tables *tables) in ni_find_device_routes() argument
92 tables->route_values = rv; in ni_find_device_routes()
93 tables->valid_routes = dr; in ni_find_device_routes()
106 struct ni_route_tables *tables) in ni_assign_device_routes() argument
108 memset(tables, 0, sizeof(struct ni_route_tables)); in ni_assign_device_routes()
109 return ni_find_device_routes(device_family, board_name, tables); in ni_assign_device_routes()
117 unsigned int ni_count_valid_routes(const struct ni_route_tables *tables) in ni_count_valid_routes() argument
122 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_count_valid_routes()
123 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
129 const u8 *rv = tables->route_values; in ni_count_valid_routes()
[all …]
/Linux-v5.4/tools/perf/util/scripting-engines/
Dtrace-event-python.c102 struct tables { struct
120 static struct tables tables_global; argument
960 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_evsel() local
968 call_object(tables->evsel_handler, t, "evsel_table"); in python_export_evsel()
978 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_machine() local
987 call_object(tables->machine_handler, t, "machine_table"); in python_export_machine()
997 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_thread() local
1008 call_object(tables->thread_handler, t, "thread_table"); in python_export_thread()
1018 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm() local
1029 call_object(tables->comm_handler, t, "comm_table"); in python_export_comm()
[all …]
/Linux-v5.4/security/apparmor/
Dmatch.c144 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers() argument
150 if (!(tables[YYTD_ID_DEF] && tables[YYTD_ID_BASE] && in verify_table_headers()
151 tables[YYTD_ID_NXT] && tables[YYTD_ID_CHK])) in verify_table_headers()
155 state_count = tables[YYTD_ID_BASE]->td_lolen; in verify_table_headers()
157 if (!tables[YYTD_ID_ACCEPT]) in verify_table_headers()
159 if (state_count != tables[YYTD_ID_ACCEPT]->td_lolen) in verify_table_headers()
163 if (!tables[YYTD_ID_ACCEPT2]) in verify_table_headers()
165 if (state_count != tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_table_headers()
168 if (state_count != tables[YYTD_ID_DEF]->td_lolen) in verify_table_headers()
172 trans_count = tables[YYTD_ID_NXT]->td_lolen; in verify_table_headers()
[all …]
/Linux-v5.4/drivers/acpi/acpica/
Dtbdata.c50 acpi_tb_acquire_table(&acpi_gbl_root_table_list.tables[table_index], in acpi_tb_compare_tables()
405 (acpi_gbl_root_table_list.tables[i]. in acpi_tb_check_duplication()
432 if (acpi_gbl_root_table_list.tables[i].flags & in acpi_tb_check_duplication()
560 struct acpi_table_desc *tables; in acpi_tb_resize_root_table_list() local
584 tables = ACPI_ALLOCATE_ZEROED(((acpi_size)max_table_count) * in acpi_tb_resize_root_table_list()
586 if (!tables) { in acpi_tb_resize_root_table_list()
595 if (acpi_gbl_root_table_list.tables) { in acpi_tb_resize_root_table_list()
597 if (acpi_gbl_root_table_list.tables[i].address) { in acpi_tb_resize_root_table_list()
598 memcpy(tables + current_table_count, in acpi_tb_resize_root_table_list()
599 acpi_gbl_root_table_list.tables + i, in acpi_tb_resize_root_table_list()
[all …]
Dtbfind.c67 if (memcmp(&(acpi_gbl_root_table_list.tables[i].signature), in acpi_tb_find_table()
77 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
83 tables[i]); in acpi_tb_find_table()
88 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
96 (acpi_gbl_root_table_list.tables[i].pointer->signature, in acpi_tb_find_table()
101 tables[i]. in acpi_tb_find_table()
106 || !memcmp(acpi_gbl_root_table_list.tables[i].pointer-> in acpi_tb_find_table()
Dtbxface.c92 acpi_gbl_root_table_list.tables = initial_table_array; in acpi_initialize_tables()
161 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
177 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
234 (&(acpi_gbl_root_table_list.tables[i].signature), in ACPI_EXPORT_SYMBOL_INIT()
243 if (!acpi_gbl_root_table_list.tables[i].pointer) { in ACPI_EXPORT_SYMBOL_INIT()
244 if ((acpi_gbl_root_table_list.tables[i].flags & in ACPI_EXPORT_SYMBOL_INIT()
249 tables[i].address, in ACPI_EXPORT_SYMBOL_INIT()
266 acpi_gbl_root_table_list.tables[i].pointer, in ACPI_EXPORT_SYMBOL_INIT()
324 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL()
375 table_desc = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL()
[all …]
/Linux-v5.4/Documentation/admin-guide/acpi/
Dinitrd_table_override.rst4 Upgrading ACPI tables via initrd
11 upgrade the ACPI execution environment that is defined by the ACPI tables
12 via upgrading the ACPI tables provided by the BIOS with an instrumented,
13 modified, more recent version one, or installing brand new ACPI tables.
19 For a full list of ACPI tables that can be upgraded/installed, take a look
21 drivers/acpi/tables.c.
23 All ACPI tables iasl (Intel's ACPI compiler and disassembler) knows should
37 allows you to upgrade the buggy tables before your platform/BIOS vendor
45 platform provided ACPI tables or inserting new ACPI tables.
55 # Extract the machine's ACPI tables:
[all …]
/Linux-v5.4/security/apparmor/include/
Dmatch.h86 #define DEFAULT_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_DEF]->td_data))
87 #define BASE_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_BASE]->td_data))
88 #define NEXT_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_NXT]->td_data))
89 #define CHECK_TABLE(DFA) ((u16 *)((DFA)->tables[YYTD_ID_CHK]->td_data))
90 #define EQUIV_TABLE(DFA) ((u8 *)((DFA)->tables[YYTD_ID_EC]->td_data))
91 #define ACCEPT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT]->td_data))
92 #define ACCEPT_TABLE2(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT2]->td_data))
97 struct table_header *tables[YYTD_ID_TSIZE]; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-firmware-sfi1 What: /sys/firmware/sfi/tables/
5 SFI defines a number of small static memory tables
8 The tables are defined in the latest SFI specification:
11 While the tables are used by the kernel, user-space
14 # cd /sys/firmware/sfi/tables
Dsysfs-firmware-dmi-tables1 What: /sys/firmware/dmi/tables/
13 The dmi/tables provides raw SMBIOS entry point and DMI tables
18 /sys/firmware/dmi/tables/smbios_entry_point
19 /sys/firmware/dmi/tables/DMI
22 tables.
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Dsmu_v12_0.c276 struct smu_table *tables = NULL; in smu_v12_0_init_smc_tables() local
278 if (smu_table->tables || smu_table->table_count == 0) in smu_v12_0_init_smc_tables()
281 tables = kcalloc(SMU_TABLE_COUNT, sizeof(struct smu_table), in smu_v12_0_init_smc_tables()
283 if (!tables) in smu_v12_0_init_smc_tables()
286 smu_table->tables = tables; in smu_v12_0_init_smc_tables()
288 return smu_tables_init(smu, tables); in smu_v12_0_init_smc_tables()
295 if (!smu_table->tables || smu_table->table_count == 0) in smu_v12_0_fini_smc_tables()
299 kfree(smu_table->tables); in smu_v12_0_fini_smc_tables()
302 smu_table->tables = NULL; in smu_v12_0_fini_smc_tables()
312 table = &smu_table->tables[SMU_TABLE_DPMCLOCKS]; in smu_v12_0_populate_smc_tables()
/Linux-v5.4/Documentation/x86/
Dintel_mpx.rst46 the bounds tables between the time when it populates "bndcfgu" and
67 tables. If an entire table becomes unused, we will attempt to free
89 * Frees unused bounds tables at the time that the memory they described
102 * new bounds tables (BT) need to be allocated to save bounds.
107 On-demand kernel allocation of bounds tables
114 tables".
118 hardware during both bounds violations or when the tables are not
119 present. The kernel handles those #BR exceptions for not-present tables
123 The tables need to be accessed and controlled by userspace because
127 tables would obviously destroy performance.
[all …]
Dpti.rst15 page tables for use only when running userspace applications. When
17 page tables are switched to the full "kernel" copy. When the system
20 The userspace page tables contain only a minimal amount of kernel
36 When PTI is enabled, the kernel manages two sets of page tables.
41 Although _complete_, the user portion of the kernel page tables is
46 The userspace page tables map only the kernel data needed to enter
52 page tables like normal. The only difference is when the kernel
55 userspace page tables' PGD.
58 layers of the page tables. This leaves a single, shared set of
59 userspace page tables to manage. One PTE to lock, one set of
[all …]
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c68 pdir->tables = kcalloc(pdir->ntables, sizeof(*pdir->tables), in pvrdma_page_dir_init()
70 if (!pdir->tables) in pvrdma_page_dir_init()
74 pdir->tables[i] = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
77 if (!pdir->tables[i]) in pvrdma_page_dir_init()
113 return pdir->tables[PVRDMA_PAGE_DIR_TABLE(idx)]; in pvrdma_page_dir_table()
141 if (pdir->tables) { in pvrdma_page_dir_cleanup_tables()
147 u64 *table = pdir->tables[i]; in pvrdma_page_dir_cleanup_tables()
154 kfree(pdir->tables); in pvrdma_page_dir_cleanup_tables()
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_tas.c105 table = &priv->static_config.tables[BLK_IDX_SCHEDULE]; in sja1105_init_scheduling()
112 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_ENTRY_POINTS_PARAMS]; in sja1105_init_scheduling()
119 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_PARAMS]; in sja1105_init_scheduling()
126 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_ENTRY_POINTS]; in sja1105_init_scheduling()
147 table = &priv->static_config.tables[BLK_IDX_SCHEDULE]; in sja1105_init_scheduling()
156 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_ENTRY_POINTS_PARAMS]; in sja1105_init_scheduling()
169 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_PARAMS]; in sja1105_init_scheduling()
178 table = &priv->static_config.tables[BLK_IDX_SCHEDULE_ENTRY_POINTS]; in sja1105_init_scheduling()
/Linux-v5.4/Documentation/devicetree/bindings/memory-controllers/
Dnvidia,tegra20-emc.txt11 set of tables can be present and said tables will be used
37 and the tables are stored directly under the emc node (see below).
41 - name : Should be emc-tables
53 There are two ways of specifying which tables to use:
55 * The simplest is if there is just one set of tables in the device tree,
66 used to select which tables to use.
71 - reg : either an opaque enumerator to tell different tables apart, or
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dnpu-dma.c141 if (npe->table_group.tables[num2]) in pnv_npu_set_window()
175 if (!npe->table_group.tables[num]) in pnv_npu_unset_window()
190 pnv_pci_unlink_table_and_group(npe->table_group.tables[num], in pnv_npu_unset_window()
211 if (npe->table_group.tables[0]) { in pnv_npu_take_ownership()
325 table_group->tables[num] = iommu_tce_table_get(tbl); in pnv_npu_peers_set_window()
342 WARN_ON(npucomp->table_group.tables[num] != in pnv_npu_peers_unset_window()
343 table_group->tables[num]); in pnv_npu_peers_unset_window()
344 if (!npucomp->table_group.tables[num]) in pnv_npu_peers_unset_window()
359 if (!npucomp->table_group.tables[num]) in pnv_npu_peers_unset_window()
366 num, table_group->tables[num]); in pnv_npu_peers_unset_window()
[all …]
/Linux-v5.4/drivers/media/rc/keymaps/
DKconfig9 Controller tables. They are short tables, but if you
11 tables on userspace, you should disable it.
/Linux-v5.4/Documentation/vm/
Dsplit_page_table_lock.rst7 Originally, mm->page_table_lock spinlock protected all page tables of the
14 tables. Access to higher level tables protected by mm->page_table_lock.
33 Split page table lock for PTE tables is enabled compile-time if
35 If split lock is disabled, all tables guaded by mm->page_table_lock.
37 Split page table lock for PMD tables is enabled, if it's enabled for PTE
38 tables and the architecture supports it (see below).
/Linux-v5.4/fs/nls/
Dnls_base.c21 static struct nls_table *tables = &default_table; variable
237 struct nls_table ** tmp = &tables; in __register_nls()
251 nls->next = tables; in __register_nls()
252 tables = nls; in __register_nls()
260 struct nls_table ** tmp = &tables; in unregister_nls()
279 for (nls = tables; nls; nls = nls->next) { in find_nls()
/Linux-v5.4/Documentation/firmware-guide/acpi/
Dacpi-lid.rst15 using a control method lid device. To implement this, the AML tables issue
31 However the word of "current" has ambiguity, some buggy AML tables return
35 initial returning value. When the AML tables implement this control method
42 There are buggy AML tables never notifying when the lid device state is
44 it is guaranteed that the AML tables always notify "closed" when the lid
47 tested, it is reliable from all AML tables.
85 isn't ready to handle the buggy AML tables.
107 opens given that some AML tables do not send "opened" notifications
114 handle the buggy AML tables.
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh13 tables="foo bar baz quux"
29 for table in $tables; do
64 for table in $tables;do
/Linux-v5.4/drivers/char/agp/
Dati-agp.c88 struct ati_page_map **tables; in ati_free_gatt_pages() local
91 tables = ati_generic_private.gatt_pages; in ati_free_gatt_pages()
93 entry = tables[i]; in ati_free_gatt_pages()
100 kfree(tables); in ati_free_gatt_pages()
106 struct ati_page_map **tables; in ati_create_gatt_pages() local
111 tables = kcalloc(nr_tables + 1, sizeof(struct ati_page_map *), in ati_create_gatt_pages()
113 if (tables == NULL) in ati_create_gatt_pages()
118 tables[i] = entry; in ati_create_gatt_pages()
128 ati_generic_private.gatt_pages = tables; in ati_create_gatt_pages()
Dsworks-agp.c76 struct serverworks_page_map **tables; in serverworks_free_gatt_pages() local
79 tables = serverworks_private.gatt_pages; in serverworks_free_gatt_pages()
81 entry = tables[i]; in serverworks_free_gatt_pages()
89 kfree(tables); in serverworks_free_gatt_pages()
94 struct serverworks_page_map **tables; in serverworks_create_gatt_pages() local
99 tables = kcalloc(nr_tables + 1, sizeof(struct serverworks_page_map *), in serverworks_create_gatt_pages()
101 if (tables == NULL) in serverworks_create_gatt_pages()
110 tables[i] = entry; in serverworks_create_gatt_pages()
115 serverworks_private.gatt_pages = tables; in serverworks_create_gatt_pages()

12345678910>>...15