Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-alpha/
Drwsem.h68 long oldcount; in __down_read() local
70 oldcount = sem->count; in __down_read()
83 :"=&r" (oldcount), "=m" (sem->count), "=&r" (temp) in __down_read()
86 if (__builtin_expect(oldcount < 0, 0)) in __down_read()
110 long oldcount; in __down_write() local
112 oldcount = sem->count; in __down_write()
125 :"=&r" (oldcount), "=m" (sem->count), "=&r" (temp) in __down_write()
128 if (__builtin_expect(oldcount, 0)) in __down_write()
146 long oldcount; in __up_read() local
148 oldcount = sem->count; in __up_read()
[all …]
/linux-2.4.37.9/fs/ufs/
Dballoc.c225 for (i = oldcount; i < newcount; i++) { \
244 unsigned cgno, oldcount, newcount, tmp, request, i, result; in ufs_new_fragments() local
261 oldcount = ufs_fragnum (fragment); in ufs_new_fragments()
262 newcount = oldcount + count; in ufs_new_fragments()
267 if (oldcount) { in ufs_new_fragments()
307 if (oldcount == 0) { in ufs_new_fragments()
324 result = ufs_add_fragments (inode, tmp, oldcount, newcount, err); in ufs_new_fragments()
359 for (i = 0; i < oldcount; i++) { in ufs_new_fragments()
386 ufs_free_fragments (inode, tmp, oldcount); in ufs_new_fragments()
397 unsigned oldcount, unsigned newcount, int * err) in ufs_add_fragments() argument
[all …]
/linux-2.4.37.9/lib/
Drwsem.c44 signed long oldcount, woken, loop; in __rwsem_do_wake() local
50 oldcount = rwsem_atomic_update(RWSEM_ACTIVE_BIAS,sem) - RWSEM_ACTIVE_BIAS; in __rwsem_do_wake()
51 if (oldcount & RWSEM_ACTIVE_MASK) in __rwsem_do_wake()