Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 19 of 19) sorted by relevance

/drivers/md/persistent-data/
Ddm-array.c389 struct resize { struct
437 static int drop_blocks(struct resize *resize, unsigned begin_index, in drop_blocks() argument
444 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks()
445 &key, &resize->root); in drop_blocks()
465 static int shrink(struct resize *resize) in shrink() argument
475 if (resize->new_nr_full_blocks < resize->old_nr_full_blocks) { in shrink()
476 begin = total_nr_blocks_needed(resize->new_nr_full_blocks, in shrink()
477 resize->new_nr_entries_in_last_block); in shrink()
478 end = total_nr_blocks_needed(resize->old_nr_full_blocks, in shrink()
479 resize->old_nr_entries_in_last_block); in shrink()
[all …]
/drivers/media/i2c/soc_camera/
Drj54n1cb0c.c162 unsigned short resize; /* Sensor * 1024 / resize = Output */ member
563 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection()
564 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection()
567 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection()
575 rj54n1->resize = ret; in rj54n1_set_selection()
638 unsigned int skip, resize, input_w = *in_w, input_h = *in_h, in rj54n1_sensor_scale() local
690 resize = 1024; in rj54n1_sensor_scale()
699 resize = (RJ54N1_MAX_HEIGHT * 1024 + output_h / 2) / in rj54n1_sensor_scale()
703 resize = (RJ54N1_MAX_WIDTH * 1024 + output_w / 2) / in rj54n1_sensor_scale()
706 resize = max(resize_x, resize_y); in rj54n1_sensor_scale()
[all …]
/drivers/scsi/cxlflash/
Dvlun.c35 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() argument
37 resize->hdr = virt->hdr; in marshal_virt_to_resize()
38 resize->context_id = virt->context_id; in marshal_virt_to_resize()
39 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize()
40 resize->req_size = virt->lun_size; in marshal_virt_to_resize()
41 resize->last_lba = virt->last_lba; in marshal_virt_to_resize()
729 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() argument
737 res_hndl_t rhndl = resize->rsrc_handle; in _cxlflash_vlun_resize()
740 u64 ctxid = DECODE_CTXID(resize->context_id), in _cxlflash_vlun_resize()
741 rctxid = resize->context_id; in _cxlflash_vlun_resize()
[all …]
Dsuperpipe.c40 struct dk_cxlflash_resize *resize) in marshal_rele_to_resize() argument
42 resize->hdr = release->hdr; in marshal_rele_to_resize()
43 resize->context_id = release->context_id; in marshal_rele_to_resize()
44 resize->rsrc_handle = release->rsrc_handle; in marshal_rele_to_resize()
/drivers/video/fbdev/
Dxen-fbfront.c52 struct xenfb_resize resize; /* protected by resize_lock */ member
109 event.resize = info->resize; in xenfb_do_resize()
318 xenfb_info->resize.type = XENFB_TYPE_RESIZE; in xenfb_set_par()
319 xenfb_info->resize.width = info->var.xres; in xenfb_set_par()
320 xenfb_info->resize.height = info->var.yres; in xenfb_set_par()
321 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par()
322 xenfb_info->resize.depth = info->var.bits_per_pixel; in xenfb_set_par()
323 xenfb_info->resize.offset = 0; in xenfb_set_par()
/drivers/tty/
Dpty.c506 .resize = pty_resize,
521 .resize = pty_resize,
684 .resize = pty_resize,
Dtty_io.c2394 if (tty->ops->resize) in tiocswinsz()
2395 return tty->ops->resize(tty, &tmp_ws); in tiocswinsz()
/drivers/s390/char/
Draw3270.h138 void (*resize)(struct raw3270_view *, int, int, int); member
Draw3270.c515 if (view->fn->resize) in raw3270_size_device_done()
516 view->fn->resize(view, rp->model, rp->rows, rp->cols); in raw3270_size_device_done()
Dtty3270.c949 .resize = tty3270_resize
/drivers/md/
Dmd.h492 int (*resize) (struct mddev *mddev, sector_t sectors); member
Ddm-raid.c2777 bool resize; in raid_ctr() local
2856 resize = calculated_dev_sectors != rs->dev[0].rdev.sectors; in raid_ctr()
2887 if (resize) { in raid_ctr()
2942 0 : (resize ? calculated_dev_sectors : MaxSector)); in raid_ctr()
Draid5.c7932 .resize = raid5_resize,
7955 .resize = raid5_resize,
7979 .resize = raid5_resize,
Dmd.c2979 if (!my_mddev->pers->resize) in rdev_size_store()
6482 if (mddev->pers->resize == NULL) in update_size()
6507 rv = mddev->pers->resize(mddev, num_sectors); in update_size()
Draid1.c3191 .resize = raid1_resize,
Draid10.c4734 .resize = raid10_resize,
/drivers/media/rc/
Drc-main.c284 bool resize) in ir_establish_scancode() argument
311 if (!resize || ir_resize_table(rc_map, GFP_ATOMIC)) in ir_establish_scancode()
/drivers/video/console/
Dfbcon.c2513 int resize; in fbcon_do_set_font() local
2520 resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); in fbcon_do_set_font()
2537 if (resize) { in fbcon_do_set_font()
/drivers/tty/vt/
Dvt.c3058 .resize = vt_resize,