Displaying 2 results from an estimated 2 matches for "__padding".
Did you mean:
_padding
2011 May 30
1
64-bit FLAC structure sizes and padding
...with compiler default 8 byte boundary alignment.
Now consider this:
typedef struct {
FLAC__uint32 length;
FLAC__byte *entry;
} FLAC__StreamMetadata_VorbisComment_Entry;
The compiler (with default settings) should interpret this as
typedef struct {
FLAC__uint32 length;
uint32_t __padding;
FLAC__byte *entry;
} FLAC__StreamMetadata_VorbisComment_Entry;
Sizeof structure: 32-bit - 8 bytes, 64-bit - 16 bytes
How on earth does the compiler find entry correctly when reading (it does,
but how)?
What happens if I edit a vorbis comment/insert a new one when structure size
is doubled?...
2009 Jan 28
2
[PATCH] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
Al, Could this be included in the vfs queue?
This patch adds ioctls to vfs for compatibility with legacy XFS
pre-allocation ioctls (XFS_IOC_*RESVP*). The implementation
effectively invokes sys_fallocate for the new ioctls.
Also handles the compat_ioctl case.
Note: These legacy ioctls are also implemented by OCFS2.
Signed-off-by: Ankit Jain <me at ankitjain.org>
Reviewed-by: Christoph