Searched refs:new_bitmap (Results 1 – 3 of 3) sorted by relevance
931 void *new_bitmap = NULL; in vidioc_s_fmt_vid_out_overlay() local937 new_bitmap = vzalloc(bitmap_size); in vidioc_s_fmt_vid_out_overlay()939 if (!new_bitmap) in vidioc_s_fmt_vid_out_overlay()941 if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) { in vidioc_s_fmt_vid_out_overlay()942 vfree(new_bitmap); in vidioc_s_fmt_vid_out_overlay()950 dev->bitmap_out = new_bitmap; in vidioc_s_fmt_vid_out_overlay()
1190 void *new_bitmap = NULL; in vidioc_s_fmt_vid_overlay() local1196 new_bitmap = vzalloc(bitmap_size); in vidioc_s_fmt_vid_overlay()1198 if (new_bitmap == NULL) in vidioc_s_fmt_vid_overlay()1200 if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) { in vidioc_s_fmt_vid_overlay()1201 vfree(new_bitmap); in vidioc_s_fmt_vid_overlay()1210 dev->bitmap_cap = new_bitmap; in vidioc_s_fmt_vid_overlay()
570 unsigned long *new_bitmap, *old_bitmap; in virtio_mem_sbm_sb_states_prepare_next_mb() local575 new_bitmap = vzalloc(new_pages * PAGE_SIZE); in virtio_mem_sbm_sb_states_prepare_next_mb()576 if (!new_bitmap) in virtio_mem_sbm_sb_states_prepare_next_mb()581 memcpy(new_bitmap, vm->sbm.sb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_sb_states_prepare_next_mb()584 vm->sbm.sb_states = new_bitmap; in virtio_mem_sbm_sb_states_prepare_next_mb()