/drivers/md/persistent-data/ |
D | dm-array.c | 642 uint32_t old_size, uint32_t new_size, in array_resize() argument 648 if (old_size == new_size) { in array_resize() 659 resize.old_nr_full_blocks = old_size / resize.max_entries; in array_resize() 660 resize.old_nr_entries_in_last_block = old_size % resize.max_entries; in array_resize() 665 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize() 674 uint32_t old_size, uint32_t new_size, in dm_array_resize() argument 678 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/staging/lustre/lustre/libcfs/ |
D | hash.c | 914 unsigned int old_size, unsigned int new_size) in cfs_hash_buckets_realloc() argument 919 LASSERT(old_size == 0 || old_bkts != NULL); in cfs_hash_buckets_realloc() 921 if (old_bkts != NULL && old_size == new_size) in cfs_hash_buckets_realloc() 930 min(old_size, new_size) * sizeof(*old_bkts)); in cfs_hash_buckets_realloc() 933 for (i = old_size; i < new_size; i++) { in cfs_hash_buckets_realloc() 940 old_size, new_size); in cfs_hash_buckets_realloc() 1881 unsigned int old_size; in cfs_hash_rehash_worker() local 1893 old_size = CFS_HASH_NBKT(hs); in cfs_hash_rehash_worker() 1903 old_size, new_size); in cfs_hash_rehash_worker() 1918 old_size = new_size; in cfs_hash_rehash_worker() [all …]
|
/drivers/pci/ |
D | setup-bus.c | 823 resource_size_t old_size, in calculate_iosize() argument 828 if (old_size == 1) in calculate_iosize() 829 old_size = 0; in calculate_iosize() 836 if (size < old_size) in calculate_iosize() 837 size = old_size; in calculate_iosize() 844 resource_size_t old_size, in calculate_memsize() argument 849 if (old_size == 1) in calculate_memsize() 850 old_size = 0; in calculate_memsize() 851 if (size < old_size) in calculate_memsize() 852 size = old_size; in calculate_memsize()
|
/drivers/md/bcache/ |
D | extents.c | 329 unsigned old_size, sectors_found = 0; in bch_extent_insert_fixup() local 350 old_size = KEY_SIZE(k); in bch_extent_insert_fixup() 455 bch_subtract_dirty(k, c, old_offset, old_size - KEY_SIZE(k)); in bch_extent_insert_fixup()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | acl.c | 99 int old_size = CFS_ACL_XATTR_SIZE(old_count, posix_acl_xattr); in lustre_posix_acl_xattr_reduce_space() local 104 return old_size; in lustre_posix_acl_xattr_reduce_space()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 393 size_t old_size = res->backup_size; in vmw_cotable_resize() local 475 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/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 | 864 unsigned long old_size = rg->size; in omapfb_setup_mem() local 876 if (old_size != size && size) { in omapfb_setup_mem() 890 rg->size = old_size; in omapfb_setup_mem() 896 if (old_size != size) { in omapfb_setup_mem()
|
/drivers/iommu/ |
D | amd_iommu.c | 1447 unsigned long i, old_size, pte_pgsize; in alloc_new_range() local 1483 old_size = dma_dom->aperture_size; in alloc_new_range() 1487 if (old_size < MSI_ADDR_BASE_LO && in alloc_new_range()
|
/drivers/gpu/drm/i915/ |
D | intel_pm.c | 3457 uint16_t old_size, new_size; in skl_ddb_allocation_included() local 3459 old_size = skl_ddb_entry_size(&old->pipe[pipe]); in skl_ddb_allocation_included() 3462 return old_size != new_size && in skl_ddb_allocation_included()
|