Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_pktlog.c1196 struct file *w_pcap_fp = NULL; in dhd_pktlog_dump_write_file() local
1207 w_pcap_fp = dhd_filp_open(pktlogdump_path, file_mode, 0664); in dhd_pktlog_dump_write_file()
1208 if (IS_ERR(w_pcap_fp) || (w_pcap_fp == NULL)) { in dhd_pktlog_dump_write_file()
1210 __FUNCTION__, pktlogdump_path, PTR_ERR(w_pcap_fp))); in dhd_pktlog_dump_write_file()
1215 dhd_pktlog_dump_write(dhdp, w_pcap_fp, NULL, 0); in dhd_pktlog_dump_write_file()
1222 ret = dhd_vfs_fsync(w_pcap_fp, 0); in dhd_pktlog_dump_write_file()
1228 if (!IS_ERR(w_pcap_fp)) { in dhd_pktlog_dump_write_file()
1229 dhd_filp_close(w_pcap_fp, NULL); in dhd_pktlog_dump_write_file()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_pktlog.c1196 struct file *w_pcap_fp = NULL; in dhd_pktlog_dump_write_file() local
1207 w_pcap_fp = filp_open(pktlogdump_path, file_mode, 0664); in dhd_pktlog_dump_write_file()
1208 if (IS_ERR(w_pcap_fp)) { in dhd_pktlog_dump_write_file()
1210 __FUNCTION__, pktlogdump_path, PTR_ERR(w_pcap_fp))); in dhd_pktlog_dump_write_file()
1215 dhd_pktlog_dump_write(dhdp, w_pcap_fp, NULL, 0); in dhd_pktlog_dump_write_file()
1222 ret = vfs_fsync(w_pcap_fp, 0); in dhd_pktlog_dump_write_file()
1228 if (!IS_ERR(w_pcap_fp)) { in dhd_pktlog_dump_write_file()
1229 filp_close(w_pcap_fp, NULL); in dhd_pktlog_dump_write_file()