atomic_add_unless(9) suse man page | unix.com

Man Page: atomic_add_unless

Operating Environment: suse

Section: 9

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
wait_event_interruptible_exclusive_locked_irq(9) - centos
device_schedule_callback_owner(9) - suse
struct_hrtimer(9) - suse
struct_sock(9) - suse
Similar Topics in the Unix Linux Community
Change directory error
Getting command output to putty window title.
Cut command on RHEL 6.8 compatibility issues
Tar Command
A (ksh) Library For and From UNIX.com