Displaying 8 results from an estimated 8 matches for "__uint16_t".
2006 Oct 17
6
[PATCH 3/3] Add support for OpenBSD
Hi!
This is the third and last patch.
This patch makes the xen kernel buildable on OpenBSD by adding support for
ProPolice. ProPolice has been added to standard GCC in version 4.1.x under
the name Stack Smashing Protection (SSP).
Cheers
Christoph
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2020 Jul 17
2
hardlinks
Il 17/07/20 10:54, Karl Vogel ha scritto:
> It depends on the size of the variables in the structure used by the
> stat() call. In ext4, the "links" variable is an unsigned 16-bit integer,
> so you have your limit of 64k or so. I've worked with systems where
> the limit was a signed 16-bit integer, so it maxed out at 32k.
>
> XFS may be a full 32-bit integer, so
2013 Dec 01
0
[PATCH v2 4/4] efi: PE file size differ from in-memory size
..._pe32p.rva_and_sizes_nr = sizeof(e_hdr_pe32p.data_directory) / sizeof(__uint64_t);
@@ -161,17 +161,16 @@ static void usage(char *progname)
int main(int argc, char **argv)
{
- struct stat st;
Elf32_Ehdr e32_hdr;
Elf64_Ehdr e64_hdr;
__uint32_t entry;
__uint8_t class;
- __uint64_t shoff;
- __uint16_t shnum, shentsize, shstrndx;
+ __uint64_t phoff = 0;
+ __uint16_t phnum = 0, phentsize = 0;
unsigned char *id;
FILE *f_in, *f_out;
void *buf;
- size_t datasz, rv;
+ size_t datasz, memsz, rv;
if (argc < 3) {
usage(argv[0]);
@@ -184,11 +183,6 @@ int main(int argc, char **argv)
exit(...
2013 Nov 27
0
[PATCH 4/4] efi: PE file size differ from in-memory size
..._pe32p.rva_and_sizes_nr = sizeof(e_hdr_pe32p.data_directory) / sizeof(__uint64_t);
@@ -157,17 +157,16 @@ static void usage(char *progname)
int main(int argc, char **argv)
{
- struct stat st;
Elf32_Ehdr e32_hdr;
Elf64_Ehdr e64_hdr;
__uint32_t entry;
__uint8_t class;
- __uint64_t shoff;
- __uint16_t shnum, shentsize, shstrndx;
+ __uint64_t phoff = 0;
+ __uint16_t phnum = 0, phentsize = 0;
unsigned char *id;
FILE *f_in, *f_out;
void *buf;
- size_t datasz, rv;
+ size_t datasz, memsz, rv;
if (argc < 3) {
usage(argv[0]);
@@ -180,11 +179,6 @@ int main(int argc, char **argv)
exit(...
2020 Jul 17
0
hardlinks
...____________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
Have a look at
https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/docs/xfs_filesystem_structure.pdf
On page 105 the inode structure is given:
__uint16_t di_onlink;
...
__uint32_t di_nlink
Page 107 gives more detail:
di_onlink:
In v1 inodes, this specifies the number of links to the inode from
directories. When the number exceeds 65535,the inode is converted to v2
and the link count is stored in di_nlink.
di_nlink:
Specifies the number of links...
2013 Nov 27
20
[PATCH 0/4] efi: PE header generation fix
The PE headers of the generated efi file were quite buggy. And since OVMF
perform a few consistency checks, syslinux was unable to run on it. I don't
pretend to have a thorough understanding of the PE+ headers, some bugs may
remain. :)
Celelibi (4):
efi: Fix PE header field rva_and_sizes_nr
efi: Location, size and alignment of .text section
efi: Useless relocations in PE file
efi: PE
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...;;
typedef long unsigned int size_t;
typedef unsigned char __u_char;
typedef unsigned short int __u_short;
typedef unsigned int __u_int;
typedef unsigned long int __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
typedef unsigned long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
ty...