/linux/drivers/comedi/drivers/ |
H A D | ni_routes.h | 79 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 …]
|
H A D | ni_routes.c | 95 struct ni_route_tables *tables) in ni_find_device_routes() argument 108 tables->route_values = rv; in ni_find_device_routes() 109 tables->valid_routes = dr; in ni_find_device_routes() 137 struct ni_route_tables *tables) in ni_assign_device_routes() argument 139 memset(tables, 0, sizeof(struct ni_route_tables)); in ni_assign_device_routes() 141 tables); in ni_assign_device_routes() 149 unsigned int ni_count_valid_routes(const struct ni_route_tables *tables) in ni_count_valid_routes() argument 154 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_count_valid_routes() 155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes() 161 const u8 *rv = tables->route_values; in ni_count_valid_routes() [all …]
|
/linux/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp.c | 30 u32 *data = (u32 *)(isp_dev->tables.load.data + offset); in sun6i_isp_load_read() 38 u32 *data = (u32 *)(isp_dev->tables.load.data + offset); in sun6i_isp_load_write() 117 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.load.address)); in sun6i_isp_tables_configure() 120 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.save.address)); in sun6i_isp_tables_configure() 123 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.lut.address)); in sun6i_isp_tables_configure() 126 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.drc.address)); in sun6i_isp_tables_configure() 129 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.stats.address)); in sun6i_isp_tables_configure() 135 struct sun6i_isp_tables *tables = &isp_dev->tables; in sun6i_isp_tables_setup() local 138 tables->load.size = variant->table_load_save_size; in sun6i_isp_tables_setup() 139 ret = sun6i_isp_table_setup(isp_dev, &tables->load); in sun6i_isp_tables_setup() [all …]
|
/linux/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 720 for (const struct pmu_events_map *tables = &pmu_events_map[0]; in find_core_events_table() local 721 tables->arch; in find_core_events_table() 722 tables++) { in find_core_events_table() 723 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid)) in find_core_events_table() 724 return &tables->event_table; in find_core_events_table() 731 for (const struct pmu_events_map *tables = &pmu_events_map[0]; in find_core_metrics_table() local 732 tables->arch; in find_core_metrics_table() 733 tables++) { in find_core_metrics_table() 734 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid)) in find_core_metrics_table() 735 return &tables->metric_table; in find_core_metrics_table() [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | tbdata.c | 50 acpi_tb_acquire_table(&acpi_gbl_root_table_list.tables[table_index], in acpi_tb_compare_tables() 433 (acpi_gbl_root_table_list.tables[i]. in acpi_tb_check_duplication() 460 if (acpi_gbl_root_table_list.tables[i].flags & in acpi_tb_check_duplication() 588 struct acpi_table_desc *tables; in acpi_tb_resize_root_table_list() local 612 tables = ACPI_ALLOCATE_ZEROED(((acpi_size)max_table_count) * in acpi_tb_resize_root_table_list() 614 if (!tables) { in acpi_tb_resize_root_table_list() 623 if (acpi_gbl_root_table_list.tables) { in acpi_tb_resize_root_table_list() 625 if (acpi_gbl_root_table_list.tables[i].address) { in acpi_tb_resize_root_table_list() 626 memcpy(tables + current_table_count, in acpi_tb_resize_root_table_list() 627 acpi_gbl_root_table_list.tables + i, in acpi_tb_resize_root_table_list() [all …]
|
H A D | tbfind.c | 67 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()
|
H A D | tbxface.c | 92 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/security/apparmor/ |
H A D | match.c | 103 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers() argument 109 if (!(tables[YYTD_ID_DEF] && tables[YYTD_ID_BASE] && in verify_table_headers() 110 tables[YYTD_ID_NXT] && tables[YYTD_ID_CHK])) in verify_table_headers() 114 state_count = tables[YYTD_ID_BASE]->td_lolen; in verify_table_headers() 116 if (!tables[YYTD_ID_ACCEPT]) in verify_table_headers() 118 if (state_count != tables[YYTD_ID_ACCEPT]->td_lolen) in verify_table_headers() 122 if (!tables[YYTD_ID_ACCEPT2]) in verify_table_headers() 124 if (state_count != tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_table_headers() 127 if (state_count != tables[YYTD_ID_DEF]->td_lolen) in verify_table_headers() 131 trans_count = tables[YYTD_ID_NXT]->td_lolen; in verify_table_headers() [all …]
|
/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 92 struct tables { struct 110 static struct tables tables_global; argument 1138 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_evsel() local 1146 call_object(tables->evsel_handler, t, "evsel_table"); in python_export_evsel() 1156 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_machine() local 1165 call_object(tables->machine_handler, t, "machine_table"); in python_export_machine() 1175 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_thread() local 1186 call_object(tables->thread_handler, t, "thread_table"); in python_export_thread() 1196 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm() local 1207 call_object(tables->comm_handler, t, "comm_table"); in python_export_comm() [all …]
|
/linux/scripts/ |
H A D | check-sysctl-docs | 114 match($0, /static( const)? struct ctl_table ([^][]+)/, tables) 115 curtable = tables[2] 160 match($0, /__register_sysctl_table\([^,]+, *"([^"]+)" *, *([^,]+)/, tables) 161 if (debug) print "Registering variable table " tables[2] " at " tables[1] 162 if (tables[1] == table && tables[2] in vars) { 163 for (entry in entries[vars[tables[2]]]) {
|
/linux/Documentation/admin-guide/acpi/ |
H A D | initrd_table_override.rst | 4 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/Documentation/ABI/testing/ |
H A D | sysfs-firmware-dmi-tables | 1 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/security/apparmor/include/ |
H A D | match.h | 92 #define DEFAULT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_DEF]->td_data)) 93 #define BASE_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_BASE]->td_data)) 94 #define NEXT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_NXT]->td_data)) 95 #define CHECK_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_CHK]->td_data)) 96 #define EQUIV_TABLE(DFA) ((u8 *)((DFA)->tables[YYTD_ID_EC]->td_data)) 97 #define ACCEPT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT]->td_data)) 98 #define ACCEPT_TABLE2(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT2]->td_data)) 104 struct table_header *tables[YYTD_ID_TSIZE]; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_misc.c | 68 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/arch/arm64/ |
H A D | Makefile | 59 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables 60 KBUILD_AFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables 61 KBUILD_RUSTFLAGS += -Cforce-unwind-tables=n 63 KBUILD_CFLAGS += -fasynchronous-unwind-tables 64 KBUILD_AFLAGS += -fasynchronous-unwind-tables 65 KBUILD_RUSTFLAGS += -Cforce-unwind-tables=y -Zuse-sync-unwind=n
|
/linux/Documentation/arch/x86/ |
H A D | pti.rst | 15 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/fs/unicode/ |
H A D | utf8-core.c | 184 um->tables = symbol_request(utf8_data_table); in utf8_load() 185 if (!um->tables) in utf8_load() 190 um->ntab[UTF8_NFDI] = find_table_version(um->tables->utf8nfdidata, in utf8_load() 191 um->tables->utf8nfdidata_size, um->version); in utf8_load() 194 um->ntab[UTF8_NFDICF] = find_table_version(um->tables->utf8nfdicfdata, in utf8_load() 195 um->tables->utf8nfdicfdata_size, um->version); in utf8_load()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 15 struct mlx5e_flow_table tables[ACCEL_FS_TCP_NUM_TYPES]; member 94 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 106 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 109 ft = &fs_tcp->tables[ACCEL_FS_IPV6_TCP]; in mlx5e_accel_fs_add_sk() 159 accel_fs_t = &fs_tcp->tables[type]; in accel_fs_tcp_add_default_rule() 269 struct mlx5e_flow_table *ft = &accel_tcp->tables[type]; in accel_fs_tcp_create_table() 331 dest.ft = accel_tcp->tables[i].t; in accel_fs_tcp_enable() 348 if (IS_ERR_OR_NULL(fs_tcp->tables[i].t)) in accel_fs_tcp_destroy_table() 352 mlx5e_destroy_flow_table(&fs_tcp->tables[i]); in accel_fs_tcp_destroy_table() 353 fs_tcp->tables[i].t = NULL; in accel_fs_tcp_destroy_table()
|
/linux/drivers/media/rc/keymaps/ |
H A D | Kconfig | 9 Controller tables. They are short tables, but if you 11 tables on userspace, you should disable it.
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 89 table_group->tables[0] = iommu_pseries_alloc_table(node); in iommu_pseries_alloc_group() 90 if (table_group->tables[0]) in iommu_pseries_alloc_group() 113 if (table_group->tables[0]) in iommu_pseries_free_group() 114 iommu_tce_table_put(table_group->tables[0]); in iommu_pseries_free_group() 116 if (table_group->tables[1]) in iommu_pseries_free_group() 117 iommu_tce_table_put(table_group->tables[1]); in iommu_pseries_free_group() 687 tbl = pci->table_group->tables[0]; in pci_dma_bus_setup_pSeries() 875 tbl = ppci->table_group->tables[0]; in pci_dma_bus_setup_pSeriesLP() 912 tbl = PCI_DN(dn)->table_group->tables[0]; in pci_dma_dev_setup_pSeries() 931 PCI_DN(dn)->table_group->tables[0]); in pci_dma_dev_setup_pSeries() [all …]
|
/linux/arch/x86/boot/compressed/ |
H A D | efi.c | 111 if (esd && !esd->tables) { in get_kexec_setup_data() 154 *cfg_tbl_pa = esd ? esd->tables : stbl->tables; in efi_get_conf_table() 159 *cfg_tbl_pa = stbl->tables; in efi_get_conf_table()
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-jpeg.c | 422 struct v4l2_jpeg_reference *tables) in jpeg_parse_quantization_tables() argument 462 if (tables) { in jpeg_parse_quantization_tables() 463 tables[tq].start = qk; in jpeg_parse_quantization_tables() 464 tables[tq].length = pq ? 128 : 64; in jpeg_parse_quantization_tables() 475 struct v4l2_jpeg_reference *tables) in jpeg_parse_huffman_tables() argument 522 if (tables) { in jpeg_parse_huffman_tables() 523 tables[(tc << 1) | th].start = table; in jpeg_parse_huffman_tables() 524 tables[(tc << 1) | th].length = stream->curr - table; in jpeg_parse_huffman_tables()
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | acpi-lid.rst | 15 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/drivers/char/agp/ |
H A D | amd-k7-agp.c | 65 struct amd_page_map **tables; in amd_free_gatt_pages() local 68 tables = amd_irongate_private.gatt_pages; in amd_free_gatt_pages() 70 entry = tables[i]; in amd_free_gatt_pages() 77 kfree(tables); in amd_free_gatt_pages() 83 struct amd_page_map **tables; in amd_create_gatt_pages() local 88 tables = kcalloc(nr_tables + 1, sizeof(struct amd_page_map *), in amd_create_gatt_pages() 90 if (tables == NULL) in amd_create_gatt_pages() 95 tables[i] = entry; in amd_create_gatt_pages() 105 amd_irongate_private.gatt_pages = tables; in amd_create_gatt_pages()
|
/linux/drivers/media/pci/pt1/ |
H A D | pt1.c | 78 struct pt1_table *tables; member 508 page = pt1->tables[pt1->table_index].bufs[pt1->buf_index].page; in pt1_thread() 621 struct pt1_table *tables; in pt1_cleanup_tables() local 624 tables = pt1->tables; in pt1_cleanup_tables() 628 pt1_cleanup_table(pt1, &tables[i]); in pt1_cleanup_tables() 630 vfree(tables); in pt1_cleanup_tables() 635 struct pt1_table *tables; in pt1_init_tables() local 642 tables = vmalloc(array_size(pt1_nr_tables, sizeof(struct pt1_table))); in pt1_init_tables() 643 if (tables == NULL) in pt1_init_tables() 649 ret = pt1_init_table(pt1, &tables[0], &first_pfn); in pt1_init_tables() [all …]
|