/drivers/md/persistent-data/ |
D | dm-array.c | 389 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/ |
D | rj54n1cb0c.c | 162 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/ |
D | vlun.c | 35 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 …]
|
D | superpipe.c | 40 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/ |
D | xen-fbfront.c | 52 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/ |
D | pty.c | 506 .resize = pty_resize, 521 .resize = pty_resize, 684 .resize = pty_resize,
|
D | tty_io.c | 2394 if (tty->ops->resize) in tiocswinsz() 2395 return tty->ops->resize(tty, &tmp_ws); in tiocswinsz()
|
/drivers/s390/char/ |
D | raw3270.h | 138 void (*resize)(struct raw3270_view *, int, int, int); member
|
D | raw3270.c | 515 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()
|
D | tty3270.c | 949 .resize = tty3270_resize
|
/drivers/md/ |
D | md.h | 492 int (*resize) (struct mddev *mddev, sector_t sectors); member
|
D | dm-raid.c | 2777 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()
|
D | raid5.c | 7932 .resize = raid5_resize, 7955 .resize = raid5_resize, 7979 .resize = raid5_resize,
|
D | md.c | 2979 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()
|
D | raid1.c | 3191 .resize = raid1_resize,
|
D | raid10.c | 4734 .resize = raid10_resize,
|
/drivers/media/rc/ |
D | rc-main.c | 284 bool resize) in ir_establish_scancode() argument 311 if (!resize || ir_resize_table(rc_map, GFP_ATOMIC)) in ir_establish_scancode()
|
/drivers/video/console/ |
D | fbcon.c | 2513 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/ |
D | vt.c | 3058 .resize = vt_resize,
|