Displaying 8 results from an estimated 8 matches for "1019,11".
Did you mean:
1013,11
2014 Sep 22
0
[PATCH v3 4/7] resize: add function calculate_target_partitions
...target logical partitions.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
resize/resize.ml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index cfd02fc..8b43306 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -1019,11 +1019,10 @@ read the man page virt-resize(1).
* the final list just contains partitions that need to be created
* on the target.
*)
- let partitions =
- let rec loop partnum start = function
+ let rec calculate_target_partitions partnum start ~create_surplus = function...
2014 Sep 22
13
[PATCH v3 0/7] add support to resize MBR logical partitions
Hi Rich,
This is v3 series to add support for resizing MBR logical partitions.
changes to v2:
1. remove p_part_num
2. remove filter_parts
3. name the function calculate_target_partitions
4. remove the code to restart guest introduced in v2
changes to v1:
1. spit the patches so it's easier to review
2. fix the parted error caused by unaligned logical partitions
3. extend the
2007 Oct 01
2
[PATCH RFC] paravirt: cleanup lazy mode handling
...(gs, 0);
}
@@ -961,6 +939,11 @@ static const struct pv_cpu_ops xen_cpu_o
.set_iopl_mask = xen_set_iopl_mask,
.io_delay = xen_io_delay,
+
+ .lazy_mode = {
+ .enter = paravirt_nop,
+ .leave = xen_leave_lazy,
+ },
};
static const struct pv_irq_ops xen_irq_ops __initdata = {
@@ -1036,10 +1019,11 @@ static const struct pv_mmu_ops xen_mmu_o
.activate_mm = xen_activate_mm,
.dup_mmap = xen_dup_mmap,
.exit_mmap = xen_exit_mmap,
-};
-
-static const struct pv_misc_ops xen_misc_ops __initdata = {
- .set_lazy_mode = xen_set_lazy_mode,
+
+ .lazy_mode = {
+ .enter = paravirt_nop,
+ .leave...
2007 Oct 01
2
[PATCH RFC] paravirt: cleanup lazy mode handling
...(gs, 0);
}
@@ -961,6 +939,11 @@ static const struct pv_cpu_ops xen_cpu_o
.set_iopl_mask = xen_set_iopl_mask,
.io_delay = xen_io_delay,
+
+ .lazy_mode = {
+ .enter = paravirt_nop,
+ .leave = xen_leave_lazy,
+ },
};
static const struct pv_irq_ops xen_irq_ops __initdata = {
@@ -1036,10 +1019,11 @@ static const struct pv_mmu_ops xen_mmu_o
.activate_mm = xen_activate_mm,
.dup_mmap = xen_dup_mmap,
.exit_mmap = xen_exit_mmap,
-};
-
-static const struct pv_misc_ops xen_misc_ops __initdata = {
- .set_lazy_mode = xen_set_lazy_mode,
+
+ .lazy_mode = {
+ .enter = paravirt_nop,
+ .leave...
2018 Nov 12
14
[PATCH 2/2] drm/atomic: Create and use __drm_atomic_helper_crtc_reset() everywhere
...void dpu_crtc_handle_power_event(u32 event_type, void *arg)
diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
index b1da9ce54379..138da66b1530 100644
--- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
+++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
@@ -1019,11 +1019,7 @@ static void mdp5_crtc_reset(struct drm_crtc *crtc)
}
mdp5_cstate = kzalloc(sizeof(*mdp5_cstate), GFP_KERNEL);
-
- if (mdp5_cstate) {
- mdp5_cstate->base.crtc = crtc;
- crtc->state = &mdp5_cstate->base;
- }
+ __drm_atomic_helper_crtc_reset(crtc, &mdp5_cstate-&g...
2018 Nov 12
0
[PATCH 2/2] drm/atomic: Create and use __drm_atomic_helper_crtc_reset() everywhere
...er_event(u32 event_type, void *arg)
> diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
> index b1da9ce54379..138da66b1530 100644
> --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
> +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
> @@ -1019,11 +1019,7 @@ static void mdp5_crtc_reset(struct drm_crtc *crtc)
> }
>
> mdp5_cstate = kzalloc(sizeof(*mdp5_cstate), GFP_KERNEL);
> -
> - if (mdp5_cstate) {
> - mdp5_cstate->base.crtc = crtc;
> - crtc->state = &mdp5_cstate->base;
> - }
> + __drm_atomi...
2014 Sep 26
9
[PATCH v4 0/7] virt-resize: add support for resizing logical partitions
Hi Rich,
This is v3 series to add support for resizing MBR logical partitions.
changes to v3:
1. merge patch 1 and patch 3 in v3
2. let mbr_part_type return 'primary' for GPT partitions
3. add test for resizing logical partitions
4. fix extending the extended partition (yet). see patch 7.
changes to v2:
1. remove p_part_num
2. remove filter_parts
3. name the function
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...== 1) {
end_index = start_index + 1;
} else {
end_index = swfdec_as_value_to_integer (cx, &argv[1]);
- end_index = CLAMP (end_index, start_index, strlen (text->text_display));
+ end_index = CLAMP (end_index, start_index, text->input->len);
}
}
@@ -1019,11 +1018,11 @@ swfdec_text_field_movie_replaceText (SwfdecAsContext *cx,
SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, "iis", &start_index,
&end_index, &str);
- start_index = MIN (start_index, (int)strlen (text->text_display));
+ start_index = MIN...