Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c92 struct nx_handle *nxhandle; in nx_function_begin() local
101 nxhandle = malloc(sizeof(*nxhandle)); in nx_function_begin()
102 if (!nxhandle) { in nx_function_begin()
108 nxhandle->function = function; in nx_function_begin()
109 rc = open_device_nodes(devname, pri, nxhandle); in nx_function_begin()
116 return nxhandle; in nx_function_begin()
122 struct nx_handle *nxhandle = handle; in nx_function_end() local
124 rc = munmap(nxhandle->paste_addr - 0x400, 4096); in nx_function_end()
129 close(nxhandle->fd); in nx_function_end()
130 free(nxhandle); in nx_function_end()
[all …]