/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 | 529 .resize = pty_resize, 544 .resize = pty_resize, 777 .resize = pty_resize,
|
D | tty_io.c | 2277 if (tty->ops->resize) in tiocswinsz() 2278 return tty->ops->resize(tty, &tmp_ws); in tiocswinsz()
|
/drivers/s390/char/ |
D | raw3270.h | 139 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/pci/ |
D | pci.c | 5967 bool *resize) in pci_specified_resource_alignment() argument 5995 *resize = true; in pci_specified_resource_alignment() 6019 resource_size_t align, bool resize) in pci_request_resource_alignment() argument 6068 if (resize) { in pci_request_resource_alignment() 6093 bool resize = false; in pci_reassigndev_resource_alignment() local 6105 align = pci_specified_resource_alignment(dev, &resize); in pci_reassigndev_resource_alignment() 6120 pci_request_resource_alignment(dev, i, align, resize); in pci_reassigndev_resource_alignment()
|
/drivers/block/ |
D | virtio_blk.c | 447 static void virtblk_update_capacity(struct virtio_blk *vblk, bool resize) in virtblk_update_capacity() argument 475 resize ? "new size: " : "", in virtblk_update_capacity()
|
/drivers/md/ |
D | md.h | 571 int (*resize) (struct mddev *mddev, sector_t sectors); member
|
D | dm-raid.c | 3008 bool resize = false; in raid_ctr() local 3097 …resize = calculated_dev_sectors != (reshape_sectors ? rdev_sectors - reshape_sectors : rdev_sector… in raid_ctr() 3133 if (resize) { in raid_ctr() 3210 0 : (resize ? calculated_dev_sectors : MaxSector)); in raid_ctr()
|
D | md-cluster.c | 1301 ret = mddev->pers->resize(mddev, old_dev_sectors); in update_size()
|
D | md.c | 3269 if (!my_mddev->pers->resize) in rdev_size_store() 7003 if (mddev->pers->resize == NULL) in update_size() 7028 rv = mddev->pers->resize(mddev, num_sectors); in update_size() 9368 ret = mddev->pers->resize(mddev, le64_to_cpu(sb->size)); in check_sb_changes()
|
D | raid5.c | 8424 .resize = raid5_resize, 8449 .resize = raid5_resize, 8475 .resize = raid5_resize,
|
D | raid1.c | 3381 .resize = raid1_resize,
|
D | raid10.c | 4926 .resize = raid10_resize,
|
/drivers/media/rc/ |
D | rc-main.c | 338 bool resize) in ir_establish_scancode() argument 365 if (!resize || ir_resize_table(dev, rc_map, GFP_ATOMIC)) in ir_establish_scancode()
|
/drivers/video/fbdev/core/ |
D | fbcon.c | 2568 int resize; in fbcon_do_set_font() local 2575 resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); in fbcon_do_set_font() 2592 if (resize) { in fbcon_do_set_font()
|
/drivers/tty/vt/ |
D | vt.c | 3405 .resize = vt_resize,
|