Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
79e75677
Commit
79e75677
authored
Nov 23, 2007
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import 2.4.0-test4pre4
parent
5733013c
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
488 additions
and
490 deletions
+488
-490
CREDITS
CREDITS
+1
-0
MAINTAINERS
MAINTAINERS
+7
-0
arch/alpha/boot/tools/objstrip.c
arch/alpha/boot/tools/objstrip.c
+1
-1
arch/ia64/boot/bootloader.c
arch/ia64/boot/bootloader.c
+1
-1
arch/mips64/kernel/binfmt_elf32.c
arch/mips64/kernel/binfmt_elf32.c
+1
-1
arch/sparc/defconfig
arch/sparc/defconfig
+1
-1
arch/sparc/kernel/process.c
arch/sparc/kernel/process.c
+1
-1
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/sparc_ksyms.c
+4
-4
arch/sparc64/defconfig
arch/sparc64/defconfig
+11
-11
arch/sparc64/kernel/binfmt_elf32.c
arch/sparc64/kernel/binfmt_elf32.c
+1
-1
arch/sparc64/solaris/timod.c
arch/sparc64/solaris/timod.c
+10
-27
drivers/char/pcmcia/Config.in
drivers/char/pcmcia/Config.in
+3
-3
drivers/usb/bluetooth.c
drivers/usb/bluetooth.c
+8
-1
fs/ncpfs/sock.c
fs/ncpfs/sock.c
+15
-16
fs/select.c
fs/select.c
+19
-11
include/asm-ia64/ia32.h
include/asm-ia64/ia32.h
+1
-1
include/asm-s390/elf.h
include/asm-s390/elf.h
+1
-1
include/asm-sparc/asm_offsets.h
include/asm-sparc/asm_offsets.h
+152
-152
include/asm-sparc/elf.h
include/asm-sparc/elf.h
+1
-1
include/asm-sparc64/asm_offsets.h
include/asm-sparc64/asm_offsets.h
+234
-234
include/linux/poll.h
include/linux/poll.h
+6
-15
kernel/ksyms.c
kernel/ksyms.c
+1
-0
mm/memory.c
mm/memory.c
+4
-4
net/core/netfilter.c
net/core/netfilter.c
+1
-1
net/ipv6/reassembly.c
net/ipv6/reassembly.c
+1
-1
net/sched/sch_cbq.c
net/sched/sch_cbq.c
+2
-1
No files found.
CREDITS
View file @
79e75677
...
@@ -1387,6 +1387,7 @@ E: greg@kroah.com
...
@@ -1387,6 +1387,7 @@ E: greg@kroah.com
W: http://www.kroah.com/linux-usb/
W: http://www.kroah.com/linux-usb/
D: USB Serial Converter driver framework, USB Handspring Visor driver
D: USB Serial Converter driver framework, USB Handspring Visor driver
D: ConnectTech WHITEHeat USB driver, Generic USB Serial driver
D: ConnectTech WHITEHeat USB driver, Generic USB Serial driver
D: USB Bluetooth driver
D: bits and pieces of USB core code.
D: bits and pieces of USB core code.
N: Russell Kroll
N: Russell Kroll
...
...
MAINTAINERS
View file @
79e75677
...
@@ -1159,6 +1159,13 @@ M: vojtech@suse.cz
...
@@ -1159,6 +1159,13 @@ M: vojtech@suse.cz
L: linux-usb@suse.com
L: linux-usb@suse.com
S: Supported
S: Supported
USB BLUETOOTH DRIVER
P: Greg Kroah-Hartman
M: greg@kroah.com
L: linux-usb@suse.com
S: Maintained
W: http://www.kroah.com/linux-usb/
USB HID/HIDBP/INPUT DRIVERS
USB HID/HIDBP/INPUT DRIVERS
P: Vojtech Pavlik
P: Vojtech Pavlik
M: vojtech@suse.cz
M: vojtech@suse.cz
...
...
arch/alpha/boot/tools/objstrip.c
View file @
79e75677
...
@@ -150,7 +150,7 @@ main (int argc, char *argv[])
...
@@ -150,7 +150,7 @@ main (int argc, char *argv[])
prog_name
,
inname
);
prog_name
,
inname
);
exit
(
1
);
exit
(
1
);
}
}
if
(
!
elf_check_arch
(
elf
->
e_machine
))
{
if
(
!
elf_check_arch
(
elf
))
{
fprintf
(
stderr
,
"%s: is not for this processor (e_machine=%d)
\n
"
,
fprintf
(
stderr
,
"%s: is not for this processor (e_machine=%d)
\n
"
,
prog_name
,
elf
->
e_machine
);
prog_name
,
elf
->
e_machine
);
exit
(
1
);
exit
(
1
);
...
...
arch/ia64/boot/bootloader.c
View file @
79e75677
...
@@ -157,7 +157,7 @@ _start (void)
...
@@ -157,7 +157,7 @@ _start (void)
cons_write
(
"not an ELF executable
\n
"
);
cons_write
(
"not an ELF executable
\n
"
);
return
;
return
;
}
}
if
(
!
elf_check_arch
(
elf
->
e_machine
))
{
if
(
!
elf_check_arch
(
elf
))
{
cons_write
(
"kernel not for this processor
\n
"
);
cons_write
(
"kernel not for this processor
\n
"
);
return
;
return
;
}
}
...
...
arch/mips64/kernel/binfmt_elf32.c
View file @
79e75677
...
@@ -28,7 +28,7 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
...
@@ -28,7 +28,7 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef
double
elf_fpreg_t
;
typedef
double
elf_fpreg_t
;
typedef
elf_fpreg_t
elf_fpregset_t
[
ELF_NFPREG
];
typedef
elf_fpreg_t
elf_fpregset_t
[
ELF_NFPREG
];
#define elf_check_arch(x) ((x)
== EM_MIPS || (x)
== EM_MIPS_RS4_BE)
#define elf_check_arch(x) ((x)
->e_machine == EM_MIPS || (x)->e_machine
== EM_MIPS_RS4_BE)
#define TASK32_SIZE 0x80000000UL
#define TASK32_SIZE 0x80000000UL
#undef ELF_ET_DYN_BASE
#undef ELF_ET_DYN_BASE
...
...
arch/sparc/defconfig
View file @
79e75677
...
@@ -300,7 +300,7 @@ CONFIG_NFSD=m
...
@@ -300,7 +300,7 @@ CONFIG_NFSD=m
CONFIG_SUNRPC=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD=y
CONFIG_SMB_FS=m
CONFIG_SMB_FS=m
CONFIG_NCP_FS=m
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_STRONG is not set
...
...
arch/sparc/kernel/process.c
View file @
79e75677
/* $Id: process.c,v 1.15
0 2000/07/11 18:49:22 anton
Exp $
/* $Id: process.c,v 1.15
1 2000/07/11 23:22:17 davem
Exp $
* linux/arch/sparc/kernel/process.c
* linux/arch/sparc/kernel/process.c
*
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
...
...
arch/sparc/kernel/sparc_ksyms.c
View file @
79e75677
/* $Id: sparc_ksyms.c,v 1.10
0 2000/07/07 07:49:08
anton Exp $
/* $Id: sparc_ksyms.c,v 1.10
1 2000/07/12 00:25:32
anton Exp $
* arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
* arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
*
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
...
@@ -19,6 +19,9 @@
...
@@ -19,6 +19,9 @@
#include <linux/in6.h>
#include <linux/in6.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/mm.h>
#ifdef CONFIG_PCI
#include <linux/pci.h>
#endif
#include <asm/oplib.h>
#include <asm/oplib.h>
#include <asm/delay.h>
#include <asm/delay.h>
...
@@ -42,9 +45,6 @@
...
@@ -42,9 +45,6 @@
#include <asm/sbus.h>
#include <asm/sbus.h>
#include <asm/dma.h>
#include <asm/dma.h>
#endif
#endif
#ifdef CONFIG_PCI
#include <asm/pci.h>
#endif
#include <asm/a.out.h>
#include <asm/a.out.h>
#include <asm/io-unit.h>
#include <asm/io-unit.h>
...
...
arch/sparc64/defconfig
View file @
79e75677
...
@@ -437,17 +437,17 @@ CONFIG_SUNRPC=y
...
@@ -437,17 +437,17 @@ CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
CONFIG_SMB_FS=m
CONFIG_NCP_FS=m
# CONFIG_NCP_FS is not set
CONFIG_NCPFS_PACKET_SIGNING=y
# CONFIG_NCPFS_PACKET_SIGNING is not set
CONFIG_NCPFS_IOCTL_LOCKING=y
# CONFIG_NCPFS_IOCTL_LOCKING is not set
CONFIG_NCPFS_STRONG=y
# CONFIG_NCPFS_STRONG is not set
CONFIG_NCPFS_NFS_NS=y
# CONFIG_NCPFS_NFS_NS is not set
CONFIG_NCPFS_OS2_NS=y
# CONFIG_NCPFS_OS2_NS is not set
CONFIG_NCPFS_SMALLDOS=y
# CONFIG_NCPFS_SMALLDOS is not set
CONFIG_NCPFS_MOUNT_SUBDIR=y
# CONFIG_NCPFS_MOUNT_SUBDIR is not set
CONFIG_NCPFS_NDS_DOMAINS=y
# CONFIG_NCPFS_NDS_DOMAINS is not set
CONFIG_NCPFS_NLS=y
# CONFIG_NCPFS_NLS is not set
CONFIG_NCPFS_EXTRAS=y
# CONFIG_NCPFS_EXTRAS is not set
#
#
# Partition Types
# Partition Types
...
...
arch/sparc64/kernel/binfmt_elf32.c
View file @
79e75677
...
@@ -79,7 +79,7 @@ typedef struct {
...
@@ -79,7 +79,7 @@ typedef struct {
}
pr_un
;
}
pr_un
;
}
elf_xregset_t
;
}
elf_xregset_t
;
#define elf_check_arch(x) (((x)
== EM_SPARC) || ((x)
== EM_SPARC32PLUS))
#define elf_check_arch(x) (((x)
->e_machine == EM_SPARC) || ((x)->e_machine
== EM_SPARC32PLUS))
#define ELF_ET_DYN_BASE 0x08000000
#define ELF_ET_DYN_BASE 0x08000000
...
...
arch/sparc64/solaris/timod.c
View file @
79e75677
/* $Id: timod.c,v 1.
7 2000/06/09 07:35:30
davem Exp $
/* $Id: timod.c,v 1.
8 2000/07/12 00:51:06
davem Exp $
* timod.c: timod emulation.
* timod.c: timod emulation.
*
*
* Copyright (C) 1998 Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz)
* Copyright (C) 1998 Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz)
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/ioctl.h>
#include <linux/ioctl.h>
#include <linux/fs.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/netdevice.h>
#include <linux/netdevice.h>
#include <linux/poll.h>
#include <linux/poll.h>
...
@@ -619,22 +620,6 @@ int timod_putmsg(unsigned int fd, char *ctl_buf, int ctl_len,
...
@@ -619,22 +620,6 @@ int timod_putmsg(unsigned int fd, char *ctl_buf, int ctl_len,
return
-
EINVAL
;
return
-
EINVAL
;
}
}
/* copied directly from fs/select.c */
static
void
free_wait
(
poll_table
*
p
)
{
struct
poll_table_entry
*
entry
=
p
->
entry
+
p
->
nr
;
SOLD
(
"entry"
);
while
(
p
->
nr
>
0
)
{
p
->
nr
--
;
entry
--
;
remove_wait_queue
(
entry
->
wait_address
,
&
entry
->
wait
);
}
SOLD
(
"done"
);
}
int
timod_getmsg
(
unsigned
int
fd
,
char
*
ctl_buf
,
int
ctl_maxlen
,
s32
*
ctl_len
,
int
timod_getmsg
(
unsigned
int
fd
,
char
*
ctl_buf
,
int
ctl_maxlen
,
s32
*
ctl_len
,
char
*
data_buf
,
int
data_maxlen
,
s32
*
data_len
,
int
*
flags_p
)
char
*
data_buf
,
int
data_maxlen
,
s32
*
data_len
,
int
*
flags_p
)
{
{
...
@@ -670,14 +655,8 @@ int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len,
...
@@ -670,14 +655,8 @@ int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len,
}
}
if
(
!
(
filp
->
f_flags
&
O_NONBLOCK
))
{
if
(
!
(
filp
->
f_flags
&
O_NONBLOCK
))
{
poll_table
wait_table
,
*
wait
;
poll_table
wait_table
,
*
wait
;
struct
poll_table_entry
*
entry
;
SOLD
(
"getting poll_table"
);
poll_initwait
(
&
wait_table
);
entry
=
(
struct
poll_table_entry
*
)
__get_free_page
(
GFP_KERNEL
);
if
(
!
entry
)
return
-
ENOMEM
;
SOLD
(
"got one"
);
wait_table
.
nr
=
0
;
wait_table
.
entry
=
entry
;
wait
=
&
wait_table
;
wait
=
&
wait_table
;
for
(;;)
{
for
(;;)
{
SOLD
(
"loop"
);
SOLD
(
"loop"
);
...
@@ -705,13 +684,17 @@ int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len,
...
@@ -705,13 +684,17 @@ int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len,
SOLD
(
"avoiding lockup"
);
SOLD
(
"avoiding lockup"
);
break
;
break
;
}
}
if
(
wait_table
.
error
)
{
SOLD
(
"wait-table error"
);
poll_freewait
(
&
wait_table
);
return
wait_table
.
error
;
}
SOLD
(
"scheduling"
);
SOLD
(
"scheduling"
);
schedule
();
schedule
();
}
}
SOLD
(
"loop done"
);
SOLD
(
"loop done"
);
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
free_wait
(
&
wait_table
);
poll_freewait
(
&
wait_table
);
free_page
((
unsigned
long
)
entry
);
if
(
signal_pending
(
current
))
{
if
(
signal_pending
(
current
))
{
SOLD
(
"signal pending"
);
SOLD
(
"signal pending"
);
return
-
EINTR
;
return
-
EINTR
;
...
...
drivers/char/pcmcia/Config.in
View file @
79e75677
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
#
#
if [ "$CONFIG_SERIAL" = "n" ]; then
if [ "$CONFIG_SERIAL" = "n" ]; then
define_
bool
CONFIG_PCMCIA_SERIAL n
define_
tristate
CONFIG_PCMCIA_SERIAL n
else
else
if [ "$CONFIG_SERIAL" = "m" -o "$CONFIG_PCMCIA" = "m" ]; then
if [ "$CONFIG_SERIAL" = "m" -o "$CONFIG_PCMCIA" = "m" ]; then
define_
bool
CONFIG_PCMCIA_SERIAL m
define_
tristate
CONFIG_PCMCIA_SERIAL m
else
else
define_
bool
CONFIG_PCMCIA_SERIAL y
define_
tristate
CONFIG_PCMCIA_SERIAL y
fi
fi
fi
fi
...
...
drivers/usb/bluetooth.c
View file @
79e75677
/*
/*
* bluetooth.c Version 0.
1
* bluetooth.c Version 0.
2
*
*
* Copyright (c) 2000 Greg Kroah-Hartman <greg@kroah.com>
* Copyright (c) 2000 Greg Kroah-Hartman <greg@kroah.com>
*
*
* USB Bluetooth driver, based on the Bluetooth Spec version 1.0B
* USB Bluetooth driver, based on the Bluetooth Spec version 1.0B
*
*
*
*
* (07/11/2000) Version 0.2 gkh
* Fixed a small bug found by Nils Faerber in the usb_bluetooth_probe
* function.
*
* (07/09/2000) Version 0.1 gkh
* (07/09/2000) Version 0.1 gkh
* Initial release. Has support for sending ACL data (which is really just
* Initial release. Has support for sending ACL data (which is really just
* a HCI frame.) Raw HCI commands and HCI events are not supported.
* a HCI frame.) Raw HCI commands and HCI events are not supported.
...
@@ -619,6 +623,7 @@ static void * usb_bluetooth_probe(struct usb_device *dev, unsigned int ifnum)
...
@@ -619,6 +623,7 @@ static void * usb_bluetooth_probe(struct usb_device *dev, unsigned int ifnum)
memset
(
bluetooth
,
0
,
sizeof
(
struct
usb_bluetooth
));
memset
(
bluetooth
,
0
,
sizeof
(
struct
usb_bluetooth
));
bluetooth
->
magic
=
USB_BLUETOOTH_MAGIC
;
bluetooth
->
dev
=
dev
;
bluetooth
->
dev
=
dev
;
bluetooth
->
minor
=
minor
;
bluetooth
->
minor
=
minor
;
bluetooth
->
tqueue
.
routine
=
bluetooth_softint
;
bluetooth
->
tqueue
.
routine
=
bluetooth_softint
;
...
@@ -676,6 +681,8 @@ static void * usb_bluetooth_probe(struct usb_device *dev, unsigned int ifnum)
...
@@ -676,6 +681,8 @@ static void * usb_bluetooth_probe(struct usb_device *dev, unsigned int ifnum)
tty_register_devfs
(
&
bluetooth_tty_driver
,
0
,
minor
);
tty_register_devfs
(
&
bluetooth_tty_driver
,
0
,
minor
);
info
(
"Bluetooth converter now attached to ttyBLUE%d (or usb/ttblue/%d for devfs)"
,
minor
,
minor
);
info
(
"Bluetooth converter now attached to ttyBLUE%d (or usb/ttblue/%d for devfs)"
,
minor
,
minor
);
bluetooth_table
[
minor
]
=
bluetooth
;
return
bluetooth
;
/* success */
return
bluetooth
;
/* success */
probe_error:
probe_error:
...
...
fs/ncpfs/sock.c
View file @
79e75677
...
@@ -87,7 +87,6 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
...
@@ -87,7 +87,6 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
int
result
;
int
result
;
char
*
start
=
server
->
packet
;
char
*
start
=
server
->
packet
;
poll_table
wait_table
;
poll_table
wait_table
;
struct
poll_table_entry
entry
;
int
init_timeout
,
max_timeout
;
int
init_timeout
,
max_timeout
;
int
timeout
;
int
timeout
;
int
retrans
;
int
retrans
;
...
@@ -136,8 +135,7 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
...
@@ -136,8 +135,7 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
break
;
break
;
}
}
re_select:
re_select:
wait_table
.
nr
=
0
;
poll_initwait
(
&
wait_table
);
wait_table
.
entry
=
&
entry
;
/* mb() is not necessary because ->poll() will serialize
/* mb() is not necessary because ->poll() will serialize
instructions adding the wait_table waitqueues in the
instructions adding the wait_table waitqueues in the
waitqueue-head before going to calculate the mask-retval. */
waitqueue-head before going to calculate the mask-retval. */
...
@@ -154,13 +152,16 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
...
@@ -154,13 +152,16 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
timeout
=
max_timeout
;
timeout
=
max_timeout
;
}
}
timed_out
=
!
schedule_timeout
(
timeout
);
timed_out
=
!
schedule_timeout
(
timeout
);
remove_wait_queue
(
entry
.
wait_address
,
&
entry
.
wait
);
poll_freewait
(
&
wait_table
);
fput
(
file
);
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
if
(
signal_pending
(
current
))
{
if
(
signal_pending
(
current
))
{
result
=
-
ERESTARTSYS
;
result
=
-
ERESTARTSYS
;
break
;
break
;
}
}
if
(
wait_table
.
error
)
{
result
=
wait_table
.
error
;
break
;
}
if
(
timed_out
)
{
if
(
timed_out
)
{
if
(
n
<
retrans
)
if
(
n
<
retrans
)
continue
;
continue
;
...
@@ -179,9 +180,8 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
...
@@ -179,9 +180,8 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
major_timeout_seen
=
1
;
major_timeout_seen
=
1
;
continue
;
continue
;
}
}
}
else
if
(
wait_table
.
nr
)
{
}
else
{
remove_wait_queue
(
entry
.
wait_address
,
&
entry
.
wait
);
poll_freewait
(
&
wait_table
);
fput
(
file
);
}
}
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
...
@@ -262,7 +262,6 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
...
@@ -262,7 +262,6 @@ static int do_ncp_rpc_call(struct ncp_server *server, int size,
static
int
do_tcp_rcv
(
struct
ncp_server
*
server
,
void
*
buffer
,
size_t
len
)
{
static
int
do_tcp_rcv
(
struct
ncp_server
*
server
,
void
*
buffer
,
size_t
len
)
{
poll_table
wait_table
;
poll_table
wait_table
;
struct
poll_table_entry
entry
;
struct
file
*
file
;
struct
file
*
file
;
struct
socket
*
sock
;
struct
socket
*
sock
;
int
init_timeout
;
int
init_timeout
;
...
@@ -281,16 +280,14 @@ static int do_tcp_rcv(struct ncp_server *server, void *buffer, size_t len) {
...
@@ -281,16 +280,14 @@ static int do_tcp_rcv(struct ncp_server *server, void *buffer, size_t len) {
init_timeout
=
0x7FFF0000
;
init_timeout
=
0x7FFF0000
;
while
(
len
)
{
while
(
len
)
{
wait_table
.
nr
=
0
;
poll_initwait
(
&
wait_table
);
wait_table
.
entry
=
&
entry
;
/* mb() is not necessary because ->poll() will serialize
/* mb() is not necessary because ->poll() will serialize
instructions adding the wait_table waitqueues in the
instructions adding the wait_table waitqueues in the
waitqueue-head before going to calculate the mask-retval. */
waitqueue-head before going to calculate the mask-retval. */
__set_current_state
(
TASK_INTERRUPTIBLE
);
__set_current_state
(
TASK_INTERRUPTIBLE
);
if
(
!
(
sock
->
ops
->
poll
(
file
,
sock
,
&
wait_table
)
&
POLLIN
))
{
if
(
!
(
sock
->
ops
->
poll
(
file
,
sock
,
&
wait_table
)
&
POLLIN
))
{
init_timeout
=
schedule_timeout
(
init_timeout
);
init_timeout
=
schedule_timeout
(
init_timeout
);
remove_wait_queue
(
entry
.
wait_address
,
&
entry
.
wait
);
poll_freewait
(
&
wait_table
);
fput
(
file
);
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
if
(
signal_pending
(
current
))
{
if
(
signal_pending
(
current
))
{
return
-
ERESTARTSYS
;
return
-
ERESTARTSYS
;
...
@@ -298,9 +295,11 @@ static int do_tcp_rcv(struct ncp_server *server, void *buffer, size_t len) {
...
@@ -298,9 +295,11 @@ static int do_tcp_rcv(struct ncp_server *server, void *buffer, size_t len) {
if
(
!
init_timeout
)
{
if
(
!
init_timeout
)
{
return
-
EIO
;
return
-
EIO
;
}
}
}
else
if
(
wait_table
.
nr
)
{
if
(
wait_table
.
error
)
{
remove_wait_queue
(
entry
.
wait_address
,
&
entry
.
wait
);
return
wait_table
.
error
;
fput
(
file
);
}
}
else
{
poll_freewait
(
&
wait_table
);
}
}
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
...
...
fs/select.c
View file @
79e75677
...
@@ -31,14 +31,15 @@
...
@@ -31,14 +31,15 @@
* understand what I'm doing here, then you understand how the linux
* understand what I'm doing here, then you understand how the linux
* sleep/wakeup mechanism works.
* sleep/wakeup mechanism works.
*
*
* Two very simple procedures, poll_wait() and
free_
wait() make all the
* Two very simple procedures, poll_wait() and
poll_free
wait() make all the
* work. poll_wait() is an inline-function defined in <linux/poll.h>,
* work. poll_wait() is an inline-function defined in <linux/poll.h>,
* as all select/poll functions have to call it to add an entry to the
* as all select/poll functions have to call it to add an entry to the
* poll table.
* poll table.
*/
*/
static
void
free_wait
(
struct
poll_table_page
*
p
)
void
poll_freewait
(
poll_table
*
pt
)
{
{
struct
poll_table_page
*
p
=
pt
->
table
;
while
(
p
)
{
while
(
p
)
{
struct
poll_table_entry
*
entry
;
struct
poll_table_entry
*
entry
;
struct
poll_table_page
*
old
;
struct
poll_table_page
*
old
;
...
@@ -66,6 +67,7 @@ void __pollwait(struct file * filp, wait_queue_head_t * wait_address, poll_table
...
@@ -66,6 +67,7 @@ void __pollwait(struct file * filp, wait_queue_head_t * wait_address, poll_table
new_table
=
(
struct
poll_table_page
*
)
__get_free_page
(
GFP_KERNEL
);
new_table
=
(
struct
poll_table_page
*
)
__get_free_page
(
GFP_KERNEL
);
if
(
!
new_table
)
{
if
(
!
new_table
)
{
p
->
error
=
-
ENOMEM
;
p
->
error
=
-
ENOMEM
;
__set_current_state
(
TASK_RUNNING
);
return
;
return
;
}
}
new_table
->
nr
=
0
;
new_table
->
nr
=
0
;
...
@@ -160,8 +162,7 @@ int do_select(int n, fd_set_bits *fds, long *timeout)
...
@@ -160,8 +162,7 @@ int do_select(int n, fd_set_bits *fds, long *timeout)
return
retval
;
return
retval
;
n
=
retval
;
n
=
retval
;
table
.
error
=
0
;
poll_initwait
(
&
table
);
table
.
table
=
NULL
;
wait
=
&
table
;
wait
=
&
table
;
retval
=
0
;
retval
=
0
;
for
(;;)
{
for
(;;)
{
...
@@ -201,11 +202,15 @@ int do_select(int n, fd_set_bits *fds, long *timeout)
...
@@ -201,11 +202,15 @@ int do_select(int n, fd_set_bits *fds, long *timeout)
wait
=
NULL
;
wait
=
NULL
;
if
(
retval
||
!
__timeout
||
signal_pending
(
current
))
if
(
retval
||
!
__timeout
||
signal_pending
(
current
))
break
;
break
;
if
(
table
.
error
)
{
retval
=
table
.
error
;
break
;
}
__timeout
=
schedule_timeout
(
__timeout
);
__timeout
=
schedule_timeout
(
__timeout
);
}
}
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
free_wait
(
table
.
table
);
poll_freewait
(
&
table
);
/*
/*
* Up-to-date the caller timeout.
* Up-to-date the caller timeout.
...
@@ -354,18 +359,22 @@ static int do_poll(unsigned int nfds, unsigned int nchunks, unsigned int nleft,
...
@@ -354,18 +359,22 @@ static int do_poll(unsigned int nfds, unsigned int nchunks, unsigned int nleft,
struct
pollfd
*
fds
[],
poll_table
*
wait
,
long
timeout
)
struct
pollfd
*
fds
[],
poll_table
*
wait
,
long
timeout
)
{
{
int
count
=
0
;
int
count
=
0
;
poll_table
*
pt
=
wait
;
for
(;;)
{
for
(;;)
{
unsigned
int
i
;
unsigned
int
i
;
set_current_state
(
TASK_INTERRUPTIBLE
);
set_current_state
(
TASK_INTERRUPTIBLE
);
for
(
i
=
0
;
i
<
nchunks
;
i
++
)
for
(
i
=
0
;
i
<
nchunks
;
i
++
)
do_pollfd
(
POLLFD_PER_PAGE
,
fds
[
i
],
&
wai
t
,
&
count
);
do_pollfd
(
POLLFD_PER_PAGE
,
fds
[
i
],
&
p
t
,
&
count
);
if
(
nleft
)
if
(
nleft
)
do_pollfd
(
nleft
,
fds
[
nchunks
],
&
wai
t
,
&
count
);
do_pollfd
(
nleft
,
fds
[
nchunks
],
&
p
t
,
&
count
);
wai
t
=
NULL
;
p
t
=
NULL
;
if
(
count
||
!
timeout
||
signal_pending
(
current
))
if
(
count
||
!
timeout
||
signal_pending
(
current
))
break
;
break
;
if
(
wait
->
error
)
{
return
wait
->
error
;
}
timeout
=
schedule_timeout
(
timeout
);
timeout
=
schedule_timeout
(
timeout
);
}
}
current
->
state
=
TASK_RUNNING
;
current
->
state
=
TASK_RUNNING
;
...
@@ -391,8 +400,7 @@ asmlinkage long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
...
@@ -391,8 +400,7 @@ asmlinkage long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
timeout
=
MAX_SCHEDULE_TIMEOUT
;
timeout
=
MAX_SCHEDULE_TIMEOUT
;
}
}
table
.
error
=
0
;
poll_initwait
(
&
table
);
table
.
table
=
NULL
;
err
=
-
ENOMEM
;
err
=
-
ENOMEM
;
fds
=
NULL
;
fds
=
NULL
;
...
@@ -452,6 +460,6 @@ asmlinkage long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
...
@@ -452,6 +460,6 @@ asmlinkage long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
if
(
nfds
!=
0
)
if
(
nfds
!=
0
)
kfree
(
fds
);
kfree
(
fds
);
out:
out:
free_wait
(
table
.
table
);
poll_freewait
(
&
table
);
return
err
;
return
err
;
}
}
include/asm-ia64/ia32.h
View file @
79e75677
...
@@ -229,7 +229,7 @@ typedef struct siginfo32 {
...
@@ -229,7 +229,7 @@ typedef struct siginfo32 {
/*
/*
* This is used to ensure we don't load something for the wrong architecture.
* This is used to ensure we don't load something for the wrong architecture.
*/
*/
#define elf_check_arch(x) ((x) == EM_386)
#define elf_check_arch(x) ((x)
->e_machine
== EM_386)
/*
/*
* These are used to set parameters in the core dumps.
* These are used to set parameters in the core dumps.
...
...
include/asm-s390/elf.h
View file @
79e75677
...
@@ -22,7 +22,7 @@ typedef s390_regs elf_gregset_t;
...
@@ -22,7 +22,7 @@ typedef s390_regs elf_gregset_t;
/*
/*
* This is used to ensure we don't load something for the wrong architecture.
* This is used to ensure we don't load something for the wrong architecture.
*/
*/
#define elf_check_arch(x) ((x)->e
lf
_machine == EM_S390)
#define elf_check_arch(x) ((x)->e_machine == EM_S390)
/*
/*
* These are used to set parameters in the core dumps.
* These are used to set parameters in the core dumps.
...
...
include/asm-sparc/asm_offsets.h
View file @
79e75677
...
@@ -79,112 +79,112 @@
...
@@ -79,112 +79,112 @@
#define AOFF_task_pidhash_pprev 0x00000094
#define AOFF_task_pidhash_pprev 0x00000094
#define ASIZ_task_pidhash_pprev 0x00000004
#define ASIZ_task_pidhash_pprev 0x00000004
#define AOFF_task_wait_chldexit 0x00000098
#define AOFF_task_wait_chldexit 0x00000098
#define ASIZ_task_wait_chldexit 0x000000
14
#define ASIZ_task_wait_chldexit 0x000000
0c
#define AOFF_task_vfork_sem 0x000000a
c
#define AOFF_task_vfork_sem 0x000000a
4
#define ASIZ_task_vfork_sem 0x00000004
#define ASIZ_task_vfork_sem 0x00000004
#define AOFF_task_rt_priority 0x000000
b0
#define AOFF_task_rt_priority 0x000000
a8
#define ASIZ_task_rt_priority 0x00000004
#define ASIZ_task_rt_priority 0x00000004
#define AOFF_task_it_real_value 0x000000
b4
#define AOFF_task_it_real_value 0x000000
ac
#define ASIZ_task_it_real_value 0x00000004
#define ASIZ_task_it_real_value 0x00000004
#define AOFF_task_it_prof_value 0x000000b
8
#define AOFF_task_it_prof_value 0x000000b
0
#define ASIZ_task_it_prof_value 0x00000004
#define ASIZ_task_it_prof_value 0x00000004
#define AOFF_task_it_virt_value 0x000000b
c
#define AOFF_task_it_virt_value 0x000000b
4
#define ASIZ_task_it_virt_value 0x00000004
#define ASIZ_task_it_virt_value 0x00000004
#define AOFF_task_it_real_incr 0x000000
c0
#define AOFF_task_it_real_incr 0x000000
b8
#define ASIZ_task_it_real_incr 0x00000004
#define ASIZ_task_it_real_incr 0x00000004
#define AOFF_task_it_prof_incr 0x000000
c4
#define AOFF_task_it_prof_incr 0x000000
bc
#define ASIZ_task_it_prof_incr 0x00000004
#define ASIZ_task_it_prof_incr 0x00000004
#define AOFF_task_it_virt_incr 0x000000c
8
#define AOFF_task_it_virt_incr 0x000000c
0
#define ASIZ_task_it_virt_incr 0x00000004
#define ASIZ_task_it_virt_incr 0x00000004
#define AOFF_task_real_timer 0x000000c
c
#define AOFF_task_real_timer 0x000000c
4
#define ASIZ_task_real_timer 0x00000014
#define ASIZ_task_real_timer 0x00000014
#define AOFF_task_times 0x000000
e0
#define AOFF_task_times 0x000000
d8
#define ASIZ_task_times 0x00000010
#define ASIZ_task_times 0x00000010
#define AOFF_task_start_time 0x000000
f0
#define AOFF_task_start_time 0x000000
e8
#define ASIZ_task_start_time 0x00000004
#define ASIZ_task_start_time 0x00000004
#define AOFF_task_per_cpu_utime 0x000000
f4
#define AOFF_task_per_cpu_utime 0x000000
ec
#define ASIZ_task_per_cpu_utime 0x00000004
#define ASIZ_task_per_cpu_utime 0x00000004
#define AOFF_task_min_flt 0x000000f
c
#define AOFF_task_min_flt 0x000000f
4
#define ASIZ_task_min_flt 0x00000004
#define ASIZ_task_min_flt 0x00000004
#define AOFF_task_maj_flt 0x00000
100
#define AOFF_task_maj_flt 0x00000
0f8
#define ASIZ_task_maj_flt 0x00000004
#define ASIZ_task_maj_flt 0x00000004
#define AOFF_task_nswap 0x00000
104
#define AOFF_task_nswap 0x00000
0fc
#define ASIZ_task_nswap 0x00000004
#define ASIZ_task_nswap 0x00000004
#define AOFF_task_cmin_flt 0x0000010
8
#define AOFF_task_cmin_flt 0x0000010
0
#define ASIZ_task_cmin_flt 0x00000004
#define ASIZ_task_cmin_flt 0x00000004
#define AOFF_task_cmaj_flt 0x0000010
c
#define AOFF_task_cmaj_flt 0x0000010
4
#define ASIZ_task_cmaj_flt 0x00000004
#define ASIZ_task_cmaj_flt 0x00000004
#define AOFF_task_cnswap 0x000001
10
#define AOFF_task_cnswap 0x000001
08
#define ASIZ_task_cnswap 0x00000004
#define ASIZ_task_cnswap 0x00000004
#define AOFF_task_uid 0x0000011
8
#define AOFF_task_uid 0x0000011
0
#define ASIZ_task_uid 0x00000004
#define ASIZ_task_uid 0x00000004
#define AOFF_task_euid 0x0000011
c
#define AOFF_task_euid 0x0000011
4
#define ASIZ_task_euid 0x00000004
#define ASIZ_task_euid 0x00000004
#define AOFF_task_suid 0x000001
20
#define AOFF_task_suid 0x000001
18
#define ASIZ_task_suid 0x00000004
#define ASIZ_task_suid 0x00000004
#define AOFF_task_fsuid 0x000001
24
#define AOFF_task_fsuid 0x000001
1c
#define ASIZ_task_fsuid 0x00000004
#define ASIZ_task_fsuid 0x00000004
#define AOFF_task_gid 0x0000012
8
#define AOFF_task_gid 0x0000012
0
#define ASIZ_task_gid 0x00000004
#define ASIZ_task_gid 0x00000004
#define AOFF_task_egid 0x0000012
c
#define AOFF_task_egid 0x0000012
4
#define ASIZ_task_egid 0x00000004
#define ASIZ_task_egid 0x00000004
#define AOFF_task_sgid 0x000001
30
#define AOFF_task_sgid 0x000001
28
#define ASIZ_task_sgid 0x00000004
#define ASIZ_task_sgid 0x00000004
#define AOFF_task_fsgid 0x000001
34
#define AOFF_task_fsgid 0x000001
2c
#define ASIZ_task_fsgid 0x00000004
#define ASIZ_task_fsgid 0x00000004
#define AOFF_task_ngroups 0x0000013
8
#define AOFF_task_ngroups 0x0000013
0
#define ASIZ_task_ngroups 0x00000004
#define ASIZ_task_ngroups 0x00000004
#define AOFF_task_groups 0x0000013
c
#define AOFF_task_groups 0x0000013
4
#define ASIZ_task_groups 0x00000080
#define ASIZ_task_groups 0x00000080
#define AOFF_task_cap_effective 0x000001b
c
#define AOFF_task_cap_effective 0x000001b
4
#define ASIZ_task_cap_effective 0x00000004
#define ASIZ_task_cap_effective 0x00000004
#define AOFF_task_cap_inheritable 0x000001
c0
#define AOFF_task_cap_inheritable 0x000001
b8
#define ASIZ_task_cap_inheritable 0x00000004
#define ASIZ_task_cap_inheritable 0x00000004
#define AOFF_task_cap_permitted 0x000001
c4
#define AOFF_task_cap_permitted 0x000001
bc
#define ASIZ_task_cap_permitted 0x00000004
#define ASIZ_task_cap_permitted 0x00000004
#define AOFF_task_user 0x000001c
c
#define AOFF_task_user 0x000001c
4
#define ASIZ_task_user 0x00000004
#define ASIZ_task_user 0x00000004
#define AOFF_task_rlim 0x000001
d0
#define AOFF_task_rlim 0x000001
c8
#define ASIZ_task_rlim 0x00000050
#define ASIZ_task_rlim 0x00000050
#define AOFF_task_used_math 0x000002
20
#define AOFF_task_used_math 0x000002
18
#define ASIZ_task_used_math 0x00000002
#define ASIZ_task_used_math 0x00000002
#define AOFF_task_comm 0x000002
22
#define AOFF_task_comm 0x000002
1a
#define ASIZ_task_comm 0x00000010
#define ASIZ_task_comm 0x00000010
#define AOFF_task_link_count 0x000002
34
#define AOFF_task_link_count 0x000002
2c
#define ASIZ_task_link_count 0x00000004
#define ASIZ_task_link_count 0x00000004
#define AOFF_task_tty 0x0000023
8
#define AOFF_task_tty 0x0000023
0
#define ASIZ_task_tty 0x00000004
#define ASIZ_task_tty 0x00000004
#define AOFF_task_semundo 0x0000023
c
#define AOFF_task_semundo 0x0000023
4
#define ASIZ_task_semundo 0x00000004
#define ASIZ_task_semundo 0x00000004
#define AOFF_task_semsleeping 0x000002
40
#define AOFF_task_semsleeping 0x000002
38
#define ASIZ_task_semsleeping 0x00000004
#define ASIZ_task_semsleeping 0x00000004
#define AOFF_task_thread 0x0000024
8
#define AOFF_task_thread 0x0000024
0
#define ASIZ_task_thread 0x00000380
#define ASIZ_task_thread 0x00000380
#define AOFF_task_fs 0x000005c
8
#define AOFF_task_fs 0x000005c
0
#define ASIZ_task_fs 0x00000004
#define ASIZ_task_fs 0x00000004
#define AOFF_task_files 0x000005c
c
#define AOFF_task_files 0x000005c
4
#define ASIZ_task_files 0x00000004
#define ASIZ_task_files 0x00000004
#define AOFF_task_sigmask_lock 0x000005
d0
#define AOFF_task_sigmask_lock 0x000005
c8
#define ASIZ_task_sigmask_lock 0x00000004
#define ASIZ_task_sigmask_lock 0x00000004
#define AOFF_task_sig 0x000005
d4
#define AOFF_task_sig 0x000005
cc
#define ASIZ_task_sig 0x00000004
#define ASIZ_task_sig 0x00000004
#define AOFF_task_signal 0x000005d
8
#define AOFF_task_signal 0x000005d
0
#define ASIZ_task_signal 0x00000008
#define ASIZ_task_signal 0x00000008
#define AOFF_task_blocked 0x000005
e0
#define AOFF_task_blocked 0x000005
d8
#define ASIZ_task_blocked 0x00000008
#define ASIZ_task_blocked 0x00000008
#define AOFF_task_sigqueue 0x000005e
8
#define AOFF_task_sigqueue 0x000005e
0
#define ASIZ_task_sigqueue 0x00000004
#define ASIZ_task_sigqueue 0x00000004
#define AOFF_task_sigqueue_tail 0x000005e
c
#define AOFF_task_sigqueue_tail 0x000005e
4
#define ASIZ_task_sigqueue_tail 0x00000004
#define ASIZ_task_sigqueue_tail 0x00000004
#define AOFF_task_sas_ss_sp 0x000005
f0
#define AOFF_task_sas_ss_sp 0x000005
e8
#define ASIZ_task_sas_ss_sp 0x00000004
#define ASIZ_task_sas_ss_sp 0x00000004
#define AOFF_task_sas_ss_size 0x000005
f4
#define AOFF_task_sas_ss_size 0x000005
ec
#define ASIZ_task_sas_ss_size 0x00000004
#define ASIZ_task_sas_ss_size 0x00000004
#define AOFF_task_parent_exec_id 0x000005f
8
#define AOFF_task_parent_exec_id 0x000005f
0
#define ASIZ_task_parent_exec_id 0x00000004
#define ASIZ_task_parent_exec_id 0x00000004
#define AOFF_task_self_exec_id 0x000005f
c
#define AOFF_task_self_exec_id 0x000005f
4
#define ASIZ_task_self_exec_id 0x00000004
#define ASIZ_task_self_exec_id 0x00000004
#define AOFF_task_alloc_lock 0x00000
600
#define AOFF_task_alloc_lock 0x00000
5f8
#define ASIZ_task_alloc_lock 0x00000004
#define ASIZ_task_alloc_lock 0x00000004
#define AOFF_mm_mmap 0x00000000
#define AOFF_mm_mmap 0x00000000
#define ASIZ_mm_mmap 0x00000004
#define ASIZ_mm_mmap 0x00000004
...
@@ -201,48 +201,48 @@
...
@@ -201,48 +201,48 @@
#define AOFF_mm_map_count 0x00000018
#define AOFF_mm_map_count 0x00000018
#define ASIZ_mm_map_count 0x00000004
#define ASIZ_mm_map_count 0x00000004
#define AOFF_mm_mmap_sem 0x0000001c
#define AOFF_mm_mmap_sem 0x0000001c
#define ASIZ_mm_mmap_sem 0x000000
20
#define ASIZ_mm_mmap_sem 0x000000
14
#define AOFF_mm_page_table_lock 0x0000003
c
#define AOFF_mm_page_table_lock 0x0000003
0
#define ASIZ_mm_page_table_lock 0x00000004
#define ASIZ_mm_page_table_lock 0x00000004
#define AOFF_mm_context 0x000000
40
#define AOFF_mm_context 0x000000
34
#define ASIZ_mm_context 0x00000004
#define ASIZ_mm_context 0x00000004
#define AOFF_mm_start_code 0x000000
44
#define AOFF_mm_start_code 0x000000
38
#define ASIZ_mm_start_code 0x00000004
#define ASIZ_mm_start_code 0x00000004
#define AOFF_mm_end_code 0x000000
48
#define AOFF_mm_end_code 0x000000
3c
#define ASIZ_mm_end_code 0x00000004
#define ASIZ_mm_end_code 0x00000004
#define AOFF_mm_start_data 0x0000004
c
#define AOFF_mm_start_data 0x0000004
0
#define ASIZ_mm_start_data 0x00000004
#define ASIZ_mm_start_data 0x00000004
#define AOFF_mm_end_data 0x000000
50
#define AOFF_mm_end_data 0x000000
44
#define ASIZ_mm_end_data 0x00000004
#define ASIZ_mm_end_data 0x00000004
#define AOFF_mm_start_brk 0x000000
54
#define AOFF_mm_start_brk 0x000000
48
#define ASIZ_mm_start_brk 0x00000004
#define ASIZ_mm_start_brk 0x00000004
#define AOFF_mm_brk 0x000000
58
#define AOFF_mm_brk 0x000000
4c
#define ASIZ_mm_brk 0x00000004
#define ASIZ_mm_brk 0x00000004
#define AOFF_mm_start_stack 0x0000005
c
#define AOFF_mm_start_stack 0x0000005
0
#define ASIZ_mm_start_stack 0x00000004
#define ASIZ_mm_start_stack 0x00000004
#define AOFF_mm_arg_start 0x000000
60
#define AOFF_mm_arg_start 0x000000
54
#define ASIZ_mm_arg_start 0x00000004
#define ASIZ_mm_arg_start 0x00000004
#define AOFF_mm_arg_end 0x000000
64
#define AOFF_mm_arg_end 0x000000
58
#define ASIZ_mm_arg_end 0x00000004
#define ASIZ_mm_arg_end 0x00000004
#define AOFF_mm_env_start 0x000000
68
#define AOFF_mm_env_start 0x000000
5c
#define ASIZ_mm_env_start 0x00000004
#define ASIZ_mm_env_start 0x00000004
#define AOFF_mm_env_end 0x0000006
c
#define AOFF_mm_env_end 0x0000006
0
#define ASIZ_mm_env_end 0x00000004
#define ASIZ_mm_env_end 0x00000004
#define AOFF_mm_rss 0x000000
70
#define AOFF_mm_rss 0x000000
64
#define ASIZ_mm_rss 0x00000004
#define ASIZ_mm_rss 0x00000004
#define AOFF_mm_total_vm 0x000000
74
#define AOFF_mm_total_vm 0x000000
68
#define ASIZ_mm_total_vm 0x00000004
#define ASIZ_mm_total_vm 0x00000004
#define AOFF_mm_locked_vm 0x000000
78
#define AOFF_mm_locked_vm 0x000000
6c
#define ASIZ_mm_locked_vm 0x00000004
#define ASIZ_mm_locked_vm 0x00000004
#define AOFF_mm_def_flags 0x0000007
c
#define AOFF_mm_def_flags 0x0000007
0
#define ASIZ_mm_def_flags 0x00000004
#define ASIZ_mm_def_flags 0x00000004
#define AOFF_mm_cpu_vm_mask 0x000000
80
#define AOFF_mm_cpu_vm_mask 0x000000
74
#define ASIZ_mm_cpu_vm_mask 0x00000004
#define ASIZ_mm_cpu_vm_mask 0x00000004
#define AOFF_mm_swap_cnt 0x000000
84
#define AOFF_mm_swap_cnt 0x000000
78
#define ASIZ_mm_swap_cnt 0x00000004
#define ASIZ_mm_swap_cnt 0x00000004
#define AOFF_mm_swap_address 0x000000
88
#define AOFF_mm_swap_address 0x000000
7c
#define ASIZ_mm_swap_address 0x00000004
#define ASIZ_mm_swap_address 0x00000004
#define AOFF_mm_segments 0x0000008
c
#define AOFF_mm_segments 0x0000008
0
#define ASIZ_mm_segments 0x00000004
#define ASIZ_mm_segments 0x00000004
#define AOFF_thread_uwinmask 0x00000000
#define AOFF_thread_uwinmask 0x00000000
#define ASIZ_thread_uwinmask 0x00000004
#define ASIZ_thread_uwinmask 0x00000004
...
@@ -360,112 +360,112 @@
...
@@ -360,112 +360,112 @@
#define AOFF_task_pidhash_pprev 0x00000094
#define AOFF_task_pidhash_pprev 0x00000094
#define ASIZ_task_pidhash_pprev 0x00000004
#define ASIZ_task_pidhash_pprev 0x00000004
#define AOFF_task_wait_chldexit 0x00000098
#define AOFF_task_wait_chldexit 0x00000098
#define ASIZ_task_wait_chldexit 0x0000001
8
#define ASIZ_task_wait_chldexit 0x0000001
0
#define AOFF_task_vfork_sem 0x000000
b0
#define AOFF_task_vfork_sem 0x000000
a8
#define ASIZ_task_vfork_sem 0x00000004
#define ASIZ_task_vfork_sem 0x00000004
#define AOFF_task_rt_priority 0x000000
b4
#define AOFF_task_rt_priority 0x000000
ac
#define ASIZ_task_rt_priority 0x00000004
#define ASIZ_task_rt_priority 0x00000004
#define AOFF_task_it_real_value 0x000000b
8
#define AOFF_task_it_real_value 0x000000b
0
#define ASIZ_task_it_real_value 0x00000004
#define ASIZ_task_it_real_value 0x00000004
#define AOFF_task_it_prof_value 0x000000b
c
#define AOFF_task_it_prof_value 0x000000b
4
#define ASIZ_task_it_prof_value 0x00000004
#define ASIZ_task_it_prof_value 0x00000004
#define AOFF_task_it_virt_value 0x000000
c0
#define AOFF_task_it_virt_value 0x000000
b8
#define ASIZ_task_it_virt_value 0x00000004
#define ASIZ_task_it_virt_value 0x00000004
#define AOFF_task_it_real_incr 0x000000
c4
#define AOFF_task_it_real_incr 0x000000
bc
#define ASIZ_task_it_real_incr 0x00000004
#define ASIZ_task_it_real_incr 0x00000004
#define AOFF_task_it_prof_incr 0x000000c
8
#define AOFF_task_it_prof_incr 0x000000c
0
#define ASIZ_task_it_prof_incr 0x00000004
#define ASIZ_task_it_prof_incr 0x00000004
#define AOFF_task_it_virt_incr 0x000000c
c
#define AOFF_task_it_virt_incr 0x000000c
4
#define ASIZ_task_it_virt_incr 0x00000004
#define ASIZ_task_it_virt_incr 0x00000004
#define AOFF_task_real_timer 0x000000
d0
#define AOFF_task_real_timer 0x000000
c8
#define ASIZ_task_real_timer 0x00000014
#define ASIZ_task_real_timer 0x00000014
#define AOFF_task_times 0x000000
e4
#define AOFF_task_times 0x000000
dc
#define ASIZ_task_times 0x00000010
#define ASIZ_task_times 0x00000010
#define AOFF_task_start_time 0x000000
f4
#define AOFF_task_start_time 0x000000
ec
#define ASIZ_task_start_time 0x00000004
#define ASIZ_task_start_time 0x00000004
#define AOFF_task_per_cpu_utime 0x000000f
8
#define AOFF_task_per_cpu_utime 0x000000f
0
#define ASIZ_task_per_cpu_utime 0x00000080
#define ASIZ_task_per_cpu_utime 0x00000080
#define AOFF_task_min_flt 0x000001f
8
#define AOFF_task_min_flt 0x000001f
0
#define ASIZ_task_min_flt 0x00000004
#define ASIZ_task_min_flt 0x00000004
#define AOFF_task_maj_flt 0x000001f
c
#define AOFF_task_maj_flt 0x000001f
4
#define ASIZ_task_maj_flt 0x00000004
#define ASIZ_task_maj_flt 0x00000004
#define AOFF_task_nswap 0x00000
200
#define AOFF_task_nswap 0x00000
1f8
#define ASIZ_task_nswap 0x00000004
#define ASIZ_task_nswap 0x00000004
#define AOFF_task_cmin_flt 0x00000
204
#define AOFF_task_cmin_flt 0x00000
1fc
#define ASIZ_task_cmin_flt 0x00000004
#define ASIZ_task_cmin_flt 0x00000004
#define AOFF_task_cmaj_flt 0x0000020
8
#define AOFF_task_cmaj_flt 0x0000020
0
#define ASIZ_task_cmaj_flt 0x00000004
#define ASIZ_task_cmaj_flt 0x00000004
#define AOFF_task_cnswap 0x0000020
c
#define AOFF_task_cnswap 0x0000020
4
#define ASIZ_task_cnswap 0x00000004
#define ASIZ_task_cnswap 0x00000004
#define AOFF_task_uid 0x000002
14
#define AOFF_task_uid 0x000002
0c
#define ASIZ_task_uid 0x00000004
#define ASIZ_task_uid 0x00000004
#define AOFF_task_euid 0x0000021
8
#define AOFF_task_euid 0x0000021
0
#define ASIZ_task_euid 0x00000004
#define ASIZ_task_euid 0x00000004
#define AOFF_task_suid 0x0000021
c
#define AOFF_task_suid 0x0000021
4
#define ASIZ_task_suid 0x00000004
#define ASIZ_task_suid 0x00000004
#define AOFF_task_fsuid 0x000002
20
#define AOFF_task_fsuid 0x000002
18
#define ASIZ_task_fsuid 0x00000004
#define ASIZ_task_fsuid 0x00000004
#define AOFF_task_gid 0x000002
24
#define AOFF_task_gid 0x000002
1c
#define ASIZ_task_gid 0x00000004
#define ASIZ_task_gid 0x00000004
#define AOFF_task_egid 0x0000022
8
#define AOFF_task_egid 0x0000022
0
#define ASIZ_task_egid 0x00000004
#define ASIZ_task_egid 0x00000004
#define AOFF_task_sgid 0x0000022
c
#define AOFF_task_sgid 0x0000022
4
#define ASIZ_task_sgid 0x00000004
#define ASIZ_task_sgid 0x00000004
#define AOFF_task_fsgid 0x000002
30
#define AOFF_task_fsgid 0x000002
28
#define ASIZ_task_fsgid 0x00000004
#define ASIZ_task_fsgid 0x00000004
#define AOFF_task_ngroups 0x000002
34
#define AOFF_task_ngroups 0x000002
2c
#define ASIZ_task_ngroups 0x00000004
#define ASIZ_task_ngroups 0x00000004
#define AOFF_task_groups 0x0000023
8
#define AOFF_task_groups 0x0000023
0
#define ASIZ_task_groups 0x00000080
#define ASIZ_task_groups 0x00000080
#define AOFF_task_cap_effective 0x000002b
8
#define AOFF_task_cap_effective 0x000002b
0
#define ASIZ_task_cap_effective 0x00000004
#define ASIZ_task_cap_effective 0x00000004
#define AOFF_task_cap_inheritable 0x000002b
c
#define AOFF_task_cap_inheritable 0x000002b
4
#define ASIZ_task_cap_inheritable 0x00000004
#define ASIZ_task_cap_inheritable 0x00000004
#define AOFF_task_cap_permitted 0x000002
c0
#define AOFF_task_cap_permitted 0x000002
b8
#define ASIZ_task_cap_permitted 0x00000004
#define ASIZ_task_cap_permitted 0x00000004
#define AOFF_task_user 0x000002c
8
#define AOFF_task_user 0x000002c
0
#define ASIZ_task_user 0x00000004
#define ASIZ_task_user 0x00000004
#define AOFF_task_rlim 0x000002c
c
#define AOFF_task_rlim 0x000002c
4
#define ASIZ_task_rlim 0x00000050
#define ASIZ_task_rlim 0x00000050
#define AOFF_task_used_math 0x0000031
c
#define AOFF_task_used_math 0x0000031
4
#define ASIZ_task_used_math 0x00000002
#define ASIZ_task_used_math 0x00000002
#define AOFF_task_comm 0x0000031
e
#define AOFF_task_comm 0x0000031
6
#define ASIZ_task_comm 0x00000010
#define ASIZ_task_comm 0x00000010
#define AOFF_task_link_count 0x000003
30
#define AOFF_task_link_count 0x000003
28
#define ASIZ_task_link_count 0x00000004
#define ASIZ_task_link_count 0x00000004
#define AOFF_task_tty 0x000003
34
#define AOFF_task_tty 0x000003
2c
#define ASIZ_task_tty 0x00000004
#define ASIZ_task_tty 0x00000004
#define AOFF_task_semundo 0x0000033
8
#define AOFF_task_semundo 0x0000033
0
#define ASIZ_task_semundo 0x00000004
#define ASIZ_task_semundo 0x00000004
#define AOFF_task_semsleeping 0x0000033
c
#define AOFF_task_semsleeping 0x0000033
4
#define ASIZ_task_semsleeping 0x00000004
#define ASIZ_task_semsleeping 0x00000004
#define AOFF_task_thread 0x000003
40
#define AOFF_task_thread 0x000003
38
#define ASIZ_task_thread 0x00000380
#define ASIZ_task_thread 0x00000380
#define AOFF_task_fs 0x000006
c0
#define AOFF_task_fs 0x000006
b8
#define ASIZ_task_fs 0x00000004
#define ASIZ_task_fs 0x00000004
#define AOFF_task_files 0x000006
c4
#define AOFF_task_files 0x000006
bc
#define ASIZ_task_files 0x00000004
#define ASIZ_task_files 0x00000004
#define AOFF_task_sigmask_lock 0x000006c
8
#define AOFF_task_sigmask_lock 0x000006c
0
#define ASIZ_task_sigmask_lock 0x00000008
#define ASIZ_task_sigmask_lock 0x00000008
#define AOFF_task_sig 0x000006
d0
#define AOFF_task_sig 0x000006
c8
#define ASIZ_task_sig 0x00000004
#define ASIZ_task_sig 0x00000004
#define AOFF_task_signal 0x000006
d4
#define AOFF_task_signal 0x000006
cc
#define ASIZ_task_signal 0x00000008
#define ASIZ_task_signal 0x00000008
#define AOFF_task_blocked 0x000006d
c
#define AOFF_task_blocked 0x000006d
4
#define ASIZ_task_blocked 0x00000008
#define ASIZ_task_blocked 0x00000008
#define AOFF_task_sigqueue 0x000006
e4
#define AOFF_task_sigqueue 0x000006
dc
#define ASIZ_task_sigqueue 0x00000004
#define ASIZ_task_sigqueue 0x00000004
#define AOFF_task_sigqueue_tail 0x000006e
8
#define AOFF_task_sigqueue_tail 0x000006e
0
#define ASIZ_task_sigqueue_tail 0x00000004
#define ASIZ_task_sigqueue_tail 0x00000004
#define AOFF_task_sas_ss_sp 0x000006e
c
#define AOFF_task_sas_ss_sp 0x000006e
4
#define ASIZ_task_sas_ss_sp 0x00000004
#define ASIZ_task_sas_ss_sp 0x00000004
#define AOFF_task_sas_ss_size 0x000006
f0
#define AOFF_task_sas_ss_size 0x000006
e8
#define ASIZ_task_sas_ss_size 0x00000004
#define ASIZ_task_sas_ss_size 0x00000004
#define AOFF_task_parent_exec_id 0x000006
f4
#define AOFF_task_parent_exec_id 0x000006
ec
#define ASIZ_task_parent_exec_id 0x00000004
#define ASIZ_task_parent_exec_id 0x00000004
#define AOFF_task_self_exec_id 0x000006f
8
#define AOFF_task_self_exec_id 0x000006f
0
#define ASIZ_task_self_exec_id 0x00000004
#define ASIZ_task_self_exec_id 0x00000004
#define AOFF_task_alloc_lock 0x000006f
c
#define AOFF_task_alloc_lock 0x000006f
4
#define ASIZ_task_alloc_lock 0x00000008
#define ASIZ_task_alloc_lock 0x00000008
#define AOFF_mm_mmap 0x00000000
#define AOFF_mm_mmap 0x00000000
#define ASIZ_mm_mmap 0x00000004
#define ASIZ_mm_mmap 0x00000004
...
@@ -482,48 +482,48 @@
...
@@ -482,48 +482,48 @@
#define AOFF_mm_map_count 0x00000018
#define AOFF_mm_map_count 0x00000018
#define ASIZ_mm_map_count 0x00000004
#define ASIZ_mm_map_count 0x00000004
#define AOFF_mm_mmap_sem 0x0000001c
#define AOFF_mm_mmap_sem 0x0000001c
#define ASIZ_mm_mmap_sem 0x000000
24
#define ASIZ_mm_mmap_sem 0x000000
18
#define AOFF_mm_page_table_lock 0x000000
40
#define AOFF_mm_page_table_lock 0x000000
34
#define ASIZ_mm_page_table_lock 0x00000008
#define ASIZ_mm_page_table_lock 0x00000008
#define AOFF_mm_context 0x000000
48
#define AOFF_mm_context 0x000000
3c
#define ASIZ_mm_context 0x00000004
#define ASIZ_mm_context 0x00000004
#define AOFF_mm_start_code 0x0000004
c
#define AOFF_mm_start_code 0x0000004
0
#define ASIZ_mm_start_code 0x00000004
#define ASIZ_mm_start_code 0x00000004
#define AOFF_mm_end_code 0x000000
50
#define AOFF_mm_end_code 0x000000
44
#define ASIZ_mm_end_code 0x00000004
#define ASIZ_mm_end_code 0x00000004
#define AOFF_mm_start_data 0x000000
54
#define AOFF_mm_start_data 0x000000
48
#define ASIZ_mm_start_data 0x00000004
#define ASIZ_mm_start_data 0x00000004
#define AOFF_mm_end_data 0x000000
58
#define AOFF_mm_end_data 0x000000
4c
#define ASIZ_mm_end_data 0x00000004
#define ASIZ_mm_end_data 0x00000004
#define AOFF_mm_start_brk 0x0000005
c
#define AOFF_mm_start_brk 0x0000005
0
#define ASIZ_mm_start_brk 0x00000004
#define ASIZ_mm_start_brk 0x00000004
#define AOFF_mm_brk 0x000000
60
#define AOFF_mm_brk 0x000000
54
#define ASIZ_mm_brk 0x00000004
#define ASIZ_mm_brk 0x00000004
#define AOFF_mm_start_stack 0x000000
64
#define AOFF_mm_start_stack 0x000000
58
#define ASIZ_mm_start_stack 0x00000004
#define ASIZ_mm_start_stack 0x00000004
#define AOFF_mm_arg_start 0x000000
68
#define AOFF_mm_arg_start 0x000000
5c
#define ASIZ_mm_arg_start 0x00000004
#define ASIZ_mm_arg_start 0x00000004
#define AOFF_mm_arg_end 0x0000006
c
#define AOFF_mm_arg_end 0x0000006
0
#define ASIZ_mm_arg_end 0x00000004
#define ASIZ_mm_arg_end 0x00000004
#define AOFF_mm_env_start 0x000000
70
#define AOFF_mm_env_start 0x000000
64
#define ASIZ_mm_env_start 0x00000004
#define ASIZ_mm_env_start 0x00000004
#define AOFF_mm_env_end 0x000000
74
#define AOFF_mm_env_end 0x000000
68
#define ASIZ_mm_env_end 0x00000004
#define ASIZ_mm_env_end 0x00000004
#define AOFF_mm_rss 0x000000
78
#define AOFF_mm_rss 0x000000
6c
#define ASIZ_mm_rss 0x00000004
#define ASIZ_mm_rss 0x00000004
#define AOFF_mm_total_vm 0x0000007
c
#define AOFF_mm_total_vm 0x0000007
0
#define ASIZ_mm_total_vm 0x00000004
#define ASIZ_mm_total_vm 0x00000004
#define AOFF_mm_locked_vm 0x000000
80
#define AOFF_mm_locked_vm 0x000000
74
#define ASIZ_mm_locked_vm 0x00000004
#define ASIZ_mm_locked_vm 0x00000004
#define AOFF_mm_def_flags 0x000000
84
#define AOFF_mm_def_flags 0x000000
78
#define ASIZ_mm_def_flags 0x00000004
#define ASIZ_mm_def_flags 0x00000004
#define AOFF_mm_cpu_vm_mask 0x000000
88
#define AOFF_mm_cpu_vm_mask 0x000000
7c
#define ASIZ_mm_cpu_vm_mask 0x00000004
#define ASIZ_mm_cpu_vm_mask 0x00000004
#define AOFF_mm_swap_cnt 0x0000008
c
#define AOFF_mm_swap_cnt 0x0000008
0
#define ASIZ_mm_swap_cnt 0x00000004
#define ASIZ_mm_swap_cnt 0x00000004
#define AOFF_mm_swap_address 0x000000
90
#define AOFF_mm_swap_address 0x000000
84
#define ASIZ_mm_swap_address 0x00000004
#define ASIZ_mm_swap_address 0x00000004
#define AOFF_mm_segments 0x000000
94
#define AOFF_mm_segments 0x000000
88
#define ASIZ_mm_segments 0x00000004
#define ASIZ_mm_segments 0x00000004
#define AOFF_thread_uwinmask 0x00000000
#define AOFF_thread_uwinmask 0x00000000
#define ASIZ_thread_uwinmask 0x00000004
#define ASIZ_thread_uwinmask 0x00000004
...
...
include/asm-sparc/elf.h
View file @
79e75677
/* $Id: elf.h,v 1.2
1 2000/04/14 09:59:04
davem Exp $ */
/* $Id: elf.h,v 1.2
2 2000/07/12 01:27:08
davem Exp $ */
#ifndef __ASMSPARC_ELF_H
#ifndef __ASMSPARC_ELF_H
#define __ASMSPARC_ELF_H
#define __ASMSPARC_ELF_H
...
...
include/asm-sparc64/asm_offsets.h
View file @
79e75677
...
@@ -85,114 +85,114 @@
...
@@ -85,114 +85,114 @@
#define AOFF_task_pidhash_pprev 0x000000f8
#define AOFF_task_pidhash_pprev 0x000000f8
#define ASIZ_task_pidhash_pprev 0x00000008
#define ASIZ_task_pidhash_pprev 0x00000008
#define AOFF_task_wait_chldexit 0x00000100
#define AOFF_task_wait_chldexit 0x00000100
#define ASIZ_task_wait_chldexit 0x000000
2
8
#define ASIZ_task_wait_chldexit 0x000000
1
8
#define AOFF_task_vfork_sem 0x000001
2
8
#define AOFF_task_vfork_sem 0x000001
1
8
#define ASIZ_task_vfork_sem 0x00000008
#define ASIZ_task_vfork_sem 0x00000008
#define AOFF_task_rt_priority 0x000001
3
0
#define AOFF_task_rt_priority 0x000001
2
0
#define ASIZ_task_rt_priority 0x00000008
#define ASIZ_task_rt_priority 0x00000008
#define AOFF_task_it_real_value 0x000001
3
8
#define AOFF_task_it_real_value 0x000001
2
8
#define ASIZ_task_it_real_value 0x00000008
#define ASIZ_task_it_real_value 0x00000008
#define AOFF_task_it_prof_value 0x000001
4
0
#define AOFF_task_it_prof_value 0x000001
3
0
#define ASIZ_task_it_prof_value 0x00000008
#define ASIZ_task_it_prof_value 0x00000008
#define AOFF_task_it_virt_value 0x000001
4
8
#define AOFF_task_it_virt_value 0x000001
3
8
#define ASIZ_task_it_virt_value 0x00000008
#define ASIZ_task_it_virt_value 0x00000008
#define AOFF_task_it_real_incr 0x000001
5
0
#define AOFF_task_it_real_incr 0x000001
4
0
#define ASIZ_task_it_real_incr 0x00000008
#define ASIZ_task_it_real_incr 0x00000008
#define AOFF_task_it_prof_incr 0x000001
5
8
#define AOFF_task_it_prof_incr 0x000001
4
8
#define ASIZ_task_it_prof_incr 0x00000008
#define ASIZ_task_it_prof_incr 0x00000008
#define AOFF_task_it_virt_incr 0x000001
6
0
#define AOFF_task_it_virt_incr 0x000001
5
0
#define ASIZ_task_it_virt_incr 0x00000008
#define ASIZ_task_it_virt_incr 0x00000008
#define AOFF_task_real_timer 0x000001
6
8
#define AOFF_task_real_timer 0x000001
5
8
#define ASIZ_task_real_timer 0x00000028
#define ASIZ_task_real_timer 0x00000028
#define AOFF_task_times 0x000001
9
0
#define AOFF_task_times 0x000001
8
0
#define ASIZ_task_times 0x00000020
#define ASIZ_task_times 0x00000020
#define AOFF_task_start_time 0x000001
b
0
#define AOFF_task_start_time 0x000001
a
0
#define ASIZ_task_start_time 0x00000008
#define ASIZ_task_start_time 0x00000008
#define AOFF_task_per_cpu_utime 0x000001
b
8
#define AOFF_task_per_cpu_utime 0x000001
a
8
#define ASIZ_task_per_cpu_utime 0x00000008
#define ASIZ_task_per_cpu_utime 0x00000008
#define AOFF_task_min_flt 0x000001
c
8
#define AOFF_task_min_flt 0x000001
b
8
#define ASIZ_task_min_flt 0x00000008
#define ASIZ_task_min_flt 0x00000008
#define AOFF_task_maj_flt 0x000001
d
0
#define AOFF_task_maj_flt 0x000001
c
0
#define ASIZ_task_maj_flt 0x00000008
#define ASIZ_task_maj_flt 0x00000008
#define AOFF_task_nswap 0x000001
d
8
#define AOFF_task_nswap 0x000001
c
8
#define ASIZ_task_nswap 0x00000008
#define ASIZ_task_nswap 0x00000008
#define AOFF_task_cmin_flt 0x000001
e
0
#define AOFF_task_cmin_flt 0x000001
d
0
#define ASIZ_task_cmin_flt 0x00000008
#define ASIZ_task_cmin_flt 0x00000008
#define AOFF_task_cmaj_flt 0x000001
e
8
#define AOFF_task_cmaj_flt 0x000001
d
8
#define ASIZ_task_cmaj_flt 0x00000008
#define ASIZ_task_cmaj_flt 0x00000008
#define AOFF_task_cnswap 0x000001
f
0
#define AOFF_task_cnswap 0x000001
e
0
#define ASIZ_task_cnswap 0x00000008
#define ASIZ_task_cnswap 0x00000008
#define AOFF_task_uid 0x000001
f
c
#define AOFF_task_uid 0x000001
e
c
#define ASIZ_task_uid 0x00000004
#define ASIZ_task_uid 0x00000004
#define AOFF_task_euid 0x00000
20
0
#define AOFF_task_euid 0x00000
1f
0
#define ASIZ_task_euid 0x00000004
#define ASIZ_task_euid 0x00000004
#define AOFF_task_suid 0x00000
20
4
#define AOFF_task_suid 0x00000
1f
4
#define ASIZ_task_suid 0x00000004
#define ASIZ_task_suid 0x00000004
#define AOFF_task_fsuid 0x00000
20
8
#define AOFF_task_fsuid 0x00000
1f
8
#define ASIZ_task_fsuid 0x00000004
#define ASIZ_task_fsuid 0x00000004
#define AOFF_task_gid 0x00000
20
c
#define AOFF_task_gid 0x00000
1f
c
#define ASIZ_task_gid 0x00000004
#define ASIZ_task_gid 0x00000004
#define AOFF_task_egid 0x000002
1
0
#define AOFF_task_egid 0x000002
0
0
#define ASIZ_task_egid 0x00000004
#define ASIZ_task_egid 0x00000004
#define AOFF_task_sgid 0x000002
1
4
#define AOFF_task_sgid 0x000002
0
4
#define ASIZ_task_sgid 0x00000004
#define ASIZ_task_sgid 0x00000004
#define AOFF_task_fsgid 0x000002
1
8
#define AOFF_task_fsgid 0x000002
0
8
#define ASIZ_task_fsgid 0x00000004
#define ASIZ_task_fsgid 0x00000004
#define AOFF_task_ngroups 0x000002
1
c
#define AOFF_task_ngroups 0x000002
0
c
#define ASIZ_task_ngroups 0x00000004
#define ASIZ_task_ngroups 0x00000004
#define AOFF_task_groups 0x000002
2
0
#define AOFF_task_groups 0x000002
1
0
#define ASIZ_task_groups 0x00000080
#define ASIZ_task_groups 0x00000080
#define AOFF_task_cap_effective 0x000002
a
0
#define AOFF_task_cap_effective 0x000002
9
0
#define ASIZ_task_cap_effective 0x00000004
#define ASIZ_task_cap_effective 0x00000004
#define AOFF_task_cap_inheritable 0x000002
a
4
#define AOFF_task_cap_inheritable 0x000002
9
4
#define ASIZ_task_cap_inheritable 0x00000004
#define ASIZ_task_cap_inheritable 0x00000004
#define AOFF_task_cap_permitted 0x000002
a
8
#define AOFF_task_cap_permitted 0x000002
9
8
#define ASIZ_task_cap_permitted 0x00000004
#define ASIZ_task_cap_permitted 0x00000004
#define AOFF_task_user 0x000002
b
0
#define AOFF_task_user 0x000002
a
0
#define ASIZ_task_user 0x00000008
#define ASIZ_task_user 0x00000008
#define AOFF_task_rlim 0x000002
b
8
#define AOFF_task_rlim 0x000002
a
8
#define ASIZ_task_rlim 0x000000a0
#define ASIZ_task_rlim 0x000000a0
#define AOFF_task_used_math 0x000003
5
8
#define AOFF_task_used_math 0x000003
4
8
#define ASIZ_task_used_math 0x00000002
#define ASIZ_task_used_math 0x00000002
#define AOFF_task_comm 0x000003
5
a
#define AOFF_task_comm 0x000003
4
a
#define ASIZ_task_comm 0x00000010
#define ASIZ_task_comm 0x00000010
#define AOFF_task_link_count 0x000003
6
c
#define AOFF_task_link_count 0x000003
5
c
#define ASIZ_task_link_count 0x00000004
#define ASIZ_task_link_count 0x00000004
#define AOFF_task_tty 0x000003
7
0
#define AOFF_task_tty 0x000003
6
0
#define ASIZ_task_tty 0x00000008
#define ASIZ_task_tty 0x00000008
#define AOFF_task_semundo 0x000003
7
8
#define AOFF_task_semundo 0x000003
6
8
#define ASIZ_task_semundo 0x00000008
#define ASIZ_task_semundo 0x00000008
#define AOFF_task_semsleeping 0x000003
8
0
#define AOFF_task_semsleeping 0x000003
7
0
#define ASIZ_task_semsleeping 0x00000008
#define ASIZ_task_semsleeping 0x00000008
#define AOFF_task_thread 0x000003
9
0
#define AOFF_task_thread 0x000003
8
0
#define ASIZ_task_thread 0x00000450
#define ASIZ_task_thread 0x00000450
#define AOFF_task_fs 0x000007
e
0
#define AOFF_task_fs 0x000007
d
0
#define ASIZ_task_fs 0x00000008
#define ASIZ_task_fs 0x00000008
#define AOFF_task_files 0x000007
e
8
#define AOFF_task_files 0x000007
d
8
#define ASIZ_task_files 0x00000008
#define ASIZ_task_files 0x00000008
#define AOFF_task_sigmask_lock 0x000007
f
0
#define AOFF_task_sigmask_lock 0x000007
e
0
#define ASIZ_task_sigmask_lock 0x00000004
#define ASIZ_task_sigmask_lock 0x00000004
#define AOFF_task_sig 0x000007
f
8
#define AOFF_task_sig 0x000007
e
8
#define ASIZ_task_sig 0x00000008
#define ASIZ_task_sig 0x00000008
#define AOFF_task_signal 0x00000
80
0
#define AOFF_task_signal 0x00000
7f
0
#define ASIZ_task_signal 0x00000008
#define ASIZ_task_signal 0x00000008
#define AOFF_task_blocked 0x00000
80
8
#define AOFF_task_blocked 0x00000
7f
8
#define ASIZ_task_blocked 0x00000008
#define ASIZ_task_blocked 0x00000008
#define AOFF_task_sigqueue 0x000008
1
0
#define AOFF_task_sigqueue 0x000008
0
0
#define ASIZ_task_sigqueue 0x00000008
#define ASIZ_task_sigqueue 0x00000008
#define AOFF_task_sigqueue_tail 0x000008
1
8
#define AOFF_task_sigqueue_tail 0x000008
0
8
#define ASIZ_task_sigqueue_tail 0x00000008
#define ASIZ_task_sigqueue_tail 0x00000008
#define AOFF_task_sas_ss_sp 0x000008
2
0
#define AOFF_task_sas_ss_sp 0x000008
1
0
#define ASIZ_task_sas_ss_sp 0x00000008
#define ASIZ_task_sas_ss_sp 0x00000008
#define AOFF_task_sas_ss_size 0x000008
2
8
#define AOFF_task_sas_ss_size 0x000008
1
8
#define ASIZ_task_sas_ss_size 0x00000008
#define ASIZ_task_sas_ss_size 0x00000008
#define AOFF_task_parent_exec_id 0x000008
3
0
#define AOFF_task_parent_exec_id 0x000008
2
0
#define ASIZ_task_parent_exec_id 0x00000004
#define ASIZ_task_parent_exec_id 0x00000004
#define AOFF_task_self_exec_id 0x000008
3
4
#define AOFF_task_self_exec_id 0x000008
2
4
#define ASIZ_task_self_exec_id 0x00000004
#define ASIZ_task_self_exec_id 0x00000004
#define AOFF_task_alloc_lock 0x000008
3
8
#define AOFF_task_alloc_lock 0x000008
2
8
#define ASIZ_task_alloc_lock 0x00000004
#define ASIZ_task_alloc_lock 0x00000004
#define ASIZ_task 0x000008
4
0
#define ASIZ_task 0x000008
3
0
#define AOFF_mm_mmap 0x00000000
#define AOFF_mm_mmap 0x00000000
#define ASIZ_mm_mmap 0x00000008
#define ASIZ_mm_mmap 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
...
@@ -208,50 +208,50 @@
...
@@ -208,50 +208,50 @@
#define AOFF_mm_map_count 0x00000028
#define AOFF_mm_map_count 0x00000028
#define ASIZ_mm_map_count 0x00000004
#define ASIZ_mm_map_count 0x00000004
#define AOFF_mm_mmap_sem 0x00000030
#define AOFF_mm_mmap_sem 0x00000030
#define ASIZ_mm_mmap_sem 0x000000
38
#define ASIZ_mm_mmap_sem 0x000000
20
#define AOFF_mm_page_table_lock 0x000000
68
#define AOFF_mm_page_table_lock 0x000000
50
#define ASIZ_mm_page_table_lock 0x00000004
#define ASIZ_mm_page_table_lock 0x00000004
#define AOFF_mm_context 0x000000
70
#define AOFF_mm_context 0x000000
58
#define ASIZ_mm_context 0x00000008
#define ASIZ_mm_context 0x00000008
#define AOFF_mm_start_code 0x000000
78
#define AOFF_mm_start_code 0x000000
60
#define ASIZ_mm_start_code 0x00000008
#define ASIZ_mm_start_code 0x00000008
#define AOFF_mm_end_code 0x000000
80
#define AOFF_mm_end_code 0x000000
68
#define ASIZ_mm_end_code 0x00000008
#define ASIZ_mm_end_code 0x00000008
#define AOFF_mm_start_data 0x000000
88
#define AOFF_mm_start_data 0x000000
70
#define ASIZ_mm_start_data 0x00000008
#define ASIZ_mm_start_data 0x00000008
#define AOFF_mm_end_data 0x000000
90
#define AOFF_mm_end_data 0x000000
78
#define ASIZ_mm_end_data 0x00000008
#define ASIZ_mm_end_data 0x00000008
#define AOFF_mm_start_brk 0x000000
98
#define AOFF_mm_start_brk 0x000000
80
#define ASIZ_mm_start_brk 0x00000008
#define ASIZ_mm_start_brk 0x00000008
#define AOFF_mm_brk 0x000000
a0
#define AOFF_mm_brk 0x000000
88
#define ASIZ_mm_brk 0x00000008
#define ASIZ_mm_brk 0x00000008
#define AOFF_mm_start_stack 0x000000
a8
#define AOFF_mm_start_stack 0x000000
90
#define ASIZ_mm_start_stack 0x00000008
#define ASIZ_mm_start_stack 0x00000008
#define AOFF_mm_arg_start 0x000000
b0
#define AOFF_mm_arg_start 0x000000
98
#define ASIZ_mm_arg_start 0x00000008
#define ASIZ_mm_arg_start 0x00000008
#define AOFF_mm_arg_end 0x000000
b8
#define AOFF_mm_arg_end 0x000000
a0
#define ASIZ_mm_arg_end 0x00000008
#define ASIZ_mm_arg_end 0x00000008
#define AOFF_mm_env_start 0x000000
c0
#define AOFF_mm_env_start 0x000000
a8
#define ASIZ_mm_env_start 0x00000008
#define ASIZ_mm_env_start 0x00000008
#define AOFF_mm_env_end 0x000000
c8
#define AOFF_mm_env_end 0x000000
b0
#define ASIZ_mm_env_end 0x00000008
#define ASIZ_mm_env_end 0x00000008
#define AOFF_mm_rss 0x000000
d0
#define AOFF_mm_rss 0x000000
b8
#define ASIZ_mm_rss 0x00000008
#define ASIZ_mm_rss 0x00000008
#define AOFF_mm_total_vm 0x000000
d8
#define AOFF_mm_total_vm 0x000000
c0
#define ASIZ_mm_total_vm 0x00000008
#define ASIZ_mm_total_vm 0x00000008
#define AOFF_mm_locked_vm 0x000000
e0
#define AOFF_mm_locked_vm 0x000000
c8
#define ASIZ_mm_locked_vm 0x00000008
#define ASIZ_mm_locked_vm 0x00000008
#define AOFF_mm_def_flags 0x000000
e8
#define AOFF_mm_def_flags 0x000000
d0
#define ASIZ_mm_def_flags 0x00000008
#define ASIZ_mm_def_flags 0x00000008
#define AOFF_mm_cpu_vm_mask 0x000000
f0
#define AOFF_mm_cpu_vm_mask 0x000000
d8
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define AOFF_mm_swap_cnt 0x000000
f8
#define AOFF_mm_swap_cnt 0x000000
e0
#define ASIZ_mm_swap_cnt 0x00000008
#define ASIZ_mm_swap_cnt 0x00000008
#define AOFF_mm_swap_address 0x00000
100
#define AOFF_mm_swap_address 0x00000
0e8
#define ASIZ_mm_swap_address 0x00000008
#define ASIZ_mm_swap_address 0x00000008
#define AOFF_mm_segments 0x00000
108
#define AOFF_mm_segments 0x00000
0f0
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm 0x00000
110
#define ASIZ_mm 0x00000
0f8
#define AOFF_thread_ksp 0x00000000
#define AOFF_thread_ksp 0x00000000
#define ASIZ_thread_ksp 0x00000008
#define ASIZ_thread_ksp 0x00000008
#define AOFF_thread_wstate 0x00000008
#define AOFF_thread_wstate 0x00000008
...
@@ -379,114 +379,114 @@
...
@@ -379,114 +379,114 @@
#define AOFF_task_pidhash_pprev 0x000000f8
#define AOFF_task_pidhash_pprev 0x000000f8
#define ASIZ_task_pidhash_pprev 0x00000008
#define ASIZ_task_pidhash_pprev 0x00000008
#define AOFF_task_wait_chldexit 0x00000100
#define AOFF_task_wait_chldexit 0x00000100
#define ASIZ_task_wait_chldexit 0x000000
2
8
#define ASIZ_task_wait_chldexit 0x000000
1
8
#define AOFF_task_vfork_sem 0x000001
2
8
#define AOFF_task_vfork_sem 0x000001
1
8
#define ASIZ_task_vfork_sem 0x00000008
#define ASIZ_task_vfork_sem 0x00000008
#define AOFF_task_rt_priority 0x000001
3
0
#define AOFF_task_rt_priority 0x000001
2
0
#define ASIZ_task_rt_priority 0x00000008
#define ASIZ_task_rt_priority 0x00000008
#define AOFF_task_it_real_value 0x000001
3
8
#define AOFF_task_it_real_value 0x000001
2
8
#define ASIZ_task_it_real_value 0x00000008
#define ASIZ_task_it_real_value 0x00000008
#define AOFF_task_it_prof_value 0x000001
4
0
#define AOFF_task_it_prof_value 0x000001
3
0
#define ASIZ_task_it_prof_value 0x00000008
#define ASIZ_task_it_prof_value 0x00000008
#define AOFF_task_it_virt_value 0x000001
4
8
#define AOFF_task_it_virt_value 0x000001
3
8
#define ASIZ_task_it_virt_value 0x00000008
#define ASIZ_task_it_virt_value 0x00000008
#define AOFF_task_it_real_incr 0x000001
5
0
#define AOFF_task_it_real_incr 0x000001
4
0
#define ASIZ_task_it_real_incr 0x00000008
#define ASIZ_task_it_real_incr 0x00000008
#define AOFF_task_it_prof_incr 0x000001
5
8
#define AOFF_task_it_prof_incr 0x000001
4
8
#define ASIZ_task_it_prof_incr 0x00000008
#define ASIZ_task_it_prof_incr 0x00000008
#define AOFF_task_it_virt_incr 0x000001
6
0
#define AOFF_task_it_virt_incr 0x000001
5
0
#define ASIZ_task_it_virt_incr 0x00000008
#define ASIZ_task_it_virt_incr 0x00000008
#define AOFF_task_real_timer 0x000001
6
8
#define AOFF_task_real_timer 0x000001
5
8
#define ASIZ_task_real_timer 0x00000028
#define ASIZ_task_real_timer 0x00000028
#define AOFF_task_times 0x000001
9
0
#define AOFF_task_times 0x000001
8
0
#define ASIZ_task_times 0x00000020
#define ASIZ_task_times 0x00000020
#define AOFF_task_start_time 0x000001
b
0
#define AOFF_task_start_time 0x000001
a
0
#define ASIZ_task_start_time 0x00000008
#define ASIZ_task_start_time 0x00000008
#define AOFF_task_per_cpu_utime 0x000001
b
8
#define AOFF_task_per_cpu_utime 0x000001
a
8
#define ASIZ_task_per_cpu_utime 0x00000100
#define ASIZ_task_per_cpu_utime 0x00000100
#define AOFF_task_min_flt 0x000003
b
8
#define AOFF_task_min_flt 0x000003
a
8
#define ASIZ_task_min_flt 0x00000008
#define ASIZ_task_min_flt 0x00000008
#define AOFF_task_maj_flt 0x000003
c
0
#define AOFF_task_maj_flt 0x000003
b
0
#define ASIZ_task_maj_flt 0x00000008
#define ASIZ_task_maj_flt 0x00000008
#define AOFF_task_nswap 0x000003
c
8
#define AOFF_task_nswap 0x000003
b
8
#define ASIZ_task_nswap 0x00000008
#define ASIZ_task_nswap 0x00000008
#define AOFF_task_cmin_flt 0x000003
d
0
#define AOFF_task_cmin_flt 0x000003
c
0
#define ASIZ_task_cmin_flt 0x00000008
#define ASIZ_task_cmin_flt 0x00000008
#define AOFF_task_cmaj_flt 0x000003
d
8
#define AOFF_task_cmaj_flt 0x000003
c
8
#define ASIZ_task_cmaj_flt 0x00000008
#define ASIZ_task_cmaj_flt 0x00000008
#define AOFF_task_cnswap 0x000003
e
0
#define AOFF_task_cnswap 0x000003
d
0
#define ASIZ_task_cnswap 0x00000008
#define ASIZ_task_cnswap 0x00000008
#define AOFF_task_uid 0x000003
e
c
#define AOFF_task_uid 0x000003
d
c
#define ASIZ_task_uid 0x00000004
#define ASIZ_task_uid 0x00000004
#define AOFF_task_euid 0x000003
f
0
#define AOFF_task_euid 0x000003
e
0
#define ASIZ_task_euid 0x00000004
#define ASIZ_task_euid 0x00000004
#define AOFF_task_suid 0x000003
f
4
#define AOFF_task_suid 0x000003
e
4
#define ASIZ_task_suid 0x00000004
#define ASIZ_task_suid 0x00000004
#define AOFF_task_fsuid 0x000003
f
8
#define AOFF_task_fsuid 0x000003
e
8
#define ASIZ_task_fsuid 0x00000004
#define ASIZ_task_fsuid 0x00000004
#define AOFF_task_gid 0x000003
f
c
#define AOFF_task_gid 0x000003
e
c
#define ASIZ_task_gid 0x00000004
#define ASIZ_task_gid 0x00000004
#define AOFF_task_egid 0x00000
40
0
#define AOFF_task_egid 0x00000
3f
0
#define ASIZ_task_egid 0x00000004
#define ASIZ_task_egid 0x00000004
#define AOFF_task_sgid 0x00000
40
4
#define AOFF_task_sgid 0x00000
3f
4
#define ASIZ_task_sgid 0x00000004
#define ASIZ_task_sgid 0x00000004
#define AOFF_task_fsgid 0x00000
40
8
#define AOFF_task_fsgid 0x00000
3f
8
#define ASIZ_task_fsgid 0x00000004
#define ASIZ_task_fsgid 0x00000004
#define AOFF_task_ngroups 0x00000
40
c
#define AOFF_task_ngroups 0x00000
3f
c
#define ASIZ_task_ngroups 0x00000004
#define ASIZ_task_ngroups 0x00000004
#define AOFF_task_groups 0x000004
1
0
#define AOFF_task_groups 0x000004
0
0
#define ASIZ_task_groups 0x00000080
#define ASIZ_task_groups 0x00000080
#define AOFF_task_cap_effective 0x000004
9
0
#define AOFF_task_cap_effective 0x000004
8
0
#define ASIZ_task_cap_effective 0x00000004
#define ASIZ_task_cap_effective 0x00000004
#define AOFF_task_cap_inheritable 0x000004
9
4
#define AOFF_task_cap_inheritable 0x000004
8
4
#define ASIZ_task_cap_inheritable 0x00000004
#define ASIZ_task_cap_inheritable 0x00000004
#define AOFF_task_cap_permitted 0x000004
9
8
#define AOFF_task_cap_permitted 0x000004
8
8
#define ASIZ_task_cap_permitted 0x00000004
#define ASIZ_task_cap_permitted 0x00000004
#define AOFF_task_user 0x000004
a
0
#define AOFF_task_user 0x000004
9
0
#define ASIZ_task_user 0x00000008
#define ASIZ_task_user 0x00000008
#define AOFF_task_rlim 0x000004
a
8
#define AOFF_task_rlim 0x000004
9
8
#define ASIZ_task_rlim 0x000000a0
#define ASIZ_task_rlim 0x000000a0
#define AOFF_task_used_math 0x000005
4
8
#define AOFF_task_used_math 0x000005
3
8
#define ASIZ_task_used_math 0x00000002
#define ASIZ_task_used_math 0x00000002
#define AOFF_task_comm 0x000005
4
a
#define AOFF_task_comm 0x000005
3
a
#define ASIZ_task_comm 0x00000010
#define ASIZ_task_comm 0x00000010
#define AOFF_task_link_count 0x000005
5
c
#define AOFF_task_link_count 0x000005
4
c
#define ASIZ_task_link_count 0x00000004
#define ASIZ_task_link_count 0x00000004
#define AOFF_task_tty 0x000005
6
0
#define AOFF_task_tty 0x000005
5
0
#define ASIZ_task_tty 0x00000008
#define ASIZ_task_tty 0x00000008
#define AOFF_task_semundo 0x000005
6
8
#define AOFF_task_semundo 0x000005
5
8
#define ASIZ_task_semundo 0x00000008
#define ASIZ_task_semundo 0x00000008
#define AOFF_task_semsleeping 0x000005
7
0
#define AOFF_task_semsleeping 0x000005
6
0
#define ASIZ_task_semsleeping 0x00000008
#define ASIZ_task_semsleeping 0x00000008
#define AOFF_task_thread 0x000005
8
0
#define AOFF_task_thread 0x000005
7
0
#define ASIZ_task_thread 0x00000450
#define ASIZ_task_thread 0x00000450
#define AOFF_task_fs 0x000009
d
0
#define AOFF_task_fs 0x000009
c
0
#define ASIZ_task_fs 0x00000008
#define ASIZ_task_fs 0x00000008
#define AOFF_task_files 0x000009
d
8
#define AOFF_task_files 0x000009
c
8
#define ASIZ_task_files 0x00000008
#define ASIZ_task_files 0x00000008
#define AOFF_task_sigmask_lock 0x000009
e
0
#define AOFF_task_sigmask_lock 0x000009
d
0
#define ASIZ_task_sigmask_lock 0x00000001
#define ASIZ_task_sigmask_lock 0x00000001
#define AOFF_task_sig 0x000009
e
8
#define AOFF_task_sig 0x000009
d
8
#define ASIZ_task_sig 0x00000008
#define ASIZ_task_sig 0x00000008
#define AOFF_task_signal 0x000009
f
0
#define AOFF_task_signal 0x000009
e
0
#define ASIZ_task_signal 0x00000008
#define ASIZ_task_signal 0x00000008
#define AOFF_task_blocked 0x000009
f
8
#define AOFF_task_blocked 0x000009
e
8
#define ASIZ_task_blocked 0x00000008
#define ASIZ_task_blocked 0x00000008
#define AOFF_task_sigqueue 0x00000
a0
0
#define AOFF_task_sigqueue 0x00000
9f
0
#define ASIZ_task_sigqueue 0x00000008
#define ASIZ_task_sigqueue 0x00000008
#define AOFF_task_sigqueue_tail 0x00000
a0
8
#define AOFF_task_sigqueue_tail 0x00000
9f
8
#define ASIZ_task_sigqueue_tail 0x00000008
#define ASIZ_task_sigqueue_tail 0x00000008
#define AOFF_task_sas_ss_sp 0x00000a
1
0
#define AOFF_task_sas_ss_sp 0x00000a
0
0
#define ASIZ_task_sas_ss_sp 0x00000008
#define ASIZ_task_sas_ss_sp 0x00000008
#define AOFF_task_sas_ss_size 0x00000a
1
8
#define AOFF_task_sas_ss_size 0x00000a
0
8
#define ASIZ_task_sas_ss_size 0x00000008
#define ASIZ_task_sas_ss_size 0x00000008
#define AOFF_task_parent_exec_id 0x00000a
2
0
#define AOFF_task_parent_exec_id 0x00000a
1
0
#define ASIZ_task_parent_exec_id 0x00000004
#define ASIZ_task_parent_exec_id 0x00000004
#define AOFF_task_self_exec_id 0x00000a
2
4
#define AOFF_task_self_exec_id 0x00000a
1
4
#define ASIZ_task_self_exec_id 0x00000004
#define ASIZ_task_self_exec_id 0x00000004
#define AOFF_task_alloc_lock 0x00000a
2
8
#define AOFF_task_alloc_lock 0x00000a
1
8
#define ASIZ_task_alloc_lock 0x00000001
#define ASIZ_task_alloc_lock 0x00000001
#define ASIZ_task 0x00000a
3
0
#define ASIZ_task 0x00000a
2
0
#define AOFF_mm_mmap 0x00000000
#define AOFF_mm_mmap 0x00000000
#define ASIZ_mm_mmap 0x00000008
#define ASIZ_mm_mmap 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
...
@@ -502,50 +502,50 @@
...
@@ -502,50 +502,50 @@
#define AOFF_mm_map_count 0x00000028
#define AOFF_mm_map_count 0x00000028
#define ASIZ_mm_map_count 0x00000004
#define ASIZ_mm_map_count 0x00000004
#define AOFF_mm_mmap_sem 0x00000030
#define AOFF_mm_mmap_sem 0x00000030
#define ASIZ_mm_mmap_sem 0x000000
38
#define ASIZ_mm_mmap_sem 0x000000
20
#define AOFF_mm_page_table_lock 0x000000
68
#define AOFF_mm_page_table_lock 0x000000
50
#define ASIZ_mm_page_table_lock 0x00000001
#define ASIZ_mm_page_table_lock 0x00000001
#define AOFF_mm_context 0x000000
70
#define AOFF_mm_context 0x000000
58
#define ASIZ_mm_context 0x00000008
#define ASIZ_mm_context 0x00000008
#define AOFF_mm_start_code 0x000000
78
#define AOFF_mm_start_code 0x000000
60
#define ASIZ_mm_start_code 0x00000008
#define ASIZ_mm_start_code 0x00000008
#define AOFF_mm_end_code 0x000000
80
#define AOFF_mm_end_code 0x000000
68
#define ASIZ_mm_end_code 0x00000008
#define ASIZ_mm_end_code 0x00000008
#define AOFF_mm_start_data 0x000000
88
#define AOFF_mm_start_data 0x000000
70
#define ASIZ_mm_start_data 0x00000008
#define ASIZ_mm_start_data 0x00000008
#define AOFF_mm_end_data 0x000000
90
#define AOFF_mm_end_data 0x000000
78
#define ASIZ_mm_end_data 0x00000008
#define ASIZ_mm_end_data 0x00000008
#define AOFF_mm_start_brk 0x000000
98
#define AOFF_mm_start_brk 0x000000
80
#define ASIZ_mm_start_brk 0x00000008
#define ASIZ_mm_start_brk 0x00000008
#define AOFF_mm_brk 0x000000
a0
#define AOFF_mm_brk 0x000000
88
#define ASIZ_mm_brk 0x00000008
#define ASIZ_mm_brk 0x00000008
#define AOFF_mm_start_stack 0x000000
a8
#define AOFF_mm_start_stack 0x000000
90
#define ASIZ_mm_start_stack 0x00000008
#define ASIZ_mm_start_stack 0x00000008
#define AOFF_mm_arg_start 0x000000
b0
#define AOFF_mm_arg_start 0x000000
98
#define ASIZ_mm_arg_start 0x00000008
#define ASIZ_mm_arg_start 0x00000008
#define AOFF_mm_arg_end 0x000000
b8
#define AOFF_mm_arg_end 0x000000
a0
#define ASIZ_mm_arg_end 0x00000008
#define ASIZ_mm_arg_end 0x00000008
#define AOFF_mm_env_start 0x000000
c0
#define AOFF_mm_env_start 0x000000
a8
#define ASIZ_mm_env_start 0x00000008
#define ASIZ_mm_env_start 0x00000008
#define AOFF_mm_env_end 0x000000
c8
#define AOFF_mm_env_end 0x000000
b0
#define ASIZ_mm_env_end 0x00000008
#define ASIZ_mm_env_end 0x00000008
#define AOFF_mm_rss 0x000000
d0
#define AOFF_mm_rss 0x000000
b8
#define ASIZ_mm_rss 0x00000008
#define ASIZ_mm_rss 0x00000008
#define AOFF_mm_total_vm 0x000000
d8
#define AOFF_mm_total_vm 0x000000
c0
#define ASIZ_mm_total_vm 0x00000008
#define ASIZ_mm_total_vm 0x00000008
#define AOFF_mm_locked_vm 0x000000
e0
#define AOFF_mm_locked_vm 0x000000
c8
#define ASIZ_mm_locked_vm 0x00000008
#define ASIZ_mm_locked_vm 0x00000008
#define AOFF_mm_def_flags 0x000000
e8
#define AOFF_mm_def_flags 0x000000
d0
#define ASIZ_mm_def_flags 0x00000008
#define ASIZ_mm_def_flags 0x00000008
#define AOFF_mm_cpu_vm_mask 0x000000
f0
#define AOFF_mm_cpu_vm_mask 0x000000
d8
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define AOFF_mm_swap_cnt 0x000000
f8
#define AOFF_mm_swap_cnt 0x000000
e0
#define ASIZ_mm_swap_cnt 0x00000008
#define ASIZ_mm_swap_cnt 0x00000008
#define AOFF_mm_swap_address 0x00000
100
#define AOFF_mm_swap_address 0x00000
0e8
#define ASIZ_mm_swap_address 0x00000008
#define ASIZ_mm_swap_address 0x00000008
#define AOFF_mm_segments 0x00000
108
#define AOFF_mm_segments 0x00000
0f0
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm 0x00000
110
#define ASIZ_mm 0x00000
0f8
#define AOFF_thread_ksp 0x00000000
#define AOFF_thread_ksp 0x00000000
#define ASIZ_thread_ksp 0x00000008
#define ASIZ_thread_ksp 0x00000008
#define AOFF_thread_wstate 0x00000008
#define AOFF_thread_wstate 0x00000008
...
@@ -671,114 +671,114 @@
...
@@ -671,114 +671,114 @@
#define AOFF_task_pidhash_pprev 0x000000f8
#define AOFF_task_pidhash_pprev 0x000000f8
#define ASIZ_task_pidhash_pprev 0x00000008
#define ASIZ_task_pidhash_pprev 0x00000008
#define AOFF_task_wait_chldexit 0x00000100
#define AOFF_task_wait_chldexit 0x00000100
#define ASIZ_task_wait_chldexit 0x000000
3
0
#define ASIZ_task_wait_chldexit 0x000000
2
0
#define AOFF_task_vfork_sem 0x000001
3
0
#define AOFF_task_vfork_sem 0x000001
2
0
#define ASIZ_task_vfork_sem 0x00000008
#define ASIZ_task_vfork_sem 0x00000008
#define AOFF_task_rt_priority 0x000001
3
8
#define AOFF_task_rt_priority 0x000001
2
8
#define ASIZ_task_rt_priority 0x00000008
#define ASIZ_task_rt_priority 0x00000008
#define AOFF_task_it_real_value 0x000001
4
0
#define AOFF_task_it_real_value 0x000001
3
0
#define ASIZ_task_it_real_value 0x00000008
#define ASIZ_task_it_real_value 0x00000008
#define AOFF_task_it_prof_value 0x000001
4
8
#define AOFF_task_it_prof_value 0x000001
3
8
#define ASIZ_task_it_prof_value 0x00000008
#define ASIZ_task_it_prof_value 0x00000008
#define AOFF_task_it_virt_value 0x000001
5
0
#define AOFF_task_it_virt_value 0x000001
4
0
#define ASIZ_task_it_virt_value 0x00000008
#define ASIZ_task_it_virt_value 0x00000008
#define AOFF_task_it_real_incr 0x000001
5
8
#define AOFF_task_it_real_incr 0x000001
4
8
#define ASIZ_task_it_real_incr 0x00000008
#define ASIZ_task_it_real_incr 0x00000008
#define AOFF_task_it_prof_incr 0x000001
6
0
#define AOFF_task_it_prof_incr 0x000001
5
0
#define ASIZ_task_it_prof_incr 0x00000008
#define ASIZ_task_it_prof_incr 0x00000008
#define AOFF_task_it_virt_incr 0x000001
6
8
#define AOFF_task_it_virt_incr 0x000001
5
8
#define ASIZ_task_it_virt_incr 0x00000008
#define ASIZ_task_it_virt_incr 0x00000008
#define AOFF_task_real_timer 0x000001
7
0
#define AOFF_task_real_timer 0x000001
6
0
#define ASIZ_task_real_timer 0x00000028
#define ASIZ_task_real_timer 0x00000028
#define AOFF_task_times 0x000001
9
8
#define AOFF_task_times 0x000001
8
8
#define ASIZ_task_times 0x00000020
#define ASIZ_task_times 0x00000020
#define AOFF_task_start_time 0x000001
b
8
#define AOFF_task_start_time 0x000001
a
8
#define ASIZ_task_start_time 0x00000008
#define ASIZ_task_start_time 0x00000008
#define AOFF_task_per_cpu_utime 0x000001
c
0
#define AOFF_task_per_cpu_utime 0x000001
b
0
#define ASIZ_task_per_cpu_utime 0x00000100
#define ASIZ_task_per_cpu_utime 0x00000100
#define AOFF_task_min_flt 0x000003
c
0
#define AOFF_task_min_flt 0x000003
b
0
#define ASIZ_task_min_flt 0x00000008
#define ASIZ_task_min_flt 0x00000008
#define AOFF_task_maj_flt 0x000003
c
8
#define AOFF_task_maj_flt 0x000003
b
8
#define ASIZ_task_maj_flt 0x00000008
#define ASIZ_task_maj_flt 0x00000008
#define AOFF_task_nswap 0x000003
d
0
#define AOFF_task_nswap 0x000003
c
0
#define ASIZ_task_nswap 0x00000008
#define ASIZ_task_nswap 0x00000008
#define AOFF_task_cmin_flt 0x000003
d
8
#define AOFF_task_cmin_flt 0x000003
c
8
#define ASIZ_task_cmin_flt 0x00000008
#define ASIZ_task_cmin_flt 0x00000008
#define AOFF_task_cmaj_flt 0x000003
e
0
#define AOFF_task_cmaj_flt 0x000003
d
0
#define ASIZ_task_cmaj_flt 0x00000008
#define ASIZ_task_cmaj_flt 0x00000008
#define AOFF_task_cnswap 0x000003
e
8
#define AOFF_task_cnswap 0x000003
d
8
#define ASIZ_task_cnswap 0x00000008
#define ASIZ_task_cnswap 0x00000008
#define AOFF_task_uid 0x000003
f
4
#define AOFF_task_uid 0x000003
e
4
#define ASIZ_task_uid 0x00000004
#define ASIZ_task_uid 0x00000004
#define AOFF_task_euid 0x000003
f
8
#define AOFF_task_euid 0x000003
e
8
#define ASIZ_task_euid 0x00000004
#define ASIZ_task_euid 0x00000004
#define AOFF_task_suid 0x000003
f
c
#define AOFF_task_suid 0x000003
e
c
#define ASIZ_task_suid 0x00000004
#define ASIZ_task_suid 0x00000004
#define AOFF_task_fsuid 0x00000
40
0
#define AOFF_task_fsuid 0x00000
3f
0
#define ASIZ_task_fsuid 0x00000004
#define ASIZ_task_fsuid 0x00000004
#define AOFF_task_gid 0x00000
40
4
#define AOFF_task_gid 0x00000
3f
4
#define ASIZ_task_gid 0x00000004
#define ASIZ_task_gid 0x00000004
#define AOFF_task_egid 0x00000
40
8
#define AOFF_task_egid 0x00000
3f
8
#define ASIZ_task_egid 0x00000004
#define ASIZ_task_egid 0x00000004
#define AOFF_task_sgid 0x00000
40
c
#define AOFF_task_sgid 0x00000
3f
c
#define ASIZ_task_sgid 0x00000004
#define ASIZ_task_sgid 0x00000004
#define AOFF_task_fsgid 0x000004
1
0
#define AOFF_task_fsgid 0x000004
0
0
#define ASIZ_task_fsgid 0x00000004
#define ASIZ_task_fsgid 0x00000004
#define AOFF_task_ngroups 0x000004
1
4
#define AOFF_task_ngroups 0x000004
0
4
#define ASIZ_task_ngroups 0x00000004
#define ASIZ_task_ngroups 0x00000004
#define AOFF_task_groups 0x000004
1
8
#define AOFF_task_groups 0x000004
0
8
#define ASIZ_task_groups 0x00000080
#define ASIZ_task_groups 0x00000080
#define AOFF_task_cap_effective 0x000004
9
8
#define AOFF_task_cap_effective 0x000004
8
8
#define ASIZ_task_cap_effective 0x00000004
#define ASIZ_task_cap_effective 0x00000004
#define AOFF_task_cap_inheritable 0x000004
9
c
#define AOFF_task_cap_inheritable 0x000004
8
c
#define ASIZ_task_cap_inheritable 0x00000004
#define ASIZ_task_cap_inheritable 0x00000004
#define AOFF_task_cap_permitted 0x000004
a
0
#define AOFF_task_cap_permitted 0x000004
9
0
#define ASIZ_task_cap_permitted 0x00000004
#define ASIZ_task_cap_permitted 0x00000004
#define AOFF_task_user 0x000004
a
8
#define AOFF_task_user 0x000004
9
8
#define ASIZ_task_user 0x00000008
#define ASIZ_task_user 0x00000008
#define AOFF_task_rlim 0x000004
b
0
#define AOFF_task_rlim 0x000004
a
0
#define ASIZ_task_rlim 0x000000a0
#define ASIZ_task_rlim 0x000000a0
#define AOFF_task_used_math 0x000005
5
0
#define AOFF_task_used_math 0x000005
4
0
#define ASIZ_task_used_math 0x00000002
#define ASIZ_task_used_math 0x00000002
#define AOFF_task_comm 0x000005
5
2
#define AOFF_task_comm 0x000005
4
2
#define ASIZ_task_comm 0x00000010
#define ASIZ_task_comm 0x00000010
#define AOFF_task_link_count 0x000005
6
4
#define AOFF_task_link_count 0x000005
5
4
#define ASIZ_task_link_count 0x00000004
#define ASIZ_task_link_count 0x00000004
#define AOFF_task_tty 0x000005
6
8
#define AOFF_task_tty 0x000005
5
8
#define ASIZ_task_tty 0x00000008
#define ASIZ_task_tty 0x00000008
#define AOFF_task_semundo 0x000005
7
0
#define AOFF_task_semundo 0x000005
6
0
#define ASIZ_task_semundo 0x00000008
#define ASIZ_task_semundo 0x00000008
#define AOFF_task_semsleeping 0x000005
7
8
#define AOFF_task_semsleeping 0x000005
6
8
#define ASIZ_task_semsleeping 0x00000008
#define ASIZ_task_semsleeping 0x00000008
#define AOFF_task_thread 0x000005
8
0
#define AOFF_task_thread 0x000005
7
0
#define ASIZ_task_thread 0x00000450
#define ASIZ_task_thread 0x00000450
#define AOFF_task_fs 0x000009
d
0
#define AOFF_task_fs 0x000009
c
0
#define ASIZ_task_fs 0x00000008
#define ASIZ_task_fs 0x00000008
#define AOFF_task_files 0x000009
d
8
#define AOFF_task_files 0x000009
c
8
#define ASIZ_task_files 0x00000008
#define ASIZ_task_files 0x00000008
#define AOFF_task_sigmask_lock 0x000009
e
0
#define AOFF_task_sigmask_lock 0x000009
d
0
#define ASIZ_task_sigmask_lock 0x0000000c
#define ASIZ_task_sigmask_lock 0x0000000c
#define AOFF_task_sig 0x000009
f
0
#define AOFF_task_sig 0x000009
e
0
#define ASIZ_task_sig 0x00000008
#define ASIZ_task_sig 0x00000008
#define AOFF_task_signal 0x000009
f
8
#define AOFF_task_signal 0x000009
e
8
#define ASIZ_task_signal 0x00000008
#define ASIZ_task_signal 0x00000008
#define AOFF_task_blocked 0x00000
a0
0
#define AOFF_task_blocked 0x00000
9f
0
#define ASIZ_task_blocked 0x00000008
#define ASIZ_task_blocked 0x00000008
#define AOFF_task_sigqueue 0x00000
a0
8
#define AOFF_task_sigqueue 0x00000
9f
8
#define ASIZ_task_sigqueue 0x00000008
#define ASIZ_task_sigqueue 0x00000008
#define AOFF_task_sigqueue_tail 0x00000a
1
0
#define AOFF_task_sigqueue_tail 0x00000a
0
0
#define ASIZ_task_sigqueue_tail 0x00000008
#define ASIZ_task_sigqueue_tail 0x00000008
#define AOFF_task_sas_ss_sp 0x00000a
1
8
#define AOFF_task_sas_ss_sp 0x00000a
0
8
#define ASIZ_task_sas_ss_sp 0x00000008
#define ASIZ_task_sas_ss_sp 0x00000008
#define AOFF_task_sas_ss_size 0x00000a
2
0
#define AOFF_task_sas_ss_size 0x00000a
1
0
#define ASIZ_task_sas_ss_size 0x00000008
#define ASIZ_task_sas_ss_size 0x00000008
#define AOFF_task_parent_exec_id 0x00000a
2
8
#define AOFF_task_parent_exec_id 0x00000a
1
8
#define ASIZ_task_parent_exec_id 0x00000004
#define ASIZ_task_parent_exec_id 0x00000004
#define AOFF_task_self_exec_id 0x00000a
2
c
#define AOFF_task_self_exec_id 0x00000a
1
c
#define ASIZ_task_self_exec_id 0x00000004
#define ASIZ_task_self_exec_id 0x00000004
#define AOFF_task_alloc_lock 0x00000a
3
0
#define AOFF_task_alloc_lock 0x00000a
2
0
#define ASIZ_task_alloc_lock 0x0000000c
#define ASIZ_task_alloc_lock 0x0000000c
#define ASIZ_task 0x00000a
4
0
#define ASIZ_task 0x00000a
3
0
#define AOFF_mm_mmap 0x00000000
#define AOFF_mm_mmap 0x00000000
#define ASIZ_mm_mmap 0x00000008
#define ASIZ_mm_mmap 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
#define AOFF_mm_mmap_avl 0x00000008
...
@@ -794,50 +794,50 @@
...
@@ -794,50 +794,50 @@
#define AOFF_mm_map_count 0x00000028
#define AOFF_mm_map_count 0x00000028
#define ASIZ_mm_map_count 0x00000004
#define ASIZ_mm_map_count 0x00000004
#define AOFF_mm_mmap_sem 0x00000030
#define AOFF_mm_mmap_sem 0x00000030
#define ASIZ_mm_mmap_sem 0x000000
40
#define ASIZ_mm_mmap_sem 0x000000
28
#define AOFF_mm_page_table_lock 0x000000
70
#define AOFF_mm_page_table_lock 0x000000
58
#define ASIZ_mm_page_table_lock 0x0000000c
#define ASIZ_mm_page_table_lock 0x0000000c
#define AOFF_mm_context 0x000000
80
#define AOFF_mm_context 0x000000
68
#define ASIZ_mm_context 0x00000008
#define ASIZ_mm_context 0x00000008
#define AOFF_mm_start_code 0x000000
88
#define AOFF_mm_start_code 0x000000
70
#define ASIZ_mm_start_code 0x00000008
#define ASIZ_mm_start_code 0x00000008
#define AOFF_mm_end_code 0x000000
90
#define AOFF_mm_end_code 0x000000
78
#define ASIZ_mm_end_code 0x00000008
#define ASIZ_mm_end_code 0x00000008
#define AOFF_mm_start_data 0x000000
98
#define AOFF_mm_start_data 0x000000
80
#define ASIZ_mm_start_data 0x00000008
#define ASIZ_mm_start_data 0x00000008
#define AOFF_mm_end_data 0x000000
a0
#define AOFF_mm_end_data 0x000000
88
#define ASIZ_mm_end_data 0x00000008
#define ASIZ_mm_end_data 0x00000008
#define AOFF_mm_start_brk 0x000000
a8
#define AOFF_mm_start_brk 0x000000
90
#define ASIZ_mm_start_brk 0x00000008
#define ASIZ_mm_start_brk 0x00000008
#define AOFF_mm_brk 0x000000
b0
#define AOFF_mm_brk 0x000000
98
#define ASIZ_mm_brk 0x00000008
#define ASIZ_mm_brk 0x00000008
#define AOFF_mm_start_stack 0x000000
b8
#define AOFF_mm_start_stack 0x000000
a0
#define ASIZ_mm_start_stack 0x00000008
#define ASIZ_mm_start_stack 0x00000008
#define AOFF_mm_arg_start 0x000000
c0
#define AOFF_mm_arg_start 0x000000
a8
#define ASIZ_mm_arg_start 0x00000008
#define ASIZ_mm_arg_start 0x00000008
#define AOFF_mm_arg_end 0x000000
c8
#define AOFF_mm_arg_end 0x000000
b0
#define ASIZ_mm_arg_end 0x00000008
#define ASIZ_mm_arg_end 0x00000008
#define AOFF_mm_env_start 0x000000
d0
#define AOFF_mm_env_start 0x000000
b8
#define ASIZ_mm_env_start 0x00000008
#define ASIZ_mm_env_start 0x00000008
#define AOFF_mm_env_end 0x000000
d8
#define AOFF_mm_env_end 0x000000
c0
#define ASIZ_mm_env_end 0x00000008
#define ASIZ_mm_env_end 0x00000008
#define AOFF_mm_rss 0x000000
e0
#define AOFF_mm_rss 0x000000
c8
#define ASIZ_mm_rss 0x00000008
#define ASIZ_mm_rss 0x00000008
#define AOFF_mm_total_vm 0x000000
e8
#define AOFF_mm_total_vm 0x000000
d0
#define ASIZ_mm_total_vm 0x00000008
#define ASIZ_mm_total_vm 0x00000008
#define AOFF_mm_locked_vm 0x000000
f0
#define AOFF_mm_locked_vm 0x000000
d8
#define ASIZ_mm_locked_vm 0x00000008
#define ASIZ_mm_locked_vm 0x00000008
#define AOFF_mm_def_flags 0x000000
f8
#define AOFF_mm_def_flags 0x000000
e0
#define ASIZ_mm_def_flags 0x00000008
#define ASIZ_mm_def_flags 0x00000008
#define AOFF_mm_cpu_vm_mask 0x00000
100
#define AOFF_mm_cpu_vm_mask 0x00000
0e8
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define ASIZ_mm_cpu_vm_mask 0x00000008
#define AOFF_mm_swap_cnt 0x00000
108
#define AOFF_mm_swap_cnt 0x00000
0f0
#define ASIZ_mm_swap_cnt 0x00000008
#define ASIZ_mm_swap_cnt 0x00000008
#define AOFF_mm_swap_address 0x00000
110
#define AOFF_mm_swap_address 0x00000
0f8
#define ASIZ_mm_swap_address 0x00000008
#define ASIZ_mm_swap_address 0x00000008
#define AOFF_mm_segments 0x000001
18
#define AOFF_mm_segments 0x000001
00
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm_segments 0x00000008
#define ASIZ_mm 0x000001
20
#define ASIZ_mm 0x000001
08
#define AOFF_thread_ksp 0x00000000
#define AOFF_thread_ksp 0x00000000
#define ASIZ_thread_ksp 0x00000008
#define ASIZ_thread_ksp 0x00000008
#define AOFF_thread_wstate 0x00000008
#define AOFF_thread_wstate 0x00000008
...
...
include/linux/poll.h
View file @
79e75677
...
@@ -38,22 +38,13 @@ extern inline void poll_wait(struct file * filp, wait_queue_head_t * wait_addres
...
@@ -38,22 +38,13 @@ extern inline void poll_wait(struct file * filp, wait_queue_head_t * wait_addres
__pollwait
(
filp
,
wait_address
,
p
);
__pollwait
(
filp
,
wait_address
,
p
);
}
}
/*
static
inline
void
poll_initwait
(
poll_table
*
pt
)
* For the kernel fd_set we use a fixed set-size for allocation purposes.
{
* This set-size doesn't necessarily bear any relation to the size the user
pt
->
error
=
0
;
* uses, but should preferably obviously be larger than any possible user
pt
->
table
=
NULL
;
* size (NR_OPEN bits).
}
*
extern
void
poll_freewait
(
poll_table
*
pt
);
* We need 6 bitmaps (in/out/ex for both incoming and outgoing), and we
* allocate one page for all the bitmaps. Thus we have 8*PAGE_SIZE bits,
* to be divided by 6. And we'd better make sure we round to a full
* long-word (in fact, we'll round to 64 bytes).
*/
#define KFDS_64BLOCK ((PAGE_SIZE/(6*64))*64)
#define KFDS_NR (KFDS_64BLOCK*8 > NR_OPEN ? NR_OPEN : KFDS_64BLOCK*8)
typedef
unsigned
long
kernel_fd_set
[
KFDS_NR
/
__NFDBITS
];
/*
/*
* Scaleable version of the fd_set.
* Scaleable version of the fd_set.
...
...
kernel/ksyms.c
View file @
79e75677
...
@@ -235,6 +235,7 @@ EXPORT_SYMBOL(vfs_rename);
...
@@ -235,6 +235,7 @@ EXPORT_SYMBOL(vfs_rename);
EXPORT_SYMBOL
(
vfs_statfs
);
EXPORT_SYMBOL
(
vfs_statfs
);
EXPORT_SYMBOL
(
generic_read_dir
);
EXPORT_SYMBOL
(
generic_read_dir
);
EXPORT_SYMBOL
(
__pollwait
);
EXPORT_SYMBOL
(
__pollwait
);
EXPORT_SYMBOL
(
poll_freewait
);
EXPORT_SYMBOL
(
ROOT_DEV
);
EXPORT_SYMBOL
(
ROOT_DEV
);
EXPORT_SYMBOL
(
__find_get_page
);
EXPORT_SYMBOL
(
__find_get_page
);
EXPORT_SYMBOL
(
__find_lock_page
);
EXPORT_SYMBOL
(
__find_lock_page
);
...
...
mm/memory.c
View file @
79e75677
...
@@ -373,12 +373,12 @@ void zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long s
...
@@ -373,12 +373,12 @@ void zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long s
spin_unlock
(
&
mm
->
page_table_lock
);
spin_unlock
(
&
mm
->
page_table_lock
);
/*
/*
* Update rss for the mm_struct (not necessarily current->mm)
* Update rss for the mm_struct (not necessarily current->mm)
* Notice that rss is an unsigned long.
*/
*/
if
(
mm
->
rss
>
0
)
{
if
(
mm
->
rss
>
freed
)
mm
->
rss
-=
freed
;
mm
->
rss
-=
freed
;
if
(
mm
->
rss
<
0
)
else
mm
->
rss
=
0
;
mm
->
rss
=
0
;
}
}
}
...
...
net/core/netfilter.c
View file @
79e75677
...
@@ -512,7 +512,6 @@ void nf_reinject(struct sk_buff *skb, struct nf_info *info,
...
@@ -512,7 +512,6 @@ void nf_reinject(struct sk_buff *skb, struct nf_info *info,
info
->
indev
,
info
->
outdev
,
&
elem
,
info
->
indev
,
info
->
outdev
,
&
elem
,
info
->
okfn
);
info
->
okfn
);
}
}
br_read_unlock_bh
(
BR_NETPROTO_LOCK
);
switch
(
verdict
)
{
switch
(
verdict
)
{
case
NF_ACCEPT
:
case
NF_ACCEPT
:
...
@@ -527,6 +526,7 @@ void nf_reinject(struct sk_buff *skb, struct nf_info *info,
...
@@ -527,6 +526,7 @@ void nf_reinject(struct sk_buff *skb, struct nf_info *info,
kfree_skb
(
skb
);
kfree_skb
(
skb
);
break
;
break
;
}
}
br_read_unlock_bh
(
BR_NETPROTO_LOCK
);
/* Release those devices we held, or Alexey will kill me. */
/* Release those devices we held, or Alexey will kill me. */
if
(
info
->
indev
)
dev_put
(
info
->
indev
);
if
(
info
->
indev
)
dev_put
(
info
->
indev
);
...
...
net/ipv6/reassembly.c
View file @
79e75677
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* Authors:
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
* Pedro Roque <roque@di.fc.ul.pt>
*
*
* $Id: reassembly.c,v 1.1
8 2000/07/07 22:29:42
davem Exp $
* $Id: reassembly.c,v 1.1
9 2000/07/11 22:35:24
davem Exp $
*
*
* Based on: net/ipv4/ip_fragment.c
* Based on: net/ipv4/ip_fragment.c
*
*
...
...
net/sched/sch_cbq.c
View file @
79e75677
...
@@ -1751,11 +1751,12 @@ cbq_destroy(struct Qdisc* sch)
...
@@ -1751,11 +1751,12 @@ cbq_destroy(struct Qdisc* sch)
static
void
cbq_put
(
struct
Qdisc
*
sch
,
unsigned
long
arg
)
static
void
cbq_put
(
struct
Qdisc
*
sch
,
unsigned
long
arg
)
{
{
struct
cbq_sched_data
*
q
=
(
struct
cbq_sched_data
*
)
sch
->
data
;
struct
cbq_class
*
cl
=
(
struct
cbq_class
*
)
arg
;
struct
cbq_class
*
cl
=
(
struct
cbq_class
*
)
arg
;
if
(
--
cl
->
refcnt
==
0
)
{
if
(
--
cl
->
refcnt
==
0
)
{
#ifdef CONFIG_NET_CLS_POLICE
#ifdef CONFIG_NET_CLS_POLICE
struct
cbq_sched_data
*
q
=
(
struct
cbq_sched_data
*
)
sch
->
data
;
spin_lock_bh
(
&
sch
->
dev
->
queue_lock
);
spin_lock_bh
(
&
sch
->
dev
->
queue_lock
);
if
(
q
->
rx_class
==
cl
)
if
(
q
->
rx_class
==
cl
)
q
->
rx_class
=
NULL
;
q
->
rx_class
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment