Page MenuHomeFreeBSD

D37041.diff
No OneTemporary

D37041.diff

diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c
--- a/sys/dev/cxgbe/iw_cxgbe/cm.c
+++ b/sys/dev/cxgbe/iw_cxgbe/cm.c
@@ -68,7 +68,7 @@
#include "offload.h"
#include "tom/t4_tom.h"
-#define TOEPCB(so) ((struct toepcb *)(so_sototcpcb((so))->t_toe))
+#define TOEPCB(so) ((struct toepcb *)(sototcpcb((so))->t_toe))
#include "iw_cxgbe.h"
#include <linux/module.h>
diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c
--- a/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ b/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -2053,7 +2053,7 @@
#define aio_refs backend4
#define jobtotid(job) \
- (((struct toepcb *)(so_sototcpcb((job)->fd_file->f_data)->t_toe))->tid)
+ (((struct toepcb *)(sototcpcb((job)->fd_file->f_data)->t_toe))->tid)
static void
aiotx_free_job(struct kaiocb *job)
@@ -2415,7 +2415,7 @@
struct toepcb *toep;
so = job->fd_file->f_data;
- tp = so_sototcpcb(so);
+ tp = sototcpcb(so);
toep = tp->t_toe;
MPASS(job->uaiocb.aio_lio_opcode == LIO_WRITE);
sb = &so->so_snd;
@@ -2432,7 +2432,7 @@
int
t4_aio_queue_aiotx(struct socket *so, struct kaiocb *job)
{
- struct tcpcb *tp = so_sototcpcb(so);
+ struct tcpcb *tp = sototcpcb(so);
struct toepcb *toep = tp->t_toe;
struct adapter *sc = td_adapter(toep->td);
diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c
--- a/sys/dev/cxgbe/tom/t4_ddp.c
+++ b/sys/dev/cxgbe/tom/t4_ddp.c
@@ -2137,7 +2137,7 @@
t4_aio_cancel_active(struct kaiocb *job)
{
struct socket *so = job->fd_file->f_data;
- struct tcpcb *tp = so_sototcpcb(so);
+ struct tcpcb *tp = sototcpcb(so);
struct toepcb *toep = tp->t_toe;
struct adapter *sc = td_adapter(toep->td);
uint64_t valid_flag;
@@ -2178,7 +2178,7 @@
t4_aio_cancel_queued(struct kaiocb *job)
{
struct socket *so = job->fd_file->f_data;
- struct tcpcb *tp = so_sototcpcb(so);
+ struct tcpcb *tp = sototcpcb(so);
struct toepcb *toep = tp->t_toe;
DDP_LOCK(toep);
@@ -2197,7 +2197,7 @@
int
t4_aio_queue_ddp(struct socket *so, struct kaiocb *job)
{
- struct tcpcb *tp = so_sototcpcb(so);
+ struct tcpcb *tp = sototcpcb(so);
struct toepcb *toep = tp->t_toe;
diff --git a/sys/dev/cxgbe/tom/t4_tom.c b/sys/dev/cxgbe/tom/t4_tom.c
--- a/sys/dev/cxgbe/tom/t4_tom.c
+++ b/sys/dev/cxgbe/tom/t4_tom.c
@@ -1989,7 +1989,7 @@
static int
t4_aio_queue_tom(struct socket *so, struct kaiocb *job)
{
- struct tcpcb *tp = so_sototcpcb(so);
+ struct tcpcb *tp = sototcpcb(so);
struct toepcb *toep = tp->t_toe;
int error;

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 1:27 PM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15754213
Default Alt Text
D37041.diff (2 KB)

Event Timeline