Home
last modified time | relevance | path

Searched refs:seq_num (Results 1 – 25 of 137) sorted by relevance

123456

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_test_kern4.c20 __u64 seq_num; in dump_bpf_map() local
30 seq_num = ctx->meta->seq_num; in dump_bpf_map()
32 map1_seqnum = seq_num; in dump_bpf_map()
38 map2_seqnum1 = seq_num; in dump_bpf_map()
42 map2_seqnum2 = seq_num; in dump_bpf_map()
49 bpf_seq_write(seq, &seq_num, sizeof(seq_num)); in dump_bpf_map()
Dbpf_iter_tcp4.c75 uid_t uid, __u32 seq_num) in dump_tcp_sock() argument
124 seq_num, src, srcp, dest, destp); in dump_tcp_sock()
148 uid_t uid, __u32 seq_num) in dump_tw_sock() argument
162 seq_num, src, srcp, dest, destp); in dump_tw_sock()
173 uid_t uid, __u32 seq_num) in dump_req_sock() argument
185 seq_num, irsk->ir_loc_addr, in dump_req_sock()
204 __u32 seq_num; in dump_tcp4() local
209 seq_num = ctx->meta->seq_num; in dump_tcp4()
210 if (seq_num == 0) in dump_tcp4()
222 return dump_tcp_sock(seq, tp, uid, seq_num); in dump_tcp4()
[all …]
Dbpf_iter_tcp6.c75 uid_t uid, __u32 seq_num) in dump_tcp6_sock() argument
124 seq_num, in dump_tcp6_sock()
153 uid_t uid, __u32 seq_num) in dump_tw_sock() argument
167 seq_num, in dump_tw_sock()
182 uid_t uid, __u32 seq_num) in dump_req_sock() argument
197 seq_num, in dump_req_sock()
220 __u32 seq_num; in dump_tcp6() local
225 seq_num = ctx->meta->seq_num; in dump_tcp6()
226 if (seq_num == 0) in dump_tcp6()
238 return dump_tcp6_sock(seq, tp, uid, seq_num); in dump_tcp6()
[all …]
Dbpf_iter_unix.c30 __u32 seq_num; in dump_unix() local
36 seq_num = ctx->meta->seq_num; in dump_unix()
37 if (seq_num == 0) in dump_unix()
Dbpf_iter_udp4.c32 __u32 seq_num; in dump_udp4() local
38 seq_num = ctx->meta->seq_num; in dump_udp4()
39 if (seq_num == 0) in dump_udp4()
Dbpf_iter_bpf_map.c12 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_map() local
20 if (seq_num == 0) in dump_bpf_map()
Dbpf_iter_bpf_hash_map.c46 __u32 seq_num = ctx->meta->seq_num; in dump_bpf_hash_map() local
102 if (seq_num == 0) in dump_bpf_hash_map()
119 if (ctx->meta->seq_num == 0) in sleepable_dummy_dump()
Dbpf_iter_udp6.c40 __u32 seq_num; in dump_udp6() local
46 seq_num = ctx->meta->seq_num; in dump_udp6()
47 if (seq_num == 0) in dump_udp6()
Dbpf_iter_ksym.c33 __u32 seq_num = ctx->meta->seq_num; in dump_ksym() local
40 if (seq_num == 0) { in dump_ksym()
Dbpf_iter_task.c30 if (ctx->meta->seq_num == 0) in dump_task()
83 if (ctx->meta->seq_num == 0) in dump_task_sleepable()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
D11n_rxreorder.c304 int start_win, seq_num; in mwifiex_flush_data() local
307 seq_num = mwifiex_11n_find_last_seq_num(ctx); in mwifiex_flush_data()
309 if (seq_num < 0) in mwifiex_flush_data()
312 mwifiex_dbg(ctx->priv->adapter, INFO, "info: flush data %d\n", seq_num); in mwifiex_flush_data()
313 start_win = (ctx->ptr->start_win + seq_num + 1) & (MAX_TID_VALUE - 1); in mwifiex_flush_data()
330 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl() argument
343 mwifiex_11n_dispatch_pkt_until_start_win(priv, tbl, seq_num); in mwifiex_11n_create_rx_reorder_tbl()
354 new_node->start_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl()
355 new_node->init_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl()
548 u16 seq_num, u16 tid, in mwifiex_11n_rx_reorder_pkt() argument
[all …]
Dsta_rx.c197 u16 rx_pkt_type, rx_pkt_offset, rx_pkt_length, seq_num; in mwifiex_process_sta_rx_packet() local
204 seq_num = le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet()
247 le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet()
255 priv->rx_seq[local_rx_pd->priority] = seq_num; in mwifiex_process_sta_rx_packet()
261 ret = mwifiex_11n_rx_reorder_pkt(priv, seq_num, local_rx_pd->priority, in mwifiex_process_sta_rx_packet()
Dcmdevt.c204 adapter->seq_num++; in mwifiex_dnld_cmd_to_fw()
205 host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_cmd_to_fw()
206 (adapter->seq_num, in mwifiex_dnld_cmd_to_fw()
233 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
311 adapter->seq_num++; in mwifiex_dnld_sleep_confirm_cmd()
312 sleep_cfm_buf->seq_num = in mwifiex_dnld_sleep_confirm_cmd()
314 (adapter->seq_num, priv->bss_num, in mwifiex_dnld_sleep_confirm_cmd()
322 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
856 HostCmd_GET_BSS_NO(le16_to_cpu(resp->seq_num)), in mwifiex_process_cmdresp()
857 HostCmd_GET_BSS_TYPE(le16_to_cpu(resp->seq_num))); in mwifiex_process_cmdresp()
[all …]
/linux-6.6.21/drivers/rpmsg/
Dqcom_glink_ssr.c25 __le32 seq_num; member
39 __le32 seq_num; member
54 u32 seq_num; member
88 if (le32_to_cpu(msg->seq_num) != ssr->seq_num) { in qcom_glink_ssr_callback()
107 ssr->seq_num++; in qcom_glink_ssr_notifier_call()
112 msg.seq_num = cpu_to_le32(ssr->seq_num); in qcom_glink_ssr_notifier_call()
/linux-6.6.21/kernel/bpf/preload/iterators/
Diterators.bpf.c12 __u64 seq_num; member
82 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_map() local
88 if (seq_num == 0) in dump_bpf_map()
102 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_prog() local
110 if (seq_num == 0) in dump_bpf_prog()
/linux-6.6.21/include/drm/display/
Ddrm_hdcp.h261 u32 drm_hdcp_be24_to_cpu(const u8 seq_num[HDCP_2_2_SEQ_NUM_LEN]) in drm_hdcp_be24_to_cpu()
263 return (u32)(seq_num[2] | seq_num[1] << 8 | seq_num[0] << 16); in drm_hdcp_be24_to_cpu()
267 void drm_hdcp_cpu_to_be24(u8 seq_num[HDCP_2_2_SEQ_NUM_LEN], u32 val) in drm_hdcp_cpu_to_be24()
269 seq_num[0] = val >> 16; in drm_hdcp_cpu_to_be24()
270 seq_num[1] = val >> 8; in drm_hdcp_cpu_to_be24()
271 seq_num[2] = val; in drm_hdcp_cpu_to_be24()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mei/
Dtrace.h40 __entry->seq = le32_to_cpu(sap_cmd->seq_num);
52 __field(u32, seq_num)
56 __entry->seq_num = le32_to_cpu(hdr->seq_num);
60 __entry->type, __entry->seq_num)
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Drecovery.c59 if (cookie == ar->fw_recovery.seq_num) in ath6kl_recovery_hb_event()
79 ar->fw_recovery.seq_num = 0; in ath6kl_recovery_hb_timer()
85 ar->fw_recovery.seq_num++; in ath6kl_recovery_hb_timer()
89 ar->fw_recovery.seq_num, 0); in ath6kl_recovery_hb_timer()
104 recovery->seq_num = 0; in ath6kl_recovery_init()
155 ar->fw_recovery.seq_num = 0; in ath6kl_recovery_resume()
/linux-6.6.21/drivers/crypto/caam/
Dpdb.h138 u32 seq_num; member
212 u32 seq_num; member
346 u64 seq_num; member
354 u64 seq_num; member
365 u16 seq_num[3]; member
372 u64 seq_num; member
379 u64 seq_num; member
389 u16 seq_num[3]; member
426 u16 seq_num; member
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dtrans.c31 ctl_node->seq_num++; in qtnf_trans_send_cmd_with_resp()
32 cmd->seq_num = cpu_to_le16(ctl_node->seq_num); in qtnf_trans_send_cmd_with_resp()
85 const u16 recvd_seq_num = le16_to_cpu(resp->seq_num); in qtnf_trans_signal_cmdresp()
94 if (unlikely(recvd_seq_num != ctl_node->seq_num)) { in qtnf_trans_signal_cmdresp()
137 trans->curr_cmd.seq_num = 0; in qtnf_trans_init()
/linux-6.6.21/drivers/fpga/tests/
Dfpga-mgr-test.c27 u32 seq_num; member
81 stats->op_parse_header_seq = stats->seq_num++; in op_parse_header()
104 stats->op_write_init_seq = stats->seq_num++; in op_write_init()
119 stats->op_write_seq = stats->seq_num++; in op_write()
145 stats->op_write_sg_seq = stats->seq_num++; in op_write_sg()
174 stats->op_write_complete_seq = stats->seq_num++; in op_write_complete()
/linux-6.6.21/drivers/staging/rtl8712/
Drtl8712_recv.c436 u16 seq_num) in check_indicate_seq() argument
443 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
445 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
452 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
455 else if (SN_LESS(wend, seq_num)) { in check_indicate_seq()
456 if (seq_num >= (wsize - 1)) in check_indicate_seq()
457 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
460 (seq_num + 1)) + 1; in check_indicate_seq()
481 if (SN_EQUAL(pnextattrib->seq_num, pattrib->seq_num)) in enqueue_reorder_recvframe()
484 if (SN_LESS(pnextattrib->seq_num, pattrib->seq_num)) in enqueue_reorder_recvframe()
[all …]
/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_port_proxy.c121 u16 seq_num, next_seq_num; in t7xx_port_next_rx_seq_num() local
124 seq_num = FIELD_GET(CCCI_H_SEQ_FLD, status); in t7xx_port_next_rx_seq_num()
125 next_seq_num = (seq_num + 1) & FIELD_MAX(CCCI_H_SEQ_FLD); in t7xx_port_next_rx_seq_num()
130 if (seq_num != port->seq_nums[MTK_RX]) in t7xx_port_next_rx_seq_num()
133 seq_num, port->seq_nums[MTK_RX], in t7xx_port_next_rx_seq_num()
370 u16 seq_num, channel; in t7xx_port_proxy_recv_skb() local
385 seq_num = t7xx_port_next_rx_seq_num(port, ccci_h); in t7xx_port_proxy_recv_skb()
396 port->seq_nums[MTK_RX] = seq_num; in t7xx_port_proxy_recv_skb()
/linux-6.6.21/net/sunrpc/auth_gss/
Dsvcauth_gss.c656 u32 seq_num) in gss_check_seq_num() argument
662 if (seq_num > sd->sd_max) { in gss_check_seq_num()
663 if (seq_num >= sd->sd_max + GSS_SEQ_WIN) { in gss_check_seq_num()
665 sd->sd_max = seq_num; in gss_check_seq_num()
666 } else while (sd->sd_max < seq_num) { in gss_check_seq_num()
670 __set_bit(seq_num % GSS_SEQ_WIN, sd->sd_win); in gss_check_seq_num()
672 } else if (seq_num + GSS_SEQ_WIN <= sd->sd_max) { in gss_check_seq_num()
675 if (__test_and_set_bit(seq_num % GSS_SEQ_WIN, sd->sd_win)) in gss_check_seq_num()
685 trace_rpcgss_svc_seqno_low(rqstp, seq_num, in gss_check_seq_num()
690 trace_rpcgss_svc_seqno_seen(rqstp, seq_num); in gss_check_seq_num()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_recv.c514 u16 seq_ctrl = ((precv_frame->u.hdr.attrib.seq_num&0xffff) << 4) | in recv_decache()
1448 pattrib->seq_num = GetSequence(ptr); in validate_recv_frame()
1639 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1649 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1652 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1660 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1663 } else if (SN_LESS(wend, seq_num)) { in check_indicate_seq()
1665 if (seq_num >= (wsize - 1)) in check_indicate_seq()
1666 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
1668 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
[all …]

123456