Home
last modified time | relevance | path

Searched refs:dump_fp (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/misc/
Dss.c1489 static int tcp_show_netlink(struct filter *f, FILE *dump_fp, int socktype) in tcp_show_netlink() argument
1584 if (dump_fp) in tcp_show_netlink()
1585 fwrite(buf, 1, NLMSG_ALIGN(status), dump_fp); in tcp_show_netlink()
1615 if (!dump_fp) { in tcp_show_netlink()
2079 static int unix_show_netlink(struct filter *f, FILE *dump_fp) in unix_show_netlink() argument
2125 if (dump_fp) in unix_show_netlink()
2126 fwrite(buf, 1, NLMSG_ALIGN(status), dump_fp); in unix_show_netlink()
2151 if (!dump_fp) { in unix_show_netlink()
2962 FILE *dump_fp = stdout; in main() local
2968 dump_fp = fopen(dump_tcpdiag, "w"); in main()
[all …]
/external/blktrace/
Dblkparse.c281 static FILE *dump_fp; variable
312 size_t n = fwrite(buf, len, 1, dump_fp); in output_binary()
315 fclose(dump_fp); in output_binary()
2843 dump_fp = fopen(dump_binary, "w"); in main()
2844 if (!dump_fp) { in main()
2850 if (setvbuf(dump_fp, bin_ofp_buffer, _IOFBF, 128 * 1024)) { in main()
2873 fflush(dump_fp); in main()