search for: 606,11

Displaying 12 results from an estimated 12 matches for "606,11".

Did you mean: 60,11
2016 Feb 21
1
[PATCH] virtio_net: switch to build_skb for mrg_rxbuf
...ze = max(len, mergeable_ctx_to_buf_truesize(ctx)); + int offset; - struct sk_buff *head_skb = page_to_skb(vi, rq, page, offset, len, - truesize); + struct sk_buff *head_skb = vnet_build_skb(vi, buf, len, truesize); struct sk_buff *curr_skb = head_skb; if (unlikely(!curr_skb)) @@ -606,11 +625,14 @@ static int add_recvbuf_big(struct virtnet_info *vi, struct receive_queue *rq, static unsigned int get_mergeable_buf_len(struct ewma_pkt_len *avg_pkt_len) { - const size_t hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); + unsigned int hdr; unsigned int len; - len = hdr_len +...
2016 Feb 21
1
[PATCH] virtio_net: switch to build_skb for mrg_rxbuf
...ze = max(len, mergeable_ctx_to_buf_truesize(ctx)); + int offset; - struct sk_buff *head_skb = page_to_skb(vi, rq, page, offset, len, - truesize); + struct sk_buff *head_skb = vnet_build_skb(vi, buf, len, truesize); struct sk_buff *curr_skb = head_skb; if (unlikely(!curr_skb)) @@ -606,11 +625,14 @@ static int add_recvbuf_big(struct virtnet_info *vi, struct receive_queue *rq, static unsigned int get_mergeable_buf_len(struct ewma_pkt_len *avg_pkt_len) { - const size_t hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); + unsigned int hdr; unsigned int len; - len = hdr_len +...
2005 Jun 30
0
[PATCH][2/10] Extend the VMX intercept mechanism to include mmio as well as portio.
...on_t action) +{ + return register_io_handler(addr, offset, action, MMIO); +} #endif /* _VMX_INTERCEPT_H */ diff -r febfcd0a1a0a -r 9a43d5c12b95 xen/arch/x86/vmx_platform.c --- a/xen/arch/x86/vmx_platform.c Thu Jun 30 03:20:48 2005 +++ b/xen/arch/x86/vmx_platform.c Thu Jun 30 04:08:50 2005 @@ -606,12 +606,11 @@ if ((pvalid) && vmx_paging_enabled(current)) p->u.pdata = (void *) gva_to_gpa(p->u.data); -#if 0 - printf("send_mmio_req: eip 0x%lx:0x%lx, dir %d, pdata_valid %d, ", - inst_decoder_regs->cs, inst_decoder_regs->eip, p->dir, p->pdat...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...); + else + free_buf(buf); port->outvq_full = false; } } @@ -498,6 +598,7 @@ static ssize_t send_buf(struct port *port, void *in_buf, size_t in_count, ssize_t ret; unsigned long flags; unsigned int len; + struct port_buffer *buf = in_buf; out_vq = port->out_vq; @@ -505,8 +606,11 @@ static ssize_t send_buf(struct port *port, void *in_buf, size_t in_count, reclaim_consumed_buffers(port); - sg_init_one(sg, in_buf, in_count); - ret = virtqueue_add_buf(out_vq, sg, 1, 0, in_buf, GFP_ATOMIC); + if (is_console_port(port)) + sg_init_one(sg, in_buf, in_count); + else + sg...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...); + else + free_buf(buf); port->outvq_full = false; } } @@ -498,6 +598,7 @@ static ssize_t send_buf(struct port *port, void *in_buf, size_t in_count, ssize_t ret; unsigned long flags; unsigned int len; + struct port_buffer *buf = in_buf; out_vq = port->out_vq; @@ -505,8 +606,11 @@ static ssize_t send_buf(struct port *port, void *in_buf, size_t in_count, reclaim_consumed_buffers(port); - sg_init_one(sg, in_buf, in_count); - ret = virtqueue_add_buf(out_vq, sg, 1, 0, in_buf, GFP_ATOMIC); + if (is_console_port(port)) + sg_init_one(sg, in_buf, in_count); + else + sg...
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
...onment.d"); (* Just like d-i-b does. *) - let extradatatmpdir = tmpdir // "extra-data" in - do_mkdir extradatatmpdir; do_mkdir (auxtmpdir // "out" // image_basename_d); let elements = if cmdline.use_base then ["base"] @ cmdline.elements @@ -575,20 +606,11 @@ let main () = prepare_external ~envvars ~dib_args ~dib_vars ~out_name:image_basename ~root_label ~rootfs_uuid ~image_cache ~arch ~network:cmdline.network ~debug - tmpdir cmdline.basepath hookstmpdir extradatatmpdir +...
2004 Aug 26
2
OpenSSH PATCH: OpenCommand and CloseCommand
...type, const char *host, u_short port, + const char *run_command); + +int ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int, int, const char *); Index: ssh.c --- openssh-3.8p1.orig/ssh.c (.../.transvn:beginning) (revision 25) +++ openssh-3.8p1/ssh.c (revision 25) @@ -606,6 +606,11 @@ strcmp(options.proxy_command, "none") == 0) options.proxy_command = NULL; + /* Execute open command, if set */ + if (options.open_command != NULL && + strcmp(options.open_command, "none") != 0) + ssh_run_command("open", host, option...
2004 Aug 06
2
improved error.log output --diff
...@@ { ret = _check_pass_ice(parser, pass); if(ret) - WARN0("Source is using deprecated icecast login"); + WARN0("Source is using deprecated icecast login, %s", "-"); } } return ret; @@ -606,11 +606,11 @@ client = client_create(con, parser); - INFO1("Source logging in at mountpoint \"%s\"", uri); + INFO1("Source logging in at mountpoint \"%s\", %s", uri, client->con->ip); stats_event_inc(NULL, "source_connections&qu...
2016 Aug 03
3
[PATCH] mllib: move _exit from v2v as Exit module
Move the OCaml binding to C _exit to an own module. Just code motion, adapting v2v in the process. --- docs/C_SOURCE_FILES | 2 +- mllib/Makefile.am | 5 ++++- mllib/exit-c.c | 33 +++++++++++++++++++++++++++++++++ mllib/exit.ml | 19 +++++++++++++++++++ mllib/exit.mli | 20 ++++++++++++++++++++ v2v/Makefile.am | 1 - v2v/changeuid-c.c | 33
2007 Feb 01
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/swfdec_script.c libswfdec/swfdec_script.h player/swfdec_debug_stack.c test/trace
...S_FALSE; fp->sp[-1] = fun; @@ -589,6 +593,8 @@ swfdec_action_call_method (JSContext *cx if (!JS_ValueToObject (cx, fp->sp[-2], &obj)) return JS_FALSE; + if (obj == NULL) + goto fail; if (s[0] == '\0') { fun = OBJECT_TO_JSVAL (obj); } else { @@ -600,6 +606,11 @@ swfdec_action_call_method (JSContext *cx fp->sp[-2] = OBJECT_TO_JSVAL (obj); swfdec_action_call (cx, n_args, 0); return JS_TRUE; + +fail: + fp->sp -= 2 + n_args; + fp->sp[-1] = JSVAL_VOID; + return JS_TRUE; } static JSBool diff-tree b6dcac3542c5de3b38b7505ea44be99c95b...
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi, this series improves virt-dib, adding some upstream changes, and refactoring the handling of output formats. Thanks, Pino Toscano (6): dib: clear up "already provided" message dib: add --checksum dib: pass custom mkfs options after the filesystem type dib: refactor output formats handling dib: clarify "output:" lines in --machine-readable documentation dib:
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...S_FALSE; fp->sp[-1] = fun; @@ -589,6 +593,8 @@ swfdec_action_call_method (JSContext *cx if (!JS_ValueToObject (cx, fp->sp[-2], &obj)) return JS_FALSE; + if (obj == NULL) + goto fail; if (s[0] == '\0') { fun = OBJECT_TO_JSVAL (obj); } else { @@ -600,6 +606,11 @@ swfdec_action_call_method (JSContext *cx fp->sp[-2] = OBJECT_TO_JSVAL (obj); swfdec_action_call (cx, n_args, 0); return JS_TRUE; + +fail: + fp->sp -= 2 + n_args; + fp->sp[-1] = JSVAL_VOID; + return JS_TRUE; } static JSBool diff-tree b6dcac3542c5de3b38b7505ea44be99c95b...