Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/sound/hda/
Darray.c28 nlist = krealloc(array->list, size, GFP_KERNEL | __GFP_ZERO); in snd_array_new()
/linux-4.1.27/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.1.27/tools/virtio/linux/
Dkernel.h58 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() function
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_handle_array.c58 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_edid_load.c245 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.c1249 new = krealloc(block, (block[0x7e] + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid()
1278 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid()
Ddrm_fb_helper.c129 …temp = krealloc(fb_helper->connector_info, sizeof(struct drm_fb_helper_connector *) * (fb_helper->… in drm_fb_helper_add_one_connector()
/linux-4.1.27/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.1.27/fs/exofs/
Dsys.c86 new_uri = krealloc(edp->uri, edp->urilen, GFP_KERNEL); in uri_store()
/linux-4.1.27/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.c2566 p = krealloc(map->patch, in regmap_register_patch()
/linux-4.1.27/security/integrity/ima/
Dima_api.c226 void *tmpbuf = krealloc(iint->ima_hash, length, in ima_collect_measurement()
/linux-4.1.27/drivers/pinctrl/berlin/
Dberlin.c238 pctrl->functions = krealloc(pctrl->functions, in berlin_pinctrl_build_state()
/linux-4.1.27/drivers/uwb/
Die.c243 new_ies = krealloc(rc->ies, new_capacity, GFP_KERNEL); in uwb_rc_ie_add_one()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dcomedi_bond.c250 devs = krealloc(devpriv->devs, in do_dev_config()
/linux-4.1.27/include/linux/
Dslab.h142 void * __must_check krealloc(const void *, size_t, gfp_t);
/linux-4.1.27/drivers/char/
Dtile-srom.c375 krealloc(srom_devices, (i+1) * sizeof(struct srom_dev), in srom_init()
/linux-4.1.27/mm/
Dslab_common.c1124 void *krealloc(const void *p, size_t new_size, gfp_t flags) in krealloc() function
1139 EXPORT_SYMBOL(krealloc);
/linux-4.1.27/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.1.27/fs/overlayfs/
Dcopy_up.c64 new = krealloc(value, size, GFP_KERNEL); in ovl_copy_xattr()
/linux-4.1.27/kernel/
Dparams.c628 new_mp = krealloc(mk->mp, in add_sysfs_param()
637 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param()
/linux-4.1.27/drivers/thermal/
Dx86_pkg_temp_thermal.c431 temp = krealloc(pkg_work_scheduled, in pkg_temp_thermal_device_add()
/linux-4.1.27/drivers/misc/mei/
Dinterrupt.c129 buffer = krealloc(cb->buf.data, mei_hdr->length + cb->buf_idx, in mei_cl_irq_read_msg()
/linux-4.1.27/drivers/media/
Dmedia-entity.c423 links = krealloc(links, max_links * sizeof(*links), GFP_KERNEL); in media_entity_add_link()
/linux-4.1.27/drivers/usb/wusbcore/
Dsecurity.c239 new_secd = krealloc(secd, secd_size, GFP_KERNEL); in wusb_dev_sec_add()
/linux-4.1.27/drivers/pinctrl/samsung/
Dpinctrl-samsung.c102 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in reserve_map()
164 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in add_config()
/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dpinctrl.c167 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); in sh_pfc_dt_subnode_to_map()
/linux-4.1.27/fs/
Dcoredump.c64 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.1.27/arch/s390/kernel/
Dcrash_dump.c58 save_areas = krealloc(dump_save_areas.areas, in dump_save_area_create()
/linux-4.1.27/drivers/net/can/softing/
Dsofting_fw.c201 new_buf = krealloc(buf, buflen, GFP_KERNEL); in softing_load_fw()
/linux-4.1.27/arch/x86/platform/efi/
Defi.c642 tmp = krealloc(q, (count + 1) * memmap.desc_size, GFP_KERNEL); in save_runtime_map()
/linux-4.1.27/sound/soc/codecs/
Dmax98095.c1876 t = krealloc(max98095->eq_texts, in max98095_handle_eq_pdata()
2031 t = krealloc(max98095->bq_texts, in max98095_handle_bq_pdata()
Dmax98088.c1837 t = krealloc(max98088->eq_texts, in max98088_handle_eq_pdata()
Dwm8904.c1977 t = krealloc(wm8904->retune_mobile_texts, in wm8904_handle_retune_mobile_pdata()
Dwm8996.c2580 t = krealloc(wm8996->retune_mobile_texts, in wm8996_retune_mobile_pdata()
Dwm8994.c3235 t = krealloc(wm8994->retune_mobile_texts, in wm8994_handle_retune_mobile_pdata()
/linux-4.1.27/drivers/usb/host/whci/
Dqset.c515 new_pl_virt = krealloc(std->pl_virt, pl_len, mem_flags); in qset_add_urb_sg()
/linux-4.1.27/drivers/hid/
Dhid-sensor-custom.c490 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field()
/linux-4.1.27/drivers/spi/
Dspi.c638 tmp = krealloc(master->dummy_tx, max_tx, in spi_map_msg()
647 tmp = krealloc(master->dummy_rx, max_rx, in spi_map_msg()
/linux-4.1.27/sound/core/
Dinfo.c92 nbuf = krealloc(buffer->buffer, nsize, GFP_KERNEL | __GFP_ZERO); in resize_info_buffer()
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.1.27/drivers/vhost/
Dvringh.c191 new = krealloc(iov->iov, new_num * sizeof(struct iovec), gfp); in resize_iovec()
/linux-4.1.27/net/netlink/
Dgenetlink.c200 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups()
Daf_netlink.c1469 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups()
/linux-4.1.27/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c812 pctl->functions = krealloc(pctl->functions, in sunxi_pinctrl_build_state()
/linux-4.1.27/drivers/net/wimax/i2400m/
Dfw.c225 void *nptr = krealloc(*ptr, new_size, gfp_flags); in i2400m_zrealloc_2x()
/linux-4.1.27/drivers/iio/adc/
Dxilinx-xadc-core.c1139 indio_dev->channels = krealloc(channels, sizeof(*channels) * in xadc_parse_dt()
/linux-4.1.27/drivers/platform/x86/
Ddell-laptop.c340 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
/linux-4.1.27/drivers/md/bcache/
Dbset.c142 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO); in __bch_keylist_realloc()
/linux-4.1.27/block/
Dbio.c100 new_bio_slabs = krealloc(bio_slabs, in bio_find_or_create_slab()
/linux-4.1.27/drivers/hwmon/pmbus/
Dpmbus_core.c805 void *new_attrs = krealloc(data->group.attrs, in pmbus_add_attribute()
/linux-4.1.27/sound/soc/
Dsoc-dapm.c389 new_wlist = krealloc(data->wlist, in dapm_kcontrol_add_widget()
918 *list = krealloc(wlist, wlistsize, GFP_KERNEL); in dapm_list_add_widget()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dwsm.c1813 buf->begin = krealloc(buf->begin, size, GFP_KERNEL | GFP_DMA); in wsm_buf_reserve()
/linux-4.1.27/drivers/scsi/osd/
Dosd_initiator.c544 buff = krealloc(seg->buff, max_bytes, or->alloc_flags); in _osd_realloc_seg()
/linux-4.1.27/fs/btrfs/
Dsend.c369 tmp_buf = krealloc(p->buf, len, GFP_NOFS); in fs_path_ensure_buf()
1043 char *tmp = krealloc(buf, buf_len, in iterate_dir_item()
Dtree-log.c4397 new_name = krealloc(name, this_name_len, GFP_NOFS); in btrfs_check_ref_name_override()
/linux-4.1.27/scripts/
Dcheckpatch.pl5207 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*krealloc\s*\(\s*\1\s*,/) {
/linux-4.1.27/drivers/infiniband/core/
Dmad.c471 new_snoop_table = krealloc(qp_info->snoop_table, in register_snoop_agent()
/linux-4.1.27/drivers/net/wireless/
Drndis_wlan.c1836 new_pmkids = krealloc(pmkids, newlen, GFP_KERNEL); in update_pmkid()
/linux-4.1.27/fs/nfsd/
Dnfs4xdr.c2035 new = krealloc(components, in nfsd4_encode_path()
/linux-4.1.27/net/core/
Ddev.c1213 new_ifalias = krealloc(dev->ifalias, len + 1, GFP_KERNEL); in dev_set_alias()
/linux-4.1.27/drivers/scsi/
Dadvansys.c2750 new_ptr = krealloc(asc_dvc->ptr_map, in advansys_ptr_to_srb()