Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-array.c664 uint32_t old_size, uint32_t new_size, in array_resize() argument
670 if (old_size == new_size) { in array_resize()
681 resize.old_nr_full_blocks = old_size / resize.max_entries; in array_resize()
682 resize.old_nr_entries_in_last_block = old_size % resize.max_entries; in array_resize()
687 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize()
696 uint32_t old_size, uint32_t new_size, in dm_array_resize() argument
700 int r = array_resize(info, root, old_size, new_size, value, new_root); in dm_array_resize()
Ddm-array.h111 uint32_t old_size, uint32_t new_size,
/drivers/gpu/drm/lima/
Dlima_gem.c26 size_t old_size = bo->heap_size; in lima_heap_alloc() local
55 for (i = old_size >> PAGE_SHIFT; i < new_size >> PAGE_SHIFT; i++) { in lima_heap_alloc()
90 ret = lima_vm_map_bo(vm, bo, old_size >> PAGE_SHIFT); in lima_heap_alloc()
/drivers/pci/
Dsetup-bus.c790 resource_size_t old_size, in calculate_iosize() argument
795 if (old_size == 1) in calculate_iosize()
796 old_size = 0; in calculate_iosize()
805 if (size < old_size) in calculate_iosize()
806 size = old_size; in calculate_iosize()
816 resource_size_t old_size, in calculate_memsize() argument
821 if (old_size == 1) in calculate_memsize()
822 old_size = 0; in calculate_memsize()
825 return ALIGN(max(size, old_size), align); in calculate_memsize()
/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.c406 size_t old_size = res->guest_memory_size; in vmw_cotable_resize() local
497 res->guest_memory_size = old_size; in vmw_cotable_resize()
/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.c834 unsigned long old_size = rg->size; in omapfb_setup_mem() local
846 if (old_size != size && size) { in omapfb_setup_mem()
860 rg->size = old_size; in omapfb_setup_mem()
866 if (old_size != size) { in omapfb_setup_mem()
/drivers/md/
Ddm-ioctl.c1177 sector_t old_size, new_size; in do_resume() local
1205 old_size = dm_get_size(md); in do_resume()
1214 if (old_size && new_size && old_size != new_size) in do_resume()
/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()