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
def045a2
Commit
def045a2
authored
Jan 07, 2003
by
Andrew Morton
Committed by
James Morris
Jan 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AF_UNIX]: Uninline unix_get_socket/maybe_unmark_and_push, mark {pop,empty}_stack static.
parent
c1b44928
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
net/unix/garbage.c
net/unix/garbage.c
+4
-4
No files found.
net/unix/garbage.c
View file @
def045a2
...
...
@@ -92,7 +92,7 @@ static unix_socket *gc_current=GC_HEAD; /* stack of objects to mark */
atomic_t
unix_tot_inflight
=
ATOMIC_INIT
(
0
);
extern
inline
unix_socket
*
unix_get_socket
(
struct
file
*
filp
)
static
unix_socket
*
unix_get_socket
(
struct
file
*
filp
)
{
unix_socket
*
u_sock
=
NULL
;
struct
inode
*
inode
=
filp
->
f_dentry
->
d_inode
;
...
...
@@ -141,19 +141,19 @@ void unix_notinflight(struct file *fp)
* Garbage Collector Support Functions
*/
extern
inline
unix_socket
*
pop_stack
(
void
)
static
inline
unix_socket
*
pop_stack
(
void
)
{
unix_socket
*
p
=
gc_current
;
gc_current
=
unix_sk
(
p
)
->
gc_tree
;
return
p
;
}
extern
inline
int
empty_stack
(
void
)
static
inline
int
empty_stack
(
void
)
{
return
gc_current
==
GC_HEAD
;
}
extern
inline
void
maybe_unmark_and_push
(
unix_socket
*
x
)
static
void
maybe_unmark_and_push
(
unix_socket
*
x
)
{
struct
unix_sock
*
u
=
unix_sk
(
x
);
...
...
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