| /linux/scripts/mod/ |
| H A D | symsearch.c | 26 unsigned int table_size; member 70 unsigned int table_size) in symsearch_populate() argument 76 if (table_size-- == 0) in symsearch_populate() 94 if (table_size != 0) in symsearch_populate() 113 static void symsearch_fixup(struct syminfo *table, unsigned int table_size) in symsearch_fixup() argument 116 for (unsigned int i = 1; i < table_size; i++) { in symsearch_fixup() 126 unsigned int table_size = symbol_count(elf); in symsearch_init() local 129 sizeof(struct syminfo) * table_size); in symsearch_init() 130 elf->symsearch->table_size = table_size; in symsearch_init() 132 symsearch_populate(elf, elf->symsearch->table, table_size); in symsearch_init() [all …]
|
| /linux/tools/objtool/arch/loongarch/ |
| H A D | special.c | 21 unsigned long *table_size) in get_rodata_table_size_by_table_annotate() argument 95 *table_size = 0; in get_rodata_table_size_by_table_annotate() 102 *table_size = 0; in get_rodata_table_size_by_table_annotate() 107 *table_size = next_table->rodata_offset - orig_table->rodata_offset; in get_rodata_table_size_by_table_annotate() 114 unsigned long *table_size) in find_reloc_by_table_annotate() argument 133 get_rodata_table_size_by_table_annotate(file, insn, table_size); in find_reloc_by_table_annotate() 144 unsigned long *table_size) in find_reloc_of_rodata_c_jump_table() argument 158 *table_size = 0; in find_reloc_of_rodata_c_jump_table() 168 unsigned long *table_size) in arch_find_switch_table() argument 175 annotate_reloc = find_reloc_by_table_annotate(file, insn, table_size); in arch_find_switch_table() [all...] |
| /linux/drivers/net/wireguard/ |
| H A D | ratelimiter.c | 18 static unsigned int max_entries, table_size; variable 62 for (i = 0; i < table_size; ++i) { in wg_ratelimiter_gc_entries() 98 (table_size - 1)]; in wg_ratelimiter_allow() 105 (table_size - 1)]; in wg_ratelimiter_allow() 173 table_size = (totalram_pages() > (1U << 30) / PAGE_SIZE) ? 8192 : in wg_ratelimiter_init() 177 max_entries = table_size * 8; in wg_ratelimiter_init() 179 table_v4 = kvcalloc(table_size, sizeof(*table_v4), GFP_KERNEL); in wg_ratelimiter_init() 184 table_v6 = kvcalloc(table_size, sizeof(*table_v6), GFP_KERNEL); in wg_ratelimiter_init()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | mmsch_v4_0.h | 57 uint32_t table_size; member 112 table_size += size_dw; \ 122 table_size += size_dw; \ 133 table_size += size_dw; \ 141 table_size += size_dw; \
|
| H A D | mmsch_v3_0.h | 46 uint32_t table_size; member 100 table_size += size_dw; \ 110 table_size += size_dw; \ 121 table_size += size_dw; \ 129 table_size += size_dw; \
|
| H A D | mmsch_v1_0.h | 51 uint32_t table_size; member 135 table_size += sizeof(struct mmsch_v1_0_cmd_direct_read_modify_write)/4; \ 143 table_size += sizeof(struct mmsch_v1_0_cmd_direct_write)/4; \ 151 table_size += sizeof(struct mmsch_v1_0_cmd_direct_polling)/4; \
|
| H A D | mmsch_v2_0.h | 319 table_size += sizeof(struct mmsch_v2_0_cmd_direct_read_modify_write)/4; \ 327 table_size += sizeof(struct mmsch_v2_0_cmd_direct_write)/4; \ 335 table_size += sizeof(struct mmsch_v2_0_cmd_direct_polling)/4; \
|
| /linux/net/ |
| H A D | sysctl_net.c | 124 struct ctl_table *table, size_t table_size) in ensure_safe_net_sysctl() argument 130 for (size_t i = 0; i < table_size; ent++, i++) { in ensure_safe_net_sysctl() 166 size_t table_size) in register_net_sysctl_sz() argument 169 ensure_safe_net_sysctl(net, path, table, table_size); in register_net_sysctl_sz() 171 return __register_sysctl_table(&net->sysctls, path, table, table_size); in register_net_sysctl_sz()
|
| /linux/drivers/mcb/ |
| H A D | mcb-pci.c | 34 int ret, table_size; in mcb_pci_probe() local 93 table_size = ret; in mcb_pci_probe() 95 if (table_size < CHAM_HEADER_SIZE) { in mcb_pci_probe() 102 table_size, in mcb_pci_probe() 110 priv->base = devm_ioremap(&pdev->dev, priv->mapbase, table_size); in mcb_pci_probe()
|
| H A D | mcb-lpc.c | 26 int ret = 0, table_size; in mcb_lpc_probe() local 64 table_size = ret; in mcb_lpc_probe() 66 if (table_size < CHAM_HEADER_SIZE) { in mcb_lpc_probe() 73 table_size, in mcb_lpc_probe() 81 priv->base = devm_ioremap(&pdev->dev, priv->mem->start, table_size); in mcb_lpc_probe()
|
| H A D | mcb-parse.c | 181 u32 table_size; in chameleon_parse_cells() local 241 table_size = p - base; in chameleon_parse_cells() 242 pr_debug("%d cell(s) found. Chameleon table size: 0x%04x bytes\n", num_cells, table_size); in chameleon_parse_cells() 245 return table_size; in chameleon_parse_cells()
|
| /linux/drivers/clk/mmp/ |
| H A D | clk-mix.c | 109 unsigned int table_size) in _filter_clk_table() argument 118 for (i = 0; i < table_size; i++) { in _filter_clk_table() 220 for (i = 0; i < mix->table_size; i++) { in mmp_clk_mix_determine_rate() 353 for (i = 0; i < mix->table_size; i++) { in mmp_clk_set_parent() 360 if (i < mix->table_size) { in mmp_clk_set_parent() 386 for (i = 0; i < mix->table_size; i++) { in mmp_clk_set_rate() 397 if (i < mix->table_size) in mmp_clk_set_rate() 424 _filter_clk_table(mix, mix->table, mix->table_size); in mmp_clk_mix_init() 463 mix->table = kmemdup_array(config->table, config->table_size, in mmp_clk_register_mix() 468 mix->table_size = config->table_size; in mmp_clk_register_mix()
|
| /linux/net/xfrm/ |
| H A D | xfrm_sysctl.c | 46 size_t table_size = ARRAY_SIZE(xfrm_table); in xfrm_sysctl_init() local 60 table_size = 0; in xfrm_sysctl_init() 63 table_size); in xfrm_sysctl_init()
|
| /linux/drivers/clk/sunxi-ng/ |
| H A D | ccu_sdm.c | 37 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_enable() 102 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_has_rate() 131 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_read_rate() 151 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_get_factors()
|
| H A D | ccu_sdm.h | 33 u32 table_size; member 45 .table_size = ARRAY_SIZE(_table), \
|
| /linux/drivers/firmware/efi/ |
| H A D | efi-init.c | 95 size_t table_size; in uefi_init() local 117 table_size = sizeof(efi_config_table_t) * systab->nr_tables; in uefi_init() 119 table_size); in uefi_init() 128 early_memunmap(config_tables, table_size); in uefi_init()
|
| /linux/net/smc/ |
| H A D | smc_sysctl.c | 200 size_t table_size = ARRAY_SIZE(smc_table); 221 for (i = 0; i < table_size; i++) 226 table_size); 106 size_t table_size = ARRAY_SIZE(smc_table); smc_sysctl_net_init() local
|
| /linux/drivers/acpi/apei/ |
| H A D | einj-core.c | 373 if (trigger_tab->table_size > PAGE_SIZE || in einj_check_trigger_header() 374 trigger_tab->table_size < trigger_tab->header_size) in einj_check_trigger_header() 377 (trigger_tab->table_size - trigger_tab->header_size) / in einj_check_trigger_header() 414 u32 table_size; in __einj_error_trigger() local 445 table_size = trigger_tab.table_size; in __einj_error_trigger() 446 full_trigger_tab = kmalloc(table_size, GFP_KERNEL); in __einj_error_trigger() 450 table_size - sizeof(trigger_tab), in __einj_error_trigger() 455 (unsigned long long)trigger_paddr + table_size - 1); in __einj_error_trigger() 459 p = ioremap_cache(trigger_paddr, table_size); in __einj_error_trigger() 464 memcpy_fromio(full_trigger_tab, p, table_size); in __einj_error_trigger() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | legacy.c | 80 int table_size; in esw_create_legacy_fdb_table() local 107 table_size = fdb->max_fte; in esw_create_legacy_fdb_table() 116 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 3); in esw_create_legacy_fdb_table() 129 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 2); in esw_create_legacy_fdb_table() 130 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 2); in esw_create_legacy_fdb_table() 148 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 1); in esw_create_legacy_fdb_table() 149 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 1); in esw_create_legacy_fdb_table()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | egress_ofld.c | 188 int table_size = 0; in esw_acl_egress_ofld_setup() local 201 table_size++; in esw_acl_egress_ofld_setup() 203 table_size++; in esw_acl_egress_ofld_setup() 205 MLX5_FLOW_NAMESPACE_ESW_EGRESS, table_size); in esw_acl_egress_ofld_setup()
|
| /linux/tools/objtool/arch/x86/ |
| H A D | special.c | 87 unsigned long *table_size) in arch_find_switch_table() 138 *table_size = 0; 83 arch_find_switch_table(struct objtool_file * file,struct instruction * insn,unsigned long * table_size) arch_find_switch_table() argument
|
| /linux/include/linux/ |
| H A D | sysctl.h | 341 const char *path, const struct ctl_table *table, size_t table_size); 343 size_t table_size); 348 const char *table_name, size_t table_size); 372 size_t table_size) in register_sysctl_sz() argument
|
| /linux/sound/soc/codecs/ |
| H A D | peb2466.c | 1192 u32 table_size; in peb2466_fw_parse_axtable() local 1221 table_size = lng - 13; in peb2466_fw_parse_axtable() 1226 if (init_index >= (table_size / 4)) { in peb2466_fw_parse_axtable() 1228 init_index, table_size / 4); in peb2466_fw_parse_axtable() 1234 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_axtable() 1238 table = devm_kzalloc(&peb2466->spi->dev, table_size, GFP_KERNEL); in peb2466_fw_parse_axtable() 1241 memcpy(table, data + 13, table_size); in peb2466_fw_parse_axtable() 1251 lookup->count = table_size / 4; in peb2466_fw_parse_axtable() 1296 u32 table_size; in peb2466_fw_parse_artable() local 1325 table_size in peb2466_fw_parse_artable() [all...] |
| /linux/include/linux/clk/ |
| H A D | renesas.h | 162 const u8 *table, u8 table_size, u64 freq_millihz); 173 const u8 *table, u8 table_size, in rzv2h_get_pll_divs_pars() argument
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-mediatek-gen3.c | 321 resource_size_t table_size; in mtk_pcie_set_trans_table() local 329 table_size = BIT(fls(remaining) - 1); in mtk_pcie_set_trans_table() 333 table_size = min(table_size, addr_align); in mtk_pcie_set_trans_table() 337 if (table_size < 0x1000) { in mtk_pcie_set_trans_table() 339 (unsigned long long)table_size); in mtk_pcie_set_trans_table() 344 writel_relaxed(lower_32_bits(cpu_addr) | PCIE_ATR_SIZE(fls(table_size) - 1), table); in mtk_pcie_set_trans_table() 362 (unsigned long long)table_size); in mtk_pcie_set_trans_table() 364 cpu_addr += table_size; in mtk_pcie_set_trans_table() 365 pci_addr += table_size; in mtk_pcie_set_trans_table() 366 remaining -= table_size; in mtk_pcie_set_trans_table()
|