Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 11 of 11) sorted by relevance

/drivers/md/persistent-data/
Ddm-array.c656 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()
Ddm-array.h110 uint32_t old_size, uint32_t new_size,
/drivers/pci/
Dsetup-bus.c794 resource_size_t old_size, in calculate_iosize() argument
799 if (old_size == 1) in calculate_iosize()
800 old_size = 0; in calculate_iosize()
809 if (size < old_size) in calculate_iosize()
810 size = old_size; in calculate_iosize()
820 resource_size_t old_size, in calculate_memsize() argument
825 if (old_size == 1) in calculate_memsize()
826 old_size = 0; in calculate_memsize()
827 if (size < old_size) in calculate_memsize()
828 size = old_size; in calculate_memsize()
Dvpd.c83 static size_t pci_vpd_size(struct pci_dev *dev, size_t old_size) in pci_vpd_size() argument
88 while (off < old_size && in pci_vpd_size()
/drivers/gpu/drm/lima/
Dlima_gem.c25 size_t old_size = bo->heap_size; in lima_heap_alloc() local
54 for (i = old_size >> PAGE_SHIFT; i < new_size >> PAGE_SHIFT; i++) { in lima_heap_alloc()
93 ret = lima_vm_map_bo(vm, bo, old_size >> PAGE_SHIFT); in lima_heap_alloc()
/drivers/md/bcache/
Dextents.c331 unsigned int old_size, sectors_found = 0; in bch_extent_insert_fixup() local
353 old_size = KEY_SIZE(k); in bch_extent_insert_fixup()
458 bch_subtract_dirty(k, c, old_offset, old_size - KEY_SIZE(k)); in bch_extent_insert_fixup()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c390 size_t old_size = res->backup_size; in vmw_cotable_resize() local
473 res->backup_size = old_size; in vmw_cotable_resize()
/drivers/net/wimax/i2400m/
Dfw.c223 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/
Domapfb-main.c1585 unsigned long old_size = rg->size; in omapfb_realloc_fbmem() local
1595 if (old_size == size && old_type == type) in omapfb_realloc_fbmem()
1608 if (old_size) in omapfb_realloc_fbmem()
1609 omapfb_alloc_fbmem(fbi, old_size, old_paddr); in omapfb_realloc_fbmem()
1617 if (old_size == size) in omapfb_realloc_fbmem()
1620 if (old_size == 0) { in omapfb_realloc_fbmem()
/drivers/video/fbdev/omap/
Domapfb_main.c829 unsigned long old_size = rg->size; in omapfb_setup_mem() local
841 if (old_size != size && size) { in omapfb_setup_mem()
855 rg->size = old_size; in omapfb_setup_mem()
861 if (old_size != size) { in omapfb_setup_mem()
/drivers/most/
Dmost_usb.c616 u16 old_size = conf->buffer_size; in hdm_configure_channel() local
620 mdev->suffix[channel], old_size, conf->buffer_size); in hdm_configure_channel()