search for: 334,6

Displaying 20 results from an estimated 106 matches for "334,6".

Did you mean: 34,6
2015 Mar 31
2
[PATCH] virtio_config: reorder functions
...vice *vdev, unsigned int offset, @@ -326,7 +319,6 @@ static inline void __virtio_cread_many(struct virtio_device *vdev, } while (gen != old); } - static inline void virtio_cread_bytes(struct virtio_device *vdev, unsigned int offset, void *buf, size_t len) @@ -334,6 +326,13 @@ static inline void virtio_cread_bytes(struct virtio_device *vdev, __virtio_cread_many(vdev, offset, buf, len, 1); } +static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) +{ + u8 ret; + vdev->config->get(vdev, offset, &ret, sizeof(ret)); + retur...
2015 Mar 31
2
[PATCH] virtio_config: reorder functions
...vice *vdev, unsigned int offset, @@ -326,7 +319,6 @@ static inline void __virtio_cread_many(struct virtio_device *vdev, } while (gen != old); } - static inline void virtio_cread_bytes(struct virtio_device *vdev, unsigned int offset, void *buf, size_t len) @@ -334,6 +326,13 @@ static inline void virtio_cread_bytes(struct virtio_device *vdev, __virtio_cread_many(vdev, offset, buf, len, 1); } +static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) +{ + u8 ret; + vdev->config->get(vdev, offset, &ret, sizeof(ret)); + retur...
2015 Jul 05
3
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
...at linux.intel.com> --- configure.ac | 6 ++++++ include/speex/speexdsp_config_types.h.in | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 2cd2d1e..1de0c23 100644 --- a/configure.ac +++ b/configure.ac @@ -334,6 +334,12 @@ AC_SUBST([USIZE16]) AC_SUBST([SIZE32]) AC_SUBST([USIZE32]) +AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"], + [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#in...
2023 Jan 27
1
[PATCH 0/2] vhost: improve livepatch switching for heavily loaded vhost worker kthreads
...00644 --- a/kernel/livepatch/transition.c +++ b/kernel/livepatch/transition.c @@ -9,6 +9,7 @@ #include <linux/cpu.h> #include <linux/stacktrace.h> +#include <linux/stop_machine.h> #include "core.h" #include "patch.h" #include "transition.h" @@ -334,6 +335,16 @@ static bool klp_try_switch_task(struct task_struct *task) return !ret; } +static int __stop_try_switch(void *arg) +{ + return klp_try_switch_task(arg) ? 0 : -EBUSY; +} + +static bool klp_try_switch_task_harder(struct task_struct *task) +{ + return !stop_one_cpu(task_cpu(task), __s...
2023 May 19
2
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...07:08:47PM +0300, Nikolay Aleksandrov wrote: > On 18/05/2023 14:33, Ido Schimmel wrote: > > diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c > > index fc17b9fd93e6..d8ab5890cbe6 100644 > > --- a/net/bridge/br_input.c > > +++ b/net/bridge/br_input.c > > @@ -334,6 +334,7 @@ static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) > > return RX_HANDLER_CONSUMED; > > > > memset(skb->cb, 0, sizeof(struct br_input_skb_cb)); > > + skb->l2_miss = 0; > > > > p = br_port_get_rcu(skb->dev); > >...
2017 Apr 03
2
[PATCH 1/2] drm: virtio: add virtio_gpu_translate_format
...68 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index 93900a8..1328185 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -334,6 +334,7 @@ int virtio_gpu_modeset_init(struct virtio_gpu_device *vgdev); void virtio_gpu_modeset_fini(struct virtio_gpu_device *vgdev); /* virtio_gpu_plane.c */ +uint32_t virtio_gpu_translate_format(uint32_t drm_fourcc); struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev,...
2017 Apr 03
2
[PATCH 1/2] drm: virtio: add virtio_gpu_translate_format
...68 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index 93900a8..1328185 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -334,6 +334,7 @@ int virtio_gpu_modeset_init(struct virtio_gpu_device *vgdev); void virtio_gpu_modeset_fini(struct virtio_gpu_device *vgdev); /* virtio_gpu_plane.c */ +uint32_t virtio_gpu_translate_format(uint32_t drm_fourcc); struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev,...
2012 Jan 13
3
[PATCH v2 1/3] ext2: tweak the error returned message of resize2fs-M(BZ755729)
From: Wanlong Gao <gaowanlong at cn.fujitsu.com> Tweak the error message "e2fsck -f" and "e2fsck -fy". Indicate the user to use the correct and/or forceall options. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/ext2.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/daemon/ext2.c b/daemon/ext2.c index
2014 Aug 15
2
[PATCH net-next] vhost_net: stop rx net polling when possible
...-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 8dae2f7..d4a9742 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -334,6 +334,8 @@ static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) static void handle_tx(struct vhost_net *net) { struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; + struct vhost_virtqueue *rx_vq = &net->vqs[VHOST_NET_VQ_RX].vq; + struct vhost_poll *...
2014 Aug 15
2
[PATCH net-next] vhost_net: stop rx net polling when possible
...-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 8dae2f7..d4a9742 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -334,6 +334,8 @@ static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) static void handle_tx(struct vhost_net *net) { struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; + struct vhost_virtqueue *rx_vq = &net->vqs[VHOST_NET_VQ_RX].vq; + struct vhost_poll *...
2017 Jun 22
0
[PATCH v2 05/14] drm: armada: remove dead empty functions
...| 2 -- drivers/gpu/drm/armada/armada_fbdev.c | 2 -- 3 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c index 4fe19fd..96bccf8 100644 --- a/drivers/gpu/drm/armada/armada_crtc.c +++ b/drivers/gpu/drm/armada/armada_crtc.c @@ -334,16 +334,6 @@ static void armada_drm_vblank_off(struct armada_crtc *dcrtc) armada_drm_plane_work_run(dcrtc, dcrtc->crtc.primary); } -void armada_drm_crtc_gamma_set(struct drm_crtc *crtc, u16 r, u16 g, u16 b, - int idx) -{ -} - -void armada_drm_crtc_gamma_get(struct drm_crtc *crtc, u16 *r, u1...
2015 Apr 08
0
[PATCH] virtio_config: reorder functions
...> @@ -326,7 +319,6 @@ static inline void __virtio_cread_many(struct virtio_device *vdev, > } while (gen != old); > } > > - > static inline void virtio_cread_bytes(struct virtio_device *vdev, > unsigned int offset, > void *buf, size_t len) > @@ -334,6 +326,13 @@ static inline void virtio_cread_bytes(struct virtio_device *vdev, > __virtio_cread_many(vdev, offset, buf, len, 1); > } > > +static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) > +{ > + u8 ret; > + vdev->config->get(vdev, offs...
2016 May 20
1
[PATCH] protocol: Ignore rest of option when replying with error
...we don't happen to service that option. Signed-off-by: Eric Blake <eblake@redhat.com> --- src/connections.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/connections.c b/src/connections.c index 0c93f35..840e315 100644 --- a/src/connections.c +++ b/src/connections.c @@ -334,6 +334,10 @@ _negotiate_handshake_newstyle_options (struct connection *conn) if (send_newstyle_option_reply (conn, option, NBD_REP_ERR_INVALID) == -1) return -1; + if (xread (conn->sockin, data, optlen) == -1) { + nbdkit_error ("read: %m&quot...
2019 Nov 22
0
[PATCH nbdkit v2 06/10] python: Implement cache.
...ffset, flags): + # no return value + +The body of your C<cache> function should prefetch data in the +indicated range. + +If the cache operation fails, your function should throw an exception, +optionally using C<nbdkit.set_error> first. + =back =head2 Missing callbacks @@ -321,7 +334,6 @@ C<can_zero>, C<can_fast_zero>, C<can_extents>, C<can_multi_conn>, -C<cache>, C<extents>. These are not yet supported. diff --git a/plugins/python/python.c b/plugins/python/python.c index 9445343..6d5a0b7 100644 --- a/plugins/python/python.c +++ b/plug...
2015 Jul 06
0
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
...c | 6 ++++++ > include/speex/speexdsp_config_types.h.in | 8 +------- > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 2cd2d1e..1de0c23 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -334,6 +334,12 @@ AC_SUBST([USIZE16]) > AC_SUBST([SIZE32]) > AC_SUBST([USIZE32]) > > +AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"], > + [test "$ac_cv_header_inttypes_h" = "yes"],...
2010 Aug 24
0
[PATCH]: Exiting -1 if dhcp client failed
...ecc641f1b5 Exiting -1 if ipconfig timeout When timeouting while getting up a dhclient answer, let's returning -1 instead of 0 --- diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index f00041b..888fdeb 100644 --- a/usr/kinit/ipconfig/main.c +++ b/usr/kinit/ipconfig/main.c -334,6 +334,7 @@ static int loop(void) int nr = 0; struct timeval now, prev; time_t start; + int return_code=0; pkt_fd = packet_open(); if (pkt_fd == -1) { -396,6 +397,7 @@ static int loop(void) now.tv_sec - start >= loop_timeout) { prin...
2008 Jun 12
0
[PATCH 2/2] extract vmcoreinfo from /proc/vmcore for Xen
...hu Jun 12 13:39:04 2008 +0900 @@ -15,6 +15,7 @@ #include <xen/features.h> #include <xen/hypervisor_sysfs.h> #include <xen/xenbus.h> +#include <xen/interface/kexec.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR("Mike D. Day <ncmike@us.ibm.com>"); @@ -334,6 +335,24 @@ static void xen_properties_destroy(void) &xen_properties_group); } +static ssize_t vmcoreinfo_show(struct hyp_sysfs_attr *attr, char *page) +{ + return sprintf(page, "%lx %zx\n", + paddr_vmcoreinfo_xen, vmcoreinfo_size_xen); +} + +HYPERVISOR_ATTR_RO(vmcoreinfo)...
2011 Jun 11
0
RFE: Proposed fix for incompat introduced with 'unix extensions' and 'wide links'....in 3.4(?)..
...n Admins' group on the server, they can likely manage links on any writable share. Default: client managed wide links = no --- patch: --- source3/param/loadparm.c.orig 2011-02-27 09:42:19.000000000 -0800 +++ source3/param/loadparm.c 2011-06-09 16:53:19.192163402 -0700 @@ -334,6 +334,7 @@ bool bHostMSDfs; bool bUseMmap; bool bHostnameLookups; + bool bClientManagedWidelinks; bool bUnixExtensions; bool bDisableNetbios; char * szDedicatedKeytabFile; @@ -939,6 +940,15 @@ .flags = FLAG_ADVANCED }, { + .label = "client managed wide links", + .type = P_...
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
...) { - callback(); - }; - script.addEventListener(''load'' ,evl ,true); - } - document.getElementsByTagName(''head'')[0].appendChild(script); - return; - }, - + loadScript: loadScript, + /** * * @param {Object} point @@ -334,6 +369,16 @@ logN: function(number, base) { return Math.log(number) / Math.log(base); }, + + /** + * returns array of loaded provider apis + * @returns {Array} providers + */ + getAvailableProviders : function () { + var providers = []; + for (var propertyName...
2010 Jan 29
3
[PATCH 0/2] virtio net improvements
Hi Dave, Nice driver optimization from Shirley, but requires a new virtio hook. Do you want to take both? I have nothing else overlapping it. Cheers, Rusty.