search for: atomic_inc_uint

Displaying 6 results from an estimated 6 matches for "atomic_inc_uint".

2007 Feb 14
1
Re: qemu-0.9.0 with initial tap interface
...> >>static uint32_t kqemu_busy = 0; > >> > >> > >73c73 > >< static uint_t upages_locked = 0; > >--- > > > > > >>static uint32_t upages_locked = 0; > >> > >> > >102c102 > >< atomic_inc_uint(&upages_locked); > >--- > > > > > >> atomic_add_32(&upages_locked, 1); > >> > >> > >141c141 > >< atomic_inc_uint(&upages_locked); > >--- > > > > > >> at...
2006 Dec 07
6
cannot load kqemu modul on solaris 5.10 3/05
Hi @all I want to load the precompile kqemu modul on my solaris 5.10 3/05, but this dont work. MAKE --- -bash-3.00# make install cp kqemu-solaris-i386 kqemu /usr/sbin/install -f /usr/kernel/drv -m 755 -u root -g sys kqemu new owner is root kqemu installed as /usr/kernel/drv/kqemu cp kqemu-solaris-x86_64 kqemu /usr/sbin/install -f /usr/kernel/drv/amd64 -m 755 -u root -g sys kqemu new owner is
2015 Feb 24
4
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...fine atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) @@ -91,6 +93,7 @@ typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; # define atomic_read(x) (int) ((x)->atomic) # define atomic_set(x, val) ((x)->atomic = (LIBDRM_ATOMIC_TYPE)(val)) # define atomic_inc(x) (atomic_inc_uint (&(x)->atomic)) +# define atomic_inc_return (atomic_inc_uint_nv(&(x)->atomic)) # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) # define atomic_add(x, v) (atomic_add_int(&(x)->atomic, (v))) # define atomic_dec(x, v) (atomic_add_int(&(x)->...
2015 Feb 25
0
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) > @@ -91,6 +93,7 @@ typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; > # define atomic_read(x) (int) ((x)->atomic) > # define atomic_set(x, val) ((x)->atomic = (LIBDRM_ATOMIC_TYPE)(val)) > # define atomic_inc(x) (atomic_inc_uint (&(x)->atomic)) > +# define atomic_inc_return (atomic_inc_uint_nv(&(x)->atomic)) > # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) > # define atomic_add(x, v) (atomic_add_int(&(x)->atomic, (v))) > # define atomic_dec(x, v) (atomic_a...
2015 Feb 25
1
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...h_and_sub1_full(&(x)->atomic) == 1) >> @@ -91,6 +93,7 @@ typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; >> # define atomic_read(x) (int) ((x)->atomic) >> # define atomic_set(x, val) ((x)->atomic = (LIBDRM_ATOMIC_TYPE)(val)) >> # define atomic_inc(x) (atomic_inc_uint (&(x)->atomic)) >> +# define atomic_inc_return (atomic_inc_uint_nv(&(x)->atomic)) >> # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) >> # define atomic_add(x, v) (atomic_add_int(&(x)->atomic, (v))) >> # define atomic_dec...
2015 Feb 26
4
[PATCH v2 1/4] Add atomic_inc_return to atomics.
...fine atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) @@ -91,6 +93,7 @@ typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; # define atomic_read(x) (int) ((x)->atomic) # define atomic_set(x, val) ((x)->atomic = (LIBDRM_ATOMIC_TYPE)(val)) # define atomic_inc(x) (atomic_inc_uint (&(x)->atomic)) +# define atomic_inc_return (atomic_inc_uint_nv(&(x)->atomic)) # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) # define atomic_add(x, v) (atomic_add_int(&(x)->atomic, (v))) # define atomic_dec(x, v) (atomic_add_int(&(x)->...