/drivers/acpi/x86/ |
D | apple.c | 30 unsigned int i, j = 0, newsize = 0, numprops, numvalid; in acpi_extract_apple_properties() local 79 newsize += key->string.length + 1; in acpi_extract_apple_properties() 81 newsize += val->buffer.length; in acpi_extract_apple_properties() 83 newsize += val->string.length + 1; in acpi_extract_apple_properties() 95 newsize += (1 + 3 * numvalid) * sizeof(union acpi_object); in acpi_extract_apple_properties() 96 newprops = ACPI_ALLOCATE_ZEROED(newsize); in acpi_extract_apple_properties() 140 WARN_ON(free_space != (void *)newprops + newsize); in acpi_extract_apple_properties()
|
/drivers/hid/ |
D | hid-kye.c | 405 unsigned int newsize; in kye_tablet_fixup() local 423 newsize = info->has_punk ? sizeof(kye_tablet_rdesc) : 112; in kye_tablet_fixup() 424 memcpy(rdesc, kye_tablet_rdesc, newsize); in kye_tablet_fixup() 444 if (newsize + info->control_rsize > *rsize) in kye_tablet_fixup() 447 memcpy(rdesc + newsize, info->control_rdesc, info->control_rsize); in kye_tablet_fixup() 448 newsize += info->control_rsize; in kye_tablet_fixup() 452 *rsize = newsize; in kye_tablet_fixup()
|
/drivers/md/ |
D | md-cluster.h | 30 int (*resize_bitmaps)(struct mddev *mddev, sector_t newsize, sector_t oldsize);
|
D | raid5.c | 2531 static int resize_stripes(struct r5conf *conf, int newsize) in resize_stripes() argument 2568 struct_size_t(struct stripe_head, dev, newsize), in resize_stripes() 2577 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes() 2636 ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); in resize_stripes() 2641 for (i = conf->pool_size; i < newsize; i++) { in resize_stripes() 2648 for (i = conf->pool_size; i < newsize; i++) in resize_stripes() 2676 for (i = conf->raid_disks; i < newsize; i++) { in resize_stripes() 2684 for (i=conf->raid_disks; i < newsize; i++) in resize_stripes() 2699 conf->pool_size = newsize; in resize_stripes() 8403 sector_t newsize; in raid5_resize() local [all …]
|
D | raid10.c | 4639 sector_t oldsize, newsize; in raid10_start_reshape() local 4642 newsize = raid10_size(mddev, 0, conf->geo.raid_disks); in raid10_start_reshape() 4645 ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0); in raid10_start_reshape() 4664 MD_FEATURE_RESHAPE_ACTIVE)) || (oldsize == newsize)) in raid10_start_reshape() 4667 ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0); in raid10_start_reshape() 4671 ret = md_cluster_ops->resize_bitmaps(mddev, newsize, oldsize); in raid10_start_reshape()
|
D | md-cluster.c | 1127 static int resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) in resize_bitmaps() argument 1140 rv = update_bitmap_size(mddev, newsize); in resize_bitmaps()
|
D | raid1.c | 3222 sector_t newsize = raid1_size(mddev, sectors, 0); in raid1_resize() local 3224 mddev->array_sectors > newsize) in raid1_resize() 3227 int ret = md_bitmap_resize(mddev->bitmap, newsize, 0, 0); in raid1_resize() 3231 md_set_array_sectors(mddev, newsize); in raid1_resize()
|
/drivers/md/bcache/ |
D | bset.c | 134 size_t newsize = oldsize + u64s; in __bch_keylist_realloc() local 138 newsize = roundup_pow_of_two(newsize); in __bch_keylist_realloc() 140 if (newsize <= KEYLIST_INLINE || in __bch_keylist_realloc() 141 roundup_pow_of_two(oldsize) == newsize) in __bch_keylist_realloc() 144 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO); in __bch_keylist_realloc()
|
D | request.c | 94 size_t newsize = oldsize + u64s; in bch_keylist_realloc() local 102 if (newsize * sizeof(uint64_t) > block_bytes(c->cache) - sizeof(struct jset)) in bch_keylist_realloc()
|
/drivers/block/rnbd/ |
D | rnbd-clt.h | 141 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, sector_t newsize);
|
D | rnbd-clt.c | 119 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, sector_t newsize) in rnbd_clt_resize_disk() argument 129 rnbd_clt_change_capacity(dev, newsize); in rnbd_clt_resize_disk()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pcie.c | 1598 u32 newsize; in brcmf_pcie_adjust_ramsize() local 1607 newsize = le32_to_cpup(field); in brcmf_pcie_adjust_ramsize() 1610 newsize); in brcmf_pcie_adjust_ramsize() 1611 devinfo->ci->ramsize = newsize; in brcmf_pcie_adjust_ramsize()
|