/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_test_kern4.c | 20 __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()
|
H A D | bpf_iter_tcp4.c | 75 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 in dump_tcp4() [all...] |
H A D | bpf_iter_tcp6.c | 75 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 in dump_tcp6() [all...] |
H A D | bpf_iter_unix.c | 30 __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()
|
H A D | bpf_iter_udp4.c | 32 __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()
|
H A D | bpf_iter_bpf_hash_map.c | 46 __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()
|
H A D | bpf_iter_udp6.c | 40 __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()
|
H A D | bpf_iter_bpf_map.c | 12 __u64 seq_num = ctx->meta->seq_num; in dump_bpf_map() local 20 if (seq_num == 0) in dump_bpf_map()
|
H A D | bpf_iter_ksym.c | 33 __u32 seq_num = ctx->meta->seq_num; in dump_ksym() local 40 if (seq_num == 0) { in dump_ksym()
|
H A D | bpf_iter_tasks.c | 30 if (ctx->meta->seq_num == 0) in dump_task() 83 if (ctx->meta->seq_num == 0) in dump_task_sleepable()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.c | 304 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 …]
|
H A D | sta_rx.c | 197 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()
|
H A D | cmdevt.c | 204 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() 858 HostCmd_GET_BSS_NO(le16_to_cpu(resp->seq_num)), in mwifiex_process_cmdresp() 859 HostCmd_GET_BSS_TYPE(le16_to_cpu(resp->seq_num))); in mwifiex_process_cmdresp() [all …]
|
/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.bpf.c | 12 __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/include/drm/display/ |
H A D | drm_hdcp.h | 261 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/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | trace.h | 40 __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/drivers/net/wireless/ath/ath6kl/ |
H A D | recovery.c | 59 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/drivers/crypto/caam/ |
H A D | pdb.h | 138 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/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | trans.c | 31 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/drivers/fpga/tests/ |
H A D | fpga-mgr-test.c | 27 u32 seq_num; member 91 stats->op_parse_header_seq = stats->seq_num++; in op_parse_header() 114 stats->op_write_init_seq = stats->seq_num++; in op_write_init() 129 stats->op_write_seq = stats->seq_num++; in op_write() 155 stats->op_write_sg_seq = stats->seq_num++; in op_write_sg() 184 stats->op_write_complete_seq = stats->seq_num++; in op_write_complete()
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_proxy.c | 160 u16 seq_num, next_seq_num; in t7xx_port_next_rx_seq_num() local 163 seq_num = FIELD_GET(CCCI_H_SEQ_FLD, status); in t7xx_port_next_rx_seq_num() 164 next_seq_num = (seq_num + 1) & FIELD_MAX(CCCI_H_SEQ_FLD); in t7xx_port_next_rx_seq_num() 169 if (seq_num != port->seq_nums[MTK_RX]) in t7xx_port_next_rx_seq_num() 172 seq_num, port->seq_nums[MTK_RX], in t7xx_port_next_rx_seq_num() 452 u16 seq_num, channel; in t7xx_port_proxy_recv_skb() local 467 seq_num = t7xx_port_next_rx_seq_num(port, ccci_h); in t7xx_port_proxy_recv_skb() 478 port->seq_nums[MTK_RX] = seq_num; in t7xx_port_proxy_recv_skb()
|
/linux/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 646 * @seq_num: sequence number to check 656 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() 864 u32 len, offset, seq_num, maj_stat; svcauth_gss_unwrap_integ() local 939 u32 len, maj_stat, seq_num, offset; svcauth_gss_unwrap_priv() local 1012 svcauth_gss_proc_init_verf(struct cache_detail * cd,struct svc_rqst * rqstp,struct xdr_netobj * out_handle,int * major_status,u32 seq_num) svcauth_gss_proc_init_verf() argument 1131 svcxdr_encode_gss_init_res(struct xdr_stream * xdr,struct xdr_netobj * handle,struct xdr_netobj * gss_token,unsigned int major_status,unsigned int minor_status,u32 seq_num) svcxdr_encode_gss_init_res() argument [all...] |
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_recv.c | 513 u16 seq_ctrl = ((precv_frame->u.hdr.attrib.seq_num&0xffff) << 4) | in recv_decache() 1447 pattrib->seq_num = GetSequence(ptr); in validate_recv_frame() 1638 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument 1648 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq() 1651 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq() 1659 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq() 1662 } else if (SN_LESS(wend, seq_num)) { in check_indicate_seq() 1664 if (seq_num >= (wsize - 1)) in check_indicate_seq() 1665 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq() 1667 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq() [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_protocol.h | 148 u32 seq_num; member 174 u32 seq_num; member 418 u32 seq_num; /* sequence number to match the two probe packets */ member
|
/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_main.c | 197 info->sop.seq_lenbar = ((info->seq_num << 11) & TX_HDR_SOP_SEQNUM) in ax88796c_proc_tx_hdr() 212 info->eop.seq_len = ((info->seq_num << 11) & in ax88796c_proc_tx_hdr() 214 info->eop.seqbar_lenbar = ((~info->seq_num << 11) & in ax88796c_proc_tx_hdr() 252 u8 padlen, seq_num; in ax88796c_tx_fixup() local 269 seq_num = ++ax_local->seq_num & 0x1F; in ax88796c_tx_fixup() 283 info.seq_num = seq_num; in ax88796c_tx_fixup() 310 pkt_len, skb->len, seq_num); in ax88796c_tx_fixup() 370 ax_local->seq_num = 0; in ax88796c_hard_xmit() 564 ax_local->seq_num = 0x1f; in ax88796c_process_isr() 819 ax_local->seq_num = 0x1f; in ax88796c_open()
|