/linux-6.1.9/net/sctp/ |
D | tsnmap.c | 69 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument 74 if (TSN_lte(tsn, map->cumulative_tsn_ack_point)) in sctp_tsnmap_check() 80 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check() 84 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 95 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, in sctp_tsnmap_mark() argument 100 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark() 103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 125 if (TSN_lt(map->max_tsn_seen, tsn)) in sctp_tsnmap_mark() 126 map->max_tsn_seen = tsn; in sctp_tsnmap_mark() 190 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() argument [all …]
|
D | ulpqueue.c | 278 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local 280 tsn = event->tsn; in sctp_ulpq_store_reasm() 291 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 292 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm() 300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 302 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm() 433 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled() 530 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial() 597 ctsn = event->tsn; in sctp_ulpq_reasm() 628 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first() [all …]
|
D | outqueue.c | 42 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn); 153 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument 156 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2() 178 __u32 tsn) in sctp_cacc_skip() argument 182 sctp_cacc_skip_3_2(primary, tsn))) in sctp_cacc_skip() 327 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list() 331 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list() 1106 "illegal chunk", ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush_data() 1118 __func__, ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush_data() 1256 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local [all …]
|
D | stream_interleave.c | 1112 __u32 tsn; in sctp_generate_iftsn() local 1122 tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_generate_iftsn() 1124 if (TSN_lte(tsn, ctsn)) { in sctp_generate_iftsn() 1127 } else if (TSN_lte(tsn, asoc->adv_peer_ack_point + 1)) { in sctp_generate_iftsn() 1135 asoc->adv_peer_ack_point = tsn; in sctp_generate_iftsn() 1217 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local 1219 if (TSN_lte(tsn, ftsn)) { in sctp_intl_reasm_flushtsn() 1227 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local 1229 if (TSN_lte(tsn, ftsn)) { in sctp_intl_reasm_flushtsn()
|
D | sm_statefuns.c | 4204 __u32 tsn; in sctp_sf_eat_fwd_tsn() local 4226 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn() 4227 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn() 4232 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn() 4238 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn() 4271 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() local 4293 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn_fast() 4294 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn_fast() 4299 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast() 4305 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast() [all …]
|
D | ulpevent.c | 709 ntohl(chunk->subh.data_hdr->tsn), in sctp_ulpevent_make_rcvmsg() 752 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg() 1000 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo() 1028 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()
|
D | associola.c | 925 __u32 tsn) in sctp_assoc_lookup_tsn() argument 931 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn() 955 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn() 969 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
|
D | sm_make_chunk.c | 975 __u32 tsn) in sctp_make_abort_no_data() argument 981 sizeof(struct sctp_errhdr) + sizeof(tsn)); in sctp_make_abort_no_data() 987 payload = htonl(tsn); in sctp_make_abort_no_data() 1621 chunk->subh.data_hdr->tsn = in sctp_chunk_assign_tsn()
|
D | output.c | 506 chunk->has_tsn ? ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_pack()
|
/linux-6.1.9/include/net/sctp/ |
D | tsnmap.h | 95 int sctp_tsnmap_check(const struct sctp_tsnmap *, __u32 tsn); 98 int sctp_tsnmap_mark(struct sctp_tsnmap *, __u32 tsn, 102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 145 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup() argument 148 map->dup_tsns[map->num_dup_tsns++] = htonl(tsn); in sctp_tsnmap_mark_dup() 152 void sctp_tsnmap_renege(struct sctp_tsnmap *, __u32 tsn);
|
D | ulpevent.h | 50 __u32 tsn; member
|
D | sm.h | 210 __u32 tsn);
|
/linux-6.1.9/Documentation/devicetree/bindings/net/dsa/ |
D | hirschmann,hellcreek.yaml | 36 - const: tsn 85 reg-names = "tsn", "ptp";
|
/linux-6.1.9/block/ |
D | sed-opal.c | 85 u32 tsn; member 726 static int cmd_finalize(struct opal_dev *cmd, u32 hsn, u32 tsn) in cmd_finalize() argument 752 hdr->pkt.tsn = cpu_to_be32(tsn); in cmd_finalize() 1089 u32 hsn, tsn; in start_opal_session_cont() local 1097 tsn = response_get_u64(&dev->parsed, 5); in start_opal_session_cont() 1099 if (hsn != GENERIC_HOST_SESSION_NUM || tsn < FIRST_TPER_SESSION_NUM) { in start_opal_session_cont() 1105 dev->tsn = tsn; in start_opal_session_cont() 1128 dev->tsn = 0; in end_session_cont() 1137 ret = cmd_finalize(dev, dev->hsn, dev->tsn); in finalize_and_send() 2140 dev->tsn = 0; in setup_opal_dev() [all …]
|
D | opal_proto.h | 234 __be32 tsn; member
|
/linux-6.1.9/include/linux/ |
D | sctp.h | 221 __be32 tsn; member 234 __be32 tsn; member
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | ls1021a-tsn.dts | 11 compatible = "fsl,ls1021a-tsn", "fsl,ls1021a";
|
D | Makefile | 800 ls1021a-tsn.dtb \
|
/linux-6.1.9/net/nfc/ |
D | digital_technology.c | 137 u8 tsn; member 825 sensf_req->tsn = 0; in digital_in_send_sensf_req()
|
/linux-6.1.9/drivers/nfc/pn533/ |
D | pn533.c | 90 u8 tsn; member 119 .tsn = 0x03, 132 .tsn = 0x03,
|
/linux-6.1.9/Documentation/devicetree/bindings/arm/ |
D | fsl.yaml | 1136 - fsl,ls1021a-tsn
|