aops.h (27eb2c4b3d3e13f376a359e293c212a2e9407af5) | aops.h (c18ceab01240fd4c354b78d877571b729908e4a3) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * Copyright (C) 2002, 2004, 2005 Oracle. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public 8 * License as published by the Free Software Foundation; either --- 88 unchanged lines hidden (view full) --- 97 98#define ocfs2_iocb_set_unaligned_aio(iocb) \ 99 set_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 100#define ocfs2_iocb_clear_unaligned_aio(iocb) \ 101 clear_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 102#define ocfs2_iocb_is_unaligned_aio(iocb) \ 103 test_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 104 | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * Copyright (C) 2002, 2004, 2005 Oracle. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public 8 * License as published by the Free Software Foundation; either --- 88 unchanged lines hidden (view full) --- 97 98#define ocfs2_iocb_set_unaligned_aio(iocb) \ 99 set_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 100#define ocfs2_iocb_clear_unaligned_aio(iocb) \ 101 clear_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 102#define ocfs2_iocb_is_unaligned_aio(iocb) \ 103 test_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private) 104 |
105#define OCFS2_IOEND_WQ_HASH_SZ 37 106#define ocfs2_ioend_wq(v) (&ocfs2__ioend_wq[((unsigned long)(v)) %\ 107 OCFS2_IOEND_WQ_HASH_SZ]) 108extern wait_queue_head_t ocfs2__ioend_wq[OCFS2_IOEND_WQ_HASH_SZ]; 109 | |
110#endif /* OCFS2_FILE_H */ | 105#endif /* OCFS2_FILE_H */ |