flag specifications for structs

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

 



Hello fellow kernel hackers,

I am currently considering tackling the following item
from the TODO list in the drivers/staging/exfat directory:

	Fix (thing)->flags to not use magic numbers - multiple
	offenders

I am having some difficulty figuring out what the flag bits
of the following two structs, defined in exfat.h, mean:
	
	/* directory structure */
	struct chain_t {
		u32      dir;
		s32       size;
		u8       flags;
	};

	struct file_id_t {
		struct chain_t     dir;
		s32       entry;
		u32      type;
		u32      attr;
		u32      start_clu;
		u64      size;
		u8       flags;
		s64       rwoffset;
		s32       hint_last_off;
		u32      hint_last_clu;
	};

Are the bit specifications defined somewhere in the
linux kernel or online? Any guidance on how to go about figuring 
them out would be much appreciated.  



[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