/linux-4.4.14/tools/power/acpi/tools/acpidump/ |
D | apdump.c | 49 ap_dump_table_buffer(struct acpi_table_header *table, 64 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header() argument 67 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header() 71 if (!acpi_ut_valid_acpi_name(table->signature)) { in ap_is_valid_header() 73 *(u32 *)table->signature); in ap_is_valid_header() 79 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header() 81 table->length); in ap_is_valid_header() 101 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum() argument 106 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_checksum() 111 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_is_valid_checksum() [all …]
|
D | apfiles.c | 120 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file() argument 130 table_length = ap_get_table_length(table); in ap_write_to_binary_file() 134 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_write_to_binary_file() 137 ACPI_MOVE_NAME(filename, table->signature); in ap_write_to_binary_file() 158 table->signature, filename, table->length, table->length); in ap_write_to_binary_file() 170 actual = acpi_os_write_file(file, table, 1, table_length); in ap_write_to_binary_file()
|
D | acpidump.h | 115 u8 ap_is_valid_header(struct acpi_table_header *table); 117 u8 ap_is_valid_checksum(struct acpi_table_header *table); 119 u32 ap_get_table_length(struct acpi_table_header *table); 126 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance);
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | utils.c | 455 struct iwl_umac_error_event_table table; in iwl_mvm_dump_umac_error_log() local 469 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_mvm_dump_umac_error_log() 471 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_mvm_dump_umac_error_log() 474 mvm->status, table.valid); in iwl_mvm_dump_umac_error_log() 477 IWL_ERR(mvm, "0x%08X | %s\n", table.error_id, in iwl_mvm_dump_umac_error_log() 478 desc_lookup(table.error_id)); in iwl_mvm_dump_umac_error_log() 479 IWL_ERR(mvm, "0x%08X | umac branchlink1\n", table.blink1); in iwl_mvm_dump_umac_error_log() 480 IWL_ERR(mvm, "0x%08X | umac branchlink2\n", table.blink2); in iwl_mvm_dump_umac_error_log() 481 IWL_ERR(mvm, "0x%08X | umac interruptlink1\n", table.ilink1); in iwl_mvm_dump_umac_error_log() 482 IWL_ERR(mvm, "0x%08X | umac interruptlink2\n", table.ilink2); in iwl_mvm_dump_umac_error_log() [all …]
|
/linux-4.4.14/arch/x86/lib/ |
D | inat.c | 43 const insn_attr_t *table; in inat_get_escape_attribute() local 48 table = inat_escape_tables[n][0]; in inat_get_escape_attribute() 49 if (!table) in inat_get_escape_attribute() 51 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 52 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute() 53 if (!table) in inat_get_escape_attribute() 56 return table[opcode]; in inat_get_escape_attribute() 62 const insn_attr_t *table; in inat_get_group_attribute() local 67 table = inat_group_tables[n][0]; in inat_get_group_attribute() 68 if (!table) in inat_get_group_attribute() [all …]
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | inat.c | 43 const insn_attr_t *table; in inat_get_escape_attribute() local 48 table = inat_escape_tables[n][0]; in inat_get_escape_attribute() 49 if (!table) in inat_get_escape_attribute() 51 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 52 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute() 53 if (!table) in inat_get_escape_attribute() 56 return table[opcode]; in inat_get_escape_attribute() 62 const insn_attr_t *table; in inat_get_group_attribute() local 67 table = inat_group_tables[n][0]; in inat_get_group_attribute() 68 if (!table) in inat_get_group_attribute() [all …]
|
D | gen-insn-attr-x86.awk | 16 delete table 170 if (array_size(table) != 0) { 171 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]", 192 if (array_size(table) != 0) { 193 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]", 261 if (idx in table) 275 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")" 349 table[idx] = add_flags(table[idx],flags) 353 table[idx] = add_flags(table[idx],variant)
|
/linux-4.4.14/arch/powerpc/boot/ |
D | planetcore.c | 29 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument 32 if (*table == '\n') in planetcore_prepare_table() 33 *table = 0; in planetcore_prepare_table() 35 table++; in planetcore_prepare_table() 36 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table() 38 *table = 0; in planetcore_prepare_table() 41 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument 46 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key() 47 return table + keylen + 1; in planetcore_get_key() 49 table += strlen(table) + 1; in planetcore_get_key() [all …]
|
D | ep405.c | 24 static char *table; variable 33 planetcore_set_mac_addrs(table); in platform_fixups() 35 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups() 43 if (!planetcore_get_decimal(table, PLANETCORE_KEY_KB_NVRAM, &val)) { in platform_fixups() 59 table = (char *)r3; in platform_init() 60 planetcore_prepare_table(table); in platform_init() 62 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init() 70 planetcore_set_stdout_path(table); in platform_init()
|
D | ep88xc.c | 18 static char *table; variable 26 planetcore_set_mac_addrs(table); in platform_fixups() 28 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups() 39 table = (char *)r3; in platform_init() 40 planetcore_prepare_table(table); in platform_init() 42 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init() 50 planetcore_set_stdout_path(table); in platform_init()
|
D | ep8248e.c | 18 static char *table; variable 28 planetcore_set_mac_addrs(table); in platform_fixups() 30 if (!planetcore_get_decimal(table, PLANETCORE_KEY_CRYSTAL_HZ, &val)) { in platform_fixups() 41 table = (char *)r3; in platform_init() 42 planetcore_prepare_table(table); in platform_init() 44 if (!planetcore_get_decimal(table, PLANETCORE_KEY_MB_RAM, &mem_size)) in platform_init() 52 planetcore_set_stdout_path(table); in platform_init()
|
D | planetcore.h | 25 void planetcore_prepare_table(char *table); 32 const char *planetcore_get_key(const char *table, const char *key); 33 int planetcore_get_decimal(const char *table, const char *key, u64 *val); 34 int planetcore_get_hex(const char *table, const char *key, u64 *val); 39 void planetcore_set_mac_addrs(const char *table); 44 void planetcore_set_stdout_path(const char *table);
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 249 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj, in mlx4_table_get() argument 252 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get() 253 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get() 256 mutex_lock(&table->mutex); in mlx4_table_get() 258 if (table->icm[i]) { in mlx4_table_get() 259 ++table->icm[i]->refcount; in mlx4_table_get() 263 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get() 264 (table->lowmem ? gfp : GFP_HIGHUSER) | in mlx4_table_get() 265 __GFP_NOWARN, table->coherent); in mlx4_table_get() 266 if (!table->icm[i]) { in mlx4_table_get() [all …]
|
D | port.c | 56 void mlx4_init_mac_table(struct mlx4_dev *dev, struct mlx4_mac_table *table) in mlx4_init_mac_table() argument 60 mutex_init(&table->mutex); in mlx4_init_mac_table() 62 table->entries[i] = 0; in mlx4_init_mac_table() 63 table->refs[i] = 0; in mlx4_init_mac_table() 65 table->max = 1 << dev->caps.log_num_macs; in mlx4_init_mac_table() 66 table->total = 0; in mlx4_init_mac_table() 69 void mlx4_init_vlan_table(struct mlx4_dev *dev, struct mlx4_vlan_table *table) in mlx4_init_vlan_table() argument 73 mutex_init(&table->mutex); in mlx4_init_vlan_table() 75 table->entries[i] = 0; in mlx4_init_vlan_table() 76 table->refs[i] = 0; in mlx4_init_vlan_table() [all …]
|
D | icm.h | 74 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj, 76 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj); 77 int mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, 79 void mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, 81 int mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, 84 void mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table); 85 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle);
|
/linux-4.4.14/drivers/infiniband/core/ |
D | cache.c | 49 u16 table[0]; member 116 struct ib_gid_table *table, int ix, in write_gid() argument 129 write_lock_irqsave(&table->data_vec[ix].lock, flags); in write_gid() 132 table->data_vec[ix].props |= GID_TABLE_ENTRY_INVALID; in write_gid() 133 write_unlock_irqrestore(&table->data_vec[ix].lock, flags); in write_gid() 139 &table->data_vec[ix].context); in write_gid() 142 &table->data_vec[ix].context); in write_gid() 143 write_lock_irqsave(&table->data_vec[ix].lock, flags); in write_gid() 146 old_net_dev = table->data_vec[ix].attr.ndev; in write_gid() 153 table->data_vec[ix].context = NULL; in write_gid() [all …]
|
/linux-4.4.14/drivers/media/i2c/ |
D | ks0127.c | 221 u8 *table = reg_defaults; in init_reg_defaults() local 227 table[KS_CMDA] = 0x2c; /* VSE=0, CCIR 601, autodetect standard */ in init_reg_defaults() 228 table[KS_CMDB] = 0x12; /* VALIGN=0, AGC control and input */ in init_reg_defaults() 229 table[KS_CMDC] = 0x00; /* Test options */ in init_reg_defaults() 231 table[KS_CMDD] = 0x01; in init_reg_defaults() 232 table[KS_HAVB] = 0x00; /* HAV Start Control */ in init_reg_defaults() 233 table[KS_HAVE] = 0x00; /* HAV End Control */ in init_reg_defaults() 234 table[KS_HS1B] = 0x10; /* HS1 Start Control */ in init_reg_defaults() 235 table[KS_HS1E] = 0x00; /* HS1 End Control */ in init_reg_defaults() 236 table[KS_HS2B] = 0x00; /* HS2 Start Control */ in init_reg_defaults() [all …]
|
/linux-4.4.14/drivers/clk/ |
D | clk-divider.c | 35 static unsigned int _get_table_maxdiv(const struct clk_div_table *table) in _get_table_maxdiv() argument 40 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv() 46 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv() argument 51 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv() 57 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv() argument 64 if (table) in _get_maxdiv() 65 return _get_table_maxdiv(table); in _get_maxdiv() 69 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() argument 74 for (clkt = table; clkt->div; clkt++) in _get_table_div() 80 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() argument [all …]
|
D | clk-mux.c | 47 if (mux->table) { in clk_mux_get_parent() 51 if (mux->table[i] == val) in clk_mux_get_parent() 74 if (mux->table) in clk_mux_set_parent() 75 index = mux->table[index]; in clk_mux_set_parent() 123 u8 clk_mux_flags, u32 *table, spinlock_t *lock) in clk_register_mux_table() argument 160 mux->table = table; in clk_register_mux_table()
|
D | clk-stm32f4.c | 259 u64 table[ARRAY_SIZE(stm32f42xx_gate_map)]; in stm32f4_rcc_lookup_clk_idx() local 267 memcpy(table, stm32f42xx_gate_map, sizeof(table)); in stm32f4_rcc_lookup_clk_idx() 270 if (WARN_ON(secondary >= BITS_PER_BYTE * sizeof(table) || in stm32f4_rcc_lookup_clk_idx() 271 0 == (table[BIT_ULL_WORD(secondary)] & in stm32f4_rcc_lookup_clk_idx() 276 table[BIT_ULL_WORD(secondary)] &= in stm32f4_rcc_lookup_clk_idx() 279 return FCLK + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx() 280 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx() 281 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_mocs.c | 35 const struct drm_i915_mocs_entry *table; member 142 struct drm_i915_mocs_table *table) in get_mocs_settings() argument 147 table->size = ARRAY_SIZE(skylake_mocs_table); in get_mocs_settings() 148 table->table = skylake_mocs_table; in get_mocs_settings() 151 table->size = ARRAY_SIZE(broxton_mocs_table); in get_mocs_settings() 152 table->table = broxton_mocs_table; in get_mocs_settings() 174 const struct drm_i915_mocs_table *table, in emit_mocs_control_table() argument 181 if (WARN_ON(table->size > GEN9_NUM_MOCS_ENTRIES)) in emit_mocs_control_table() 193 for (index = 0; index < table->size; index++) { in emit_mocs_control_table() 196 table->table[index].control_value); in emit_mocs_control_table() [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_gred.c | 62 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() argument 64 return test_bit(GRED_WRED_MODE, &table->flags); in gred_wred_mode() 67 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() argument 69 __set_bit(GRED_WRED_MODE, &table->flags); in gred_enable_wred_mode() 72 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() argument 74 __clear_bit(GRED_WRED_MODE, &table->flags); in gred_disable_wred_mode() 77 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() argument 79 return test_bit(GRED_RIO_MODE, &table->flags); in gred_rio_mode() 82 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() argument 84 __set_bit(GRED_RIO_MODE, &table->flags); in gred_enable_rio_mode() [all …]
|
/linux-4.4.14/drivers/clk/ti/ |
D | divider.c | 33 static unsigned int _get_table_maxdiv(const struct clk_div_table *table) in _get_table_maxdiv() argument 38 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv() 50 if (divider->table) in _get_maxdiv() 51 return _get_table_maxdiv(divider->table); in _get_maxdiv() 55 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() argument 60 for (clkt = table; clkt->div; clkt++) in _get_table_div() 72 if (divider->table) in _get_div() 73 return _get_table_div(divider->table, val); in _get_div() 77 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val() argument 82 for (clkt = table; clkt->div; clkt++) in _get_table_val() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get() argument 224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get() 227 mutex_lock(&table->mutex); in mthca_table_get() 229 if (table->icm[i]) { in mthca_table_get() 230 ++table->icm[i]->refcount; in mthca_table_get() 234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mthca_table_get() 235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_table_get() 236 __GFP_NOWARN, table->coherent); in mthca_table_get() 237 if (!table->icm[i]) { in mthca_table_get() 242 if (mthca_MAP_ICM(dev, table->icm[i], in mthca_table_get() [all …]
|
D | mthca_memfree.h | 90 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table); 91 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj); 92 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj); 93 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle); 94 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, 96 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table,
|
D | mthca_allocator.c | 47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in mthca_alloc() 50 obj = find_first_zero_bit(alloc->table, alloc->max); in mthca_alloc() 54 set_bit(obj, alloc->table); in mthca_alloc() 72 clear_bit(obj, alloc->table); in mthca_free() 93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long), in mthca_alloc_init() 95 if (!alloc->table) in mthca_alloc_init() 98 bitmap_zero(alloc->table, num); in mthca_alloc_init() 100 set_bit(i, alloc->table); in mthca_alloc_init() 107 kfree(alloc->table); in mthca_alloc_cleanup()
|
/linux-4.4.14/drivers/cpufreq/ |
D | freq_table.c | 23 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local 25 if (!table) in policy_has_boost_freq() 28 cpufreq_for_each_valid_entry(pos, table) in policy_has_boost_freq() 37 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo() argument 44 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_cpuinfo() 51 pr_debug("table entry %u: %u kHz\n", (int)(pos - table), freq); in cpufreq_frequency_table_cpuinfo() 70 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify() argument 81 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_verify() 111 struct cpufreq_frequency_table *table = in cpufreq_generic_frequency_table_verify() local 113 if (!table) in cpufreq_generic_frequency_table_verify() [all …]
|
D | qoriq-cpufreq.c | 35 struct cpufreq_frequency_table *table; member 171 struct cpufreq_frequency_table table; in freq_table_sort() local 187 table.driver_data = freq_table[i].driver_data; in freq_table_sort() 188 table.frequency = freq_table[i].frequency; in freq_table_sort() 191 freq_table[ind].driver_data = table.driver_data; in freq_table_sort() 192 freq_table[ind].frequency = table.frequency; in freq_table_sort() 203 struct cpufreq_frequency_table *table; in qoriq_cpufreq_cpu_init() local 235 table = kcalloc(count + 1, sizeof(*table), GFP_KERNEL); in qoriq_cpufreq_cpu_init() 236 if (!table) { in qoriq_cpufreq_cpu_init() 255 table[i].frequency = CPUFREQ_ENTRY_INVALID; in qoriq_cpufreq_cpu_init() [all …]
|
D | sparc-us2e-cpufreq.c | 25 struct cpufreq_frequency_table table[6]; member 280 struct cpufreq_frequency_table *table = in us2e_freq_cpu_init() local 281 &us2e_freq_table[cpu].table[0]; in us2e_freq_cpu_init() 283 table[0].driver_data = 0; in us2e_freq_cpu_init() 284 table[0].frequency = clock_tick / 1; in us2e_freq_cpu_init() 285 table[1].driver_data = 1; in us2e_freq_cpu_init() 286 table[1].frequency = clock_tick / 2; in us2e_freq_cpu_init() 287 table[2].driver_data = 2; in us2e_freq_cpu_init() 288 table[2].frequency = clock_tick / 4; in us2e_freq_cpu_init() 289 table[2].driver_data = 3; in us2e_freq_cpu_init() [all …]
|
D | sparc-us3-cpufreq.c | 24 struct cpufreq_frequency_table table[4]; member 139 struct cpufreq_frequency_table *table = in us3_freq_cpu_init() local 140 &us3_freq_table[cpu].table[0]; in us3_freq_cpu_init() 142 table[0].driver_data = 0; in us3_freq_cpu_init() 143 table[0].frequency = clock_tick / 1; in us3_freq_cpu_init() 144 table[1].driver_data = 1; in us3_freq_cpu_init() 145 table[1].frequency = clock_tick / 2; in us3_freq_cpu_init() 146 table[2].driver_data = 2; in us3_freq_cpu_init() 147 table[2].frequency = clock_tick / 32; in us3_freq_cpu_init() 148 table[3].driver_data = 0; in us3_freq_cpu_init() [all …]
|
D | pxa3xx-cpufreq.c | 93 struct cpufreq_frequency_table *table; in setup_freqs_table() local 96 table = kzalloc((num + 1) * sizeof(*table), GFP_KERNEL); in setup_freqs_table() 97 if (table == NULL) in setup_freqs_table() 101 table[i].driver_data = i; in setup_freqs_table() 102 table[i].frequency = freqs[i].cpufreq_mhz * 1000; in setup_freqs_table() 104 table[num].driver_data = i; in setup_freqs_table() 105 table[num].frequency = CPUFREQ_TABLE_END; in setup_freqs_table() 109 pxa3xx_freqs_table = table; in setup_freqs_table() 111 return cpufreq_table_validate_and_show(policy, table); in setup_freqs_table()
|
D | arm_big_little.c | 233 static inline u32 get_table_count(struct cpufreq_frequency_table *table) in get_table_count() argument 237 for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++) in get_table_count() 244 static inline u32 get_table_min(struct cpufreq_frequency_table *table) in get_table_min() argument 248 cpufreq_for_each_entry(pos, table) in get_table_min() 255 static inline u32 get_table_max(struct cpufreq_frequency_table *table) in get_table_max() argument 259 cpufreq_for_each_entry(pos, table) in get_table_max() 268 struct cpufreq_frequency_table *table; in merge_cluster_tables() local 273 table = kzalloc(sizeof(*table) * count, GFP_KERNEL); in merge_cluster_tables() 274 if (!table) in merge_cluster_tables() 277 freq_table[MAX_CLUSTERS] = table; in merge_cluster_tables() [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | rv730_dpm.c | 230 RV770_SMC_STATETABLE *table) in rv730_populate_smc_acpi_state() argument 242 table->ACPIState = table->initialState; in rv730_populate_smc_acpi_state() 243 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC; in rv730_populate_smc_acpi_state() 247 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 248 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ? in rv730_populate_smc_acpi_state() 250 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state() 254 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 255 table->ACPIState.levels[0].gen2PCIE = 0; in rv730_populate_smc_acpi_state() 297 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_smc_acpi_state() 298 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); in rv730_populate_smc_acpi_state() [all …]
|
D | ci_dpm.c | 1296 SMU7_Discrete_DpmTable *table = &pi->smc_state_table; in ci_init_fps_limits() local 1302 table->FpsHighT = cpu_to_be16(tmp); in ci_init_fps_limits() 1305 table->FpsLowT = cpu_to_be16(tmp); in ci_init_fps_limits() 2189 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vddc_table() argument 2194 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2195 for (count = 0; count < table->VddcLevelCount; count++) { in ci_populate_smc_vddc_table() 2198 &table->VddcLevel[count]); in ci_populate_smc_vddc_table() 2201 table->VddcLevel[count].Smio |= in ci_populate_smc_vddc_table() 2204 table->VddcLevel[count].Smio = 0; in ci_populate_smc_vddc_table() 2206 table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount); in ci_populate_smc_vddc_table() [all …]
|
D | btc_dpm.c | 1174 …tc_get_max_clock_from_voltage_dependency_table(struct radeon_clock_voltage_dependency_table *table, in btc_get_max_clock_from_voltage_dependency_table() argument 1179 if ((table == NULL) || (table->count == 0)) { in btc_get_max_clock_from_voltage_dependency_table() 1184 for (i = 0; i < table->count; i++) { in btc_get_max_clock_from_voltage_dependency_table() 1185 if (clock < table->entries[i].clk) in btc_get_max_clock_from_voltage_dependency_table() 1186 clock = table->entries[i].clk; in btc_get_max_clock_from_voltage_dependency_table() 1191 void btc_apply_voltage_dependency_rules(struct radeon_clock_voltage_dependency_table *table, in btc_apply_voltage_dependency_rules() argument 1196 if ((table == NULL) || (table->count == 0)) in btc_apply_voltage_dependency_rules() 1199 for (i= 0; i < table->count; i++) { in btc_apply_voltage_dependency_rules() 1200 if (clock <= table->entries[i].clk) { in btc_apply_voltage_dependency_rules() 1201 if (*voltage < table->entries[i].v) in btc_apply_voltage_dependency_rules() [all …]
|
D | rv740_dpm.c | 316 RV770_SMC_STATETABLE *table) in rv740_populate_smc_acpi_state() argument 329 table->ACPIState = table->initialState; in rv740_populate_smc_acpi_state() 331 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC; in rv740_populate_smc_acpi_state() 335 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 336 table->ACPIState.levels[0].gen2PCIE = in rv740_populate_smc_acpi_state() 339 table->ACPIState.levels[0].gen2XSP = in rv740_populate_smc_acpi_state() 343 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 344 table->ACPIState.levels[0].gen2PCIE = 0; in rv740_populate_smc_acpi_state() 374 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_smc_acpi_state() 375 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_smc_acpi_state() [all …]
|
D | cypress_dpm.c | 404 struct atom_voltage_table *table, in cypress_populate_voltage_value() argument 409 for (i = 0; i < table->count; i++) { in cypress_populate_voltage_value() 410 if (value <= table->entries[i].value) { in cypress_populate_voltage_value() 412 voltage->value = cpu_to_be16(table->entries[i].value); in cypress_populate_voltage_value() 417 if (i == table->count) in cypress_populate_voltage_value() 1236 RV770_SMC_STATETABLE *table) in cypress_populate_smc_initial_state() argument 1243 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = in cypress_populate_smc_initial_state() 1245 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = in cypress_populate_smc_initial_state() 1247 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = in cypress_populate_smc_initial_state() 1249 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = in cypress_populate_smc_initial_state() [all …]
|
D | kv_dpm.c | 718 struct radeon_clock_voltage_dependency_table *table = in kv_program_bootup_state() local 721 if (table && table->count) { in kv_program_bootup_state() 723 if (table->entries[i].clk == pi->boot_pl.sclk) in kv_program_bootup_state() 730 struct sumo_sclk_voltage_mapping_table *table = in kv_program_bootup_state() local 733 if (table->num_max_dpm_entries == 0) in kv_program_bootup_state() 737 if (table->entries[i].sclk_frequency == pi->boot_pl.sclk) in kv_program_bootup_state() 820 struct radeon_uvd_clock_voltage_dependency_table *table = in kv_populate_uvd_table() local 826 if (table == NULL || table->count == 0) in kv_populate_uvd_table() 830 for (i = 0; i < table->count; i++) { in kv_populate_uvd_table() 832 (pi->high_voltage_t < table->entries[i].v)) in kv_populate_uvd_table() [all …]
|
D | ni_dpm.c | 990 struct radeon_clock_voltage_dependency_table *table) in ni_patch_single_dependency_table_based_on_leakage() argument 995 if (table) { in ni_patch_single_dependency_table_based_on_leakage() 996 for (i = 0; i < table->count; i++) { in ni_patch_single_dependency_table_based_on_leakage() 997 if (0xff01 == table->entries[i].v) { in ni_patch_single_dependency_table_based_on_leakage() 1000 table->entries[i].v = pi->max_vddc; in ni_patch_single_dependency_table_based_on_leakage() 1259 NISLANDS_SMC_STATETABLE *table) in ni_populate_smc_voltage_table() argument 1264 table->highSMIO[i] = 0; in ni_populate_smc_voltage_table() 1265 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in ni_populate_smc_voltage_table() 1270 NISLANDS_SMC_STATETABLE *table) in ni_populate_smc_voltage_tables() argument 1277 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables() [all …]
|
D | rv770_dpm.c | 916 RV770_SMC_STATETABLE *table) in rv770_populate_smc_acpi_state() argument 937 table->ACPIState = table->initialState; in rv770_populate_smc_acpi_state() 939 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC; in rv770_populate_smc_acpi_state() 943 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state() 946 table->ACPIState.levels[0].gen2PCIE = 1; in rv770_populate_smc_acpi_state() 948 table->ACPIState.levels[0].gen2PCIE = 0; in rv770_populate_smc_acpi_state() 950 table->ACPIState.levels[0].gen2PCIE = 0; in rv770_populate_smc_acpi_state() 952 table->ACPIState.levels[0].gen2XSP = 1; in rv770_populate_smc_acpi_state() 954 table->ACPIState.levels[0].gen2XSP = 0; in rv770_populate_smc_acpi_state() 957 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state() [all …]
|
D | si_dpm.c | 1746 const struct atom_voltage_table *table, 2535 struct radeon_cac_leakage_table *table = in si_get_cac_std_voltage_max_min() local 2541 if (table == NULL) in si_get_cac_std_voltage_max_min() 2547 for (i = 0; i < table->count; i++) { in si_get_cac_std_voltage_max_min() 2548 if (table->entries[i].vddc > *max) in si_get_cac_std_voltage_max_min() 2549 *max = table->entries[i].vddc; in si_get_cac_std_voltage_max_min() 2550 if (table->entries[i].vddc < *min) in si_get_cac_std_voltage_max_min() 2551 *min = table->entries[i].vddc; in si_get_cac_std_voltage_max_min() 2961 struct radeon_vce_clock_voltage_dependency_table *table = in si_get_vce_clock_voltage() local 2965 (table && (table->count == 0))) { in si_get_vce_clock_voltage() [all …]
|
D | mkregtable.c | 543 struct table { struct 547 unsigned *table; member 563 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument 568 static void table_init(struct table *t) in table_init() 573 t->table = NULL; in table_init() 576 static void table_print(struct table *t) in table_print() 594 printf("0x%08X,", t->table[id++]); in table_print() 601 static int table_build(struct table *t) in table_build() 607 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build() 608 if (t->table == NULL) in table_build() [all …]
|
/linux-4.4.14/fs/proc/ |
D | proc_sysctl.c | 181 struct ctl_node *node, struct ctl_table *table) in init_header() argument 183 head->ctl_table = table; in init_header() 184 head->ctl_table_arg = table; in init_header() 195 for (entry = table; entry->procname; entry++, node++) in init_header() 417 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() argument 423 mode = root->permissions(head, table); in sysctl_perm() 425 mode = table->mode; in sysctl_perm() 431 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() argument 445 ei->sysctl_entry = table; in proc_sys_make_inode() 448 inode->i_mode = table->mode; in proc_sys_make_inode() [all …]
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_sysctl.c | 45 struct ctl_table *table; in xfrm_sysctl_init() local 49 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); in xfrm_sysctl_init() 50 if (!table) in xfrm_sysctl_init() 52 table[0].data = &net->xfrm.sysctl_aevent_etime; in xfrm_sysctl_init() 53 table[1].data = &net->xfrm.sysctl_aevent_rseqth; in xfrm_sysctl_init() 54 table[2].data = &net->xfrm.sysctl_larval_drop; in xfrm_sysctl_init() 55 table[3].data = &net->xfrm.sysctl_acq_expires; in xfrm_sysctl_init() 59 table[0].procname = NULL; in xfrm_sysctl_init() 61 net->xfrm.sysctl_hdr = register_net_sysctl(net, "net/core", table); in xfrm_sysctl_init() 67 kfree(table); in xfrm_sysctl_init() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | aes-i586-asm_32.S | 93 #define do_col(table, a1,a2,a3,a4, idx, tmp) \ argument 95 xor table(,%tmp,4),%a1; \ 98 xor table+tlen(,%tmp,4),%a2; \ 101 xor table+2*tlen(,%tmp,4),%a3; \ 102 xor table+3*tlen(,%idx,4),%a4; 107 #define do_fcol(table, a1,a2,a3,a4, idx, tmp, sched) \ argument 111 xor table(,%tmp,4),%a1; \ 115 xor table+tlen(,%tmp,4),%a2; \ 118 xor table+3*tlen(,%idx,4),%a4; \ 121 xor table+2*tlen(,%tmp,4),%a3; [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | utfileio.c | 60 acpi_ut_check_text_mode_corruption(u8 *table, 65 struct acpi_table_header **table, u32 *table_length); 84 acpi_ut_check_text_mode_corruption(u8 *table, u32 table_length, u32 file_length) in acpi_ut_check_text_mode_corruption() argument 98 if (table[i] == 0x0A) { in acpi_ut_check_text_mode_corruption() 99 if (table[i - 1] != 0x0D) { in acpi_ut_check_text_mode_corruption() 147 struct acpi_table_header **table, u32 *table_length) in acpi_ut_read_table() argument 230 *table = acpi_os_allocate((size_t) file_size); in acpi_ut_read_table() 231 if (!*table) { in acpi_ut_read_table() 241 actual = fread(*table, 1, (size_t) file_size, fp); in acpi_ut_read_table() 247 status = acpi_tb_verify_checksum((void *)*table, in acpi_ut_read_table() [all …]
|
D | tbxfload.c | 108 struct acpi_table_desc *table; in ACPI_EXPORT_SYMBOL_INIT() local 120 table = &acpi_gbl_root_table_list.tables[acpi_gbl_dsdt_index]; in ACPI_EXPORT_SYMBOL_INIT() 123 !ACPI_COMPARE_NAME(table->signature.ascii, ACPI_SIG_DSDT) || in ACPI_EXPORT_SYMBOL_INIT() 124 ACPI_FAILURE(acpi_tb_validate_table(table))) { in ACPI_EXPORT_SYMBOL_INIT() 135 acpi_gbl_DSDT = table->pointer; in ACPI_EXPORT_SYMBOL_INIT() 173 table = &acpi_gbl_root_table_list.tables[i]; in ACPI_EXPORT_SYMBOL_INIT() 176 (!ACPI_COMPARE_NAME(table->signature.ascii, ACPI_SIG_SSDT) in ACPI_EXPORT_SYMBOL_INIT() 177 && !ACPI_COMPARE_NAME(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT() 179 && !ACPI_COMPARE_NAME(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT() 181 || ACPI_FAILURE(acpi_tb_validate_table(table))) { in ACPI_EXPORT_SYMBOL_INIT() [all …]
|
D | dbfileio.c | 132 static acpi_status ae_local_load_table(struct acpi_table_header *table) in ae_local_load_table() argument 141 if (!table) { in ae_local_load_table() 145 table_info.pointer = table; in ae_local_load_table() 205 struct acpi_table_header *table; in acpi_db_get_table_from_file() local 208 status = acpi_ut_read_table_from_file(filename, &table); in acpi_db_get_table_from_file() 214 is_aml_table = acpi_ut_is_aml_table(table); in acpi_db_get_table_from_file() 219 table->signature)); in acpi_db_get_table_from_file() 228 status = ae_local_load_table(table); in acpi_db_get_table_from_file() 233 table->signature); in acpi_db_get_table_from_file() 242 acpi_tb_print_table_header(0, table); in acpi_db_get_table_from_file() [all …]
|
D | tbutils.c | 262 struct acpi_table_header *table; in acpi_tb_parse_root_table() local 308 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 309 if (!table) { in acpi_tb_parse_root_table() 313 acpi_tb_print_table_header(address, table); in acpi_tb_parse_root_table() 319 length = table->length; in acpi_tb_parse_root_table() 320 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 329 table = acpi_os_map_memory(address, length); in acpi_tb_parse_root_table() 330 if (!table) { in acpi_tb_parse_root_table() 336 status = acpi_tb_verify_checksum(table, length); in acpi_tb_parse_root_table() 338 acpi_os_unmap_memory(table, length); in acpi_tb_parse_root_table() [all …]
|
D | exconfig.c | 160 struct acpi_table_header *table; in acpi_ex_load_table_op() local 253 status = acpi_get_table_by_index(table_index, &table); in acpi_ex_load_table_op() 256 acpi_tb_print_table_header(0, table); in acpi_ex_load_table_op() 262 (void)acpi_gbl_table_handler(ACPI_TABLE_EVENT_LOAD, table, in acpi_ex_load_table_op() 339 struct acpi_table_header *table; in acpi_ex_load_op() local 413 table = ACPI_ALLOCATE(length); in acpi_ex_load_op() 414 if (!table) { in acpi_ex_load_op() 421 ACPI_CAST_PTR(u8, table)); in acpi_ex_load_op() 423 ACPI_FREE(table); in acpi_ex_load_op() 460 table = ACPI_ALLOCATE(length); in acpi_ex_load_op() [all …]
|
D | rsdump.c | 81 acpi_rs_dump_descriptor(void *resource, struct acpi_rsdump_info *table); 207 acpi_rs_dump_descriptor(void *resource, struct acpi_rsdump_info *table) in acpi_rs_dump_descriptor() argument 216 count = table->offset; in acpi_rs_dump_descriptor() 220 target = ACPI_ADD_PTR(u8, resource, table->offset); in acpi_rs_dump_descriptor() 221 name = table->name; in acpi_rs_dump_descriptor() 223 switch (table->opcode) { in acpi_rs_dump_descriptor() 228 if (table->name) { in acpi_rs_dump_descriptor() 238 ACPI_CAST_PTR(char, table->pointer)); in acpi_rs_dump_descriptor() 250 if (table->pointer) { in acpi_rs_dump_descriptor() 252 table-> in acpi_rs_dump_descriptor() [all …]
|
D | tbprint.c | 186 acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) in acpi_tb_verify_checksum() argument 195 if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_S3PT) || in acpi_tb_verify_checksum() 196 ACPI_COMPARE_NAME(table->signature, ACPI_SIG_FACS)) { in acpi_tb_verify_checksum() 202 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, table), length); in acpi_tb_verify_checksum() 210 table->signature, table->checksum, in acpi_tb_verify_checksum() 211 (u8)(table->checksum - checksum))); in acpi_tb_verify_checksum()
|
D | nsparse.c | 76 struct acpi_table_header *table; in acpi_ns_one_complete_parse() local 81 status = acpi_get_table_by_index(table_index, &table); in acpi_ns_one_complete_parse() 88 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_one_complete_parse() 92 aml_start = (u8 *)table + sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse() 93 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse() 125 if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_OSDT) && in acpi_ns_one_complete_parse()
|
D | tbinstal.c | 74 struct acpi_table_header *table; in acpi_tb_compare_tables() local 80 &table, &table_length, &table_flags); in acpi_tb_compare_tables() 90 memcmp(table_desc->pointer, table, table_length)) ? in acpi_tb_compare_tables() 95 acpi_tb_release_table(table, table_length, table_flags); in acpi_tb_compare_tables() 398 struct acpi_table_header *table; in acpi_tb_override_table() local 404 status = acpi_os_table_override(old_table_desc->pointer, &table); in acpi_tb_override_table() 405 if (ACPI_SUCCESS(status) && table) { in acpi_tb_override_table() 407 ACPI_PTR_TO_PHYSADDR(table), in acpi_tb_override_table()
|
D | tbdata.c | 69 u8 flags, struct acpi_table_header *table) in acpi_tb_init_table_descriptor() argument 78 table_desc->length = table->length; in acpi_tb_init_table_descriptor() 80 ACPI_MOVE_32_TO_32(table_desc->signature.ascii, table->signature); in acpi_tb_init_table_descriptor() 104 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table() local 109 table = in acpi_tb_acquire_table() 116 table = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_table() 128 if (!table) { in acpi_tb_acquire_table() 134 *table_ptr = table; in acpi_tb_acquire_table() 155 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table() argument 162 acpi_os_unmap_memory(table, table_length); in acpi_tb_release_table()
|
D | dsinit.c | 195 struct acpi_table_header *table; in acpi_ds_initialize_objects() local 235 status = acpi_get_table_by_index(table_index, &table); in acpi_ds_initialize_objects() 242 if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_DSDT)) { in acpi_ds_initialize_objects() 252 table->signature, table->oem_table_id, owner_id, in acpi_ds_initialize_objects()
|
D | tbfadt.c | 313 struct acpi_table_header *table; in acpi_tb_parse_fadt() local 324 table = in acpi_tb_parse_fadt() 327 if (!table) { in acpi_tb_parse_fadt() 335 (void)acpi_tb_verify_checksum(table, length); in acpi_tb_parse_fadt() 339 acpi_tb_create_local_fadt(table, length); in acpi_tb_parse_fadt() 343 acpi_os_unmap_memory(table, length); in acpi_tb_parse_fadt() 384 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) in acpi_tb_create_local_fadt() argument 395 table->revision, length, in acpi_tb_create_local_fadt() 405 memcpy(&acpi_gbl_FADT, table, in acpi_tb_create_local_fadt()
|
/linux-4.4.14/Documentation/vm/ |
D | split_page_table_lock | 1 Split page table lock 7 scalability, split page table lock was introduced. 9 With split page table lock we have separate per-table lock to serialize 10 access to the table. At the moment we use split lock for PTE and PMD 13 There are helpers to lock/unlock a table and other accessor functions: 15 maps pte and takes PTE table lock, returns pointer to the taken 18 unlocks and unmaps PTE table; 20 allocates PTE table if needed and take the lock, returns pointer 23 returns pointer to PTE table lock; 25 takes PMD table lock, returns pointer to taken lock; [all …]
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | farch.c | 1901 struct efx_farch_filter_table table[EFX_FARCH_FILTER_TABLE_COUNT]; member 1906 struct efx_farch_filter_table *table, 1955 struct efx_farch_filter_table *table; in efx_farch_filter_push_rx_config() local 1960 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP]; in efx_farch_filter_push_rx_config() 1962 table->search_limit[EFX_FARCH_FILTER_TCP_FULL] + in efx_farch_filter_push_rx_config() 1965 table->search_limit[EFX_FARCH_FILTER_TCP_WILD] + in efx_farch_filter_push_rx_config() 1968 table->search_limit[EFX_FARCH_FILTER_UDP_FULL] + in efx_farch_filter_push_rx_config() 1971 table->search_limit[EFX_FARCH_FILTER_UDP_WILD] + in efx_farch_filter_push_rx_config() 1974 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC]; in efx_farch_filter_push_rx_config() 1975 if (table->size) { in efx_farch_filter_push_rx_config() [all …]
|
D | nic.c | 374 const struct efx_nic_reg_table *table; in efx_nic_get_regs_len() local 384 for (table = efx_nic_reg_tables; in efx_nic_get_regs_len() 385 table < efx_nic_reg_tables + ARRAY_SIZE(efx_nic_reg_tables); in efx_nic_get_regs_len() 386 table++) in efx_nic_get_regs_len() 387 if (efx->type->revision >= table->min_revision && in efx_nic_get_regs_len() 388 efx->type->revision <= table->max_revision) in efx_nic_get_regs_len() 389 len += table->rows * min_t(size_t, table->step, 16); in efx_nic_get_regs_len() 397 const struct efx_nic_reg_table *table; in efx_nic_get_regs() local 409 for (table = efx_nic_reg_tables; in efx_nic_get_regs() 410 table < efx_nic_reg_tables + ARRAY_SIZE(efx_nic_reg_tables); in efx_nic_get_regs() [all …]
|
D | ef10.c | 2896 efx_ef10_filter_entry_spec(const struct efx_ef10_filter_table *table, in efx_ef10_filter_entry_spec() argument 2899 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_ef10_filter_entry_spec() 2904 efx_ef10_filter_entry_flags(const struct efx_ef10_filter_table *table, in efx_ef10_filter_entry_flags() argument 2907 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_ef10_filter_entry_flags() 2911 efx_ef10_filter_set_entry(struct efx_ef10_filter_table *table, in efx_ef10_filter_set_entry() argument 2916 table->entry[filter_idx].spec = (unsigned long)spec | flags; in efx_ef10_filter_set_entry() 3015 static int efx_ef10_filter_rx_match_pri(struct efx_ef10_filter_table *table, in efx_ef10_filter_rx_match_pri() argument 3021 match_pri < table->rx_match_count; in efx_ef10_filter_rx_match_pri() 3023 if (table->rx_match_flags[match_pri] == match_flags) in efx_ef10_filter_rx_match_pri() 3033 struct efx_ef10_filter_table *table = efx->filter_state; in efx_ef10_filter_insert() local [all …]
|
/linux-4.4.14/security/apparmor/ |
D | match.c | 39 struct table_header *table = NULL; in unpack_table() local 62 table = kvzalloc(tsize); in unpack_table() 63 if (table) { in unpack_table() 64 *table = th; in unpack_table() 66 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 69 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 72 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table() 82 if (is_vmalloc_addr(table)) in unpack_table() 84 return table; in unpack_table() 86 kvfree(table); in unpack_table() [all …]
|
/linux-4.4.14/net/unix/ |
D | sysctl_net_unix.c | 31 struct ctl_table *table; in unix_sysctl_register() local 33 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register() 34 if (table == NULL) in unix_sysctl_register() 39 table[0].procname = NULL; in unix_sysctl_register() 41 table[0].data = &net->unx.sysctl_max_dgram_qlen; in unix_sysctl_register() 42 net->unx.ctl = register_net_sysctl(net, "net/unix", table); in unix_sysctl_register() 49 kfree(table); in unix_sysctl_register() 56 struct ctl_table *table; in unix_sysctl_unregister() local 58 table = net->unx.ctl->ctl_table_arg; in unix_sysctl_unregister() 60 kfree(table); in unix_sysctl_unregister()
|
/linux-4.4.14/sound/core/ |
D | sgbuf.c | 48 if (!(sgbuf->table[i].addr & ~PAGE_MASK)) in snd_free_sgbuf_pages() 50 tmpb.area = sgbuf->table[i].buf; in snd_free_sgbuf_pages() 51 tmpb.addr = sgbuf->table[i].addr & PAGE_MASK; in snd_free_sgbuf_pages() 52 tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; in snd_free_sgbuf_pages() 56 kfree(sgbuf->table); in snd_free_sgbuf_pages() 73 struct snd_sg_page *table; in snd_malloc_sgbuf_pages() local 84 table = kcalloc(sgbuf->tblsize, sizeof(*table), GFP_KERNEL); in snd_malloc_sgbuf_pages() 85 if (!table) in snd_malloc_sgbuf_pages() 87 sgbuf->table = table; in snd_malloc_sgbuf_pages() 112 table->buf = tmpb.area; in snd_malloc_sgbuf_pages() [all …]
|
/linux-4.4.14/arch/arc/kernel/ |
D | unwind.c | 159 struct unwind_table *table; in find_table() local 161 for (table = &root_table; table; table = table->link) in find_table() 162 if ((pc >= table->core.pc in find_table() 163 && pc < table->core.pc + table->core.range) in find_table() 164 || (pc >= table->init.pc in find_table() 165 && pc < table->init.pc + table->init.range)) in find_table() 168 return table; in find_table() 173 static void init_unwind_hdr(struct unwind_table *table, 191 static void init_unwind_table(struct unwind_table *table, const char *name, in init_unwind_table() argument 200 table->core.pc = (unsigned long)core_start; in init_unwind_table() [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | unwind.c | 47 find_unwind_entry_in_table(const struct unwind_table *table, unsigned long addr) in find_unwind_entry_in_table() argument 53 hi = table->length - 1; in find_unwind_entry_in_table() 57 e = &table->table[mid]; in find_unwind_entry_in_table() 72 struct unwind_table *table; in find_unwind_entry() local 79 list_for_each_entry(table, &unwind_tables, list) { in find_unwind_entry() 80 if (addr >= table->start && in find_unwind_entry() 81 addr <= table->end) in find_unwind_entry() 82 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry() 85 list_move(&table->list, &unwind_tables); in find_unwind_entry() 94 unwind_table_init(struct unwind_table *table, const char *name, in unwind_table_init() argument [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pgalloc.h | 64 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local 65 if (table) in pud_alloc_one() 66 crst_table_init(table, _REGION3_ENTRY_EMPTY); in pud_alloc_one() 67 return (pud_t *) table; in pud_alloc_one() 73 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local 75 if (!table) in pmd_alloc_one() 77 crst_table_init(table, _SEGMENT_ENTRY_EMPTY); in pmd_alloc_one() 78 if (!pgtable_pmd_page_ctor(virt_to_page(table))) { in pmd_alloc_one() 79 crst_table_free(mm, table); in pmd_alloc_one() 82 return (pmd_t *) table; in pmd_alloc_one() [all …]
|
/linux-4.4.14/lib/ |
D | crc8.c | 29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() 35 table[0] = 0; in crc8_populate_msb() 40 table[i+j] = table[j] ^ t; in crc8_populate_msb() 51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_lsb() 56 table[0] = 0; in crc8_populate_lsb() 61 table[i+j] = table[j] ^ t; in crc8_populate_lsb() 74 u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc) in crc8() 78 crc = table[(crc ^ *pdata++) & 0xff]; in crc8()
|
D | scatterlist.c | 205 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument 210 if (unlikely(!table->sgl)) in __sg_free_table() 213 sgl = table->sgl; in __sg_free_table() 214 while (table->orig_nents) { in __sg_free_table() 215 unsigned int alloc_size = table->orig_nents; in __sg_free_table() 233 table->orig_nents -= sg_size; in __sg_free_table() 241 table->sgl = NULL; in __sg_free_table() 250 void sg_free_table(struct sg_table *table) in sg_free_table() argument 252 __sg_free_table(table, SG_MAX_SINGLE_ALLOC, false, sg_kfree); in sg_free_table() 275 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table() argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 45 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_completion() local 47 spin_lock(&table->lock); in mlx5_cq_completion() 48 cq = radix_tree_lookup(&table->tree, cqn); in mlx5_cq_completion() 51 spin_unlock(&table->lock); in mlx5_cq_completion() 68 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_event() local 71 spin_lock(&table->lock); in mlx5_cq_event() 73 cq = radix_tree_lookup(&table->tree, cqn); in mlx5_cq_event() 77 spin_unlock(&table->lock); in mlx5_cq_event() 95 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_core_create_cq() local 115 spin_lock_irq(&table->lock); in mlx5_core_create_cq() [all …]
|
D | mr.c | 41 struct mlx5_mr_table *table = &dev->priv.mr_table; in mlx5_init_mr_table() local 43 memset(table, 0, sizeof(*table)); in mlx5_init_mr_table() 44 rwlock_init(&table->lock); in mlx5_init_mr_table() 45 INIT_RADIX_TREE(&table->tree, GFP_ATOMIC); in mlx5_init_mr_table() 57 struct mlx5_mr_table *table = &dev->priv.mr_table; in mlx5_core_create_mkey() local 95 write_lock_irq(&table->lock); in mlx5_core_create_mkey() 96 err = radix_tree_insert(&table->tree, mlx5_base_mkey(mr->key), mr); in mlx5_core_create_mkey() 97 write_unlock_irq(&table->lock); in mlx5_core_create_mkey() 110 struct mlx5_mr_table *table = &dev->priv.mr_table; in mlx5_core_destroy_mkey() local 120 write_lock_irqsave(&table->lock, flags); in mlx5_core_destroy_mkey() [all …]
|
D | qp.c | 45 struct mlx5_qp_table *table = &dev->priv.qp_table; in mlx5_get_rsc() local 48 spin_lock(&table->lock); in mlx5_get_rsc() 50 common = radix_tree_lookup(&table->tree, rsn); in mlx5_get_rsc() 54 spin_unlock(&table->lock); in mlx5_get_rsc() 185 struct mlx5_qp_table *table = &dev->priv.qp_table; in mlx5_core_create_qp() local 217 spin_lock_irq(&table->lock); in mlx5_core_create_qp() 218 err = radix_tree_insert(&table->tree, qp->qpn, qp); in mlx5_core_create_qp() 219 spin_unlock_irq(&table->lock); in mlx5_core_create_qp() 253 struct mlx5_qp_table *table = &dev->priv.qp_table; in mlx5_core_destroy_qp() local 259 spin_lock_irqsave(&table->lock, flags); in mlx5_core_destroy_qp() [all …]
|
D | srq.c | 44 struct mlx5_srq_table *table = &dev->priv.srq_table; in mlx5_srq_event() local 47 spin_lock(&table->lock); in mlx5_srq_event() 49 srq = radix_tree_lookup(&table->tree, srqn); in mlx5_srq_event() 53 spin_unlock(&table->lock); in mlx5_srq_event() 136 struct mlx5_srq_table *table = &dev->priv.srq_table; in mlx5_core_get_srq() local 139 spin_lock(&table->lock); in mlx5_core_get_srq() 141 srq = radix_tree_lookup(&table->tree, srqn); in mlx5_core_get_srq() 145 spin_unlock(&table->lock); in mlx5_core_get_srq() 448 struct mlx5_srq_table *table = &dev->priv.srq_table; in mlx5_core_create_srq() local 459 spin_lock_irq(&table->lock); in mlx5_core_create_srq() [all …]
|
/linux-4.4.14/arch/s390/mm/ |
D | pgtable.c | 36 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument 38 free_pages((unsigned long) table, 2); in crst_table_free() 54 unsigned long *table, *pgd; in crst_table_upgrade() local 59 table = crst_table_alloc(mm); in crst_table_upgrade() 60 if (!table) in crst_table_upgrade() 65 crst_table_init(table, _REGION2_ENTRY_EMPTY); in crst_table_upgrade() 66 pgd_populate(mm, (pgd_t *) table, (pud_t *) pgd); in crst_table_upgrade() 67 mm->pgd = (pgd_t *) table; in crst_table_upgrade() 115 unsigned long *table; in gmap_alloc() local 148 table = (unsigned long *) page_to_phys(page); in gmap_alloc() [all …]
|
D | fault.c | 131 unsigned long *table = __va(asce & PAGE_MASK); in dump_pagetable() local 136 table = table + ((address >> 53) & 0x7ff); in dump_pagetable() 137 if (bad_address(table)) in dump_pagetable() 139 pr_cont("R1:%016lx ", *table); in dump_pagetable() 140 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable() 142 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); in dump_pagetable() 145 table = table + ((address >> 42) & 0x7ff); in dump_pagetable() 146 if (bad_address(table)) in dump_pagetable() 148 pr_cont("R2:%016lx ", *table); in dump_pagetable() 149 if (*table & _REGION_ENTRY_INVALID) in dump_pagetable() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_hashtab.c | 46 ht->table = NULL; in drm_ht_create() 47 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create() 48 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create() 50 ht->table = vzalloc(size*sizeof(*ht->table)); in drm_ht_create() 51 if (!ht->table) { in drm_ht_create() 68 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list() 81 h_list = &ht->table[hashed_key]; in drm_ht_find_key() 99 h_list = &ht->table[hashed_key]; in drm_ht_find_key_rcu() 118 h_list = &ht->table[hashed_key]; in drm_ht_insert_item() 200 if (ht->table) { in drm_ht_remove() [all …]
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_carveout_heap.c | 63 struct sg_table *table = buffer->priv_virt; in ion_carveout_heap_phys() local 64 struct page *page = sg_page(table->sgl); in ion_carveout_heap_phys() 77 struct sg_table *table; in ion_carveout_heap_allocate() local 84 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_carveout_heap_allocate() 85 if (!table) in ion_carveout_heap_allocate() 87 ret = sg_alloc_table(table, 1, GFP_KERNEL); in ion_carveout_heap_allocate() 97 sg_set_page(table->sgl, pfn_to_page(PFN_DOWN(paddr)), size, 0); in ion_carveout_heap_allocate() 98 buffer->priv_virt = table; in ion_carveout_heap_allocate() 103 sg_free_table(table); in ion_carveout_heap_allocate() 105 kfree(table); in ion_carveout_heap_allocate() [all …]
|
D | ion_chunk_heap.c | 43 struct sg_table *table; in ion_chunk_heap_allocate() local 58 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_chunk_heap_allocate() 59 if (!table) in ion_chunk_heap_allocate() 61 ret = sg_alloc_table(table, num_chunks, GFP_KERNEL); in ion_chunk_heap_allocate() 63 kfree(table); in ion_chunk_heap_allocate() 67 sg = table->sgl; in ion_chunk_heap_allocate() 78 buffer->priv_virt = table; in ion_chunk_heap_allocate() 82 sg = table->sgl; in ion_chunk_heap_allocate() 88 sg_free_table(table); in ion_chunk_heap_allocate() 89 kfree(table); in ion_chunk_heap_allocate() [all …]
|
D | ion_system_heap.c | 128 struct sg_table *table; in ion_system_heap_allocate() local 153 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_system_heap_allocate() 154 if (!table) in ion_system_heap_allocate() 157 if (sg_alloc_table(table, i, GFP_KERNEL)) in ion_system_heap_allocate() 160 sg = table->sgl; in ion_system_heap_allocate() 167 buffer->priv_virt = table; in ion_system_heap_allocate() 171 kfree(table); in ion_system_heap_allocate() 183 struct sg_table *table = buffer->sg_table; in ion_system_heap_free() local 196 for_each_sg(table->sgl, sg, table->nents, i) in ion_system_heap_free() 198 sg_free_table(table); in ion_system_heap_free() [all …]
|
D | ion_cma_heap.c | 39 struct sg_table *table; member 72 info->table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_cma_allocate() 73 if (!info->table) in ion_cma_allocate() 76 if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle, in ion_cma_allocate() 85 kfree(info->table); in ion_cma_allocate() 103 sg_free_table(info->table); in ion_cma_free() 104 kfree(info->table); in ion_cma_free() 130 return info->table; in ion_cma_heap_map_dma()
|
D | ion_heap.c | 35 struct sg_table *table = buffer->sg_table; in ion_heap_map_kernel() local 48 for_each_sg(table->sgl, sg, table->nents, i) { in ion_heap_map_kernel() 74 struct sg_table *table = buffer->sg_table; in ion_heap_map_user() local 81 for_each_sg(table->sgl, sg, table->nents, i) { in ion_heap_map_user() 143 struct sg_table *table = buffer->sg_table; in ion_heap_buffer_zero() local 151 return ion_heap_sglist_zero(table->sgl, table->nents, pgprot); in ion_heap_buffer_zero()
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_timestamp.c | 45 struct ctl_table *table; in nf_conntrack_tstamp_init_sysctl() local 47 table = kmemdup(tstamp_sysctl_table, sizeof(tstamp_sysctl_table), in nf_conntrack_tstamp_init_sysctl() 49 if (!table) in nf_conntrack_tstamp_init_sysctl() 52 table[0].data = &net->ct.sysctl_tstamp; in nf_conntrack_tstamp_init_sysctl() 56 table[0].procname = NULL; in nf_conntrack_tstamp_init_sysctl() 59 table); in nf_conntrack_tstamp_init_sysctl() 67 kfree(table); in nf_conntrack_tstamp_init_sysctl() 74 struct ctl_table *table; in nf_conntrack_tstamp_fini_sysctl() local 76 table = net->ct.tstamp_sysctl_header->ctl_table_arg; in nf_conntrack_tstamp_fini_sysctl() 78 kfree(table); in nf_conntrack_tstamp_fini_sysctl()
|
D | nf_conntrack_acct.c | 67 struct ctl_table *table; in nf_conntrack_acct_init_sysctl() local 69 table = kmemdup(acct_sysctl_table, sizeof(acct_sysctl_table), in nf_conntrack_acct_init_sysctl() 71 if (!table) in nf_conntrack_acct_init_sysctl() 74 table[0].data = &net->ct.sysctl_acct; in nf_conntrack_acct_init_sysctl() 78 table[0].procname = NULL; in nf_conntrack_acct_init_sysctl() 81 table); in nf_conntrack_acct_init_sysctl() 89 kfree(table); in nf_conntrack_acct_init_sysctl() 96 struct ctl_table *table; in nf_conntrack_acct_fini_sysctl() local 98 table = net->ct.acct_sysctl_header->ctl_table_arg; in nf_conntrack_acct_fini_sysctl() 100 kfree(table); in nf_conntrack_acct_fini_sysctl()
|
D | nf_tables_api.c | 96 struct nft_table *table, in nft_ctx_init() argument 102 ctx->table = table; in nft_ctx_init() 155 static int nf_tables_register_hooks(const struct nft_table *table, in nf_tables_register_hooks() argument 159 if (table->flags & NFT_TABLE_F_DORMANT || in nf_tables_register_hooks() 166 static void nf_tables_unregister_hooks(const struct nft_table *table, in nf_tables_unregister_hooks() argument 170 if (table->flags & NFT_TABLE_F_DORMANT || in nf_tables_unregister_hooks() 189 ctx->table->flags |= NFT_TABLE_INACTIVE; in nft_trans_table_add() 203 list_del_rcu(&ctx->table->list); in nft_deltable() 230 ctx->table->use--; in nft_delchain() 356 ctx->table->use--; in nft_delset() [all …]
|
D | x_tables.c | 381 if (par->match->table != NULL && in xt_check_match() 382 strcmp(par->match->table, par->table) != 0) { in xt_check_match() 385 par->match->table, par->table); in xt_check_match() 717 if (par->target->table != NULL && in xt_check_target() 718 strcmp(par->target->table, par->table) != 0) { in xt_check_target() 721 par->target->table, par->table); in xt_check_target() 946 void xt_table_unlock(struct xt_table *table) in xt_table_unlock() argument 948 mutex_unlock(&xt[table->af].mutex); in xt_table_unlock() 1020 xt_replace_table(struct xt_table *table, in xt_replace_table() argument 1036 private = table->private; in xt_replace_table() [all …]
|
D | nf_conntrack_ecache.c | 267 struct ctl_table *table; in nf_conntrack_event_init_sysctl() local 269 table = kmemdup(event_sysctl_table, sizeof(event_sysctl_table), in nf_conntrack_event_init_sysctl() 271 if (!table) in nf_conntrack_event_init_sysctl() 274 table[0].data = &net->ct.sysctl_events; in nf_conntrack_event_init_sysctl() 278 table[0].procname = NULL; in nf_conntrack_event_init_sysctl() 281 register_net_sysctl(net, "net/netfilter", table); in nf_conntrack_event_init_sysctl() 289 kfree(table); in nf_conntrack_event_init_sysctl() 296 struct ctl_table *table; in nf_conntrack_event_fini_sysctl() local 298 table = net->ct.event_sysctl_header->ctl_table_arg; in nf_conntrack_event_fini_sysctl() 300 kfree(table); in nf_conntrack_event_fini_sysctl()
|
D | nfnetlink.c | 41 } table[NFNL_SUBSYS_COUNT]; variable 56 mutex_lock(&table[subsys_id].mutex); in nfnl_lock() 62 mutex_unlock(&table[subsys_id].mutex); in nfnl_unlock() 69 return lockdep_is_held(&table[subsys_id].mutex); in lockdep_nfnl_is_held() 77 if (table[n->subsys_id].subsys) { in nfnetlink_subsys_register() 81 rcu_assign_pointer(table[n->subsys_id].subsys, n); in nfnetlink_subsys_register() 91 table[n->subsys_id].subsys = NULL; in nfnetlink_subsys_unregister() 105 return rcu_dereference(table[subsys_id].subsys); in nfnetlink_get_subsys() 210 if (rcu_dereference_protected(table[subsys_id].subsys, in nfnetlink_rcv_msg() 211 lockdep_is_held(&table[subsys_id].mutex)) != ss || in nfnetlink_rcv_msg() [all …]
|
D | nf_log.c | 396 static int nf_log_proc_dostring(struct ctl_table *table, int write, in nf_log_proc_dostring() argument 403 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() 428 table->data = "NONE"; in nf_log_proc_dostring() 430 table->data = logger->name; in nf_log_proc_dostring() 431 r = proc_dostring(table, write, buffer, lenp, ppos); in nf_log_proc_dostring() 441 struct ctl_table *table; in netfilter_log_sysctl_init() local 443 table = nf_log_sysctl_table; in netfilter_log_sysctl_init() 445 table = kmemdup(nf_log_sysctl_table, in netfilter_log_sysctl_init() 448 if (!table) in netfilter_log_sysctl_init() 468 table); in netfilter_log_sysctl_init() [all …]
|
D | nf_conntrack_standalone.c | 500 struct ctl_table *table; in nf_conntrack_standalone_init_sysctl() local 502 table = kmemdup(nf_ct_sysctl_table, sizeof(nf_ct_sysctl_table), in nf_conntrack_standalone_init_sysctl() 504 if (!table) in nf_conntrack_standalone_init_sysctl() 507 table[1].data = &net->ct.count; in nf_conntrack_standalone_init_sysctl() 508 table[2].data = &net->ct.htable_size; in nf_conntrack_standalone_init_sysctl() 509 table[3].data = &net->ct.sysctl_checksum; in nf_conntrack_standalone_init_sysctl() 510 table[4].data = &net->ct.sysctl_log_invalid; in nf_conntrack_standalone_init_sysctl() 514 table[0].procname = NULL; in nf_conntrack_standalone_init_sysctl() 516 net->ct.sysctl_header = register_net_sysctl(net, "net/netfilter", table); in nf_conntrack_standalone_init_sysctl() 523 kfree(table); in nf_conntrack_standalone_init_sysctl() [all …]
|
D | nf_tables_netdev.c | 160 struct net_device *dev, struct nft_table *table, in nft_netdev_event() argument 173 if (!(table->flags & NFT_TABLE_F_DORMANT)) in nft_netdev_event() 182 if (!(table->flags & NFT_TABLE_F_DORMANT)) in nft_netdev_event() 203 struct nft_table *table; in nf_tables_netdev_event() local 211 list_for_each_entry(table, &afi->tables, list) { in nf_tables_netdev_event() 212 list_for_each_entry(chain, &table->chains, list) { in nf_tables_netdev_event() 216 nft_netdev_event(event, afi, dev, table, in nf_tables_netdev_event()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pgalloc-32.h | 51 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument 54 free_page((unsigned long)table); in pgtable_free() 61 void *table, int shift) in pgtable_free_tlb() argument 63 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 71 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 74 pgtable_free(table, shift); in __tlb_remove_table() 78 void *table, int shift) in pgtable_free_tlb() argument 80 pgtable_free(table, shift); in pgtable_free_tlb() 84 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 88 pgtable_page_dtor(table); in __pte_free_tlb() [all …]
|
D | pgalloc-64.h | 113 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument 116 free_page((unsigned long)table); in pgtable_free() 119 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free() 125 void *table, int shift) in pgtable_free_tlb() argument 127 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 135 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 138 pgtable_free(table, shift); in __tlb_remove_table() 142 void *table, int shift) in pgtable_free_tlb() argument 144 pgtable_free(table, shift); in pgtable_free_tlb() 148 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument [all …]
|
/linux-4.4.14/drivers/clk/hisilicon/ |
D | clkdivider-hi6220.c | 40 const struct clk_div_table *table; member 56 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in hi6220_clkdiv_recalc_rate() 65 return divider_round_rate(hw, rate, prate, dclk->table, in hi6220_clkdiv_round_rate() 77 value = divider_get_val(rate, parent_rate, dclk->table, in hi6220_clkdiv_set_rate() 109 struct clk_div_table *table; in hi6220_register_clkdiv() local 122 table = kcalloc(max_div + 1, sizeof(*table), GFP_KERNEL); in hi6220_register_clkdiv() 123 if (!table) { in hi6220_register_clkdiv() 129 table[i].div = min_div + i; in hi6220_register_clkdiv() 130 table[i].val = table[i].div - 1; in hi6220_register_clkdiv() 146 div->table = table; in hi6220_register_clkdiv() [all …]
|
/linux-4.4.14/scripts/ |
D | kallsyms.c | 58 static struct sym_entry *table; variable 273 table = realloc(table, sizeof(*table) * table_size); in read_map() 274 if (!table) { in read_map() 279 if (read_symbol(in, &table[table_cnt]) == 0) { in read_map() 280 table[table_cnt].start_pos = table_cnt; in read_map() 358 if (!symbol_absolute(&table[i])) { in write_src() 359 if (_text <= table[i].addr) in write_src() 361 table[i].addr - _text); in write_src() 364 _text - table[i].addr); in write_src() 366 printf("\tPTR\t%#llx\n", table[i].addr); in write_src() [all …]
|
/linux-4.4.14/ipc/ |
D | ipc_sysctl.c | 21 static void *get_ipc(struct ctl_table *table) in get_ipc() argument 23 char *which = table->data; in get_ipc() 30 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec() argument 35 memcpy(&ipc_table, table, sizeof(ipc_table)); in proc_ipc_dointvec() 36 ipc_table.data = get_ipc(table); in proc_ipc_dointvec() 41 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax() argument 46 memcpy(&ipc_table, table, sizeof(ipc_table)); in proc_ipc_dointvec_minmax() 47 ipc_table.data = get_ipc(table); in proc_ipc_dointvec_minmax() 52 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans() argument 56 int err = proc_ipc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax_orphans() [all …]
|
D | mq_sysctl.c | 17 static void *get_mq(struct ctl_table *table) in get_mq() argument 19 char *which = table->data; in get_mq() 25 static int proc_mq_dointvec(struct ctl_table *table, int write, in proc_mq_dointvec() argument 29 memcpy(&mq_table, table, sizeof(mq_table)); in proc_mq_dointvec() 30 mq_table.data = get_mq(table); in proc_mq_dointvec() 35 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, in proc_mq_dointvec_minmax() argument 39 memcpy(&mq_table, table, sizeof(mq_table)); in proc_mq_dointvec_minmax() 40 mq_table.data = get_mq(table); in proc_mq_dointvec_minmax()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | ci_dpm.c | 1423 SMU7_Discrete_DpmTable *table = &pi->smc_state_table; in ci_init_fps_limits() local 1429 table->FpsHighT = cpu_to_be16(tmp); in ci_init_fps_limits() 1432 table->FpsLowT = cpu_to_be16(tmp); in ci_init_fps_limits() 2320 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vddc_table() argument 2325 table->VddcLevelCount = pi->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 2326 for (count = 0; count < table->VddcLevelCount; count++) { in ci_populate_smc_vddc_table() 2329 &table->VddcLevel[count]); in ci_populate_smc_vddc_table() 2332 table->VddcLevel[count].Smio |= in ci_populate_smc_vddc_table() 2335 table->VddcLevel[count].Smio = 0; in ci_populate_smc_vddc_table() 2337 table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount); in ci_populate_smc_vddc_table() [all …]
|
D | kv_dpm.c | 145 ATOM_AVAILABLE_SCLK_LIST *table) in sumo_construct_sclk_voltage_mapping_table() argument 152 if (table[i].ulSupportedSCLK > prev_sclk) { in sumo_construct_sclk_voltage_mapping_table() 154 table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table() 156 table[i].usVoltageIndex; in sumo_construct_sclk_voltage_mapping_table() 157 prev_sclk = table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table() 167 ATOM_AVAILABLE_SCLK_LIST *table) in sumo_construct_vid_mapping_table() argument 172 if (table[i].ulSupportedSCLK != 0) { in sumo_construct_vid_mapping_table() 173 vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = in sumo_construct_vid_mapping_table() 174 table[i].usVoltageID; in sumo_construct_vid_mapping_table() 175 vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit = in sumo_construct_vid_mapping_table() [all …]
|
D | cz_dpm.c | 71 struct amdgpu_clock_and_voltage_limits *table) in cz_construct_max_power_limits_table() argument 78 table->sclk = dep_table->entries[dep_table->count - 1].clk; in cz_construct_max_power_limits_table() 79 table->vddc = cz_convert_8bit_index_to_voltage(adev, in cz_construct_max_power_limits_table() 83 table->mclk = pi->sys_info.nbp_memory_clock[0]; in cz_construct_max_power_limits_table() 243 struct amdgpu_clock_voltage_dependency_table *table = in cz_parse_pplib_clock_info() local 246 pl->sclk = table->entries[clock_info->carrizo.index].clk; in cz_parse_pplib_clock_info() 247 pl->vddc_index = table->entries[clock_info->carrizo.index].v; in cz_parse_pplib_clock_info() 509 struct amdgpu_clock_voltage_dependency_table *table = in cz_dpm_debugfs_print_current_performance_level() local 527 sclk = table->entries[sclk_index].clk; in cz_dpm_debugfs_print_current_performance_level() 675 void **table) in cz_dpm_download_pptable_from_smu() argument [all …]
|
/linux-4.4.14/include/linux/ |
D | sysctl.h | 54 extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, 159 int (*permissions)(struct ctl_table_header *head, struct ctl_table *table); 179 const char *path, struct ctl_table *table); 182 const struct ctl_path *path, struct ctl_table *table); 183 struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table); 184 struct ctl_table_header *register_sysctl_table(struct ctl_table * table); 186 struct ctl_table *table); 188 void unregister_sysctl_table(struct ctl_table_header * table); 195 static inline struct ctl_table_header *register_sysctl_table(struct ctl_table * table) in register_sysctl_table() argument 201 const struct ctl_path *path, struct ctl_table *table) in register_sysctl_paths() argument [all …]
|
D | cpufreq.h | 511 struct cpufreq_frequency_table **table); 513 struct cpufreq_frequency_table **table); 517 **table) in dev_pm_opp_init_cpufreq_table() 524 **table) in dev_pm_opp_free_cpufreq_table() 545 #define cpufreq_for_each_entry(pos, table) \ argument 546 for (pos = table; pos->frequency != CPUFREQ_TABLE_END; pos++) 555 #define cpufreq_for_each_valid_entry(pos, table) \ argument 556 for (pos = table; cpufreq_next_valid(&pos); pos++) 559 struct cpufreq_frequency_table *table); 562 struct cpufreq_frequency_table *table); [all …]
|
D | vt_kern.h | 65 int con_set_trans_old(unsigned char __user * table); 66 int con_get_trans_old(unsigned char __user * table); 67 int con_set_trans_new(unsigned short __user * table); 68 int con_get_trans_new(unsigned short __user * table); 79 static inline int con_set_trans_old(unsigned char __user *table) in con_set_trans_old() argument 83 static inline int con_get_trans_old(unsigned char __user *table) in con_get_trans_old() argument 87 static inline int con_set_trans_new(unsigned short __user *table) in con_set_trans_new() argument 91 static inline int con_get_trans_new(unsigned short __user *table) in con_get_trans_new() argument
|
D | crc8.h | 55 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial); 73 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial); 99 u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc);
|
/linux-4.4.14/drivers/thermal/ |
D | rockchip_thermal.c | 104 int (*get_temp)(struct chip_tsadc_table table, 106 void (*set_tshut_temp)(struct chip_tsadc_table table, 111 struct chip_tsadc_table table; member 248 static u32 rk_tsadcv2_temp_to_code(struct chip_tsadc_table table, in rk_tsadcv2_temp_to_code() argument 254 high = table.length - 1; in rk_tsadcv2_temp_to_code() 257 if (temp < table.id[low].temp || temp > table.id[high].temp) in rk_tsadcv2_temp_to_code() 261 if (temp == table.id[mid].temp) in rk_tsadcv2_temp_to_code() 262 return table.id[mid].code; in rk_tsadcv2_temp_to_code() 263 else if (temp < table.id[mid].temp) in rk_tsadcv2_temp_to_code() 273 static int rk_tsadcv2_code_to_temp(struct chip_tsadc_table table, u32 code, in rk_tsadcv2_code_to_temp() argument [all …]
|
/linux-4.4.14/kernel/ |
D | utsname_sysctl.c | 20 static void *get_uts(struct ctl_table *table, int write) in get_uts() argument 22 char *which = table->data; in get_uts() 35 static void put_uts(struct ctl_table *table, int write, void *which) in put_uts() argument 47 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string() argument 52 memcpy(&uts_table, table, sizeof(uts_table)); in proc_do_uts_string() 53 uts_table.data = get_uts(table, write); in proc_do_uts_string() 55 put_uts(table, write, uts_table.data); in proc_do_uts_string() 58 proc_sys_poll_notify(table->poll); in proc_do_uts_string() 126 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify() local 128 proc_sys_poll_notify(table->poll); in uts_proc_notify()
|
D | sysctl.c | 178 static int proc_do_cad_pid(struct ctl_table *table, int write, 180 static int proc_taint(struct ctl_table *table, int write, 185 static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write, 189 static int proc_dointvec_minmax_coredump(struct ctl_table *table, int write, 192 static int proc_dostring_coredump(struct ctl_table *table, int write, 200 static int sysrq_sysctl_handler(struct ctl_table *table, int write, in sysrq_sysctl_handler() argument 206 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler() 1867 static void warn_sysctl_write(struct ctl_table *table) in warn_sysctl_write() argument 1872 current->comm, table->procname); in warn_sysctl_write() 1892 int proc_dostring(struct ctl_table *table, int write, in proc_dostring() argument [all …]
|
D | watchdog.c | 856 static int proc_watchdog_common(int which, struct ctl_table *table, int write, in proc_watchdog_common() argument 860 int *watchdog_param = (int *)table->data; in proc_watchdog_common() 878 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common() 880 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common() 924 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument 928 table, write, buffer, lenp, ppos); in proc_watchdog() 934 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument 938 table, write, buffer, lenp, ppos); in proc_nmi_watchdog() 944 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument 948 table, write, buffer, lenp, ppos); in proc_soft_watchdog() [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | flow_table.c | 115 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() argument 117 return table->count; in ovs_flow_tbl_count() 209 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() argument 222 rcu_assign_pointer(table->ti, ti); in ovs_flow_tbl_init() 223 rcu_assign_pointer(table->ufid_ti, ufid_ti); in ovs_flow_tbl_init() 224 INIT_LIST_HEAD(&table->mask_list); in ovs_flow_tbl_init() 225 table->last_rehash = jiffies; in ovs_flow_tbl_init() 226 table->count = 0; in ovs_flow_tbl_init() 227 table->ufid_count = 0; in ovs_flow_tbl_init() 283 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy() argument [all …]
|
D | flow_table.h | 66 int ovs_flow_tbl_count(const struct flow_table *table); 67 void ovs_flow_tbl_destroy(struct flow_table *table); 70 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, 72 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow); 73 int ovs_flow_tbl_num_masks(const struct flow_table *table); 74 struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *table,
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | id_table.c | 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc() 53 obj = find_first_zero_bit(alloc->table, alloc->max); in c4iw_id_alloc() 62 set_bit(obj, alloc->table); in c4iw_id_alloc() 79 clear_bit(obj, alloc->table); in c4iw_id_free() 96 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long), in c4iw_id_table_alloc() 98 if (!alloc->table) in c4iw_id_table_alloc() 101 bitmap_zero(alloc->table, num); in c4iw_id_table_alloc() 104 set_bit(i, alloc->table); in c4iw_id_table_alloc() 111 kfree(alloc->table); in c4iw_id_table_free()
|
/linux-4.4.14/arch/unicore32/mm/ |
D | proc-macros.S | 99 mov \off, \va >> #22 @ off <- index of 1st page table 100 adr \tbl, 910f @ tbl <- table of 1st page table 101 900: @ ---- handle 1, 2 page table 102 add \pa, \pa, #PAGE_OFFSET @ pa <- virt addr of page table 107 add \tbl, \tbl, \off << #3 @ cmove table pointer 110 930: @ ---- handle 2nd page table 116 adr \tbl, 920f @ tbl <- table of 2nd pt 118 910: @ 1st level page table 119 .word 0xfffff000, 930b @ second level page table 120 .word 0xfffffc00, 930b @ second level large page table [all …]
|
/linux-4.4.14/drivers/rapidio/switches/ |
D | tsi568.c | 38 u16 table, u16 route_destid, u8 route_port) in tsi568_route_add_entry() argument 40 if (table == RIO_GLOBAL_TABLE) { in tsi568_route_add_entry() 47 SPP_ROUTE_CFG_DESTID(table), in tsi568_route_add_entry() 50 SPP_ROUTE_CFG_PORT(table), route_port); in tsi568_route_add_entry() 60 u16 table, u16 route_destid, u8 *route_port) in tsi568_route_get_entry() argument 65 if (table == RIO_GLOBAL_TABLE) { in tsi568_route_get_entry() 72 SPP_ROUTE_CFG_DESTID(table), in tsi568_route_get_entry() 75 SPP_ROUTE_CFG_PORT(table), &result); in tsi568_route_get_entry() 87 u16 table) in tsi568_route_clr_table() argument 94 if (table == RIO_GLOBAL_TABLE) { in tsi568_route_clr_table() [all …]
|
D | idt_gen2.c | 92 u16 table, u16 route_destid, u8 route_port) in idtg2_route_add_entry() argument 97 if (table == RIO_GLOBAL_TABLE) in idtg2_route_add_entry() 98 table = 0; in idtg2_route_add_entry() 100 table++; in idtg2_route_add_entry() 106 LOCAL_RTE_CONF_DESTID_SEL, table); in idtg2_route_add_entry() 125 u16 table, u16 route_destid, u8 *route_port) in idtg2_route_get_entry() argument 132 if (table == RIO_GLOBAL_TABLE) in idtg2_route_get_entry() 133 table = 0; in idtg2_route_get_entry() 135 table++; in idtg2_route_get_entry() 138 LOCAL_RTE_CONF_DESTID_SEL, table); in idtg2_route_get_entry() [all …]
|
D | tsi57x.c | 47 u16 table, u16 route_destid, u8 route_port) in tsi57x_route_add_entry() argument 49 if (table == RIO_GLOBAL_TABLE) { in tsi57x_route_add_entry() 56 SPP_ROUTE_CFG_DESTID(table), route_destid); in tsi57x_route_add_entry() 58 SPP_ROUTE_CFG_PORT(table), route_port); in tsi57x_route_add_entry() 68 u16 table, u16 route_destid, u8 *route_port) in tsi57x_route_get_entry() argument 73 if (table == RIO_GLOBAL_TABLE) { in tsi57x_route_get_entry() 78 table = (result & RIO_SWP_INFO_PORT_NUM_MASK); in tsi57x_route_get_entry() 82 SPP_ROUTE_CFG_DESTID(table), route_destid); in tsi57x_route_get_entry() 84 SPP_ROUTE_CFG_PORT(table), &result); in tsi57x_route_get_entry() 95 u16 table) in tsi57x_route_clr_table() argument [all …]
|
D | idtcps.c | 26 u16 table, u16 route_destid, u8 route_port) in idtcps_route_add_entry() argument 33 if (table == RIO_GLOBAL_TABLE) { in idtcps_route_add_entry() 50 u16 table, u16 route_destid, u8 *route_port) in idtcps_route_get_entry() argument 54 if (table == RIO_GLOBAL_TABLE) { in idtcps_route_get_entry() 73 u16 table) in idtcps_route_clr_table() argument 77 if (table == RIO_GLOBAL_TABLE) { in idtcps_route_clr_table()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | tables.c | 379 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read16() argument 384 addr = table + offset; in b43_ofdmtab_read16() 399 void b43_ofdmtab_write16(struct b43_wldev *dev, u16 table, in b43_ofdmtab_write16() argument 405 addr = table + offset; in b43_ofdmtab_write16() 416 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read32() argument 422 addr = table + offset; in b43_ofdmtab_read32() 437 void b43_ofdmtab_write32(struct b43_wldev *dev, u16 table, in b43_ofdmtab_write32() argument 443 addr = table + offset; in b43_ofdmtab_write32() 456 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) in b43_gtab_read() argument 458 b43_phy_write(dev, B43_PHY_GTABCTL, table + offset); in b43_gtab_read() [all …]
|
D | tables_lpphy.h | 9 #define B43_LPTAB8(table, offset) (((table) << 10) | (offset) | B43_LPTAB_8BIT) argument 10 #define B43_LPTAB16(table, offset) (((table) << 10) | (offset) | B43_LPTAB_16BIT) argument 11 #define B43_LPTAB32(table, offset) (((table) << 10) | (offset) | B43_LPTAB_32BIT) argument 38 struct lpphy_tx_gain_table_entry *table);
|
D | tables_phy_lcn.h | 9 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) argument 10 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) argument 11 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) argument
|
D | tables_phy_ht.h | 9 #define B43_HTTAB8(table, offset) (((table) << 10) | (offset) | B43_HTTAB_8BIT) argument 10 #define B43_HTTAB16(table, offset) (((table) << 10) | (offset) | B43_HTTAB_16BIT) argument 11 #define B43_HTTAB32(table, offset) (((table) << 10) | (offset) | B43_HTTAB_32BIT) argument
|
D | radio_2057.c | 540 u16 *table = NULL; in r2057_upload_inittabs() local 545 table = r2057_rev4_init[0]; in r2057_upload_inittabs() 550 table = r2057_rev5_init[0]; in r2057_upload_inittabs() 553 table = r2057_rev7_init[0]; in r2057_upload_inittabs() 559 table = r2057_rev5a_init[0]; in r2057_upload_inittabs() 565 table = r2057_rev9_init[0]; in r2057_upload_inittabs() 571 table = r2057_rev14_init[0]; in r2057_upload_inittabs() 577 B43_WARN_ON(!table); in r2057_upload_inittabs() 579 if (table) { in r2057_upload_inittabs() 580 for (i = 0; i < size; i++, table += 2) in r2057_upload_inittabs() [all …]
|
D | tables_nphy.h | 77 #define B43_NTAB8(table, offset) (((table) << 10) | (offset) | B43_NTAB_8BIT) argument 78 #define B43_NTAB16(table, offset) (((table) << 10) | (offset) | B43_NTAB_16BIT) argument 79 #define B43_NTAB32(table, offset) (((table) << 10) | (offset) | B43_NTAB_32BIT) argument
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_pd.c | 49 obj = find_next_zero_bit(c2dev->pd_table.table, c2dev->pd_table.max, in c2_pd_alloc() 52 obj = find_first_zero_bit(c2dev->pd_table.table, in c2_pd_alloc() 56 __set_bit(obj, c2dev->pd_table.table); in c2_pd_alloc() 69 __clear_bit(pd->pd_id, c2dev->pd_table.table); in c2_pd_free() 79 c2dev->pd_table.table = kmalloc(BITS_TO_LONGS(c2dev->props.max_pd) * in c2_init_pd_table() 81 if (!c2dev->pd_table.table) in c2_init_pd_table() 83 bitmap_zero(c2dev->pd_table.table, c2dev->props.max_pd); in c2_init_pd_table() 89 kfree(c2dev->pd_table.table); in c2_cleanup_pd_table()
|
/linux-4.4.14/arch/mips/lasat/ |
D | sysctl.c | 42 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring() argument 47 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring() 60 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc() argument 73 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc() 85 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip() argument 93 if (!table->data || !table->maxlen || !*lenp || in proc_lasat_ip() 117 *(unsigned int *)(table->data) = ip; in proc_lasat_ip() 120 ip = *(unsigned int *)(table->data); in proc_lasat_ip() 145 int proc_lasat_prid(struct ctl_table *table, int write, in proc_lasat_prid() argument 150 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_lasat_prid()
|
/linux-4.4.14/drivers/remoteproc/ |
D | ste_modem_rproc.c | 53 struct ste_toc_entry table[SPROC_MAX_TOC_ENTRIES]; member 74 toc->table[i].start != 0xffffffff; i++) { in sproc_find_rsc_entry() 75 if (!strncmp(toc->table[i].name, SPROC_RESOURCE_NAME, in sproc_find_rsc_entry() 76 sizeof(toc->table[i].name))) in sproc_find_rsc_entry() 77 return &toc->table[i]; in sproc_find_rsc_entry() 89 struct resource_table *table; in sproc_find_rsc_table() local 101 table = (void *)(fw->data + entry->start); in sproc_find_rsc_table() 114 if (table->ver != 1) { in sproc_find_rsc_table() 115 sproc_err(sproc, "unsupported fw ver: %d\n", table->ver); in sproc_find_rsc_table() 120 if (table->reserved[0] || table->reserved[1]) { in sproc_find_rsc_table() [all …]
|
D | remoteproc_elf_loader.c | 217 struct resource_table *table = NULL; local 231 table = (struct resource_table *)(elf_data + offset); 246 if (table->ver != 1) { 247 dev_err(dev, "unsupported fw ver: %d\n", table->ver); 252 if (table->reserved[0] || table->reserved[1]) { 258 if (table->num * sizeof(table->offset[0]) + 292 struct resource_table *table = NULL; local 301 table = (struct resource_table *)(elf_data + shdr->sh_offset); 304 return table;
|
/linux-4.4.14/fs/squashfs/ |
D | id.c | 72 __le64 *table; in squashfs_read_id_index_table() local 90 table = squashfs_read_table(sb, id_table_start, length); in squashfs_read_id_index_table() 96 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= id_table_start) { in squashfs_read_id_index_table() 97 kfree(table); in squashfs_read_id_index_table() 101 return table; in squashfs_read_id_index_table()
|
D | fragment.c | 77 __le64 *table; in squashfs_read_fragment_index_table() local 87 table = squashfs_read_table(sb, fragment_table_start, length); in squashfs_read_fragment_index_table() 93 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table() 94 kfree(table); in squashfs_read_fragment_index_table() 98 return table; in squashfs_read_fragment_index_table()
|
D | export.c | 127 __le64 *table; in squashfs_read_inode_lookup_table() local 144 table = squashfs_read_table(sb, lookup_table_start, length); in squashfs_read_inode_lookup_table() 150 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= lookup_table_start) { in squashfs_read_inode_lookup_table() 151 kfree(table); in squashfs_read_inode_lookup_table() 155 return table; in squashfs_read_inode_lookup_table()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | module.c | 392 static int proc_dobitmasks(struct ctl_table *table, int write, in proc_dobitmasks() argument 395 return proc_call_handler(table->data, write, ppos, buffer, lenp, in proc_dobitmasks() 408 static int proc_dump_kernel(struct ctl_table *table, int write, in proc_dump_kernel() argument 411 return proc_call_handler(table->data, write, ppos, buffer, lenp, in proc_dump_kernel() 431 static int proc_daemon_file(struct ctl_table *table, int write, in proc_daemon_file() argument 434 return proc_call_handler(table->data, write, ppos, buffer, lenp, in proc_daemon_file() 438 static int libcfs_force_lbug(struct ctl_table *table, int write, in libcfs_force_lbug() argument 447 static int proc_fail_loc(struct ctl_table *table, int write, in proc_fail_loc() argument 454 rc = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_fail_loc() 501 static int proc_cpt_table(struct ctl_table *table, int write, in proc_cpt_table() argument [all …]
|
/linux-4.4.14/net/ax25/ |
D | sysctl_net_ax25.c | 155 struct ctl_table *table; in ax25_register_dev_sysctl() local 157 table = kmemdup(ax25_param_table, sizeof(ax25_param_table), GFP_KERNEL); in ax25_register_dev_sysctl() 158 if (!table) in ax25_register_dev_sysctl() 162 table[k].data = &ax25_dev->values[k]; in ax25_register_dev_sysctl() 165 ax25_dev->sysheader = register_net_sysctl(&init_net, path, table); in ax25_register_dev_sysctl() 167 kfree(table); in ax25_register_dev_sysctl() 176 struct ctl_table *table; in ax25_unregister_dev_sysctl() local 180 table = header->ctl_table_arg; in ax25_unregister_dev_sysctl() 182 kfree(table); in ax25_unregister_dev_sysctl()
|
/linux-4.4.14/Documentation/networking/ |
D | vrf.txt | 10 through the socket then use the routing table associated with the VRF 24 A VRF device is created with an associated route table. Network interfaces 28 | vrf-blue | ===> route table 10 58 1. VRF device is created with an association to a FIB table. 59 e.g, ip link add vrf-blue type vrf table 10 62 2. Rules are added that send lookups to the associated FIB table when the 64 ip ru add oif vrf-blue table 10 65 ip ru add iif vrf-blue table 10 67 Set the default route for the table (and hence default route for the VRF). 68 e.g, ip route add table 10 prohibit default [all …]
|
D | mpls-sysctl.txt | 4 Number of entries in the platform label table. It is not 8 A dense utliziation of the entries in the platform label table 12 If the number of platform label table entries is set to 0 no 17 no longer fit in the table.
|
/linux-4.4.14/net/batman-adv/ |
D | hash.c | 31 INIT_HLIST_HEAD(&hash->table[i]); in batadv_hash_init() 40 kfree(hash->table); in batadv_hash_destroy() 53 hash->table = kmalloc_array(size, sizeof(*hash->table), GFP_ATOMIC); in batadv_hash_new() 54 if (!hash->table) in batadv_hash_new() 67 kfree(hash->table); in batadv_hash_new()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_slave_compat.c | 28 void **table; member 35 kft->table = kmalloc(kft->total * sizeof(*kft->table), in kfree_table_init() 37 if (!kft->table) in kfree_table_init() 46 void **old = kft->table; in kfree_table_add() 49 kft->table = krealloc(old, kft->total * sizeof(*kft->table), in kfree_table_add() 51 if (!kft->table) { in kfree_table_add() 52 kft->table = old; in kfree_table_add() 57 kft->table[kft->num++] = p; in kfree_table_add() 66 kfree(kft->table[i]); in kfree_table_free() 68 kfree(kft->table); in kfree_table_free()
|
/linux-4.4.14/drivers/sh/clk/ |
D | cpg.c | 132 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div_recalc() local 135 clk_rate_table_build(clk, clk->freq_table, table->nr_divisors, in sh_clk_div_recalc() 136 table, clk->arch_flags ? &clk->arch_flags : NULL); in sh_clk_div_recalc() 242 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops() argument 246 int nr_divs = table->div_mult_table->nr_divisors; in sh_clk_div_register_ops() 262 clkp->priv = table; in sh_clk_div_register_ops() 296 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div6_set_parent() local 321 clk_rate_table_build(clk, clk->freq_table, table->nr_divisors, in sh_clk_div6_set_parent() 322 table, NULL); in sh_clk_div6_set_parent() 353 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div4_set_parent() local [all …]
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 72 char *signature, struct acpi_table_header **table); 76 char *signature, struct acpi_table_header **table); 78 static void osl_unmap_table(struct acpi_table_header *table); 93 struct acpi_table_header **table, 101 struct acpi_table_header **table, 190 struct acpi_table_header ** table) in acpi_os_get_table_by_address() argument 229 *table = local_table; in acpi_os_get_table_by_address() 255 struct acpi_table_header ** table, in acpi_os_get_table_by_name() argument 274 osl_get_bios_table(signature, instance, table, address); in acpi_os_get_table_by_name() 279 instance, table, address); in acpi_os_get_table_by_name() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | acpi.c | 116 struct acpi_table_header *table; in acpi_fadt_sanity_check() local 126 status = acpi_get_table_with_size(ACPI_SIG_FADT, 0, &table, &tbl_size); in acpi_fadt_sanity_check() 134 fadt = (struct acpi_table_fadt *)table; in acpi_fadt_sanity_check() 142 if (table->revision < 5 || in acpi_fadt_sanity_check() 143 (table->revision == 5 && fadt->minor_revision < 1)) { in acpi_fadt_sanity_check() 145 table->revision, fadt->minor_revision); in acpi_fadt_sanity_check() 160 early_acpi_os_unmap_memory(table, tbl_size); in acpi_fadt_sanity_check()
|
/linux-4.4.14/arch/s390/pci/ |
D | pci_dma.c | 29 unsigned long *table, *entry; in dma_alloc_cpu_table() local 31 table = kmem_cache_alloc(dma_region_table_cache, GFP_ATOMIC); in dma_alloc_cpu_table() 32 if (!table) in dma_alloc_cpu_table() 35 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++) in dma_alloc_cpu_table() 37 return table; in dma_alloc_cpu_table() 40 static void dma_free_cpu_table(void *table) in dma_free_cpu_table() argument 42 kmem_cache_free(dma_region_table_cache, table); in dma_free_cpu_table() 47 unsigned long *table, *entry; in dma_alloc_page_table() local 49 table = kmem_cache_alloc(dma_page_table_cache, GFP_ATOMIC); in dma_alloc_page_table() 50 if (!table) in dma_alloc_page_table() [all …]
|
/linux-4.4.14/lib/zlib_inflate/ |
D | inftrees.c | 24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table() argument 107 *(*table)++ = this; /* make a table to force an error */ in zlib_inflate_table() 108 *(*table)++ = this; in zlib_inflate_table() 190 next = *table; /* current table to fill in */ in zlib_inflate_table() 271 (*table)[low].op = (unsigned char)curr; in zlib_inflate_table() 272 (*table)[low].bits = (unsigned char)root; in zlib_inflate_table() 273 (*table)[low].val = (unsigned short)(next - *table); in zlib_inflate_table() 292 next = *table; in zlib_inflate_table() 312 *table += used; in zlib_inflate_table()
|
/linux-4.4.14/fs/ |
D | aio.c | 73 struct kioctx *table[]; member 315 struct kioctx_table *table; in aio_ring_mremap() local 320 table = rcu_dereference(mm->ioctx_table); in aio_ring_mremap() 321 for (i = 0; i < table->nr; i++) { in aio_ring_mremap() 324 ctx = table->table[i]; in aio_ring_mremap() 625 struct kioctx_table *table, *old; in ioctx_add_table() local 629 table = rcu_dereference_raw(mm->ioctx_table); in ioctx_add_table() 632 if (table) in ioctx_add_table() 633 for (i = 0; i < table->nr; i++) in ioctx_add_table() 634 if (!table->table[i]) { in ioctx_add_table() [all …]
|
D | select.c | 101 #define POLL_TABLE_FULL(table) \ argument 102 ((unsigned long)((table)->entry+1) > PAGE_SIZE + (unsigned long)(table)) 125 pwq->table = NULL; in poll_initwait() 138 struct poll_table_page * p = pwq->table; in poll_freewait() 160 struct poll_table_page *table = p->table; in poll_get_entry() local 165 if (!table || POLL_TABLE_FULL(table)) { in poll_get_entry() 174 new_table->next = table; in poll_get_entry() 175 p->table = new_table; in poll_get_entry() 176 table = new_table; in poll_get_entry() 179 return table->entry++; in poll_get_entry() [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | max63xx_wdt.c | 102 max63xx_select_timeout(struct max63xx_timeout *table, int value) in max63xx_select_timeout() argument 104 while (table->twd) { in max63xx_select_timeout() 105 if (value <= table->twd) { in max63xx_select_timeout() 106 if (nodelay && table->tdelay == 0) in max63xx_select_timeout() 107 return table; in max63xx_select_timeout() 110 return table; in max63xx_select_timeout() 113 table++; in max63xx_select_timeout() 205 struct max63xx_timeout *table; in max63xx_wdt_probe() local 212 table = (struct max63xx_timeout *)pdev->id_entry->driver_data; in max63xx_wdt_probe() 217 wdt->timeout = max63xx_select_timeout(table, heartbeat); in max63xx_wdt_probe()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | pgalloc_64.h | 77 void pgtable_free(void *table, bool is_page); 84 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 86 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 94 void *table = (void *)((unsigned long)_table & ~0x1UL); in __tlb_remove_table() local 99 pgtable_free(table, is_page); in __tlb_remove_table() 102 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() argument 104 pgtable_free(table, is_page); in pgtable_free_tlb()
|
/linux-4.4.14/include/linux/netfilter_bridge/ |
D | ebtables.h | 30 bool (*checkentry)(const char *table, const void *entry, 47 bool (*checkentry)(const char *table, const void *entry, 65 bool (*checkentry)(const char *table, const void *entry, 97 struct ebt_replace_kernel *table; member 112 const struct ebt_table *table); 113 extern void ebt_unregister_table(struct net *net, struct ebt_table *table); 116 struct ebt_table *table);
|
/linux-4.4.14/fs/nls/ |
D | nls_koi8-ru.c | 54 static struct nls_table table = { variable 65 table.charset2upper = p_nls->charset2upper; in init_nls_koi8_ru() 66 table.charset2lower = p_nls->charset2lower; in init_nls_koi8_ru() 67 return register_nls(&table); in init_nls_koi8_ru() 75 unregister_nls(&table); in exit_nls_koi8_ru()
|
D | nls_ascii.c | 145 static struct nls_table table = { variable 155 return register_nls(&table); in init_nls_ascii() 160 unregister_nls(&table); in exit_nls_ascii()
|
D | nls_iso8859-1.c | 236 static struct nls_table table = { variable 246 return register_nls(&table); in init_nls_iso8859_1() 251 unregister_nls(&table); in exit_nls_iso8859_1()
|
D | nls_iso8859-6.c | 242 static struct nls_table table = { variable 252 return register_nls(&table); in init_nls_iso8859_6() 257 unregister_nls(&table); in exit_nls_iso8859_6()
|
D | nls_utf8.c | 43 static struct nls_table table = { variable 57 return register_nls(&table); in init_nls_utf8() 62 unregister_nls(&table); in exit_nls_utf8()
|
/linux-4.4.14/net/ |
D | sysctl_net.c | 42 struct ctl_table *table) in net_ctl_permissions() argument 51 int mode = (table->mode >> 6) & 7; in net_ctl_permissions() 56 int mode = (table->mode >> 3) & 7; in net_ctl_permissions() 59 return table->mode; in net_ctl_permissions() 108 const char *path, struct ctl_table *table) in register_net_sysctl() argument 110 return __register_sysctl_table(&net->sysctls, path, table); in register_net_sysctl()
|
/linux-4.4.14/drivers/sfi/ |
D | sfi_core.c | 77 #define TABLE_ON_PAGE(page, table, size) (ON_SAME_PAGE(page, table) && \ argument 78 ON_SAME_PAGE(page, table + size)) 133 static int sfi_verify_table(struct sfi_table_header *table) in sfi_verify_table() argument 137 u8 *puchar = (u8 *)table; in sfi_verify_table() 138 u32 length = table->len; in sfi_verify_table() 151 table->csum, table->csum - checksum); in sfi_verify_table() 283 struct sfi_table_header *table = NULL; in sfi_table_parse() local 294 table = sfi_get_table(&key); in sfi_table_parse() 295 if (!table) in sfi_table_parse() 298 ret = handler(table); in sfi_table_parse() [all …]
|
D | sfi_acpi.c | 142 static void sfi_acpi_put_table(struct acpi_table_header *table) in sfi_acpi_put_table() argument 144 sfi_put_table(acpi_to_sfi_th(table)); in sfi_acpi_put_table() 155 struct acpi_table_header *table = NULL; in sfi_acpi_table_parse() local 166 table = sfi_acpi_get_table(&key); in sfi_acpi_table_parse() 167 if (!table) in sfi_acpi_table_parse() 170 ret = handler(table); in sfi_acpi_table_parse() 171 sfi_acpi_put_table(table); in sfi_acpi_table_parse()
|
/linux-4.4.14/include/linux/sched/ |
D | sysctl.h | 9 extern int proc_dohung_task_timeout_secs(struct ctl_table *table, int write, 62 int sched_proc_update_handler(struct ctl_table *table, int write, 86 extern int sched_rr_handler(struct ctl_table *table, int write, 90 extern int sched_rt_handler(struct ctl_table *table, int write, 94 extern int sysctl_numa_balancing(struct ctl_table *table, int write,
|
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-emc.txt | 26 Embedded Memory Controller ram-code table 29 next level of nodes below the emc table are used to specify which settings 43 Embedded Memory Controller configuration table 45 This is a table containing the EMC register settings for the various 65 - name : Should be emc-table 66 - compatible : Should contain "nvidia,tegra20-emc-table". 68 the valid frequency for which the table should be used (in kHz). 70 table should be used (in kHz). 82 emc-table@166000 { 84 compatible = "nvidia,tegra20-emc-table"; [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-ioctl.c | 255 struct dm_table *table; in __hash_remove() local 265 table = dm_get_live_table(hc->md, &srcu_idx); in __hash_remove() 266 if (table) in __hash_remove() 267 dm_table_event(table); in __hash_remove() 270 table = NULL; in __hash_remove() 272 table = hc->new_map; in __hash_remove() 276 return table; in __hash_remove() 373 struct dm_table *table; in dm_hash_rename() local 439 table = dm_get_live_table(hc->md, &srcu_idx); in dm_hash_rename() 440 if (table) in dm_hash_rename() [all …]
|
D | dm-table.c | 298 dm_device_name(ti->table->md), bdevname(bdev, b), in device_area_is_invalid() 311 dm_device_name(ti->table->md), bdevname(bdev, b), in device_area_is_invalid() 324 dm_device_name(ti->table->md), in device_area_is_invalid() 333 dm_device_name(ti->table->md), in device_area_is_invalid() 397 struct dm_table *t = ti->table; in dm_get_device() 441 dm_device_name(ti->table->md), bdevname(bdev, b)); in dm_set_device_limits() 449 dm_device_name(ti->table->md), bdevname(bdev, b), in dm_set_device_limits() 464 struct list_head *devices = &ti->table->devices; in dm_put_device() 475 dm_device_name(ti->table->md), d->name); in dm_put_device() 479 dm_put_table_device(ti->table->md, d); in dm_put_device() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/regulator/ |
D | pwm-regulator.txt | 6 Voltage Table: When in this mode, a voltage table (See below) of 9 only operate at the voltages supplied in the table. 21 voltage-table mode above. This solution does make an 33 - voltage-table: Voltage and Duty-Cycle table consisting of 2 cells 37 NB: To be clear, if voltage-table is provided, then the device will be used 38 in Voltage Table Mode. If no voltage-table is provided, then the device will 62 voltage-table = <1114000 0>,
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | main.c | 1518 struct iwl_error_event_table table; in iwl_dump_nic_error_log() local 1539 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_dump_nic_error_log() 1541 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_dump_nic_error_log() 1544 priv->status, table.valid); in iwl_dump_nic_error_log() 1547 trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, in iwl_dump_nic_error_log() 1548 table.data1, table.data2, table.line, in iwl_dump_nic_error_log() 1549 table.blink1, table.blink2, table.ilink1, in iwl_dump_nic_error_log() 1550 table.ilink2, table.bcon_time, table.gp1, in iwl_dump_nic_error_log() 1551 table.gp2, table.gp3, table.ucode_ver, in iwl_dump_nic_error_log() 1552 table.hw_ver, 0, table.brd_ver); in iwl_dump_nic_error_log() [all …]
|
D | power.c | 163 const struct iwl_power_vec_entry *table; in iwl_static_sleep_cmd() local 170 table = apm_range_2; in iwl_static_sleep_cmd() 172 table = apm_range_1; in iwl_static_sleep_cmd() 174 table = apm_range_0; in iwl_static_sleep_cmd() 176 table = range_2; in iwl_static_sleep_cmd() 178 table = range_1; in iwl_static_sleep_cmd() 180 table = range_0; in iwl_static_sleep_cmd() 186 *cmd = table[lvl].cmd; in iwl_static_sleep_cmd() 195 skip = table[lvl].no_dtim; in iwl_static_sleep_cmd()
|
/linux-4.4.14/crypto/ |
D | lrw.c | 34 struct lrw_table_ctx table; member 53 if (ctx->table) in lrw_init_table() 54 gf128mul_free_64k(ctx->table); in lrw_init_table() 57 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in lrw_init_table() 58 if (!ctx->table) in lrw_init_table() 65 gf128mul_64k_bbe(&ctx->mulinc[i], ctx->table); in lrw_init_table() 74 if (ctx->table) in lrw_free_table() 75 gf128mul_free_64k(ctx->table); in lrw_free_table() 96 return lrw_init_table(&ctx->table, tweak); in setkey() 165 gf128mul_64k_bbe(&s.t, ctx->table.table); in crypt() [all …]
|
/linux-4.4.14/arch/frv/kernel/ |
D | entry-table.S | 23 # (1) The trap table for debug mode 24 # (2) The trap table for kernel mode 25 # (3) The trap table for user mode 27 # The CPU jumps to an appropriate slot in the appropriate table to perform 33 # (4) The exception handler vector table 37 # table, as indexed by the exception ID from the TBR. 39 # (5) The fixup table for kernel-trap single-step 40 # (6) The fixup table for user-trap single-step 45 # routine pointed to by this table. 53 # trap table for entry from debug mode [all …]
|
/linux-4.4.14/fs/jbd2/ |
D | revoke.c | 221 struct jbd2_revoke_table_s *table; in jbd2_journal_init_revoke_table() local 223 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in jbd2_journal_init_revoke_table() 224 if (!table) in jbd2_journal_init_revoke_table() 230 table->hash_size = hash_size; in jbd2_journal_init_revoke_table() 231 table->hash_shift = shift; in jbd2_journal_init_revoke_table() 232 table->hash_table = in jbd2_journal_init_revoke_table() 234 if (!table->hash_table) { in jbd2_journal_init_revoke_table() 235 kmem_cache_free(jbd2_revoke_table_cache, table); in jbd2_journal_init_revoke_table() 236 table = NULL; in jbd2_journal_init_revoke_table() 241 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table() [all …]
|
/linux-4.4.14/Documentation/arm64/ |
D | acpi_object_usage.txt | 8 the table signature (the first four bytes of the table) is the only portion 9 of the table recognized by the specification, and the actual table is defined 30 is recommended this table be supplied. 33 == simple BOOT flag table == 34 Microsoft only table, will not be supported. 42 == Corrected Platform Error Polling table == 52 == DeBuG port table 2 == 53 Microsoft only table, will not be supported. 56 == DeBuG Port table == 57 Microsoft only table, will not be supported. [all …]
|
/linux-4.4.14/net/ipv4/ |
D | sysctl_net_ipv4.c | 62 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range() argument 67 container_of(table->data, struct net, ipv4.ip_local_ports.range); in ipv4_local_port_range() 73 .mode = table->mode, in ipv4_local_port_range() 93 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) in inet_get_ping_group_range_table() argument 95 kgid_t *data = table->data; in inet_get_ping_group_range_table() 97 container_of(table->data, struct net, ipv4.ping_group_range.range); in inet_get_ping_group_range_table() 108 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range() argument 110 kgid_t *data = table->data; in set_ping_group_range() 112 container_of(table->data, struct net, ipv4.ping_group_range.range); in set_ping_group_range() 120 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range() argument [all …]
|
D | xfrm4_policy.c | 300 struct ctl_table *table; in xfrm4_net_sysctl_init() local 303 table = xfrm4_policy_table; in xfrm4_net_sysctl_init() 305 table = kmemdup(table, sizeof(xfrm4_policy_table), GFP_KERNEL); in xfrm4_net_sysctl_init() 306 if (!table) in xfrm4_net_sysctl_init() 309 table[0].data = &net->xfrm.xfrm4_dst_ops.gc_thresh; in xfrm4_net_sysctl_init() 312 hdr = register_net_sysctl(net, "net/ipv4", table); in xfrm4_net_sysctl_init() 321 kfree(table); in xfrm4_net_sysctl_init() 328 struct ctl_table *table; in xfrm4_net_sysctl_exit() local 333 table = net->ipv4.xfrm4_hdr->ctl_table_arg; in xfrm4_net_sysctl_exit() 336 kfree(table); in xfrm4_net_sysctl_exit()
|
/linux-4.4.14/drivers/usb/gadget/ |
D | usbstring.c | 40 usb_gadget_get_string (struct usb_gadget_strings *table, int id, u8 *buf) in usb_gadget_get_string() argument 49 buf [2] = (u8) table->language; in usb_gadget_get_string() 50 buf [3] = (u8) (table->language >> 8); in usb_gadget_get_string() 53 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
|
/linux-4.4.14/drivers/clk/tegra/ |
D | cvb.c | 70 const struct cvb_table_freq_entry *table = NULL; in build_opp_table() local 77 table = &d->cvb_table[i]; in build_opp_table() 78 if (!table->freq || (table->freq > max_freq)) in build_opp_table() 82 speedo_value, d->speedo_scale, &table->coefficients); in build_opp_table() 86 ret = dev_pm_opp_add(opp_dev, table->freq, dfll_mv * 1000); in build_opp_table()
|
/linux-4.4.14/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 16 delete table 170 if (array_size(table) != 0) { 171 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]", 192 if (array_size(table) != 0) { 193 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]", 261 if (idx in table) 275 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")" 349 table[idx] = add_flags(table[idx],flags) 353 table[idx] = add_flags(table[idx],variant)
|
/linux-4.4.14/drivers/char/agp/ |
D | uninorth-agp.c | 370 char *table; in uninorth_create_gatt_table() local 383 table = NULL; in uninorth_create_gatt_table() 393 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in uninorth_create_gatt_table() 395 if (table == NULL) { in uninorth_create_gatt_table() 401 } while (!table && (i < bridge->driver->num_aperture_sizes)); in uninorth_create_gatt_table() 403 if (table == NULL) in uninorth_create_gatt_table() 410 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table() 412 for (page = virt_to_page(table), i = 0; page <= virt_to_page(table_end); in uninorth_create_gatt_table() 418 bridge->gatt_table_real = (u32 *) table; in uninorth_create_gatt_table() 420 flush_dcache_range((unsigned long)table, in uninorth_create_gatt_table() [all …]
|
D | sgi-agp.c | 135 u64 *table; in sgi_tioca_insert_memory() local 141 table = (u64 *)bridge->gatt_table; in sgi_tioca_insert_memory() 179 if (table[j]) in sgi_tioca_insert_memory() 190 table[j] = in sgi_tioca_insert_memory() 205 u64 *table; in sgi_tioca_remove_memory() local 215 table = (u64 *)bridge->gatt_table; in sgi_tioca_remove_memory() 218 table[i] = 0; in sgi_tioca_remove_memory()
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk-mix.c | 111 struct mmp_clk_mix_clk_table *table, in _filter_clk_table() argument 122 item = &table[i]; in _filter_clk_table() 222 if (mix->table) { in mmp_clk_mix_determine_rate() 224 item = &mix->table[i]; in mmp_clk_mix_determine_rate() 355 if (mix->table) { in mmp_clk_set_parent() 357 item = &mix->table[i]; in mmp_clk_set_parent() 388 if (mix->table) { in mmp_clk_set_rate() 390 item = &mix->table[i]; in mmp_clk_set_rate() 426 if (mix->table) in mmp_clk_mix_init() 427 _filter_clk_table(mix, mix->table, mix->table_size); in mmp_clk_mix_init() [all …]
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebtables.c | 188 struct ebt_table *table) in ebt_do_table() argument 209 read_lock_bh(&table->lock); in ebt_do_table() 210 private = table->private; in ebt_do_table() 231 read_unlock_bh(&table->lock); in ebt_do_table() 254 read_unlock_bh(&table->lock); in ebt_do_table() 258 read_unlock_bh(&table->lock); in ebt_do_table() 285 read_unlock_bh(&table->lock); in ebt_do_table() 298 read_unlock_bh(&table->lock); in ebt_do_table() 316 read_unlock_bh(&table->lock); in ebt_do_table() 319 read_unlock_bh(&table->lock); in ebt_do_table() [all …]
|
D | ebt_among.c | 32 start = wh->table[key]; in ebt_mac_wormhash_contains() 33 limit = wh->table[key + 1]; in ebt_mac_wormhash_contains() 58 if (wh->table[i] > wh->table[i + 1]) in ebt_mac_wormhash_check_integrity() 60 if (wh->table[i] < 0) in ebt_mac_wormhash_check_integrity() 62 if (wh->table[i] > wh->poolsize) in ebt_mac_wormhash_check_integrity() 65 if (wh->table[256] > wh->poolsize) in ebt_mac_wormhash_check_integrity()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-firmware-efi | 5 EFI system table. 11 Description: It shows the physical address of runtime service table entry in 12 the EFI system table. 18 Description: It shows the physical address of config table entry in the EFI 19 system table.
|
/linux-4.4.14/drivers/acpi/ |
D | tables.c | 388 struct acpi_table_header *table = NULL; in acpi_table_parse() local 398 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size); in acpi_table_parse() 400 acpi_get_table_with_size(id, 0, &table, &tbl_size); in acpi_table_parse() 402 if (table) { in acpi_table_parse() 403 handler(table); in acpi_table_parse() 404 early_acpi_os_unmap_memory(table, tbl_size); in acpi_table_parse() 417 struct acpi_table_header *table = NULL; in check_multiple_madt() local 420 acpi_get_table_with_size(ACPI_SIG_MADT, 2, &table, &tbl_size); in check_multiple_madt() 421 if (table) { in check_multiple_madt() 427 early_acpi_os_unmap_memory(table, tbl_size); in check_multiple_madt()
|
/linux-4.4.14/Documentation/filesystems/ |
D | squashfs.txt | 76 | inode table | 79 | table | 82 | table | 85 | table | 88 | lookup table | 91 | table | 133 in a directory table. Directories are accessed using the start address of 178 3.5 Fragment lookup table 182 location on disk and compressed size using a fragment lookup table. This 183 fragment lookup table is itself stored compressed into metadata blocks. [all …]
|
D | files.txt | 5 and file descriptor table (struct files) works. 7 Up until 2.6.12, the file descriptor table has been protected 10 of the table. ->count was used for sharing the file descriptor 11 table between tasks cloned with CLONE_FILES flag. Typically 14 a put_files_struct() frees the file descriptor (fd) table. 20 based on RCU. The file descriptor table contains multiple 25 table are in a separate structure - struct fdtable. 27 which the actual fd table is accessed. Initially the 58 3. For any update to the fd table, files->file_lock must
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | reassembly.c | 495 struct ctl_table *table; in lowpan_frags_ns_sysctl_register() local 500 table = lowpan_frags_ns_ctl_table; in lowpan_frags_ns_sysctl_register() 502 table = kmemdup(table, sizeof(lowpan_frags_ns_ctl_table), in lowpan_frags_ns_sysctl_register() 504 if (table == NULL) in lowpan_frags_ns_sysctl_register() 507 table[0].data = &ieee802154_lowpan->frags.high_thresh; in lowpan_frags_ns_sysctl_register() 508 table[0].extra1 = &ieee802154_lowpan->frags.low_thresh; in lowpan_frags_ns_sysctl_register() 509 table[0].extra2 = &init_net.ieee802154_lowpan.frags.high_thresh; in lowpan_frags_ns_sysctl_register() 510 table[1].data = &ieee802154_lowpan->frags.low_thresh; in lowpan_frags_ns_sysctl_register() 511 table[1].extra2 = &ieee802154_lowpan->frags.high_thresh; in lowpan_frags_ns_sysctl_register() 512 table[2].data = &ieee802154_lowpan->frags.timeout; in lowpan_frags_ns_sysctl_register() [all …]
|
/linux-4.4.14/drivers/base/power/opp/ |
D | cpu.c | 53 struct cpufreq_frequency_table **table) in dev_pm_opp_init_cpufreq_table() argument 92 *table = &freq_table[0]; in dev_pm_opp_init_cpufreq_table() 111 struct cpufreq_frequency_table **table) in dev_pm_opp_free_cpufreq_table() argument 113 if (!table) in dev_pm_opp_free_cpufreq_table() 116 kfree(*table); in dev_pm_opp_free_cpufreq_table() 117 *table = NULL; in dev_pm_opp_free_cpufreq_table()
|
/linux-4.4.14/net/decnet/ |
D | dn_rules.c | 92 tbl = dn_fib_get_table(rule->table, 0); in dn_fib_rule_action() 131 if (rule->table == RT_TABLE_UNSPEC) { in dn_fib_rule_configure() 133 struct dn_fib_table *table; in dn_fib_rule_configure() local 135 table = dn_fib_empty_table(); in dn_fib_rule_configure() 136 if (table == NULL) { in dn_fib_rule_configure() 141 rule->table = table->n; in dn_fib_rule_configure()
|
/linux-4.4.14/drivers/mmc/core/ |
D | quirks.c | 54 void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) in mmc_fixup_device() argument 60 if (!table) in mmc_fixup_device() 61 table = mmc_fixup_methods; in mmc_fixup_device() 63 for (f = table; f->vendor_fixup; f++) { in mmc_fixup_device()
|
/linux-4.4.14/arch/x86/platform/sfi/ |
D | sfi.c | 52 static int __init sfi_parse_cpus(struct sfi_table_header *table) in sfi_parse_cpus() argument 59 sb = (struct sfi_table_simple *)table; in sfi_parse_cpus() 75 static int __init sfi_parse_ioapic(struct sfi_table_header *table) in sfi_parse_ioapic() argument 85 sb = (struct sfi_table_simple *)table; in sfi_parse_ioapic()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 99 struct ctl_table *table; in nf_ct_frag6_sysctl_register() local 102 table = nf_ct_frag6_sysctl_table; in nf_ct_frag6_sysctl_register() 104 table = kmemdup(table, sizeof(nf_ct_frag6_sysctl_table), in nf_ct_frag6_sysctl_register() 106 if (table == NULL) in nf_ct_frag6_sysctl_register() 109 table[0].data = &net->nf_frag.frags.timeout; in nf_ct_frag6_sysctl_register() 110 table[1].data = &net->nf_frag.frags.low_thresh; in nf_ct_frag6_sysctl_register() 111 table[1].extra2 = &net->nf_frag.frags.high_thresh; in nf_ct_frag6_sysctl_register() 112 table[2].data = &net->nf_frag.frags.high_thresh; in nf_ct_frag6_sysctl_register() 113 table[2].extra1 = &net->nf_frag.frags.low_thresh; in nf_ct_frag6_sysctl_register() 114 table[2].extra2 = &init_net.nf_frag.frags.high_thresh; in nf_ct_frag6_sysctl_register() [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | sysctl.c | 61 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt() argument 76 proc_dodebug(struct ctl_table *table, int write, in proc_dodebug() argument 115 *(unsigned int *) table->data = value; in proc_dodebug() 117 if (strcmp(table->procname, "rpc_debug") == 0) in proc_dodebug() 120 len = sprintf(tmpbuf, "0x%04x", *(unsigned int *) table->data); in proc_dodebug()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 138 char *table; in ibm_slot_from_id() local 140 size = ibm_get_table_from_acpi(&table); in ibm_slot_from_id() 141 des = (union apci_descriptor *)table; in ibm_slot_from_id() 145 des = (union apci_descriptor *)&table[ind += des->header.len]; in ibm_slot_from_id() 148 des = (union apci_descriptor *)&table[ind += des->generic.len]; in ibm_slot_from_id() 159 kfree(table); in ibm_slot_from_id() 361 char *table = NULL; in ibm_read_apci_table() local 366 bytes_read = ibm_get_table_from_acpi(&table); in ibm_read_apci_table() 368 memcpy(buffer, table, bytes_read); in ibm_read_apci_table() 369 kfree(table); in ibm_read_apci_table()
|
/linux-4.4.14/net/ipv6/ |
D | route.c | 848 struct fib6_table *table, in ip6_pol_route_lookup() argument 854 read_lock_bh(&table->tb6_lock); in ip6_pol_route_lookup() 855 fn = fib6_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); in ip6_pol_route_lookup() 867 read_unlock_bh(&table->tb6_lock); in ip6_pol_route_lookup() 914 struct fib6_table *table; in __ip6_ins_rt() local 916 table = rt->rt6i_table; in __ip6_ins_rt() 917 write_lock_bh(&table->tb6_lock); in __ip6_ins_rt() 918 err = fib6_add(&table->tb6_root, rt, info, mxc); in __ip6_ins_rt() 919 write_unlock_bh(&table->tb6_lock); in __ip6_ins_rt() 1004 struct fib6_table *table = rt->rt6i_table; in rt6_make_pcpu_route() local [all …]
|
D | xfrm6_policy.c | 330 struct ctl_table *table; in xfrm6_net_sysctl_init() local 333 table = xfrm6_policy_table; in xfrm6_net_sysctl_init() 335 table = kmemdup(table, sizeof(xfrm6_policy_table), GFP_KERNEL); in xfrm6_net_sysctl_init() 336 if (!table) in xfrm6_net_sysctl_init() 339 table[0].data = &net->xfrm.xfrm6_dst_ops.gc_thresh; in xfrm6_net_sysctl_init() 342 hdr = register_net_sysctl(net, "net/ipv6", table); in xfrm6_net_sysctl_init() 351 kfree(table); in xfrm6_net_sysctl_init() 358 struct ctl_table *table; in xfrm6_net_sysctl_exit() local 363 table = net->ipv6.sysctl.xfrm6_hdr->ctl_table_arg; in xfrm6_net_sysctl_exit() 366 kfree(table); in xfrm6_net_sysctl_exit()
|
D | reassembly.c | 631 struct ctl_table *table; in ip6_frags_ns_sysctl_register() local 634 table = ip6_frags_ns_ctl_table; in ip6_frags_ns_sysctl_register() 636 table = kmemdup(table, sizeof(ip6_frags_ns_ctl_table), GFP_KERNEL); in ip6_frags_ns_sysctl_register() 637 if (!table) in ip6_frags_ns_sysctl_register() 640 table[0].data = &net->ipv6.frags.high_thresh; in ip6_frags_ns_sysctl_register() 641 table[0].extra1 = &net->ipv6.frags.low_thresh; in ip6_frags_ns_sysctl_register() 642 table[0].extra2 = &init_net.ipv6.frags.high_thresh; in ip6_frags_ns_sysctl_register() 643 table[1].data = &net->ipv6.frags.low_thresh; in ip6_frags_ns_sysctl_register() 644 table[1].extra2 = &net->ipv6.frags.high_thresh; in ip6_frags_ns_sysctl_register() 645 table[2].data = &net->ipv6.frags.timeout; in ip6_frags_ns_sysctl_register() [all …]
|
/linux-4.4.14/arch/arm/kvm/ |
D | coproc.c | 387 void kvm_register_target_coproc_table(struct kvm_coproc_target_table *table) in kvm_register_target_coproc_table() argument 391 for (i = 1; i < table->num; i++) in kvm_register_target_coproc_table() 392 BUG_ON(cmp_reg(&table->table[i-1], in kvm_register_target_coproc_table() 393 &table->table[i]) >= 0); in kvm_register_target_coproc_table() 395 target_tables[table->target] = table; in kvm_register_target_coproc_table() 401 struct kvm_coproc_target_table *table; in get_target_table() local 403 table = target_tables[target]; in get_target_table() 404 *num = table->num; in get_target_table() 405 return table->table; in get_target_table() 409 const struct coproc_reg table[], in find_reg() argument [all …]
|
/linux-4.4.14/drivers/block/zram/ |
D | zram_drv.c | 81 return meta->table[index].value & BIT(flag); in zram_test_flag() 87 meta->table[index].value |= BIT(flag); in zram_set_flag() 93 meta->table[index].value &= ~BIT(flag); in zram_clear_flag() 98 return meta->table[index].value & (BIT(ZRAM_FLAG_SHIFT) - 1); in zram_get_obj_size() 104 unsigned long flags = meta->table[index].value >> ZRAM_FLAG_SHIFT; in zram_set_obj_size() 106 meta->table[index].value = (flags << ZRAM_FLAG_SHIFT) | size; in zram_set_obj_size() 489 unsigned long handle = meta->table[index].handle; in zram_meta_free() 498 vfree(meta->table); in zram_meta_free() 511 meta->table = vzalloc(num_pages * sizeof(*meta->table)); in zram_meta_alloc() 512 if (!meta->table) { in zram_meta_alloc() [all …]
|
/linux-4.4.14/block/partitions/ |
D | Kconfig | 72 bool "AIX basic partition table support" if PARTITION_ADVANCED 75 partition table format used by IBM or Motorola PowerPC machines 90 bool "Amiga partition table support" if PARTITION_ADVANCED 97 bool "Atari partition table support" if PARTITION_ADVANCED 108 partition table format used by IBM DASD disks operating under CMS. 129 requires only one entry in the primary partition table of your disk 131 first sector a new partition table in BSD disklabel format. Saying Y 141 Minix 2.0.0/2.0.2 subpartition table support for Linux. 146 bool "Solaris (x86) partition table support" 150 table format, incompatible with all others. Saying Y here allows you [all …]
|
/linux-4.4.14/drivers/parport/ |
D | procfs.c | 35 static int do_active_device(struct ctl_table *table, int write, in do_active_device() argument 38 struct parport *port = (struct parport *)table->extra1; in do_active_device() 72 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() argument 75 struct parport_device_info *info = table->extra2; in do_autoprobe() 114 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() argument 118 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr() 142 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() argument 146 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq() 170 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() argument 174 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma() [all …]
|
/linux-4.4.14/Documentation/cpu-freq/ |
D | cpu-drivers.txt | 122 frequency table helpers might be helpful. See the section 2 for more information 138 values, a frequency table helper and/or the 141 section 2 for details on frequency table helpers. 163 and unsigned int index (into the exposed frequency table). 186 Here again the frequency table helper might assist you - see section 2 224 frequencies, a "frequency table" with some functions might assist in 225 some work of the processor driver. Such a "frequency table" consists 228 "frequency". At the end of the table, you need to add a 230 if you want to skip one entry in the table, set the frequency to 235 struct cpufreq_frequency_table *table); [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/arm/ |
D | cpus.txt | 187 "spin-table" 208 property value of "spin-table". 312 enable-method = "spin-table"; 320 enable-method = "spin-table"; 328 enable-method = "spin-table"; 336 enable-method = "spin-table"; 344 enable-method = "spin-table"; 352 enable-method = "spin-table"; 360 enable-method = "spin-table"; 368 enable-method = "spin-table"; [all …]
|
/linux-4.4.14/include/linux/gpio/ |
D | machine.h | 36 struct gpiod_lookup table[]; member 59 void gpiod_add_lookup_table(struct gpiod_lookup_table *table); 60 void gpiod_remove_lookup_table(struct gpiod_lookup_table *table);
|
/linux-4.4.14/arch/sparc/kernel/ |
D | irq_32.c | 256 #define INSTANTIATE(table) \ in sparc_floppy_request_irq() argument 257 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_one = SPARC_RD_PSR_L0; \ in sparc_floppy_request_irq() 258 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two = \ in sparc_floppy_request_irq() 260 (unsigned long) &table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two);\ in sparc_floppy_request_irq() 261 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_three = SPARC_RD_WIM_L3; \ in sparc_floppy_request_irq() 262 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP; in sparc_floppy_request_irq()
|
/linux-4.4.14/fs/udf/ |
D | balloc.c | 347 struct inode *table, in udf_table_free_blocks() argument 372 iinfo = UDF_I(table); in udf_table_free_blocks() 384 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks() 402 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks() 421 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks() 512 mark_inode_dirty(table); in udf_table_free_blocks() 547 mark_inode_dirty(table); in udf_table_free_blocks() 553 udf_write_aext(table, &epos, &eloc, elen, 1); in udf_table_free_blocks() 557 mark_inode_dirty(table); in udf_table_free_blocks() 576 struct inode *table, uint16_t partition, in udf_table_prealloc_blocks() argument [all …]
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | dcr-low.S | 16 #define DCR_ACCESS_PROLOG(table) \ argument 19 lis r5,table@h; \ 20 ori r5,r5,table@l; \
|
/linux-4.4.14/include/linux/netfilter_ipv6/ |
D | ip6_tables.h | 29 const struct xt_table *table, 31 extern void ip6t_unregister_table(struct net *net, struct xt_table *table); 34 struct xt_table *table);
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 369 void *cgs_device, unsigned table, 381 typedef int (*cgs_atom_get_cmd_table_revs_t)(void *cgs_device, unsigned table, 393 unsigned table, void *args); 596 #define cgs_atom_get_data_table(dev,table,size,frev,crev) \ argument 597 CGS_CALL(atom_get_data_table,dev,table,size,frev,crev) 598 #define cgs_atom_get_cmd_table_revs(dev,table,frev,crev) \ argument 599 CGS_CALL(atom_get_cmd_table_revs,dev,table,frev,crev) 600 #define cgs_atom_exec_cmd_table(dev,table,args) \ argument 601 CGS_CALL(atom_exec_cmd_table,dev,table,args)
|