suse man page for atomic_add_unless

Query: atomic_add_unless

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATOMIC_ADD_UNLESS(9)						   Driver Basics					      ATOMIC_ADD_UNLESS(9)

NAME
atomic_add_unless - add unless the number is already a given value
SYNOPSIS
int atomic_add_unless(atomic_t * v, int a, int u);
ARGUMENTS
v pointer of type atomic_t a the amount to add to v... u ...unless v is equal to u.
DESCRIPTION
Atomically adds a to v, so long as v was not already u. Returns non-zero if v was not u, and zero otherwise.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATOMIC_ADD_UNLESS(9)
Related Man Pages
kmem_cache_create(9) - suse
mtrr_add(9) - suse
usb_interrupt_msg(9) - suse
wait_event_interruptible_exclusive_locked_irq(9) - centos
kmem_cache_create(9) - linux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy & PAM configuration exposure
32 bit process addressing more than 4GB