/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/ |
D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 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 | 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() argument 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() argument 740 res_hndl_t rhndl = resize->rsrc_handle; in _cxlflash_vlun_resize() 743 u64 ctxid = DECODE_CTXID(resize->context_id), in _cxlflash_vlun_resize() 744 rctxid = resize->context_id; in _cxlflash_vlun_resize() [all …]
|
D | superpipe.h | 118 struct dk_cxlflash_resize *resize); 120 struct dk_cxlflash_resize *resize);
|
D | superpipe.c | 37 struct dk_cxlflash_resize *resize) in marshal_rele_to_resize() argument 39 resize->hdr = release->hdr; in marshal_rele_to_resize() 40 resize->context_id = release->context_id; in marshal_rele_to_resize() 41 resize->rsrc_handle = release->rsrc_handle; in marshal_rele_to_resize()
|
/drivers/video/fbdev/ |
D | xen-fbfront.c | 54 struct xenfb_resize resize; /* protected by resize_lock */ member 111 event.resize = info->resize; in xenfb_do_resize() 320 xenfb_info->resize.type = XENFB_TYPE_RESIZE; in xenfb_set_par() 321 xenfb_info->resize.width = info->var.xres; in xenfb_set_par() 322 xenfb_info->resize.height = info->var.yres; in xenfb_set_par() 323 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par() 324 xenfb_info->resize.depth = info->var.bits_per_pixel; in xenfb_set_par() 325 xenfb_info->resize.offset = 0; in xenfb_set_par()
|
/drivers/tty/ |
D | pty.c | 520 .resize = pty_resize, 535 .resize = pty_resize, 768 .resize = pty_resize,
|
D | tty_io.c | 2360 if (tty->ops->resize) in tiocswinsz() 2361 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 | 516 if (view->fn->resize) in raw3270_size_device_done() 517 view->fn->resize(view, rp->model, rp->rows, rp->cols); in raw3270_size_device_done()
|
D | tty3270.c | 951 .resize = tty3270_resize
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_ctcam.c | 151 .resize = mlxsw_sp_acl_ctcam_region_parman_resize,
|
D | spectrum1_mr_tcam.c | 232 .resize = mlxsw_sp1_mr_tcam_region_parman_resize,
|
/drivers/block/ |
D | virtio_blk.c | 441 static void virtblk_update_capacity(struct virtio_blk *vblk, bool resize) in virtblk_update_capacity() argument 469 resize ? "new size: " : "", in virtblk_update_capacity()
|
/drivers/pci/ |
D | pci.c | 6216 bool *resize) in pci_specified_resource_alignment() argument 6249 *resize = true; in pci_specified_resource_alignment() 6270 resource_size_t align, bool resize) in pci_request_resource_alignment() argument 6319 if (resize) { in pci_request_resource_alignment() 6344 bool resize = false; in pci_reassigndev_resource_alignment() local 6356 align = pci_specified_resource_alignment(dev, &resize); in pci_reassigndev_resource_alignment() 6371 pci_request_resource_alignment(dev, i, align, resize); in pci_reassigndev_resource_alignment()
|
/drivers/block/rnbd/ |
D | rnbd-clt-sysfs.c | 359 __ATTR(resize, 0644, rnbd_clt_resize_dev_show,
|
/drivers/md/ |
D | md.h | 585 int (*resize) (struct mddev *mddev, sector_t sectors); member
|
D | dm-raid.c | 3005 bool resize = false; in raid_ctr() local 3097 resize = (rs->dev_sectors != rdev_sectors - reshape_sectors); in raid_ctr() 3131 if (resize) { in raid_ctr()
|
D | md-cluster.c | 1311 ret = mddev->pers->resize(mddev, old_dev_sectors); in update_size()
|
D | md.c | 3460 if (!my_mddev->pers->resize) in rdev_size_store() 7285 if (mddev->pers->resize == NULL) in update_size() 7310 rv = mddev->pers->resize(mddev, num_sectors); in update_size() 9660 ret = mddev->pers->resize(mddev, le64_to_cpu(sb->size)); in check_sb_changes()
|
D | raid5.c | 8699 .resize = raid5_resize, 8723 .resize = raid5_resize, 8748 .resize = raid5_resize,
|
D | raid1.c | 3368 .resize = raid1_resize,
|
/drivers/media/rc/ |
D | rc-main.c | 372 u64 scancode, bool resize) in ir_establish_scancode() argument 399 if (!resize || ir_resize_table(dev, rc_map, GFP_ATOMIC)) in ir_establish_scancode()
|
/drivers/video/fbdev/core/ |
D | fbcon.c | 2432 int resize; in fbcon_do_set_font() local 2436 resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); in fbcon_do_set_font() 2453 if (resize) { in fbcon_do_set_font()
|
/drivers/tty/vt/ |
D | vt.c | 3576 .resize = vt_resize,
|