Home
last modified time | relevance | path

Searched full:resize (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux-6.8/drivers/md/persistent-data/
Ddm-array.c387 struct resize { struct
412 * 'old' refers to before the resize, 'new' after. argument
435 static int drop_blocks(struct resize *resize, unsigned int begin_index, in drop_blocks() argument
443 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks()
444 &key, &resize->root); in drop_blocks()
464 static int shrink(struct resize *resize) in shrink() argument
474 if (resize->new_nr_full_blocks < resize->old_nr_full_blocks) { in shrink()
475 begin = total_nr_blocks_needed(resize->new_nr_full_blocks, in shrink()
476 resize->new_nr_entries_in_last_block); in shrink()
477 end = total_nr_blocks_needed(resize->old_nr_full_blocks, in shrink()
[all …]
/linux-6.8/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c37 #define resize_hpt_debug(resize, ...) \ argument
39 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \
43 #define resize_hpt_debug(resize, ...) \ argument
692 * instead let the guest retry after the resize operation is complete. in kvmppc_book3s_hv_page_fault()
1212 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument
1216 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate()
1220 resize_hpt_debug(resize, "%s(): HPT @ 0x%lx\n", __func__, in resize_hpt_allocate()
1221 resize->hpt.virt); in resize_hpt_allocate()
1226 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument
1229 struct kvm *kvm = resize->kvm; in resize_hpt_rehash_hpte()
[all …]
/linux-6.8/tools/testing/selftests/bpf/prog_tests/
Dglobal_map_resize.c37 /* resize map value and verify the new size */ in global_map_resize_bss_subtest()
42 if (!ASSERT_EQ(bpf_map__value_size(map), desired_sz, "resize")) in global_map_resize_bss_subtest()
107 /* resize map value and verify the new size */ in global_map_resize_data_subtest()
112 if (!ASSERT_EQ(bpf_map__value_size(map), desired_sz, "resize")) in global_map_resize_data_subtest()
170 /* attempt to resize a global datasec map to size in global_map_resize_invalid_subtest()
183 /* confirm resize is OK but BTF info is cleared */ in global_map_resize_invalid_subtest()
189 /* attempt to resize a global datasec map whose only var is NOT an array */ in global_map_resize_invalid_subtest()
196 /* confirm resize is OK but BTF info is cleared */ in global_map_resize_invalid_subtest()
202 /* attempt to resize a global datasec map in global_map_resize_invalid_subtest()
215 /* confirm resize is OK but BTF info is cleared */ in global_map_resize_invalid_subtest()
/linux-6.8/drivers/scsi/cxlflash/
Dvlun.c27 * marshal_virt_to_resize() - translate uvirtual to resize structure
29 * @resize: Destination structure for the translate/copy.
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()
719 * @resize: Resize ioctl data structure.
731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() argument
[all …]
Dsuperpipe.h118 struct dk_cxlflash_resize *resize);
120 struct dk_cxlflash_resize *resize);
/linux-6.8/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()
630 * the output one, updates the window sizes and returns an error or the resize
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()
[all …]
/linux-6.8/drivers/media/platform/st/sti/delta/
Ddelta-mjpeg-fw.h76 /* no resize */
78 /* Advanced H/2 resize using improved 8-tap filters */
80 /* Advanced H/4 resize using improved 8-tap filters */
86 /* no resize */
88 /* V/2 , progressive resize */
90 /* V/2 , interlaced resize */
/linux-6.8/fs/ext4/
Dresize.c3 * linux/fs/ext4/resize.c
65 * If we are not using the primary superblock/GDT copy don't resize, in ext4_resize_begin()
71 ext4_warning(sb, "won't resize using backup superblock at %llu", in ext4_resize_begin()
213 * ext4_new_flex_group_data is used by 64bit-resize interface to add a flex
293 * This function is used by 64bit-resize. Note that this function allocates
519 * ensure the recovery is correct in case of a failure just after resize.
520 * If any part of this fails, we simply abort the resize.
807 * use from the resize inode. The primary copy of the new GDT block currently
808 * is an indirect block (under the double indirect block in the resize inode).
811 * we check to ensure that the resize inode has actually reserved these blocks.
[all …]
/linux-6.8/drivers/video/fbdev/
Dxen-fbfront.c54 struct xenfb_resize resize; /* protected by resize_lock */ member
111 event.resize = info->resize; in xenfb_do_resize()
260 /* Can't resize past initial width and height */ in xenfb_check_var()
283 xenfb_info->resize.type = XENFB_TYPE_RESIZE; in xenfb_set_par()
284 xenfb_info->resize.width = info->var.xres; in xenfb_set_par()
285 xenfb_info->resize.height = info->var.yres; in xenfb_set_par()
286 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par()
287 xenfb_info->resize.depth = info->var.bits_per_pixel; in xenfb_set_par()
288 xenfb_info->resize.offset = 0; in xenfb_set_par()
646 "feature-resize", 0); in xenfb_backend_changed()
/linux-6.8/Documentation/admin-guide/
Djfs.rst18 resize=value
19 Resize the volume to <value> blocks. JFS only supports
22 read-write. The resize keyword with no value will grow
Dext4.rst559 This ioctl has the same purpose as the resize mount option. It allows
560 to resize filesystem to the end of the last existing block group,
561 further resize has to be done with resize2fs, either online, or
578 allows online resize of the filesystem to the end of the last existing
580 resize tool (e.g. resize2fs).
600 Resize the filesystem to a new size. The number of blocks of resized
/linux-6.8/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();
/linux-6.8/include/xen/interface/io/
Dfbif.h36 * Framebuffer resize notification event
37 * Capable backend sets feature-resize in xenstore.
55 struct xenfb_resize resize; member
/linux-6.8/fs/ocfs2/
Dresize.c3 * resize.c
5 * volume resize.
6 * Inspired by ext3/resize.c.
29 #include "resize.h"
246 " during fs resize. This condition is not fatal," in ocfs2_update_super_and_backups()
306 "Force to do offline resize."); in ocfs2_group_extend()
487 " Force to do offline resize."); in ocfs2_group_add()
Dresize.h3 * resize.h
/linux-6.8/net/netfilter/ipset/
Dip_set_hash_gen.h304 struct list_head ad; /* Resize add|del backlist */
311 /* ADD|DEL entries saved during resize */
586 pr_debug("Table destroy after resize by expire: %p\n", t); in mtype_gc()
617 /* Resize a hash: create a new hash table with doubling the hashsize
678 pr_debug("attempt to resize set %s from %u to %u, t %p\n", in mtype_resize()
764 /* Add/delete elements processed by the SET target during resize. in mtype_resize()
765 * Kernel-side add cannot trigger a resize and userspace actions in mtype_resize()
780 pr_debug("Table destroy by resize %p\n", orig); in mtype_resize()
947 goto resize; in mtype_add()
995 resize: in mtype_add()
[all …]
/linux-6.8/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c82 * the initial number of entries doesn't require an immediate resize.
388 * vmw_cotable_resize - Resize a cotable.
459 DRM_ERROR("Failed mapping old COTable on resize.\n"); in vmw_cotable_resize()
464 DRM_ERROR("Failed mapping new COTable on resize.\n"); in vmw_cotable_resize()
491 * revert the full resize. in vmw_cotable_resize()
542 * 2) Resize the cotable if needed.
551 /* Check whether we need to resize the cotable */ in vmw_cotable_create()
/linux-6.8/include/linux/
Dsbitmap.h188 * sbitmap_resize() - Resize a &struct sbitmap.
189 * @sb: Bitmap to resize.
190 * @depth: New number of bits to resize to.
439 * sbitmap_queue_resize() - Resize a &struct sbitmap_queue.
440 * @sbq: Bitmap queue to resize.
441 * @depth: New number of bits to resize to.
445 * resize the underlying &struct sbitmap.
Dptr_ring.h120 * Note: resize (below) nests producer lock within consumer lock, so if you
323 * Note: resize (below) nests producer lock within consumer lock, so if you
507 * resize you must make sure all uses nest correctly.
586 * resize you must make sure all uses nest correctly.
615 * resize you must make sure all uses nest correctly.
/linux-6.8/fs/bcachefs/
Dbcachefs_ioctl.h355 * BCH_IOCTL_DISK_RESIZE: resize filesystem on a device
357 * @dev - member to resize
368 * BCH_IOCTL_DISK_RESIZE_JOURNAL: resize journal on a device
370 * @dev - member to resize
/linux-6.8/include/uapi/drm/
Dqaic_accel.h287 * struct qaic_partial_execute_entry - Defines a BO to resize and submit.
290 * @resize: In. New size of the BO. Must be <= the original BO size.
291 * @resize as 0 would be interpreted as no DMA transfer is
297 __u64 resize; member
/linux-6.8/include/uapi/linux/
Dvbox_vmmdev_types.h42 /* Retrieve a display resize request sent by the host, deprecated. */
48 * Retrieve a display resize request sent by the host.
50 * Queries a display resize request sent from the host. If the
/linux-6.8/fs/jfs/
DMakefile13 resize.o xattr.o ioctl.o
Dsuper.c217 {Opt_resize, "resize=%u"},
218 {Opt_resize_nosize, "resize"},
278 char *resize = args[0].from; in parse_options() local
279 int rc = kstrtoll(resize, 0, newLVSize); in parse_options()
438 pr_err("JFS: resize requires volume to be mounted read-write\n"); in jfs_remount()
520 pr_err("resize option for remount only\n"); in jfs_fill_super()
/linux-6.8/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()
262 * and resize the array area.

12345678910>>...12