Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 66) sorted by relevance

123

/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_tcp_skb.c51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept()
65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept()
71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept()
87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect()
100 if (tcph->fin || !tcph->syn || !tcph->ack) in ingress_connect()
117 if (tcph->fin || tcph->syn || !tcph->ack) in egress_close_remote()
123 if (!tcph->fin) in egress_close_remote()
139 if (tcph->fin) in ingress_close_remote()
143 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_close_remote()
160 if (tcph->fin) in egress_close_local()
[all …]
H A Dtest_misc_tcp_hdr_options.c144 if (th->fin) in check_active_hdr_in()
147 if (th->ack && !th->fin && tcp_hdrlen(th) == skops->skb_len) in check_active_hdr_in()
H A Dxdp_flowtable.c54 if (tcph->fin || tcph->rst) in xdp_flowtable_offload_check_tcp_state()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace-tcp.c38 int fin; member
60 int fin, int syn, int rst, int psh, int ack, in __trace_event_expect() argument
71 .fin = fin, in __trace_event_expect()
125 unsigned int fin:1, member
166 if (p->fin >= 0 && p->fin != e->fin) in lookup_expected_event()
293 char fin, syn, rst, psh, ack; in tracer_scan_event() local
306 &fin, &syn, &rst, &psh, &ack); in tracer_scan_event()
320 &fin, &syn, &rst, &psh, &ack, in tracer_scan_event()
363 out->fin = (fin == 'F'); in tracer_scan_event()
369 if ((fin != 'F' && fin != ' ') || in tracer_scan_event()
[all …]
H A Daolib.h767 int fin, int syn, int rst, int psh, int ack,
773 int fin, int syn, int rst, int psh, int ack) in trace_hash_event_expect() argument
779 fin, syn, rst, psh, ack, in trace_hash_event_expect()
788 int fin, int syn, int rst, int psh, int ack, in trace_ao_event_expect() argument
795 fin, syn, rst, psh, ack, in trace_ao_event_expect()
/linux/samples/bpf/
H A Dhbm.c216 FILE *fin; in run_bpf_prog() local
228 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
229 if (fscanf(fin, "%llu", &last_eth_tx_bytes) != 1) in run_bpf_prog()
231 fclose(fin); in run_bpf_prog()
246 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
248 if (fscanf(fin, "%llu", &new_eth_tx_bytes) != 1) in run_bpf_prog()
250 fclose(fin); in run_bpf_prog()
/linux/drivers/clk/
H A Dclk-axi-clkgen.c133 unsigned long fin, unsigned long fout, in axi_clkgen_calc_params() argument
143 fin /= 1000; in axi_clkgen_calc_params()
151 d_min = max(DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
152 d_max = min(fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
158 m_min = max(DIV_ROUND_UP(fvco_min_fract, fin) * d_min, 1); in axi_clkgen_calc_params()
159 m_max = min(fvco_max_fract * d_max / fin, 64 << fract_shift); in axi_clkgen_calc_params()
162 _d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max_fract)); in axi_clkgen_calc_params()
163 _d_max = min(d_max, fin * m / fvco_min_fract); in axi_clkgen_calc_params()
166 fvco = fin * m / d; in axi_clkgen_calc_params()
/linux/drivers/media/dvb-frontends/
H A Dves1820.c109 u32 fin; in ves1820_set_symbolrate() local
151 fin = state->config->xin >> 4; in ves1820_set_symbolrate()
153 ratio = (symbolrate << 4) / fin; in ves1820_set_symbolrate()
154 tmp = ((symbolrate << 4) % fin) << 8; in ves1820_set_symbolrate()
155 ratio = (ratio << 8) + tmp / fin; in ves1820_set_symbolrate()
156 tmp = (tmp % fin) << 8; in ves1820_set_symbolrate()
157 ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, fin); in ves1820_set_symbolrate()
/linux/Documentation/userspace-api/media/rc/
H A Dkeytable.c.rst103 FILE *fin;
107 fin=fopen(argv[2],"r");
108 if (fin==NULL) {
122 while (fgets(s,sizeof(s),fin)) {
/linux/tools/bpf/
H A Dbpf_dbg.c1318 static void init_shell(FILE *fin, FILE *fout) in init_shell() argument
1325 rl_instream = fin; in init_shell()
1350 static void exit_shell(FILE *fin, FILE *fout) in exit_shell() argument
1362 if (fin != stdin) in exit_shell()
1363 fclose(fin); in exit_shell()
1368 static int run_shell_loop(FILE *fin, FILE *fout) in run_shell_loop() argument
1372 init_shell(fin, fout); in run_shell_loop()
1384 exit_shell(fin, fout); in run_shell_loop()
1390 FILE *fin = NULL, *fout = NULL; in main() local
1393 fin = fopen(argv[1], "r"); in main()
[all …]
/linux/drivers/spi/
H A Dspi-imx.c199 static unsigned int spi_imx_clkdiv_1(unsigned int fin, in spi_imx_clkdiv_1() argument
205 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
208 *fres = fin / mxc_clkdivs[i]; in spi_imx_clkdiv_1()
213 static unsigned int spi_imx_clkdiv_2(unsigned int fin, in spi_imx_clkdiv_2() argument
219 if (fspi * div >= fin) in spi_imx_clkdiv_2()
225 *fres = fin / div; in spi_imx_clkdiv_2()
491 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() local
493 fspi = min(fspi, fin); in mx51_ecspi_clkdiv()
495 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
496 if (fin > fspi << post) in mx51_ecspi_clkdiv()
[all …]
/linux/tools/mm/
H A Dpage_owner_sort.c106 int read_block(char *buf, char *ext_buf, int buf_size, FILE *fin) in read_block() argument
110 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
665 FILE *fin, *fout; in main() local
790 fin = fopen(argv[optind], "r"); in main()
792 if (!fin || !fout) { in main()
809 fstat(fileno(fin), &st); in main()
821 int buf_len = read_block(buf, ext_buf, BUF_SIZE, fin); in main()
/linux/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
/linux/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
/linux/include/trace/events/
H A Dtcp.h538 __field(bool, fin)
563 __entry->fin = th->fin;
576 __entry->fin ? 'F' : ' ',
635 __field(bool, fin)
664 __entry->fin = th->fin;
681 __entry->fin ? 'F' : ' ',
/linux/include/net/psp/
H A Dfunctions.h72 bool fin = !!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN); in psp_is_allowed_nondata() local
77 pure_fin = fin && end_seq - seq == 1; in psp_is_allowed_nondata()
/linux/drivers/clk/mediatek/
H A Dclk-pll.c47 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() argument
61 vco = (u64)fin * pcw; in __mtk_pll_recalc_rate()
146 u32 freq, u32 fin) in mtk_pll_calc_values() argument
177 do_div(_pcw, fin); in mtk_pll_calc_values()
H A Dclk-pll.h104 u32 freq, u32 fin);
/linux/tools/include/uapi/linux/
H A Dtcp.h33 fin:1, member
51 fin:1; member
/linux/Documentation/translations/zh_CN/infiniband/
H A Dtag_matching.rst44 RDMA读取操作。为了使缓冲区得到重用,需要收到一个fin消息。
/linux/drivers/net/wireless/ath/carl9170/
H A Dfw.c137 unsigned long fin, diff; in carl9170_fw_checksum() local
165 fin = (unsigned long) last_desc + sizeof(*last_desc); in carl9170_fw_checksum()
166 diff = fin - (unsigned long) otus_desc; in carl9170_fw_checksum()
/linux/sound/soc/codecs/
H A Dmadera.c4204 unsigned int fin;
4212 .fin = 32768,
4219 .fin = 32768,
4319 unsigned int fin, unsigned int fout) in madera_disable_fll_ao()
4327 fll->ref_freq == fin && fll->fout == fout) in madera_disable_fll_ao()
4330 madera_fll_dbg(fll, "Change FLL_AO refclk to fin=%u fout=%u source=%d\n", in madera_disable_fll_ao()
4331 fin, fout, source);
4333 if (fout && (fll->ref_freq != fin || fll->fout != fout)) { in madera_set_fll_ao_refclk() argument
4335 if (madera_fllao_settings[i].fin == fin in madera_set_fll_ao_refclk()
4218 unsigned int fin; global() member
4421 madera_fllhj_apply(struct madera_fll * fll,int fin) madera_fllhj_apply() argument
4655 madera_fllhj_set_refclk(struct madera_fll * fll,int source,unsigned int fin,unsigned int fout) madera_fllhj_set_refclk() argument
[all...]
/linux/arch/m68k/ifpsp060/
H A DMISC68 fin.s : 2.4
127 fin.s : 2.4
/linux/net/core/
H A Dtso.c35 tcph->fin = 0; in tso_build_hdr()
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c286 int payload_len, int fin) in fill_transportlayer() argument
297 tcph->fin = fin; in fill_transportlayer()
316 int payload_len, int fin) in create_packet() argument
322 payload_len, fin); in create_packet()
962 if (tcph->fin) in check_recv_pkts()

123