Lines Matching refs:param
118 static void DumpMemData(int fd, struct MemDumpParam *param) in DumpMemData() argument
121 int ret = ioctl(fd, HIDUMPER_MEM_DATA, param); in DumpMemData()
127 (void)param; in DumpMemData()
158 struct MemDumpParam param; in ParameterMatching() local
174 param.type = DUMP_TO_STDOUT; in ParameterMatching()
175 DumpMemData(fd, ¶m); in ParameterMatching()
177 param.type = DUMP_TO_FILE; in ParameterMatching()
178 if (strncpy_s(param.filePath, sizeof(param.filePath), in ParameterMatching()
179 argv[TWO_OF_ARGC_PARAMETERS], sizeof(param.filePath) - 1) != EOK) { in ParameterMatching()
183 DumpMemData(fd, ¶m); in ParameterMatching()
185 param.type = DUMP_TO_STDOUT; in ParameterMatching()
186 param.start = strtoull(argv[TWO_OF_ARGC_PARAMETERS], NULL, BUF_SIZE_16); in ParameterMatching()
187 param.size = strtoull(argv[THREE_OF_ARGC_PARAMETERS], NULL, BUF_SIZE_16); in ParameterMatching()
188 DumpMemData(fd, ¶m); in ParameterMatching()
190 param.type = DUMP_TO_FILE; in ParameterMatching()
191 param.start = strtoull(argv[TWO_OF_ARGC_PARAMETERS], NULL, BUF_SIZE_16); in ParameterMatching()
192 param.size = strtoull(argv[THREE_OF_ARGC_PARAMETERS], NULL, BUF_SIZE_16); in ParameterMatching()
193 if (strncpy_s(param.filePath, sizeof(param.filePath), in ParameterMatching()
194 argv[FOUR_OF_ARGC_PARAMETERS], sizeof(param.filePath) - 1) != EOK) { in ParameterMatching()
198 DumpMemData(fd, ¶m); in ParameterMatching()