aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorElizabeth Figura <[email protected]>2024-03-29 00:05:54 +0000
committerGreg Kroah-Hartman <[email protected]>2024-04-11 13:34:40 +0000
commitdc806bd48abc1b8a4ae72709a37e65db42a32048 (patch)
treeb97968122adb50ba7d96a9e02a07c9556035245c /drivers/cdx/controller/cdx_controller.c
parentntsync: Introduce NTSYNC_IOC_CREATE_SEM. (diff)
downloadkernel-dc806bd48abc1b8a4ae72709a37e65db42a32048.tar.gz
kernel-dc806bd48abc1b8a4ae72709a37e65db42a32048.zip
ntsync: Introduce NTSYNC_IOC_SEM_POST.
This corresponds to the NT syscall NtReleaseSemaphore(). This increases the semaphore's internal counter by the given value, and returns the previous value. If the counter would overflow the defined maximum, the function instead fails and returns -EOVERFLOW. Signed-off-by: Elizabeth Figura <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions