/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | txring_overwrite.c | 77 int fdr; in setup_rx() local 79 fdr = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); in setup_rx() 80 if (fdr == -1) in setup_rx() 83 return fdr; in setup_rx() 140 static int read_verify_pkt(int fdr, char payload_char) in read_verify_pkt() argument 145 ret = read(fdr, buf, sizeof(buf)); in read_verify_pkt() 162 int fdr, fdt, ret = 0; in main() local 164 fdr = setup_rx(); in main() 170 ret |= read_verify_pkt(fdr, payload_patterns[0]); in main() 171 ret |= read_verify_pkt(fdr, payload_patterns[1]); in main() [all …]
|
A D | ipv6_flowlabel.c | 216 int fdt, fdr; in main() local 232 fdr = use_ping ? fdt : socket(PF_INET6, SOCK_DGRAM, 0); in main() 233 if (fdr == -1) in main() 238 if (!use_ping && bind(fdr, (void *)&addr, sizeof(addr))) in main() 243 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one))) in main() 249 do_recv(fdr, true, FLOWLABEL_WILDCARD); in main() 253 do_recv(fdr, false, 0); in main() 266 do_recv(fdr, true, cfg_label); in main() 268 if (close(fdr)) in main()
|
A D | udpgso.c | 538 ret = recv_one(fdr, 0); in run_one() 545 ret = recv_one(fdr, 0); in run_one() 552 ret = recv_one(fdr, MSG_DONTWAIT); in run_one() 567 run_one(test, fdt, fdr, addr, alen); in run_all() 574 int fdr, fdt, val; in run_test() local 576 fdr = socket(addr->sa_family, SOCK_DGRAM, 0); in run_test() 577 if (fdr == -1) in run_test() 580 if (bind(fdr, addr, alen)) in run_test() 596 run_all(fdt, fdr, addr, alen); in run_test() 610 run_all(fdt, fdr, addr, 0 /* use connected addr */); in run_test() [all …]
|
A D | so_txtime.c | 114 static void do_recv_one(int fdr, struct timed_send *ts) in do_recv_one() argument 120 ret = recv(fdr, rbuf, sizeof(rbuf), 0); in do_recv_one() 141 static void do_recv_verify_empty(int fdr) in do_recv_verify_empty() argument 146 ret = recv(fdr, rbuf, sizeof(rbuf), 0); in do_recv_verify_empty() 346 int fdr, i; in do_test_rx() local 348 fdr = setup_rx(addr, alen); in do_test_rx() 354 do_recv_one(fdr, &cfg_buf[i]); in do_test_rx() 356 do_recv_verify_empty(fdr); in do_test_rx() 358 if (close(fdr)) in do_test_rx()
|
A D | psock_snd.c | 364 int fdr, fds, total_len; in run_test() local 366 fdr = setup_rx(); in run_test() 376 do_rx(fdr, cfg_payload_len, tbuf + total_len - cfg_payload_len); in run_test() 380 if (close(fdr)) in run_test()
|
A D | csum.c | 925 static void do_rx(int fdp, int fdr) in do_rx() argument 944 count_udp += recv_udp(fdr); in do_rx() 949 if (close(fdr)) in do_rx() 968 int fdp = -1, fdr = -1; /* -1 to silence -Wmaybe-uninitialized */ in main() local 975 fdr = recv_prepare_udp(); in main() 982 do_rx(fdp, fdr); in main()
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-mpc.c | 91 u8 fdr, dfsrr; member 107 u16 fdr; /* including dfsrr */ member 264 if (div->fdr & 0xc0 && pvr == 0x80822011) in mpc_i2c_get_fdr_52xx() 271 return (int)div->fdr; in mpc_i2c_get_fdr_52xx() 278 int ret, fdr; in mpc_i2c_setup_52xx() local 293 fdr); in mpc_i2c_setup_52xx() 457 return (int)div->fdr; in mpc_i2c_get_fdr_8xxx() 464 int ret, fdr; in mpc_i2c_setup_8xxx() local 481 i2c->real_clk, fdr >> 8, fdr & 0xff); in mpc_i2c_setup_8xxx() 897 i2c->fdr = readb(i2c->base + MPC_I2C_FDR); in mpc_i2c_suspend() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_flow_dissector.c | 514 int fdt = -1, fdr = -1, len, tx = 0, rx = 0; in do_main() local 517 fdr = setup_rx(); in do_main() 532 rx += do_rx(fdr); in do_main() 558 do_poll(fdr, POLLIN, tstop - tcur); in do_main() 559 rx += do_rx(fdr); in do_main() 565 if (fdr != -1 && close(fdr)) in do_main()
|
/linux-6.3-rc2/fs/ |
A D | pipe.c | 957 int fdw, fdr; in __do_pipe_flags() local 969 fdr = error; in __do_pipe_flags() 976 audit_fd_pair(fdr, fdw); in __do_pipe_flags() 977 fd[0] = fdr; in __do_pipe_flags() 982 put_unused_fd(fdr); in __do_pipe_flags()
|
/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
A D | cvmx-fpa-defs.h | 95 uint64_t fdr:1; member 97 uint64_t fdr:1;
|