Displaying 12 results from an estimated 12 matches for "io_condit".
Did you mean:
io_cond
2004 Aug 23
1
[PATCH] pass struct io * to io_loop_handle_add()/io_loop_handle_remove()
...e/dontdiff dovecot-1.0-test32.vanilla/src/lib/ioloop.c dovecot-1.0-test32/src/lib/ioloop.c
--- dovecot-1.0-test32.vanilla/src/lib/ioloop.c 2004-06-24 12:14:14.000000000 +0400
+++ dovecot-1.0-test32/src/lib/ioloop.c 2004-08-21 18:04:35.000000000 +0400
@@ -56,7 +56,7 @@ struct io *io_add(int fd, enum io_condit
if (io->fd > current_ioloop->highest_fd)
current_ioloop->highest_fd = io->fd;
- io_loop_handle_add(current_ioloop, io->fd, io->condition);
+ io_loop_handle_add(current_ioloop, io);
/* have to append it, or io_destroy() breaks */
io_p = ¤t_ioloop-&g...
2005 Dec 15
2
Patch: More of kqueue() support.
...gt;pool, ioloop->handler_context);
@@ -66,8 +70,8 @@ void io_loop_handle_add(struct ioloop *i
{
struct ioloop_handler_context *ctx = ioloop->handler_context;
const int fd = io->fd;
- struct kevent ev = {fd, 0, EV_ADD | EV_CLEAR | EV_EOF, 0, 0, NULL};
- enum io_condition condition = io->condition;
+ struct kevent ev = { fd, 0, EV_ADD | EV_EOF, 0, 0, NULL };
+ enum io_condition condition = io->condition & MASK;
/* grow ctx->fds array if necessary */
if ((size_t)fd >= ctx->fds_size) {
@@ -103,10 +107,10 @@ void...
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
...p_free(ioloop->pool, ioloop->handler_context);
+}
+
+
+void io_loop_handle_add(struct ioloop *ioloop, struct io *io)
+{
+ struct ioloop_handler_context *ctx = ioloop->handler_context;
+ struct kevent ev = {io->fd, 0, EV_ADD | EV_CLEAR | EV_EOF, 0, 0, io};
+ enum io_condition condition = io->condition;
+
+ /* grow ctx->fds array if necessary */
+ if ((size_t)io->fd >= ctx->fds_size) {
+ size_t old_size = ctx->fds_size;
+
+ ctx->fds_size = nearest_power((unsigned int)io->fd+1);
+ i_asse...
2004 Aug 25
0
[PATCH] move highest_fd calculations to ioloop-select.c
...ioloop->ios; io != NULL; io = io->next) {
- if (!io->destroyed && io->fd > ioloop->highest_fd) {
- ioloop->highest_fd = io->fd;
-
- if (ioloop->highest_fd == max_highest_fd)
- break;
- }
- }
-}
-
struct io *io_add(int fd, enum io_condition condition,
io_callback_t *callback, void *context)
{
@@ -53,9 +35,6 @@ struct io *io_add(int fd, enum io_condit
io->callback = callback;
io->context = context;
- if (io->fd > current_ioloop->highest_fd)
- current_ioloop->highest_fd = io->fd;
-
io_loop_h...
2006 May 09
2
Fix for the kevent "Unrecognized event" problem.
The attached patch should fix the problem with dying imap on
"Unrecognized event". The problem is that when we register a handle for
IO_ERROR only, we still can get readable/writable event without EV_EOF
being set. This case was not handled.
--
Vaclav Haisman
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: io-kq.diff
URL:
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
Also make nv_lockvgac work for nv50+ devices. This should fix IO_CONDITION and
related VBIOS opcodes that read/write the crtc regs.
See https://bugs.freedesktop.org/show_bug.cgi?id=60680
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Ben, is this what you had in mind? I haven't gotten a chance to test this yet
since your tree doesn't build ag...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...veau'. As you can see, there's no real change.
On Sun, Jan 19, 2014 at 5:14 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Sun, Jan 19, 2014 at 4:18 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> Also make nv_lockvgac work for nv50+ devices. This should fix IO_CONDITION and
>> related VBIOS opcodes that read/write the crtc regs.
>>
>> See https://bugs.freedesktop.org/show_bug.cgi?id=60680
>>
>> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
>> ---
>>
>> Ben, is this what you had in mind? I haven't...
2014 Oct 06
21
[Bug 84706] New: [NV94] HDMI Connected, but TV reports "no signal"
https://bugs.freedesktop.org/show_bug.cgi?id=84706
Bug ID: 84706
Summary: [NV94] HDMI Connected, but TV reports "no signal"
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
On Sun, Jan 19, 2014 at 4:18 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Also make nv_lockvgac work for nv50+ devices. This should fix IO_CONDITION and
> related VBIOS opcodes that read/write the crtc regs.
>
> See https://bugs.freedesktop.org/show_bug.cgi?id=60680
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>
> Ben, is this what you had in mind? I haven't gotten a chance to test this yet...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...can see, there's no real change.
>
> On Sun, Jan 19, 2014 at 5:14 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> On Sun, Jan 19, 2014 at 4:18 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>> Also make nv_lockvgac work for nv50+ devices. This should fix IO_CONDITION and
>>> related VBIOS opcodes that read/write the crtc regs.
>>>
>>> See https://bugs.freedesktop.org/show_bug.cgi?id=60680
>>>
>>> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
>>> ---
>>>
>>> Ben, is this what...
2013 Feb 11
24
[Bug 60680] New: HDMI is connected and has mode, TV says "no signal"
https://bugs.freedesktop.org/show_bug.cgi?id=60680
Priority: medium
Bug ID: 60680
Assignee: nouveau at lists.freedesktop.org
Summary: HDMI is connected and has mode, TV says "no signal"
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter:
2011 Jun 08
38
[Bug 38074] New: Dual head doesn't work for some combination of monitors (second screen still off)
https://bugs.freedesktop.org/show_bug.cgi?id=38074
Summary: Dual head doesn't work for some combination of
monitors (second screen still off)
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: