Searched refs:IoctlCmd (Results 1 – 8 of 8) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/ |
D | main.cpp | 202 IoctlCmd::PERSIST_START_RQST, in HilogdEntry() 203 IoctlCmd::PERSIST_STOP_RQST, in HilogdEntry() 204 IoctlCmd::PERSIST_QUERY_RQST, in HilogdEntry() 205 IoctlCmd::BUFFERSIZE_GET_RQST, in HilogdEntry() 206 IoctlCmd::BUFFERSIZE_SET_RQST, in HilogdEntry() 207 IoctlCmd::STATS_QUERY_RQST, in HilogdEntry() 208 IoctlCmd::STATS_CLEAR_RQST, in HilogdEntry() 209 IoctlCmd::DOMAIN_FLOWCTRL_RQST, in HilogdEntry() 210 IoctlCmd::LOG_REMOVE_RQST, in HilogdEntry() 211 IoctlCmd::KMSG_ENABLE_RQST, in HilogdEntry() [all …]
|
D | service_controller.cpp | 112 void ServiceController::WriteRspHeader(IoctlCmd cmd, size_t len) in WriteRspHeader() 121 MsgHeader header = {MSG_VER, static_cast<uint8_t>(IoctlCmd::RSP_ERROR), code, 0}; in WriteErrorRsp() 499 WriteRspHeader(IoctlCmd::OUTPUT_RSP, sizeof(OutputRsp)); in HandleOutputRqst() 613 WriteRspHeader(IoctlCmd::PERSIST_START_RSP, sizeof(rsp)); in HandlePersistStartRqst() 638 WriteRspHeader(IoctlCmd::PERSIST_STOP_RSP, sizeof(rsp)); in HandlePersistStopRqst() 662 WriteRspHeader(IoctlCmd::PERSIST_QUERY_RSP, sizeof(rsp)); in HandlePersistQueryRqst() 685 WriteRspHeader(IoctlCmd::BUFFERSIZE_GET_RSP, sizeof(rsp)); in HandleBufferSizeGetRqst() 714 WriteRspHeader(IoctlCmd::BUFFERSIZE_SET_RSP, sizeof(rsp)); in HandleBufferSizeSetRqst() 727 WriteRspHeader(IoctlCmd::STATS_QUERY_RSP, sizeof(StatsQueryRsp)); in HandleStatsQueryRqst() 745 WriteRspHeader(IoctlCmd::STATS_CLEAR_RSP, sizeof(rsp)); in HandleStatsClearRqst() [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
D | log_ioctl.h | 34 LogIoctl(IoctlCmd rqst, IoctlCmd rsp); 45 IoctlCmd rqstCmd; 46 IoctlCmd rspCmd; 49 int SendMsgHeader(IoctlCmd cmd, size_t len); 84 if (hdr.cmd == static_cast<uint8_t>(IoctlCmd::RSP_ERROR)) { in RequestMsgHead() 99 if (rqstCmd == IoctlCmd::OUTPUT_RQST || rqstCmd == IoctlCmd::STATS_QUERY_RQST) { in Request()
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | main.cpp | 403 LogIoctl ioctl(IoctlCmd::OUTPUT_RQST, IoctlCmd::OUTPUT_RSP); in QueryLogHandler() 522 LogIoctl ioctl(IoctlCmd::BUFFERSIZE_GET_RQST, IoctlCmd::BUFFERSIZE_GET_RSP); in BufferSizeGetHandler() 546 LogIoctl ioctl(IoctlCmd::BUFFERSIZE_SET_RQST, IoctlCmd::BUFFERSIZE_SET_RSP); in BufferSizeSetHandler() 597 LogIoctl ioctl(IoctlCmd::KMSG_ENABLE_RQST, IoctlCmd::KMSG_ENABLE_RSP); in KmsgFeatureSetHandler() 686 LogIoctl ioctl(IoctlCmd::DOMAIN_FLOWCTRL_RQST, IoctlCmd::DOMAIN_FLOWCTRL_RSP); in SetDomainFlowCtrl() 720 LogIoctl ioctl(IoctlCmd::LOG_REMOVE_RQST, IoctlCmd::LOG_REMOVE_RSP); in RemoveHandler() 735 LogIoctl ioctl(IoctlCmd::STATS_QUERY_RQST, IoctlCmd::STATS_QUERY_RSP); in StatsInfoQueryHandler() 749 LogIoctl ioctl(IoctlCmd::STATS_CLEAR_RQST, IoctlCmd::STATS_CLEAR_RSP); in StatsInfoClearHandler() 831 LogIoctl ioctl(IoctlCmd::PERSIST_START_RQST, IoctlCmd::PERSIST_START_RSP); in PersistTaskStart() 846 LogIoctl ioctl(IoctlCmd::PERSIST_STOP_RQST, IoctlCmd::PERSIST_STOP_RSP); in PersistTaskStop() [all …]
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | service_controller.h | 38 using CmdList = std::vector<IoctlCmd>; 54 void WriteRspHeader(IoctlCmd cmd, size_t len); 88 bool IsValidCmd(const CmdList& list, IoctlCmd cmd);
|
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
D | log_ioctl.cpp | 22 static string GetSocketName(IoctlCmd cmd) in GetSocketName() 24 if (cmd == IoctlCmd::OUTPUT_RQST) { in GetSocketName() 31 LogIoctl::LogIoctl(IoctlCmd rqst, IoctlCmd rsp) : socket(GetSocketName(rqst), 0) in LogIoctl() 41 int LogIoctl::SendMsgHeader(IoctlCmd cmd, size_t len) in SendMsgHeader()
|
/base/hiviewdfx/hilog/interfaces/native/innerkits/ |
D | libhilog.map | 44 "OHOS::HiviewDFX::LogIoctl::LogIoctl(IoctlCmd, IoctlCmd)"; 75 "OHOS::HiviewDFX::LogIoctl::SendMsgHeader(IoctlCmd, unsigned int)"; 76 "OHOS::HiviewDFX::LogIoctl::SendMsgHeader(IoctlCmd, unsigned long)";
|
/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
D | hilog_cmd.h | 34 enum class IoctlCmd { enum
|