Home
last modified time | relevance | path

Searched refs:ssa (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c137 sosctp_assoc(struct sctp_sonode *ss, sctp_assoc_t id, struct sctp_soassoc **ssa) in sosctp_assoc() argument
139 ASSERT(ssa != NULL); in sosctp_assoc()
142 *ssa = NULL; in sosctp_assoc()
146 if ((*ssa = ss->ss_assocs[id].ssi_assoc) == NULL) { in sosctp_assoc()
149 if (((*ssa)->ssa_state & (SS_CANTSENDMORE|SS_CANTRCVMORE)) == in sosctp_assoc()
154 *ssa = NULL; in sosctp_assoc()
157 SSA_REFHOLD(*ssa) in sosctp_assoc()
168 struct sctp_soassoc *ssa; in sosctp_assoc_create() local
170 ssa = kmem_cache_alloc(sosctp_assoccache, kmflag); in sosctp_assoc_create()
171 if (ssa != NULL) { in sosctp_assoc_create()
[all …]
H A Dsocksctp.h101 struct sctp_soassoc **ssa);
104 extern void sosctp_assoc_free(struct sctp_sonode *ss, struct sctp_soassoc *ssa);
110 struct sctp_soassoc *ssa);
113 extern void sosctp_assoc_isconnecting(struct sctp_soassoc *ssa);
114 extern void sosctp_assoc_isconnected(struct sctp_soassoc *ssa);
115 extern void sosctp_assoc_isdisconnecting(struct sctp_soassoc *ssa);
116 extern void sosctp_assoc_isdisconnected(struct sctp_soassoc *ssa, int error);
131 #define SSA_REFHOLD(ssa) \ argument
133 ASSERT(MUTEX_HELD(&(ssa)->ssa_sonode->ss_so.so_lock)); \
134 ASSERT((ssa)->ssa_refcnt > 0); \
[all …]
H A Dsocksctp.c450 struct sctp_soassoc *ssa; in sosctp_seq_connect() local
468 cr, &ssa); in sosctp_seq_connect()
474 if (ssa != NULL) { in sosctp_seq_connect()
475 SSA_REFRELE(ss, ssa); in sosctp_seq_connect()
493 struct sctp_soassoc *ssa = NULL; in sosctp_recvmsg() local
570 ssa = *(struct sctp_soassoc **)DB_BASE(mp); in sosctp_recvmsg()
621 if (ssa == NULL) { in sosctp_recvmsg()
651 ssa->ssa_rcv_queued -= readcnt; in sosctp_recvmsg()
652 count = so->so_rcvbuf - ssa->ssa_rcv_queued; in sosctp_recvmsg()
656 if (readcnt > 0 && ssa->ssa_flowctrld && in sosctp_recvmsg()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_iter.c320 snapspec_arg_t *ssa = arg; in snapspec_cb() local
324 if (ssa->ssa_seenlast) in snapspec_cb()
328 if (!ssa->ssa_seenfirst && strcmp(shortsnapname, ssa->ssa_first) == 0) in snapspec_cb()
329 ssa->ssa_seenfirst = B_TRUE; in snapspec_cb()
330 if (strcmp(shortsnapname, ssa->ssa_last) == 0) in snapspec_cb()
331 ssa->ssa_seenlast = B_TRUE; in snapspec_cb()
333 if (ssa->ssa_seenfirst) { in snapspec_cb()
334 err = ssa->ssa_func(zhp, ssa->ssa_arg); in snapspec_cb()
370 snapspec_arg_t ssa = { 0 }; in zfs_iter_snapspec() local
371 ssa.ssa_func = func; in zfs_iter_snapspec()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A DMakefile62 LIB_OBJS += ssa.o
/illumos-gate/usr/src/tools/smatch/
H A DMakefile95 LIB_OBJS += ssa.o
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dsadb.c6145 struct sockaddr_in *ssa, *dsa; local
6171 ssa = (struct sockaddr_in *)(src + 1);
6172 ssa6 = (struct sockaddr_in6 *)ssa;
6173 ASSERT(dsa->sin_family == ssa->sin_family);
6180 srcaddr = (uint32_t *)(&ssa->sin_addr);