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
nexedi
linux
Commits
b1850eed
Commit
b1850eed
authored
Jan 09, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix warnings when tracing enabled on 64 bit platforms
SGI Modid: 2.5.x-xfs:slinx:160622a
parent
1a9c5fc1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
60 deletions
+75
-60
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap.c
+17
-17
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item.c
+1
-1
fs/xfs/xfs_dir.c
fs/xfs/xfs_dir.c
+26
-17
fs/xfs/xfs_dir2_trace.c
fs/xfs/xfs_dir2_trace.c
+26
-20
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.c
+5
-5
No files found.
fs/xfs/xfs_bmap.c
View file @
b1850eed
...
...
@@ -3574,14 +3574,14 @@ xfs_bmap_trace_addentry(
(
void
*
)(
__psint_t
)
cnt
,
(
void
*
)(
__psunsigned_t
)(
ip
->
i_ino
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)
ip
->
i_ino
,
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r1
->
l0
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r1
->
l0
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r1
->
l1
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r1
->
l1
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r2
->
l0
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r2
->
l0
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r2
->
l1
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r2
->
l1
,
ARCH_CONVERT
)
)
(
void
*
)(
__psunsigned_t
)(
r1
->
l0
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r1
->
l0
),
(
void
*
)(
__psunsigned_t
)(
r1
->
l1
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r1
->
l1
),
(
void
*
)(
__psunsigned_t
)(
r2
->
l0
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r2
->
l0
),
(
void
*
)(
__psunsigned_t
)(
r2
->
l1
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r2
->
l1
)
);
ASSERT
(
ip
->
i_xtrace
);
ktrace_enter
(
ip
->
i_xtrace
,
...
...
@@ -3591,14 +3591,14 @@ xfs_bmap_trace_addentry(
(
void
*
)(
__psint_t
)
cnt
,
(
void
*
)(
__psunsigned_t
)(
ip
->
i_ino
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)
ip
->
i_ino
,
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r1
->
l0
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r1
->
l0
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r1
->
l1
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r1
->
l1
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r2
->
l0
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r2
->
l0
,
ARCH_CONVERT
)
),
(
void
*
)(
__psunsigned_t
)(
INT_GET
(
r2
->
l1
,
ARCH_CONVERT
)
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
INT_GET
(
r2
->
l1
,
ARCH_CONVERT
)
)
(
void
*
)(
__psunsigned_t
)(
r1
->
l0
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r1
->
l0
),
(
void
*
)(
__psunsigned_t
)(
r1
->
l1
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r1
->
l1
),
(
void
*
)(
__psunsigned_t
)(
r2
->
l0
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r2
->
l0
),
(
void
*
)(
__psunsigned_t
)(
r2
->
l1
>>
32
),
(
void
*
)(
__psunsigned_t
)(
unsigned
)(
r2
->
l1
)
);
}
...
...
@@ -3741,7 +3741,7 @@ xfs_bunmap_trace(
(
void
*
)(
__psint_t
)((
xfs_dfiloff_t
)
bno
&
0xffffffff
),
(
void
*
)(
__psint_t
)
len
,
(
void
*
)(
__psint_t
)
flags
,
(
void
*
)
current_cpu
(),
(
void
*
)
(
unsigned
long
)
current_cpu
(),
(
void
*
)
ra
,
(
void
*
)
0
,
(
void
*
)
0
,
...
...
fs/xfs/xfs_buf_item.c
View file @
b1850eed
...
...
@@ -1214,7 +1214,7 @@ xfs_buf_item_trace(
(
void
*
)((
unsigned
long
)
XFS_BUF_BFLAGS
(
bp
)),
XFS_BUF_FSPRIVATE
(
bp
,
void
*
),
XFS_BUF_FSPRIVATE2
(
bp
,
void
*
),
(
void
*
)
XFS_BUF_ISPINNED
(
bp
),
(
void
*
)
(
unsigned
long
)
XFS_BUF_ISPINNED
(
bp
),
(
void
*
)
XFS_BUF_IODONE_FUNC
(
bp
),
(
void
*
)((
unsigned
long
)(
XFS_BUF_VALUSEMA
(
bp
))),
(
void
*
)
bip
->
bli_item
.
li_desc
,
...
...
fs/xfs/xfs_dir.c
View file @
b1850eed
...
...
@@ -1096,7 +1096,7 @@ xfs_dir_trace_g_du(char *where, xfs_inode_t *dp, uio_t *uio)
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
(
unsigned
long
)
uio
->
uio_resid
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
}
...
...
@@ -1110,8 +1110,8 @@ xfs_dir_trace_g_dub(char *where, xfs_inode_t *dp, uio_t *uio, xfs_dablk_t bno)
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
bno
,
(
void
*
)
(
unsigned
long
)
uio
->
uio_resid
,
(
void
*
)
(
unsigned
long
)
bno
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
}
...
...
@@ -1128,11 +1128,15 @@ xfs_dir_trace_g_dun(char *where, xfs_inode_t *dp, uio_t *uio,
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
INT_GET
(
node
->
hdr
.
info
.
forw
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
node
->
hdr
.
count
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
node
->
btree
[
0
].
hashval
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
node
->
btree
[
last
].
hashval
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
uio
->
uio_resid
,
(
void
*
)(
unsigned
long
)
INT_GET
(
node
->
hdr
.
info
.
forw
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
node
->
hdr
.
count
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
node
->
btree
[
0
].
hashval
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
node
->
btree
[
last
].
hashval
,
ARCH_CONVERT
),
NULL
,
NULL
,
NULL
);
}
...
...
@@ -1149,11 +1153,15 @@ xfs_dir_trace_g_dul(char *where, xfs_inode_t *dp, uio_t *uio,
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
INT_GET
(
leaf
->
hdr
.
info
.
forw
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
leaf
->
hdr
.
count
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
leaf
->
entries
[
0
].
hashval
,
ARCH_CONVERT
),
(
void
*
)
INT_GET
(
leaf
->
entries
[
last
].
hashval
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
uio
->
uio_resid
,
(
void
*
)(
unsigned
long
)
INT_GET
(
leaf
->
hdr
.
info
.
forw
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
leaf
->
hdr
.
count
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
leaf
->
entries
[
0
].
hashval
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
INT_GET
(
leaf
->
entries
[
last
].
hashval
,
ARCH_CONVERT
),
NULL
,
NULL
,
NULL
);
}
...
...
@@ -1168,8 +1176,9 @@ xfs_dir_trace_g_due(char *where, xfs_inode_t *dp, uio_t *uio,
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
INT_GET
(
entry
->
hashval
,
ARCH_CONVERT
),
(
void
*
)(
unsigned
long
)
uio
->
uio_resid
,
(
void
*
)(
unsigned
long
)
INT_GET
(
entry
->
hashval
,
ARCH_CONVERT
),
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
}
...
...
@@ -1183,7 +1192,7 @@ xfs_dir_trace_g_duc(char *where, xfs_inode_t *dp, uio_t *uio, xfs_off_t cookie)
(
void
*
)
dp
,
(
void
*
)
dp
->
i_mount
,
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
>>
32
)),
(
void
*
)((
unsigned
long
)(
uio
->
uio_offset
&
0xFFFFFFFF
)),
(
void
*
)
uio
->
uio_resid
,
(
void
*
)
(
unsigned
long
)
uio
->
uio_resid
,
(
void
*
)((
unsigned
long
)(
cookie
>>
32
)),
(
void
*
)((
unsigned
long
)(
cookie
&
0xFFFFFFFF
)),
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
...
...
@@ -1203,7 +1212,7 @@ xfs_dir_trace_enter(int type, char *where,
void
*
a10
,
void
*
a11
)
{
ASSERT
(
xfs_dir_trace_buf
);
ktrace_enter
(
xfs_dir_trace_buf
,
(
void
*
)(
(
void
*
)
type
)
,
ktrace_enter
(
xfs_dir_trace_buf
,
(
void
*
)(
unsigned
long
)
type
,
(
void
*
)
where
,
(
void
*
)
a0
,
(
void
*
)
a1
,
(
void
*
)
a2
,
(
void
*
)
a3
,
(
void
*
)
a4
,
(
void
*
)
a5
,
...
...
fs/xfs/xfs_dir2_trace.c
View file @
b1850eed
/*
* Copyright (c) 2000-200
1
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
3
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -82,17 +82,17 @@ xfs_dir2_trace_enter(
else
memset
((
char
*
)
n
,
0
,
sizeof
(
n
));
ktrace_enter
(
xfs_dir2_trace_buf
,
(
void
*
)
type
,
(
void
*
)
where
,
(
void
*
)
(
long
)
type
,
(
void
*
)
where
,
(
void
*
)
a0
,
(
void
*
)
a1
,
(
void
*
)
a2
,
(
void
*
)
a3
,
(
void
*
)
a4
,
(
void
*
)
a5
,
(
void
*
)
a6
,
(
void
*
)
a7
,
(
void
*
)
namelen
,
(
void
*
)
(
long
)
namelen
,
(
void
*
)
n
[
0
],
(
void
*
)
n
[
1
],
(
void
*
)
n
[
2
],
(
void
*
)
n
[
3
],
(
void
*
)
n
[
4
]);
ktrace_enter
(
dp
->
i_dir_trace
,
(
void
*
)
type
,
(
void
*
)
where
,
(
void
*
)
(
long
)
type
,
(
void
*
)
where
,
(
void
*
)
a0
,
(
void
*
)
a1
,
(
void
*
)
a2
,
(
void
*
)
a3
,
(
void
*
)
a4
,
(
void
*
)
a5
,
(
void
*
)
a6
,
(
void
*
)
a7
,
(
void
*
)
namelen
,
(
void
*
)
(
long
)
namelen
,
(
void
*
)
n
[
0
],
(
void
*
)
n
[
1
],
(
void
*
)
n
[
2
],
(
void
*
)
n
[
3
],
(
void
*
)
n
[
4
]);
}
...
...
@@ -104,7 +104,7 @@ xfs_dir2_trace_args(
{
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
...
...
@@ -119,7 +119,7 @@ xfs_dir2_trace_args_b(
{
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_B
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
...
...
@@ -136,7 +136,7 @@ xfs_dir2_trace_args_bb(
{
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_BB
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
...
...
@@ -155,12 +155,14 @@ xfs_dir2_trace_args_bibii(
int
sd
,
int
c
)
{
xfs_buf_t
*
bpbs
=
bs
?
bs
->
bps
[
0
]
:
NULL
;
xfs_buf_t
*
bpbd
=
bd
?
bd
->
bps
[
0
]
:
NULL
;
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_BIBII
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
(
void
*
)(
bs
?
bs
->
bps
[
0
]
:
NULL
),
(
void
*
)
ss
,
(
void
*
)(
bd
?
bd
->
bps
[
0
]
:
NULL
),
(
void
*
)
sd
,
(
void
*
)
c
,
NULL
);
(
void
*
)
bpbs
,
(
void
*
)(
long
)
ss
,
(
void
*
)
bpbd
,
(
void
*
)(
long
)
sd
,
(
void
*
)(
long
)
c
,
NULL
);
}
void
...
...
@@ -170,14 +172,16 @@ xfs_dir2_trace_args_db(
xfs_dir2_db_t
db
,
xfs_dabuf_t
*
bp
)
{
xfs_buf_t
*
dbp
=
bp
?
bp
->
bps
[
0
]
:
NULL
;
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_DB
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
db
,
(
void
*
)
(
bp
?
bp
->
bps
[
0
]
:
NULL
)
);
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
(
long
)
db
,
(
void
*
)
dbp
);
}
void
...
...
@@ -188,7 +192,7 @@ xfs_dir2_trace_args_i(
{
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_I
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
...
...
@@ -205,11 +209,11 @@ xfs_dir2_trace_args_s(
{
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_S
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
s
,
0
);
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
(
long
)
s
,
0
);
}
void
...
...
@@ -219,13 +223,15 @@ xfs_dir2_trace_args_sb(
int
s
,
xfs_dabuf_t
*
bp
)
{
xfs_buf_t
*
dbp
=
bp
?
bp
->
bps
[
0
]
:
NULL
;
xfs_dir2_trace_enter
(
args
->
dp
,
XFS_DIR2_KTRACE_ARGS_SB
,
where
,
(
char
*
)
args
->
name
,
(
int
)
args
->
namelen
,
(
void
*
)
args
->
hashval
,
(
void
*
)
(
unsigned
long
)
args
->
hashval
,
(
void
*
)((
unsigned
long
)(
args
->
inumber
>>
32
)),
(
void
*
)((
unsigned
long
)(
args
->
inumber
&
0xFFFFFFFF
)),
(
void
*
)
args
->
dp
,
(
void
*
)
args
->
trans
,
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
s
,
(
void
*
)
(
bp
?
bp
->
bps
[
0
]
:
NULL
)
);
(
void
*
)(
unsigned
long
)
args
->
justcheck
,
(
void
*
)
(
long
)
s
,
(
void
*
)
dbp
);
}
#endif
/* XFS_DIR2_TRACE */
fs/xfs/xfs_inode.c
View file @
b1850eed
...
...
@@ -1368,7 +1368,7 @@ xfs_itrunc_trace(
(
void
*
)(
unsigned
long
)(
toss_start
&
0xffffffff
),
(
void
*
)(
unsigned
long
)((
toss_finish
>>
32
)
&
0xffffffff
),
(
void
*
)(
unsigned
long
)(
toss_finish
&
0xffffffff
),
(
void
*
)
current_cpu
(),
(
void
*
)
(
unsigned
long
)
current_cpu
(),
(
void
*
)
0
,
(
void
*
)
0
,
(
void
*
)
0
,
...
...
@@ -3851,11 +3851,11 @@ xfs_ilock_trace(xfs_inode_t *ip, int lock, unsigned int lockflags, inst_t *ra)
{
ktrace_enter
(
ip
->
i_lock_trace
,
(
void
*
)
ip
,
(
void
*
)
lock
,
/* 1 = LOCK, 3=UNLOCK, etc */
(
void
*
)
lockflags
,
/* XFS_ILOCK_EXCL etc */
(
void
*
)
(
unsigned
long
)
lock
,
/* 1 = LOCK, 3=UNLOCK, etc */
(
void
*
)
(
unsigned
long
)
lockflags
,
/* XFS_ILOCK_EXCL etc */
(
void
*
)
ra
,
/* caller of ilock */
(
void
*
)
current_cpu
(),
(
void
*
)
current_pid
(),
(
void
*
)
(
unsigned
long
)
current_cpu
(),
(
void
*
)
(
unsigned
long
)
current_pid
(),
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
}
#endif
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