Re: [FSAIO][PATCH 3/8] Routines to initialize and test a wait bit key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Dec 2006 14:09:00 +0530
Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:

> +#define init_wait_bit_key(waitbit, word, bit)				\
> +	do {								\
> +		(waitbit)->key.flags = word;				\
> +		(waitbit)->key.bit_nr = bit;				\
> +	} while (0)
> +
> +#define init_wait_bit_task(waitbit, tsk)				\
> +	do {								\
> +		(waitbit)->wait.private = tsk;				\
> +		(waitbit)->wait.func = wake_bit_function;		\
> +		INIT_LIST_HEAD(&(waitbit)->wait.task_list);		\
> +	} while (0)

Can we convert these to C functions (inlined or regular, probably inlined
would be better)?
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux