Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
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()
1297 error = sctp_tsnmap_mark(&asoc->peer.tsn_map, in sctp_cmd_interpreter()
1303 sctp_tsnmap_skip(&asoc->peer.tsn_map, cmd->obj.u32); in sctp_cmd_interpreter()
1585 sctp_tsnmap_mark_dup(&asoc->peer.tsn_map, in sctp_cmd_interpreter()
Dulpqueue.c607 ctsnap = sctp_tsnmap_get_ctsn(&ulpq->asoc->peer.tsn_map); in sctp_ulpq_reasm()
982 tsnmap = &ulpq->asoc->peer.tsn_map; in sctp_ulpq_renege_list()
1058 if (!TSN_lte(ctsn, sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map))) in sctp_ulpq_partial_delivery()
Dulpevent.c670 if (sctp_tsnmap_mark(&asoc->peer.tsn_map, in sctp_ulpevent_make_rcvmsg()
709 event->cumtsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_ulpevent_make_rcvmsg()
Dassociola.c358 sctp_tsnmap_free(&asoc->peer.tsn_map); in sctp_association_free()
1102 sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL, in sctp_assoc_update()
Dsm_make_chunk.c760 struct sctp_tsnmap *map = (struct sctp_tsnmap *)&asoc->peer.tsn_map; in sctp_make_sack()
860 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_make_shutdown()
2421 if (!sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL, in sctp_process_init()
Dsm_statefuns.c3868 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn()
3936 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast()
6105 struct sctp_tsnmap *map = (struct sctp_tsnmap *)&asoc->peer.tsn_map; in sctp_eat_data()
6144 tmp = sctp_tsnmap_check(&asoc->peer.tsn_map, tsn); in sctp_eat_data()
Dsocket.c4249 status.sstat_penddata = sctp_tsnmap_pending(&asoc->peer.tsn_map); in sctp_getsockopt_sctp_status()
/linux-4.4.14/include/net/sctp/
Dtsnmap.h56 unsigned long *tsn_map; member
Dstructs.h1469 struct sctp_tsnmap tsn_map; member