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
809fa148
Commit
809fa148
authored
Jan 12, 2010
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RDS: inc_purge() transport function unused - remove it
Signed-off-by:
Andy Grover
<
andy.grover@oracle.com
>
parent
6200ed77
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
3 additions
and
18 deletions
+3
-18
net/rds/ib.c
net/rds/ib.c
+0
-1
net/rds/ib.h
net/rds/ib.h
+0
-1
net/rds/ib_recv.c
net/rds/ib_recv.c
+1
-1
net/rds/iw.c
net/rds/iw.c
+0
-1
net/rds/iw.h
net/rds/iw.h
+0
-1
net/rds/iw_recv.c
net/rds/iw_recv.c
+1
-1
net/rds/loop.c
net/rds/loop.c
+0
-1
net/rds/message.c
net/rds/message.c
+0
-6
net/rds/rds.h
net/rds/rds.h
+0
-2
net/rds/tcp.c
net/rds/tcp.c
+0
-1
net/rds/tcp.h
net/rds/tcp.h
+0
-1
net/rds/tcp_recv.c
net/rds/tcp_recv.c
+1
-1
No files found.
net/rds/ib.c
View file @
809fa148
...
@@ -274,7 +274,6 @@ struct rds_transport rds_ib_transport = {
...
@@ -274,7 +274,6 @@ struct rds_transport rds_ib_transport = {
.
conn_connect
=
rds_ib_conn_connect
,
.
conn_connect
=
rds_ib_conn_connect
,
.
conn_shutdown
=
rds_ib_conn_shutdown
,
.
conn_shutdown
=
rds_ib_conn_shutdown
,
.
inc_copy_to_user
=
rds_ib_inc_copy_to_user
,
.
inc_copy_to_user
=
rds_ib_inc_copy_to_user
,
.
inc_purge
=
rds_ib_inc_purge
,
.
inc_free
=
rds_ib_inc_free
,
.
inc_free
=
rds_ib_inc_free
,
.
cm_initiate_connect
=
rds_ib_cm_initiate_connect
,
.
cm_initiate_connect
=
rds_ib_cm_initiate_connect
,
.
cm_handle_connect
=
rds_ib_cm_handle_connect
,
.
cm_handle_connect
=
rds_ib_cm_handle_connect
,
...
...
net/rds/ib.h
View file @
809fa148
...
@@ -301,7 +301,6 @@ void rds_ib_recv_exit(void);
...
@@ -301,7 +301,6 @@ void rds_ib_recv_exit(void);
int
rds_ib_recv
(
struct
rds_connection
*
conn
);
int
rds_ib_recv
(
struct
rds_connection
*
conn
);
int
rds_ib_recv_refill
(
struct
rds_connection
*
conn
,
gfp_t
kptr_gfp
,
int
rds_ib_recv_refill
(
struct
rds_connection
*
conn
,
gfp_t
kptr_gfp
,
gfp_t
page_gfp
,
int
prefill
);
gfp_t
page_gfp
,
int
prefill
);
void
rds_ib_inc_purge
(
struct
rds_incoming
*
inc
);
void
rds_ib_inc_free
(
struct
rds_incoming
*
inc
);
void
rds_ib_inc_free
(
struct
rds_incoming
*
inc
);
int
rds_ib_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
int
rds_ib_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
size_t
size
);
size_t
size
);
...
...
net/rds/ib_recv.c
View file @
809fa148
...
@@ -273,7 +273,7 @@ int rds_ib_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp,
...
@@ -273,7 +273,7 @@ int rds_ib_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp,
return
ret
;
return
ret
;
}
}
void
rds_ib_inc_purge
(
struct
rds_incoming
*
inc
)
static
void
rds_ib_inc_purge
(
struct
rds_incoming
*
inc
)
{
{
struct
rds_ib_incoming
*
ibinc
;
struct
rds_ib_incoming
*
ibinc
;
struct
rds_page_frag
*
frag
;
struct
rds_page_frag
*
frag
;
...
...
net/rds/iw.c
View file @
809fa148
...
@@ -272,7 +272,6 @@ struct rds_transport rds_iw_transport = {
...
@@ -272,7 +272,6 @@ struct rds_transport rds_iw_transport = {
.
conn_connect
=
rds_iw_conn_connect
,
.
conn_connect
=
rds_iw_conn_connect
,
.
conn_shutdown
=
rds_iw_conn_shutdown
,
.
conn_shutdown
=
rds_iw_conn_shutdown
,
.
inc_copy_to_user
=
rds_iw_inc_copy_to_user
,
.
inc_copy_to_user
=
rds_iw_inc_copy_to_user
,
.
inc_purge
=
rds_iw_inc_purge
,
.
inc_free
=
rds_iw_inc_free
,
.
inc_free
=
rds_iw_inc_free
,
.
cm_initiate_connect
=
rds_iw_cm_initiate_connect
,
.
cm_initiate_connect
=
rds_iw_cm_initiate_connect
,
.
cm_handle_connect
=
rds_iw_cm_handle_connect
,
.
cm_handle_connect
=
rds_iw_cm_handle_connect
,
...
...
net/rds/iw.h
View file @
809fa148
...
@@ -326,7 +326,6 @@ void rds_iw_recv_exit(void);
...
@@ -326,7 +326,6 @@ void rds_iw_recv_exit(void);
int
rds_iw_recv
(
struct
rds_connection
*
conn
);
int
rds_iw_recv
(
struct
rds_connection
*
conn
);
int
rds_iw_recv_refill
(
struct
rds_connection
*
conn
,
gfp_t
kptr_gfp
,
int
rds_iw_recv_refill
(
struct
rds_connection
*
conn
,
gfp_t
kptr_gfp
,
gfp_t
page_gfp
,
int
prefill
);
gfp_t
page_gfp
,
int
prefill
);
void
rds_iw_inc_purge
(
struct
rds_incoming
*
inc
);
void
rds_iw_inc_free
(
struct
rds_incoming
*
inc
);
void
rds_iw_inc_free
(
struct
rds_incoming
*
inc
);
int
rds_iw_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
int
rds_iw_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
size_t
size
);
size_t
size
);
...
...
net/rds/iw_recv.c
View file @
809fa148
...
@@ -273,7 +273,7 @@ int rds_iw_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp,
...
@@ -273,7 +273,7 @@ int rds_iw_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp,
return
ret
;
return
ret
;
}
}
void
rds_iw_inc_purge
(
struct
rds_incoming
*
inc
)
static
void
rds_iw_inc_purge
(
struct
rds_incoming
*
inc
)
{
{
struct
rds_iw_incoming
*
iwinc
;
struct
rds_iw_incoming
*
iwinc
;
struct
rds_page_frag
*
frag
;
struct
rds_page_frag
*
frag
;
...
...
net/rds/loop.c
View file @
809fa148
...
@@ -176,7 +176,6 @@ struct rds_transport rds_loop_transport = {
...
@@ -176,7 +176,6 @@ struct rds_transport rds_loop_transport = {
.
conn_connect
=
rds_loop_conn_connect
,
.
conn_connect
=
rds_loop_conn_connect
,
.
conn_shutdown
=
rds_loop_conn_shutdown
,
.
conn_shutdown
=
rds_loop_conn_shutdown
,
.
inc_copy_to_user
=
rds_message_inc_copy_to_user
,
.
inc_copy_to_user
=
rds_message_inc_copy_to_user
,
.
inc_purge
=
rds_message_inc_purge
,
.
inc_free
=
rds_message_inc_free
,
.
inc_free
=
rds_message_inc_free
,
.
t_name
=
"loopback"
,
.
t_name
=
"loopback"
,
};
};
net/rds/message.c
View file @
809fa148
...
@@ -75,12 +75,6 @@ static void rds_message_purge(struct rds_message *rm)
...
@@ -75,12 +75,6 @@ static void rds_message_purge(struct rds_message *rm)
rds_mr_put
(
rm
->
rdma
.
m_rdma_mr
);
rds_mr_put
(
rm
->
rdma
.
m_rdma_mr
);
}
}
void
rds_message_inc_purge
(
struct
rds_incoming
*
inc
)
{
struct
rds_message
*
rm
=
container_of
(
inc
,
struct
rds_message
,
m_inc
);
rds_message_purge
(
rm
);
}
void
rds_message_put
(
struct
rds_message
*
rm
)
void
rds_message_put
(
struct
rds_message
*
rm
)
{
{
rdsdebug
(
"put rm %p ref %d
\n
"
,
rm
,
atomic_read
(
&
rm
->
m_refcount
));
rdsdebug
(
"put rm %p ref %d
\n
"
,
rm
,
atomic_read
(
&
rm
->
m_refcount
));
...
...
net/rds/rds.h
View file @
809fa148
...
@@ -422,7 +422,6 @@ struct rds_transport {
...
@@ -422,7 +422,6 @@ struct rds_transport {
int
(
*
recv
)(
struct
rds_connection
*
conn
);
int
(
*
recv
)(
struct
rds_connection
*
conn
);
int
(
*
inc_copy_to_user
)(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
int
(
*
inc_copy_to_user
)(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
size_t
size
);
size_t
size
);
void
(
*
inc_purge
)(
struct
rds_incoming
*
inc
);
void
(
*
inc_free
)(
struct
rds_incoming
*
inc
);
void
(
*
inc_free
)(
struct
rds_incoming
*
inc
);
int
(
*
cm_handle_connect
)(
struct
rdma_cm_id
*
cm_id
,
int
(
*
cm_handle_connect
)(
struct
rdma_cm_id
*
cm_id
,
...
@@ -668,7 +667,6 @@ int rds_message_get_version_extension(struct rds_header *hdr, unsigned int *vers
...
@@ -668,7 +667,6 @@ int rds_message_get_version_extension(struct rds_header *hdr, unsigned int *vers
int
rds_message_add_rdma_dest_extension
(
struct
rds_header
*
hdr
,
u32
r_key
,
u32
offset
);
int
rds_message_add_rdma_dest_extension
(
struct
rds_header
*
hdr
,
u32
r_key
,
u32
offset
);
int
rds_message_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
int
rds_message_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
first_iov
,
size_t
size
);
struct
iovec
*
first_iov
,
size_t
size
);
void
rds_message_inc_purge
(
struct
rds_incoming
*
inc
);
void
rds_message_inc_free
(
struct
rds_incoming
*
inc
);
void
rds_message_inc_free
(
struct
rds_incoming
*
inc
);
void
rds_message_addref
(
struct
rds_message
*
rm
);
void
rds_message_addref
(
struct
rds_message
*
rm
);
void
rds_message_put
(
struct
rds_message
*
rm
);
void
rds_message_put
(
struct
rds_message
*
rm
);
...
...
net/rds/tcp.c
View file @
809fa148
...
@@ -266,7 +266,6 @@ struct rds_transport rds_tcp_transport = {
...
@@ -266,7 +266,6 @@ struct rds_transport rds_tcp_transport = {
.
conn_connect
=
rds_tcp_conn_connect
,
.
conn_connect
=
rds_tcp_conn_connect
,
.
conn_shutdown
=
rds_tcp_conn_shutdown
,
.
conn_shutdown
=
rds_tcp_conn_shutdown
,
.
inc_copy_to_user
=
rds_tcp_inc_copy_to_user
,
.
inc_copy_to_user
=
rds_tcp_inc_copy_to_user
,
.
inc_purge
=
rds_tcp_inc_purge
,
.
inc_free
=
rds_tcp_inc_free
,
.
inc_free
=
rds_tcp_inc_free
,
.
stats_info_copy
=
rds_tcp_stats_info_copy
,
.
stats_info_copy
=
rds_tcp_stats_info_copy
,
.
exit
=
rds_tcp_exit
,
.
exit
=
rds_tcp_exit
,
...
...
net/rds/tcp.h
View file @
809fa148
...
@@ -70,7 +70,6 @@ int __init rds_tcp_recv_init(void);
...
@@ -70,7 +70,6 @@ int __init rds_tcp_recv_init(void);
void
rds_tcp_recv_exit
(
void
);
void
rds_tcp_recv_exit
(
void
);
void
rds_tcp_data_ready
(
struct
sock
*
sk
,
int
bytes
);
void
rds_tcp_data_ready
(
struct
sock
*
sk
,
int
bytes
);
int
rds_tcp_recv
(
struct
rds_connection
*
conn
);
int
rds_tcp_recv
(
struct
rds_connection
*
conn
);
void
rds_tcp_inc_purge
(
struct
rds_incoming
*
inc
);
void
rds_tcp_inc_free
(
struct
rds_incoming
*
inc
);
void
rds_tcp_inc_free
(
struct
rds_incoming
*
inc
);
int
rds_tcp_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
int
rds_tcp_inc_copy_to_user
(
struct
rds_incoming
*
inc
,
struct
iovec
*
iov
,
size_t
size
);
size_t
size
);
...
...
net/rds/tcp_recv.c
View file @
809fa148
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
static
struct
kmem_cache
*
rds_tcp_incoming_slab
;
static
struct
kmem_cache
*
rds_tcp_incoming_slab
;
void
rds_tcp_inc_purge
(
struct
rds_incoming
*
inc
)
static
void
rds_tcp_inc_purge
(
struct
rds_incoming
*
inc
)
{
{
struct
rds_tcp_incoming
*
tinc
;
struct
rds_tcp_incoming
*
tinc
;
tinc
=
container_of
(
inc
,
struct
rds_tcp_incoming
,
ti_inc
);
tinc
=
container_of
(
inc
,
struct
rds_tcp_incoming
,
ti_inc
);
...
...
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