Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c35 #define resize_hpt_debug(resize, ...) \ argument
37 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \
41 #define resize_hpt_debug(resize, ...) \ argument
1214 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument
1218 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate()
1222 resize_hpt_debug(resize, "resize_hpt_allocate(): HPT @ 0x%lx\n", in resize_hpt_allocate()
1223 resize->hpt.virt); in resize_hpt_allocate()
1228 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument
1231 struct kvm *kvm = resize->kvm; in resize_hpt_rehash_hpte()
1233 struct kvm_hpt_info *new = &resize->hpt; in resize_hpt_rehash_hpte()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Drj54n1cb0c.c164 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 …]
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dvlun.c32 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 …]
Dsuperpipe.h118 struct dk_cxlflash_resize *resize);
120 struct dk_cxlflash_resize *resize);
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dxen-fbfront.c54 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()
/kernel/linux/linux-5.10/include/linux/
Dparman.h58 int (*resize)(void *priv, unsigned long new_count); member
Dtty_driver.h279 int (*resize)(struct tty_struct *tty, struct winsize *ws); member
/kernel/linux/linux-5.10/fs/jfs/
DMakefile13 resize.o xattr.o ioctl.o
/kernel/linux/linux-5.10/Documentation/networking/
Dfib_trie.rst81 towards the root from a given tnode, doing a resize() at each step
84 resize()
91 Doubles the size of the child array within a tnode. Used by resize().
95 inflate(). Used by resize();
/kernel/linux/linux-5.10/Documentation/admin-guide/
Djfs.rst18 resize=value
22 read-write. The resize keyword with no value will grow
/kernel/linux/linux-5.10/fs/reiserfs/
DMakefile10 hashes.o tail_conversion.o journal.o resize.o \
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dspecial_inodes.rst29 - Reserved group descriptors inode. (“resize inode”)
/kernel/linux/linux-5.10/fs/ext4/
DMakefile11 mmp.o move_extent.o namei.o page-io.o readpage.o resize.o \
/kernel/linux/linux-5.10/include/xen/interface/io/
Dfbif.h72 struct xenfb_resize resize; member
/kernel/linux/linux-5.10/fs/ocfs2/
DMakefile33 resize.o \
/kernel/linux/linux-5.10/lib/
Dparman.c65 err = parman->ops->resize(parman->priv, new_count); in parman_enlarge()
80 err = parman->ops->resize(parman->priv, new_count); in parman_shrink()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c404 UINT32 resize = 0; in OsMemPoolExpandSub() local
410 resize = g_lms->init(newNode, size); in OsMemPoolExpandSub()
411 size = (resize == 0) ? size : resize; in OsMemPoolExpandSub()
516 STATIC INLINE VOID OsLmsReallocResizeMark(struct OsMemNodeHead *node, UINT32 resize) in OsLmsReallocResizeMark() argument
522 … g_lms->simpleMark((UINTPTR)node + resize, (UINTPTR)OS_MEM_NEXT_NODE(node), LMS_SHADOW_REDZONE_U8); in OsLmsReallocResizeMark()
844 UINT32 resize = 0; in OsMemPoolInit() local
850 resize = g_lms->init(pool, size); in OsMemPoolInit()
851 size = (resize == 0) ? size : resize; in OsMemPoolInit()
882 if (resize != 0) { in OsMemPoolInit()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c551 STATIC INLINE VOID OsLmsReallocResizeMark(struct OsMemNodeHead *node, UINT32 resize) argument
557 … g_lms->simpleMark((UINTPTR)node + resize, (UINTPTR)OS_MEM_NEXT_NODE(node), LMS_SHADOW_REDZONE_U8);
866 UINT32 resize = 0; local
872 resize = g_lms->init(pool, size);
873 size = (resize == 0) ? size : resize;
905 if (resize != 0) {
2131 UINT32 resize = 0; local
2137 resize = g_lms->init(curStartAddress, curLength);
2138 curLength = (resize == 0) ? curLength : resize;
/kernel/linux/linux-5.10/include/linux/mlx5/
Dcq.h116 } resize; member
/kernel/linux/linux-5.10/include/uapi/scsi/
Dcxlflash_ioctl.h177 struct dk_cxlflash_resize resize; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h123 struct dk_cxlflash_resize resize; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h110 struct dk_cxlflash_resize resize; member
/kernel/linux/linux-5.10/drivers/tty/
Dpty.c519 .resize = pty_resize,
534 .resize = pty_resize,
767 .resize = pty_resize,
/kernel/linux/linux-5.10/drivers/s390/char/
Draw3270.h138 void (*resize)(struct raw3270_view *, int, int, int); member

123