Home
last modified time | relevance | path

Searched refs:ctrlPath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/
H A Dkernel_talker.h69 std::string ctrlPath = spt->GetMountArgument().GetCtrlPath(); in SetCmd() local
70 LOGI("cmd path:%{public}s", GetAnonyString(ctrlPath).c_str()); in SetCmd()
73 char *realPath = realpath(ctrlPath.c_str(), resolvedPath); in SetCmd()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dkernel_talker.cpp170 string ctrlPath = spt->GetMountArgument().GetCtrlPath(); in PollRun() local
171 LOGI("Open node file ctrl path %{public}s", GetAnonyString(ctrlPath).c_str()); in PollRun()
173 char *realPath = realpath(ctrlPath.c_str(), resolvedPath); in PollRun()
179 …("Open node file error %{public}d, ctrl path %{public}s", errno, GetAnonyString(ctrlPath).c_str()); in PollRun()
/ohos5.0/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhdi_hostapd_hal.c129 static int InitHostapdCtrl(const char *ctrlPath, int id) in InitHostapdCtrl() argument
131 if (g_hostapdHalDevInfo[id].hostapdHalDev == NULL || ctrlPath == NULL) { in InitHostapdCtrl()
137 g_hostapdHalDevInfo[id].hostapdHalDev->ctrlRecv = wpa_ctrl_open(ctrlPath); in InitHostapdCtrl()
146 g_hostapdHalDevInfo[id].hostapdHalDev->ctrlConn = wpa_ctrl_open(ctrlPath); in InitHostapdCtrl()
167 static void GetCtrlInterface(char *ctrlPath, size_t len, int id) in GetCtrlInterface() argument
169 if (strcpy_s(ctrlPath, len, g_ctrlInterfacel) != EOK) { in GetCtrlInterface()
185 char ctrlPath[BUFFER_SIZE_128] = {0}; in HostapdCliConnect() local
186 GetCtrlInterface(ctrlPath, sizeof(ctrlPath), id); in HostapdCliConnect()
187 HDF_LOGI("HostapdCliConnect Ifname is: %{public}s", ctrlPath); in HostapdCliConnect()
189 if (InitHostapdCtrl(ctrlPath, id) == 0) { in HostapdCliConnect()