Home
last modified time | relevance | path

Searched refs:krealloc (Results 1 – 72 of 72) sorted by relevance

/linux-4.4.14/drivers/pinctrl/
Dpinctrl-utils.c42 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in pinctrl_utils_reserve_map()
109 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
Dpinctrl-tz1090-pdc.c299 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in reserve_map()
Dpinctrl-tz1090.c1043 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in reserve_map()
/linux-4.4.14/sound/hda/
Darray.c28 nlist = krealloc(array->list, size, GFP_KERNEL | __GFP_ZERO); in snd_array_new()
/linux-4.4.14/drivers/dma-buf/
Dreservation.c72 fobj = krealloc(obj->staged, offsetof(typeof(*fobj), shared[max]), in reservation_object_reserve_shared()
259 nshared = krealloc(shared, sz, in reservation_object_get_fences_rcu()
263 nshared = krealloc(shared, sz, GFP_KERNEL); in reservation_object_get_fences_rcu()
/linux-4.4.14/lib/
Dtest_kasan.c92 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_more()
111 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_less()
/linux-4.4.14/tools/virtio/linux/
Dkernel.h66 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() function
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_handle_array.c58 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c208 p = krealloc(si->si_ptrs.cydata, si->si_ofs.cydata_size, GFP_KERNEL); in cyttsp4_si_get_cydata()
275 p = krealloc(si->si_ptrs.test, si->si_ofs.test_size, GFP_KERNEL); in cyttsp4_si_get_test_data()
326 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data()
372 p = krealloc(si->si_ptrs.opcfg, si->si_ofs.opcfg_size, GFP_KERNEL); in cyttsp4_si_get_opcfg_data()
462 p = krealloc(si->si_ptrs.ddata, si->si_ofs.ddata_size, GFP_KERNEL); in cyttsp4_si_get_ddata()
489 p = krealloc(si->si_ptrs.mdata, si->si_ofs.mdata_size, GFP_KERNEL); in cyttsp4_si_get_mdata()
521 p = krealloc(si->btn, si->si_ofs.btn_keys_size, in cyttsp4_si_get_btn_data()
566 p = krealloc(si->xy_mode, si->si_ofs.mode_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
571 p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
576 p = krealloc(si->btn_rec_data, in cyttsp4_si_get_op_data_ptrs()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_edid_load.c248 new_edid = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, in edid_load()
Ddrm_bufs.c724 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp()
922 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_pci()
1087 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_sg()
Ddrm_edid.c1298 new = krealloc(block, (block[0x7e] + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid()
1330 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid()
Ddrm_fb_helper.c147 …temp = krealloc(fb_helper->connector_info, sizeof(struct drm_fb_helper_connector *) * (fb_helper->… in drm_fb_helper_add_one_connector()
/linux-4.4.14/fs/exofs/
Dsys.c86 new_uri = krealloc(edp->uri, edp->urilen, GFP_KERNEL); in uri_store()
/linux-4.4.14/drivers/base/regmap/
Dregcache-rbtree.c293 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block()
300 present = krealloc(rbnode->cache_present, in regcache_rbtree_insert_to_block()
Dregmap.c2783 p = krealloc(map->patch, in regmap_register_patch()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_slave_compat.c49 kft->table = krealloc(old, kft->total * sizeof(*kft->table), in kfree_table_add()
/linux-4.4.14/drivers/uwb/
Die.c243 new_ies = krealloc(rc->ies, new_capacity, GFP_KERNEL); in uwb_rc_ie_add_one()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dcomedi_bond.c251 devs = krealloc(devpriv->devs, in do_dev_config()
/linux-4.4.14/security/integrity/ima/
Dima_api.c225 void *tmpbuf = krealloc(iint->ima_hash, length, in ima_collect_measurement()
/linux-4.4.14/drivers/pinctrl/berlin/
Dberlin.c239 pctrl->functions = krealloc(pctrl->functions, in berlin_pinctrl_build_state()
/linux-4.4.14/include/linux/
Dslab.h142 void * __must_check krealloc(const void *, size_t, gfp_t);
/linux-4.4.14/drivers/char/
Dtile-srom.c375 krealloc(srom_devices, (i+1) * sizeof(struct srom_dev), in srom_init()
/linux-4.4.14/net/ceph/
Dosdmap.c698 state = krealloc(map->osd_state, max*sizeof(*state), GFP_NOFS); in osdmap_set_max_osd()
703 weight = krealloc(map->osd_weight, max*sizeof(*weight), GFP_NOFS); in osdmap_set_max_osd()
708 addr = krealloc(map->osd_addr, max*sizeof(*addr), GFP_NOFS); in osdmap_set_max_osd()
722 affinity = krealloc(map->osd_primary_affinity, in osdmap_set_max_osd()
/linux-4.4.14/fs/overlayfs/
Dcopy_up.c64 new = krealloc(value, size, GFP_KERNEL); in ovl_copy_xattr()
/linux-4.4.14/mm/
Dslab_common.c1233 void *krealloc(const void *p, size_t new_size, gfp_t flags) in krealloc() function
1248 EXPORT_SYMBOL(krealloc);
/linux-4.4.14/kernel/
Dparams.c688 new_mp = krealloc(mk->mp, in add_sysfs_param()
697 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param()
/linux-4.4.14/drivers/misc/mei/
Dinterrupt.c129 buffer = krealloc(cb->buf.data, mei_hdr->length + cb->buf_idx, in mei_cl_irq_read_msg()
/linux-4.4.14/drivers/thermal/
Dx86_pkg_temp_thermal.c431 temp = krealloc(pkg_work_scheduled, in pkg_temp_thermal_device_add()
/linux-4.4.14/drivers/media/
Dmedia-entity.c423 links = krealloc(links, max_links * sizeof(*links), GFP_KERNEL); in media_entity_add_link()
/linux-4.4.14/drivers/usb/wusbcore/
Dsecurity.c239 new_secd = krealloc(secd, secd_size, GFP_KERNEL); in wusb_dev_sec_add()
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-samsung.c97 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in reserve_map()
159 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in add_config()
/linux-4.4.14/fs/
Dcoredump.c63 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
Dxattr.c200 value = krealloc(*xattr_value, error + 1, flags); in vfs_getxattr_alloc()
/linux-4.4.14/drivers/pinctrl/sh-pfc/
Dpinctrl.c192 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); in sh_pfc_dt_subnode_to_map()
/linux-4.4.14/sound/core/
Dinfo.c342 char *nbuf = krealloc(buf->buffer, PAGE_ALIGN(next), in snd_info_text_entry_write()
Drawmidi.c642 newbuf = krealloc(runtime->buffer, params->buffer_size, in snd_rawmidi_output_params()
670 newbuf = krealloc(runtime->buffer, params->buffer_size, in snd_rawmidi_input_params()
/linux-4.4.14/arch/x86/platform/efi/
Defi.c668 tmp = krealloc(q, (count + 1) * memmap.desc_size, GFP_KERNEL); in save_runtime_map()
/linux-4.4.14/drivers/net/can/softing/
Dsofting_fw.c201 new_buf = krealloc(buf, buflen, GFP_KERNEL); in softing_load_fw()
/linux-4.4.14/sound/soc/codecs/
Dmax98095.c1611 t = krealloc(max98095->eq_texts, in max98095_handle_eq_pdata()
1766 t = krealloc(max98095->bq_texts, in max98095_handle_bq_pdata()
Dmax98088.c1578 t = krealloc(max98088->eq_texts, in max98088_handle_eq_pdata()
Dwm8904.c1978 t = krealloc(wm8904->retune_mobile_texts, in wm8904_handle_retune_mobile_pdata()
Dwm8996.c2581 t = krealloc(wm8996->retune_mobile_texts, in wm8996_retune_mobile_pdata()
Dwm8994.c3236 t = krealloc(wm8994->retune_mobile_texts, in wm8994_handle_retune_mobile_pdata()
/linux-4.4.14/drivers/usb/host/whci/
Dqset.c515 new_pl_virt = krealloc(std->pl_virt, pl_len, mem_flags); in qset_add_urb_sg()
/linux-4.4.14/drivers/hid/
Dhid-sensor-custom.c490 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field()
/linux-4.4.14/drivers/nvdimm/
Dlabel.c807 labels = krealloc(nd_mapping->labels, size, GFP_KERNEL); in init_labels()
Dnamespace_devs.c1690 res = krealloc(nsblk->res, in nsblk_add_resource()
/linux-4.4.14/drivers/vhost/
Dvringh.c191 new = krealloc(iov->iov, new_num * sizeof(struct iovec), gfp); in resize_iovec()
/linux-4.4.14/drivers/spi/
Dspi.c881 tmp = krealloc(master->dummy_tx, max_tx, in spi_map_msg()
890 tmp = krealloc(master->dummy_rx, max_rx, in spi_map_msg()
/linux-4.4.14/net/netlink/
Dgenetlink.c200 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups()
Daf_netlink.c1488 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups()
/linux-4.4.14/drivers/iio/adc/
Dxilinx-xadc-core.c1124 indio_dev->channels = krealloc(channels, sizeof(*channels) * in xadc_parse_dt()
/linux-4.4.14/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c835 pctl->functions = krealloc(pctl->functions, in sunxi_pinctrl_build_state()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dfw.c225 void *nptr = krealloc(*ptr, new_size, gfp_flags); in i2400m_zrealloc_2x()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dmsu.c1409 rewin = krealloc(win, sizeof(*win) * nr_wins, GFP_KERNEL); in nr_pages_store()
/linux-4.4.14/drivers/md/bcache/
Dbset.c142 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO); in __bch_keylist_realloc()
/linux-4.4.14/drivers/platform/x86/
Ddell-laptop.c345 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
/linux-4.4.14/block/
Dbio.c100 new_bio_slabs = krealloc(bio_slabs, in bio_find_or_create_slab()
/linux-4.4.14/drivers/hwmon/pmbus/
Dpmbus_core.c813 void *new_attrs = krealloc(data->group.attrs, in pmbus_add_attribute()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dwsm.c1813 buf->begin = krealloc(buf->begin, size, GFP_KERNEL | GFP_DMA); in wsm_buf_reserve()
/linux-4.4.14/drivers/scsi/osd/
Dosd_initiator.c544 buff = krealloc(seg->buff, max_bytes, or->alloc_flags); in _osd_realloc_seg()
/linux-4.4.14/drivers/iommu/
Darm-smmu-v3.c1847 sids = krealloc(smmu_group->sids, smmu_group->num_sids * sizeof(*sids), in arm_smmu_add_device()
/linux-4.4.14/fs/btrfs/
Dsend.c370 tmp_buf = krealloc(p->buf, len, GFP_NOFS); in fs_path_ensure_buf()
1044 char *tmp = krealloc(buf, buf_len, in iterate_dir_item()
Dtree-log.c4499 new_name = krealloc(name, this_name_len, GFP_NOFS); in btrfs_check_ref_name_override()
/linux-4.4.14/scripts/
Dcheckpatch.pl5507 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*krealloc\s*\(\s*\1\s*,/) {
/linux-4.4.14/drivers/net/wireless/
Drndis_wlan.c1836 new_pmkids = krealloc(pmkids, newlen, GFP_KERNEL); in update_pmkid()
/linux-4.4.14/drivers/infiniband/core/
Dmad.c462 new_snoop_table = krealloc(qp_info->snoop_table, in register_snoop_agent()
/linux-4.4.14/sound/soc/
Dsoc-dapm.c444 new_wlist = krealloc(data->wlist, in dapm_kcontrol_add_widget()
/linux-4.4.14/fs/nfsd/
Dnfs4xdr.c2036 new = krealloc(components, in nfsd4_encode_path()
/linux-4.4.14/net/core/
Ddev.c1245 new_ifalias = krealloc(dev->ifalias, len + 1, GFP_KERNEL); in dev_set_alias()
/linux-4.4.14/kernel/trace/
Dtrace.c6414 tr_topts = krealloc(tr->topts, sizeof(*tr->topts) * (tr->nr_topts + 1), in create_trace_option_files()