Home
last modified time | relevance | path

Searched refs:sodp (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsodirect.c68 sodirect_t *sodp = so->so_direct; in sod_rcv_init() local
70 if (sodp == NULL) in sod_rcv_init()
78 sodp != NULL && sodp->sod_enabled && in sod_rcv_init()
87 if (!uioainit(uiop, &sodp->sod_uioa)) { in sod_rcv_init()
94 *uiopp = (uio_t *)&sodp->sod_uioa; in sod_rcv_init()
119 sodirect_t *sodp = so->so_direct; in sod_rcv_done() local
122 if (sodp == NULL) { in sod_rcv_done()
131 ASSERT(uiop == (uio_t *)&sodp->sod_uioa); in sod_rcv_done()
133 if ((mp = sodp->sod_uioafh) != NULL) { in sod_rcv_done()
134 sodp->sod_uioafh = NULL; in sod_rcv_done()
[all …]
H A Dsodirect.h62 #define SOD_DISABLE(sodp) { \ argument
63 (sodp)->sod_enabled = B_FALSE; \
68 #define SOD_UIOAFINI(sodp) { \ argument
69 if ((sodp)->sod_uioa.uioa_state & UIOA_ENABLED) { \
70 (sodp)->sod_uioa.uioa_state &= UIOA_CLR; \
71 (sodp)->sod_uioa.uioa_state |= UIOA_FINI; \
H A Dsockcommon_subr.c673 sodirect_t *sodp = so->so_direct; in so_dequeue_msg() local
696 if (sodp != NULL) { in so_dequeue_msg()
697 if (sodp->sod_enabled) { in so_dequeue_msg()
698 if (sodp->sod_uioa.uioa_state & UIOA_ALLOC) { in so_dequeue_msg()
700 sodp = NULL; in so_dequeue_msg()
701 } else if (sodp->sod_uioa.uioa_state & UIOA_INIT) { in so_dequeue_msg()
702 sodp->sod_uioa.uioa_state &= UIOA_CLR; in so_dequeue_msg()
703 sodp->sod_uioa.uioa_state |= UIOA_ENABLED; in so_dequeue_msg()
708 sod_uioa_so_init(so, sodp, uiop); in so_dequeue_msg()
711 sodp = NULL; in so_dequeue_msg()
[all …]
H A Dsockcommon_sops.c1266 sodirect_t *sodp = so->so_direct; in so_queue_msg_impl() local
1296 if (sodp != NULL) in so_queue_msg_impl()
1297 SOD_UIOAFINI(sodp); in so_queue_msg_impl()
1330 if (sodp != NULL) in so_queue_msg_impl()
1331 SOD_DISABLE(sodp); in so_queue_msg_impl()
1338 if (sodp != NULL) in so_queue_msg_impl()
1339 SOD_DISABLE(sodp); in so_queue_msg_impl()
1345 if (sodp != NULL && sodp->sod_enabled) { in so_queue_msg_impl()
1347 sod_uioa_mblk_init(sodp, mp, msg_size); in so_queue_msg_impl()
1349 SOD_UIOAFINI(sodp); in so_queue_msg_impl()