/drivers/staging/lustre/lnet/libcfs/ |
D | hash.c | 881 unsigned int old_size, unsigned int new_size) in cfs_hash_buckets_realloc() argument 886 LASSERT(!old_size || old_bkts); in cfs_hash_buckets_realloc() 888 if (old_bkts && old_size == new_size) in cfs_hash_buckets_realloc() 897 min(old_size, new_size) * sizeof(*old_bkts)); in cfs_hash_buckets_realloc() 900 for (i = old_size; i < new_size; i++) { in cfs_hash_buckets_realloc() 907 old_size, new_size); in cfs_hash_buckets_realloc() 1877 unsigned int old_size; in cfs_hash_rehash_worker() local 1889 old_size = CFS_HASH_NBKT(hs); in cfs_hash_rehash_worker() 1899 old_size, new_size); in cfs_hash_rehash_worker() 1914 old_size = new_size; in cfs_hash_rehash_worker() [all …]
|
/drivers/md/persistent-data/ |
D | dm-array.c | 656 uint32_t old_size, uint32_t new_size, in array_resize() argument 662 if (old_size == new_size) { in array_resize() 673 resize.old_nr_full_blocks = old_size / resize.max_entries; in array_resize() 674 resize.old_nr_entries_in_last_block = old_size % resize.max_entries; in array_resize() 679 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize() 688 uint32_t old_size, uint32_t new_size, in dm_array_resize() argument 692 int r = array_resize(info, root, old_size, new_size, value, new_root); in dm_array_resize()
|
D | dm-array.h | 110 uint32_t old_size, uint32_t new_size,
|
/drivers/pci/ |
D | setup-bus.c | 819 resource_size_t old_size, in calculate_iosize() argument 824 if (old_size == 1) in calculate_iosize() 825 old_size = 0; in calculate_iosize() 832 if (size < old_size) in calculate_iosize() 833 size = old_size; in calculate_iosize() 840 resource_size_t old_size, in calculate_memsize() argument 845 if (old_size == 1) in calculate_memsize() 846 old_size = 0; in calculate_memsize() 847 if (size < old_size) in calculate_memsize() 848 size = old_size; in calculate_memsize()
|
D | access.c | 318 static size_t pci_vpd_size(struct pci_dev *dev, size_t old_size) in pci_vpd_size() argument 323 while (off < old_size && in pci_vpd_size()
|
/drivers/md/bcache/ |
D | extents.c | 330 unsigned old_size, sectors_found = 0; in bch_extent_insert_fixup() local 351 old_size = KEY_SIZE(k); in bch_extent_insert_fixup() 456 bch_subtract_dirty(k, c, old_offset, old_size - KEY_SIZE(k)); in bch_extent_insert_fixup()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 394 size_t old_size = res->backup_size; in vmw_cotable_resize() local 476 res->backup_size = old_size; in vmw_cotable_resize()
|
/drivers/net/wimax/i2400m/ |
D | fw.c | 223 old_size = el_size * old_count, in i2400m_zrealloc_2x() local 229 if (old_size == 0) in i2400m_zrealloc_2x() 232 memset(nptr + old_size, 0, old_size); in i2400m_zrealloc_2x()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 300 uint64_t old_start, old_size, new_start, new_size; in amdgpu_move_blit() local 313 old_size = old_mm->size; in amdgpu_move_blit() 323 unsigned long cur_pages = min(min(old_size, new_size), in amdgpu_move_blit() 357 old_size -= cur_pages; in amdgpu_move_blit() 358 if (!old_size) { in amdgpu_move_blit() 360 old_size = old_mm->size; in amdgpu_move_blit()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 1599 unsigned long old_size = rg->size; in omapfb_realloc_fbmem() local 1609 if (old_size == size && old_type == type) in omapfb_realloc_fbmem() 1622 if (old_size) in omapfb_realloc_fbmem() 1623 omapfb_alloc_fbmem(fbi, old_size, old_paddr); in omapfb_realloc_fbmem() 1631 if (old_size == size) in omapfb_realloc_fbmem() 1634 if (old_size == 0) { in omapfb_realloc_fbmem()
|
/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 845 unsigned long old_size = rg->size; in omapfb_setup_mem() local 857 if (old_size != size && size) { in omapfb_setup_mem() 871 rg->size = old_size; in omapfb_setup_mem() 877 if (old_size != size) { in omapfb_setup_mem()
|
/drivers/staging/most/hdm-usb/ |
D | hdm_usb.c | 693 u16 old_size = conf->buffer_size; in hdm_configure_channel() local 697 mdev->suffix[channel], old_size, conf->buffer_size); in hdm_configure_channel()
|