Home
last modified time | relevance | path

Searched refs:kmemdup_array (Results 1 – 25 of 33) sorted by relevance

12

/linux/fs/
H A Dmnt_idmapping.c249 forward = kmemdup_array(map_from->forward, nr_extents, in copy_mnt_idmap()
255 reverse = kmemdup_array(map_from->reverse, nr_extents, in copy_mnt_idmap()
/linux/drivers/base/regmap/
H A Dregcache-maple.c136 lower = kmemdup_array(entry, in regcache_maple_drop()
149 upper = kmemdup_array(&entry[max - mas.index + 1], in regcache_maple_drop()
/linux/drivers/pinctrl/
H A Dpinctrl-utils.c73 dup_configs = kmemdup_array(configs, num_configs, in pinctrl_utils_add_map_configs()
/linux/arch/mips/alchemy/common/
H A Dplatform.c412 macres = kmemdup_array(au1xxx_eth0_resources[ctype], MAC_RES_COUNT, in alchemy_setup_macs()
433 macres = kmemdup_array(au1xxx_eth1_resources[ctype], MAC_RES_COUNT, in alchemy_setup_macs()
/linux/drivers/clk/mmp/
H A Dclk-mix.c463 mix->table = kmemdup_array(config->table, config->table_size, in mmp_clk_register_mix()
472 mix->mux_table = kmemdup_array(config->mux_table, num_parents, in mmp_clk_register_mix()
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx-scmi.c146 configs = kmemdup_array(cfg, ncfg, sizeof(unsigned long), GFP_KERNEL); in pinctrl_scmi_imx_dt_node_to_map()
/linux/mm/
H A Dutil.c156 void *kmemdup_array(const void *src, size_t count, size_t element_size, gfp_t gfp) in kmemdup_array() function
160 EXPORT_SYMBOL(kmemdup_array);
/linux/arch/arm/mach-omap2/
H A Domap_device.c318 hwmods = kmemdup_array(ohs, oh_cnt, sizeof(*hwmods), GFP_KERNEL); in omap_device_alloc()
/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c130 fuse->lookups = kmemdup_array(fuse->soc->lookups, fuse->soc->num_lookups, in tegra_fuse_add_lookups()
/linux/drivers/clk/rockchip/
H A Dclk-cpu.c372 cpuclk->rate_table = kmemdup_array(rates, nrates, sizeof(*rates), in rockchip_clk_register_cpuclk()
H A Dclk-pll.c1138 pll->rate_table = kmemdup_array(rate_table, in rockchip_clk_register_pll()
/linux/drivers/clk/samsung/
H A Dclk-cpu.c694 cpuclk->cfg = kmemdup_array(clk_data->cfg, num_cfgs, sizeof(*cpuclk->cfg), in exynos_register_cpu_clock()
/linux/drivers/platform/chrome/
H A Dchromeos_laptop.c752 i2c_peripherals = kmemdup_array(src->i2c_peripherals, in chromeos_laptop_prepare_i2c_peripherals()
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c338 nb = kmemdup_array(sp->buffers, scnt, sizeof(*nb), in pvr2_stream_buffer_count()
/linux/fs/ceph/
H A Ddebugfs.c413 snapshot = kmemdup_array(mdsc->subvol_metrics_last, nr, in subvolume_metrics_show()
/linux/drivers/input/misc/
H A Dwistron_btns.c993 new_keymap = kmemdup_array(keymap, length, sizeof(struct key_entry), in copy_keymap()
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzv2m.c199 cfgs = kmemdup_array(configs, num_configs, sizeof(*cfgs), GFP_KERNEL); in rzv2m_map_add_config()
H A Dpinctrl-rzt2h.c257 cfgs = kmemdup_array(configs, num_configs, sizeof(*cfgs), GFP_KERNEL); in rzt2h_map_add_config()
/linux/drivers/base/
H A Dplatform.c651 r = kmemdup_array(res, num, sizeof(*r), GFP_KERNEL); in platform_device_add_resources()
/linux/kernel/
H A Duser_namespace.c866 map->reverse = kmemdup_array(map->forward, map->nr_extents, in sort_idmaps()
/linux/kernel/irq/
H A Dmsi.c87 desc->affinity = kmemdup_array(affinity, nvec, sizeof(*desc->affinity), GFP_KERNEL); in msi_alloc_desc()
/linux/lib/tests/
H A Dfortify_kunit.c391 checker(len, kmemdup_array(test_strs[i], 1, len, gfp), \
/linux/drivers/acpi/arm64/
H A Diort.c946 sids_copy = kmemdup_array(sids, num_sids, sizeof(*sids), GFP_KERNEL); in iort_rmr_alloc()
/linux/net/ipv4/netfilter/
H A Darp_tables.c1562 ops = kmemdup_array(template_ops, num_ops, sizeof(*ops), GFP_KERNEL); in arpt_register_table()
H A Dip_tables.c1770 ops = kmemdup_array(template_ops, num_ops, sizeof(*ops), GFP_KERNEL); in ipt_register_table()

12