Searched refs:table_bytes (Results 1 – 2 of 2) sorted by relevance
453 size_t table_bytes; in mmp_clk_register_mix() local470 table_bytes = sizeof(*config->table) * config->table_size; in mmp_clk_register_mix()471 mix->table = kzalloc(table_bytes, GFP_KERNEL); in mmp_clk_register_mix()478 memcpy(mix->table, config->table, table_bytes); in mmp_clk_register_mix()483 table_bytes = sizeof(u32) * num_parents; in mmp_clk_register_mix()484 mix->mux_table = kzalloc(table_bytes, GFP_KERNEL); in mmp_clk_register_mix()492 memcpy(mix->mux_table, config->mux_table, table_bytes); in mmp_clk_register_mix()
580 unsigned table_bytes = table_count * sizeof(dt->dt_dev_table[0]) + in exofs_read_lookup_dev_table() local585 dt = kmalloc(table_bytes, GFP_KERNEL); in exofs_read_lookup_dev_table()588 table_bytes); in exofs_read_lookup_dev_table()599 table_bytes); in exofs_read_lookup_dev_table()