search for: tmp_list

Displaying 19 results from an estimated 19 matches for "tmp_list".

2007 May 17
1
[PATCH] ocfs: use list_for_each_entry where benefical
...orig/fs/ocfs2/dlm/dlmrecovery.c 2007-05-06 13:51:17.000000000 +0200 +++ linux-2.6/fs/ocfs2/dlm/dlmrecovery.c 2007-05-17 15:00:14.000000000 +0200 @@ -158,8 +158,7 @@ void dlm_dispatch_work(struct work_struc struct dlm_ctxt *dlm = container_of(work, struct dlm_ctxt, dispatched_work); LIST_HEAD(tmp_list); - struct list_head *iter, *iter2; - struct dlm_work_item *item; + struct dlm_work_item *item, *next; dlm_workfunc_t *workfunc; int tot=0; @@ -167,13 +166,12 @@ void dlm_dispatch_work(struct work_struc list_splice_init(&dlm->work_list, &tmp_list); spin_unlock(&dlm->work...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...to out; + } + + /* TODO: kick several balloon buffers at once */ + v->vq->vq_ops->kick(v->vq); +out: + spin_unlock_irq(&v->queue_lock); + atomic_inc(&v->inflight_bufs); + return err; +} + +static int kvm_balloon_inflate(struct virtballoon *v, int32_t npages) +{ + LIST_HEAD(tmp_list); + struct page *page, *tmp; + struct balloon_buf *buf; + u32 *pfn; + int allocated = 0; + int i, r = -ENOMEM; + + buf = alloc_balloon_buf(v->vdev, GFP_KERNEL); + if (!buf) + return r; + + pfn = (u32 *)&buf->data; + *pfn++ = (u32)npages; + + for (i = 0; i < npages; i++) { + page = al...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...to out; + } + + /* TODO: kick several balloon buffers at once */ + v->vq->vq_ops->kick(v->vq); +out: + spin_unlock_irq(&v->queue_lock); + atomic_inc(&v->inflight_bufs); + return err; +} + +static int kvm_balloon_inflate(struct virtballoon *v, int32_t npages) +{ + LIST_HEAD(tmp_list); + struct page *page, *tmp; + struct balloon_buf *buf; + u32 *pfn; + int allocated = 0; + int i, r = -ENOMEM; + + buf = alloc_balloon_buf(v->vdev, GFP_KERNEL); + if (!buf) + return r; + + pfn = (u32 *)&buf->data; + *pfn++ = (u32)npages; + + for (i = 0; i < npages; i++) { + page = al...
2008 Jan 08
1
[PATCH] kvm guest balloon driver
...r\n", __func__); + goto out; + } + atomic_inc(&virtballoon.inflight_bufs); + + /* TODO: kick several balloon buffers at once */ + vq->vq_ops->kick(vq); +out: + spin_unlock_irq(&balloon_queue_lock); + return err; +} + +static int kvm_balloon_inflate(int32_t npages) +{ + LIST_HEAD(tmp_list); + struct balloon_page *node, *tmp; + struct balloon_buf *buf; + u32 *pfn; + int allocated = 0; + int i, r = -ENOMEM; + + buf = alloc_balloon_buf(); + if (!buf) + return r; + + pfn = (u32 *)&buf->data; + *pfn++ = (u32)npages; + + for (i = 0; i < npages; i++) { + node = kzalloc(sizeof(s...
2008 Jan 08
1
[PATCH] kvm guest balloon driver
...r\n", __func__); + goto out; + } + atomic_inc(&virtballoon.inflight_bufs); + + /* TODO: kick several balloon buffers at once */ + vq->vq_ops->kick(vq); +out: + spin_unlock_irq(&balloon_queue_lock); + return err; +} + +static int kvm_balloon_inflate(int32_t npages) +{ + LIST_HEAD(tmp_list); + struct balloon_page *node, *tmp; + struct balloon_buf *buf; + u32 *pfn; + int allocated = 0; + int i, r = -ENOMEM; + + buf = alloc_balloon_buf(); + if (!buf) + return r; + + pfn = (u32 *)&buf->data; + *pfn++ = (u32)npages; + + for (i = 0; i < npages; i++) { + node = kzalloc(sizeof(s...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...ail(&buf->list, &pending_free_list); + spin_unlock_irqrestore(&list_lock, flags); + return; + +freebuf: kfree(buf); } -static struct port_buffer *alloc_buf(size_t buf_size) +static void reclaim_dma_bufs(void) +{ + unsigned long flags; + struct port_buffer *buf, *tmp; + LIST_HEAD(tmp_list); + + WARN_ON(irqs_disabled()); + if (list_empty(&pending_free_list)) + return; + + BUG_ON(!rproc_enabled); + + /* Create a copy of the pending_free_list while holding the lock*/ + spin_lock_irqsave(&list_lock, flags); + list_cut_position(&tmp_list, &pending_free_list, + pendin...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...ail(&buf->list, &pending_free_list); + spin_unlock_irqrestore(&list_lock, flags); + return; + +freebuf: kfree(buf); } -static struct port_buffer *alloc_buf(size_t buf_size) +static void reclaim_dma_bufs(void) +{ + unsigned long flags; + struct port_buffer *buf, *tmp; + LIST_HEAD(tmp_list); + + WARN_ON(irqs_disabled()); + if (list_empty(&pending_free_list)) + return; + + BUG_ON(!rproc_enabled); + + /* Create a copy of the pending_free_list while holding the lock*/ + spin_lock_irqsave(&list_lock, flags); + list_cut_position(&tmp_list, &pending_free_list, + pendin...
2012 Dec 12
2
[PATCHv9 0/2] virtio_console: Add rproc_serial driver
This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. NOTE: These two patches are identical to first two patches of the V8 patch-set, but are rebased to
2012 Dec 12
2
[PATCHv9 0/2] virtio_console: Add rproc_serial driver
This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. NOTE: These two patches are identical to first two patches of the V8 patch-set, but are rebased to
2012 Oct 30
5
[PATCHv8 0/3]virtio_console: Add rproc_serial driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. Changes since v7: - Rebased to
2012 Oct 30
5
[PATCHv8 0/3]virtio_console: Add rproc_serial driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. Changes since v7: - Rebased to
2012 Sep 25
5
[PATCHv6 0/3] virtio_console: Add rproc_serial device
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> I thought rebasing rproc_serial to linux-next was going to be trivial. But when starting the merge I realized that I had to refactor the the patches from Masami Hiramatsu. The splice support has the same issue as I faced, with different type of buffers in the out_vq. So I ended up refactoring the splice functionality. The code size
2012 Sep 25
5
[PATCHv6 0/3] virtio_console: Add rproc_serial device
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> I thought rebasing rproc_serial to linux-next was going to be trivial. But when starting the merge I realized that I had to refactor the the patches from Masami Hiramatsu. The splice support has the same issue as I faced, with different type of buffers in the out_vq. So I ended up refactoring the splice functionality. The code size
2012 Oct 15
7
[PATCHv7 0/4] virtio_console: Add rproc_serial driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. This patch-set is a rework of the
2012 Oct 15
7
[PATCHv7 0/4] virtio_console: Add rproc_serial driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling. This patch-set is a rework of the
2007 Dec 02
2
[Bug 13491] New: 5min.com player causes assertion
...t; #17 0x00002af7ef2ca397 in IA__g_main_loop_run (loop=0x11be8c0) at gmain.c:2898 got_ownership = <value optimized out> self = (GThread *) 0x730080 __PRETTY_FUNCTION__ = "IA__g_main_loop_run" #18 0x00002af7ecf74bc3 in IA__gtk_main () at gtkmain.c:1146 tmp_list = (GList *) 0x79d070 functions = (GList *) 0x0 init = (GtkInitFunction *) 0x78b540 loop = (GMainLoop *) 0x11be8c0 #19 0x000000000043eedc in main (argc=<value optimized out>, argv=0x7fffbf5db288) at ephy-main.c:723 uri = <value optimized out>...
2009 Jan 30
8
[PATCH 0/7] ocfs2: Directory indexing support
The following patches implement indexed directory support in Ocfs2, mostly according to the design doc I wrote up a while ago: http://oss.oracle.com/osswiki/OCFS2/DesignDocs/IndexedDirectories The patches have been rebased on top of 2.6.29-rc2. It should be trivial to put them into merge_window. Things are what I'd call complete now. I'd like to get these into the merge_window branch
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am