Home
last modified time | relevance | path

Searched refs:tsn_map (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/net/sctp/
Dtsnmap.c53 if (!map->tsn_map) { in sctp_tsnmap_init()
54 map->tsn_map = kzalloc(len>>3, gfp); in sctp_tsnmap_init()
55 if (map->tsn_map == NULL) in sctp_tsnmap_init()
60 bitmap_zero(map->tsn_map, map->len); in sctp_tsnmap_init()
75 kfree(map->tsn_map); in sctp_tsnmap_free()
102 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check()
144 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark()
179 sctp_tsnmap_find_gap_ack(map->tsn_map, offset, map->len, in sctp_tsnmap_next_gap_ack()
226 bitmap_zero(map->tsn_map, map->len); in sctp_tsnmap_skip()
231 bitmap_shift_right(map->tsn_map, map->tsn_map, gap, map->len); in sctp_tsnmap_skip()
[all …]
Dstream.c596 sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map)) { in sctp_process_strreset_outreq()
777 sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map) + 1; in sctp_process_strreset_tsnreq()
802 max_tsn_seen = sctp_tsnmap_get_max_tsn_seen(&asoc->peer.tsn_map); in sctp_process_strreset_tsnreq()
810 init_tsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map) + (1 << 31); in sctp_process_strreset_tsnreq()
811 sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL, in sctp_process_strreset_tsnreq()
1078 &asoc->peer.tsn_map); in sctp_process_strreset_resp()
1083 sctp_tsnmap_init(&asoc->peer.tsn_map, in sctp_process_strreset_resp()
Dulpqueue.c620 ctsnap = sctp_tsnmap_get_ctsn(&ulpq->asoc->peer.tsn_map); in sctp_ulpq_reasm()
995 tsnmap = &ulpq->asoc->peer.tsn_map; in sctp_ulpq_renege_list()
1071 if (!TSN_lte(ctsn, sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map))) in sctp_ulpq_partial_delivery()
Dsm_sideeffect.c166 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_gen_sack()
167 max_tsn_seen = sctp_tsnmap_get_max_tsn_seen(&asoc->peer.tsn_map); in sctp_gen_sack()
1364 error = sctp_tsnmap_mark(&asoc->peer.tsn_map, in sctp_cmd_interpreter()
1648 sctp_tsnmap_mark_dup(&asoc->peer.tsn_map, in sctp_cmd_interpreter()
Dulpevent.c667 if (sctp_tsnmap_mark(&asoc->peer.tsn_map, in sctp_ulpevent_make_rcvmsg()
710 event->cumtsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_ulpevent_make_rcvmsg()
Dstream_interleave.c1195 sctp_tsnmap_skip(&ulpq->asoc->peer.tsn_map, ftsn); in sctp_report_fwdtsn()
1230 sctp_tsnmap_skip(&ulpq->asoc->peer.tsn_map, ftsn); in sctp_report_iftsn()
1234 if (ftsn == sctp_tsnmap_get_max_tsn_seen(&ulpq->asoc->peer.tsn_map)) in sctp_report_iftsn()
Dassociola.c367 sctp_tsnmap_free(&asoc->peer.tsn_map); in sctp_association_free()
1131 if (!sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL, in sctp_assoc_update()
Dsm_make_chunk.c764 struct sctp_tsnmap *map = (struct sctp_tsnmap *)&asoc->peer.tsn_map; in sctp_make_sack()
869 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_make_shutdown()
2449 if (!sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL, in sctp_process_init()
Dsm_statefuns.c4066 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn()
4133 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast()
6309 struct sctp_tsnmap *map = (struct sctp_tsnmap *)&asoc->peer.tsn_map; in sctp_eat_data()
6349 tmp = sctp_tsnmap_check(&asoc->peer.tsn_map, tsn); in sctp_eat_data()
Dsocket.c4927 info->sctpi_penddata = sctp_tsnmap_pending(&asoc->peer.tsn_map); in sctp_get_sctp_info()
5163 status.sstat_penddata = sctp_tsnmap_pending(&asoc->peer.tsn_map); in sctp_getsockopt_sctp_status()
/Linux-v4.19/include/net/sctp/
Dtsnmap.h56 unsigned long *tsn_map; member
Dstructs.h1680 struct sctp_tsnmap tsn_map; member