Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 42) sorted by relevance

12

/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddmm.c66 static u32 table_size; /* The size of virt and phys pages tables */ variable
88 table_size = PG_ALIGN_HIGH(size, PG_SIZE4K) / PG_SIZE4K; in dmm_create_tables()
90 virtual_mapping_table = __vmalloc(table_size * in dmm_create_tables()
99 free_size = table_size * PG_SIZE4K; in dmm_create_tables()
100 virtual_mapping_table[0].region_size = table_size; in dmm_create_tables()
370 if (i < table_size) in get_region()
396 while (i < table_size) { in get_free_region()
401 if (next_i < table_size && in get_free_region()
440 if (i < table_size && (virtual_mapping_table[i].mapped || in get_mapped_region()
457 for (i = 0; i < table_size; i += in dmm_mem_map_dump()
[all …]
/linux-3.4.99/mm/
Dpage_cgroup.c48 unsigned long table_size; in alloc_node_page_cgroup() local
55 table_size = sizeof(struct page_cgroup) * nr_pages; in alloc_node_page_cgroup()
58 table_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)); in alloc_node_page_cgroup()
62 total_usage += table_size; in alloc_node_page_cgroup()
131 unsigned long table_size; in init_section_page_cgroup() local
138 table_size = sizeof(struct page_cgroup) * PAGES_PER_SECTION; in init_section_page_cgroup()
139 base = alloc_page_cgroup(table_size, nid); in init_section_page_cgroup()
159 total_usage += table_size; in init_section_page_cgroup()
169 size_t table_size = in free_page_cgroup() local
173 free_pages_exact(addr, table_size); in free_page_cgroup()
/linux-3.4.99/drivers/message/i2o/
Ddevice.c354 u16 table_size; in i2o_device_parse_lct() local
362 table_size = buf & 0xffff; in i2o_device_parse_lct()
364 lct = c->lct = kmalloc(table_size * 4, GFP_KERNEL); in i2o_device_parse_lct()
372 lct->table_size = table_size; in i2o_device_parse_lct()
376 table_size -= 3; in i2o_device_parse_lct()
379 lct->table_size); in i2o_device_parse_lct()
381 while (table_size > 0) { in i2o_device_parse_lct()
420 table_size -= 9; in i2o_device_parse_lct()
/linux-3.4.99/drivers/acpi/apei/
Deinj.c264 if (trigger_tab->table_size > PAGE_SIZE || in einj_check_trigger_header()
265 trigger_tab->table_size < trigger_tab->header_size) in einj_check_trigger_header()
268 (trigger_tab->table_size - trigger_tab->header_size) / in einj_check_trigger_header()
304 u32 table_size; in __einj_error_trigger() local
335 table_size = trigger_tab->table_size; in __einj_error_trigger()
337 table_size - sizeof(*trigger_tab), in __einj_error_trigger()
343 (unsigned long long)trigger_paddr + table_size - 1); in __einj_error_trigger()
347 trigger_tab = ioremap_cache(trigger_paddr, table_size); in __einj_error_trigger()
404 table_size - sizeof(*trigger_tab)); in __einj_error_trigger()
/linux-3.4.99/arch/arm/mach-s3c2440/
Ds3c2440-cpufreq.c204 size_t table_size) in run_freq_for() argument
217 index = s3c_cpufreq_addfreq(table, index, table_size, freq); in run_freq_for()
229 size_t table_size) in s3c2440_cpufreq_calctable() argument
239 table, table_size); in s3c2440_cpufreq_calctable()
/linux-3.4.99/arch/arm/plat-samsung/include/plat/
Dcpu-freq-core.h184 size_t table_size);
275 int index, size_t table_size, in s3c_cpufreq_addfreq() argument
282 if (index >= table_size) in s3c_cpufreq_addfreq()
/linux-3.4.99/drivers/power/
Dmax17042_battery.c328 int table_size = in max17042_init_model() local
332 temp_data = kzalloc(table_size, GFP_KERNEL); in max17042_init_model()
338 table_size); in max17042_init_model()
340 table_size); in max17042_init_model()
346 table_size); in max17042_init_model()
357 int table_size = in max17042_verify_model_lock() local
362 temp_data = kzalloc(table_size, GFP_KERNEL); in max17042_verify_model_lock()
367 table_size); in max17042_verify_model_lock()
368 for (i = 0; i < table_size; i++) in max17042_verify_model_lock()
/linux-3.4.99/drivers/gpu/drm/
Dati_pcigart.c42 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table()
72 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
140 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/linux-3.4.99/arch/powerpc/mm/
Dinit_64.c107 unsigned long table_size = sizeof(void *) << shift; in pgtable_cache_add() local
108 unsigned long align = table_size; in pgtable_cache_add()
132 new = kmem_cache_create(name, table_size, align, 0, ctor); in pgtable_cache_add()
/linux-3.4.99/scripts/
Dkallsyms.c55 static unsigned int table_size, table_cnt; variable
233 if (table_cnt >= table_size) { in read_map()
234 table_size += 10000; in read_map()
235 table = realloc(table, sizeof(*table) * table_size); in read_map()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_mcg.c318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local
321 table_size, in mthca_init_mcg_table()
322 table_size - 1, in mthca_init_mcg_table()
/linux-3.4.99/security/apparmor/
Dpolicy_unpack.c650 static bool verify_xindex(int xindex, int table_size) in verify_xindex() argument
655 if (xtype == AA_X_TABLE && index > table_size) in verify_xindex()
661 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex() argument
665 if (!verify_xindex(dfa_user_xindex(dfa, i), table_size)) in verify_dfa_xindex()
667 if (!verify_xindex(dfa_other_xindex(dfa, i), table_size)) in verify_dfa_xindex()
Dmatch.c56 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
266 data += table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
267 size -= table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_gart.c40 ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
49 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_alloc()
53 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
66 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_free()
69 pci_free_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_free()
81 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
Drs400.c103 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rs400_gart_init()
/linux-3.4.99/drivers/net/wireless/iwlegacy/
D3945-rs.c104 u32 table_size = 0; in il3945_get_rate_idx_by_rssi() local
113 table_size = ARRAY_SIZE(il3945_tpt_table_g); in il3945_get_rate_idx_by_rssi()
117 table_size = ARRAY_SIZE(il3945_tpt_table_a); in il3945_get_rate_idx_by_rssi()
124 while (idx < table_size && rssi < tpt_table[idx].min_rssi) in il3945_get_rate_idx_by_rssi()
127 idx = min(idx, table_size - 1); in il3945_get_rate_idx_by_rssi()
/linux-3.4.99/drivers/acpi/
Dtables.c205 unsigned long table_size, in acpi_table_parse_entries() argument
237 ((unsigned long)table_header + table_size); in acpi_table_parse_entries()
/linux-3.4.99/drivers/mtd/nand/
Dnand_bbt.c1074 u32 table_size; in verify_bbt_descr() local
1099 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr()
1101 table_size = mtd->size >> this->bbt_erase_shift; in verify_bbt_descr()
1102 table_size >>= 3; in verify_bbt_descr()
1103 table_size *= bits; in verify_bbt_descr()
1105 table_size += pattern_len; in verify_bbt_descr()
1106 BUG_ON(table_size > (1 << this->bbt_erase_shift)); in verify_bbt_descr()
/linux-3.4.99/security/apparmor/include/
Dmatch.h109 static inline size_t table_size(size_t len, size_t el_size) in table_size() function
/linux-3.4.99/include/media/davinci/
Ddm355_ccdc.h205 int table_size; member
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Dphy.c3089 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local
3143 table_size = pwr_max[pdg] - pwr_min[pdg]; in ath5k_combine_pwr_to_pdadc_curves()
3144 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; in ath5k_combine_pwr_to_pdadc_curves()
3155 if ((pdadc_tmp[table_size - 1] - pdadc_tmp[table_size - 2]) > 1) in ath5k_combine_pwr_to_pdadc_curves()
3156 pwr_step = pdadc_tmp[table_size - 1] - in ath5k_combine_pwr_to_pdadc_curves()
3157 pdadc_tmp[table_size - 2]; in ath5k_combine_pwr_to_pdadc_curves()
3164 s16 tmp = pdadc_tmp[table_size - 1] + in ath5k_combine_pwr_to_pdadc_curves()
/linux-3.4.99/include/linux/
Dacpi.h89 int __init acpi_table_parse_entries(char *id, unsigned long table_size,
Di2o-dev.h218 __u32 table_size:16; member
/linux-3.4.99/drivers/media/video/davinci/
Ddm355_ccdc.c520 if (dfc->table_size > CCDC_DFT_TABLE_SIZE) in ccdc_config_vdfc()
536 for (i = 0; i < dfc->table_size; i++) { in ccdc_config_vdfc()
/linux-3.4.99/include/acpi/
Dactbl1.h272 u32 table_size; member

12