Searched refs:fail_fn (Results 1 - 25 of 89) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/asm-generic/
H A Dmutex-null.h13 #define __mutex_fastpath_lock(count, fail_fn) fail_fn(count)
14 #define __mutex_fastpath_lock_retval(count, fail_fn) fail_fn(count)
15 #define __mutex_fastpath_unlock(count, fail_fn) fail_fn(count)
16 #define __mutex_fastpath_trylock(count, fail_fn) fail_fn(count)
H A Dmutex-dec.h14 * @fail_fn: function to call if the original value was not 1
16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
24 fail_fn(count);
31 * @fail_fn: function to call if the original value was not 1
33 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
38 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
41 return fail_fn(count);
48 * @fail_fn: function to call if the original value was not 0
50 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
H A Dmutex-xchg.h19 * @fail_fn: function to call if the original value was not 1
21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
26 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
29 fail_fn(count);
36 * @fail_fn: function to call if the original value was not 1
38 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
43 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
46 return fail_fn(count);
53 * @fail_fn: function to call if the original value was not 0
63 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/asm-generic/
H A Dmutex-null.h13 #define __mutex_fastpath_lock(count, fail_fn) fail_fn(count)
14 #define __mutex_fastpath_lock_retval(count, fail_fn) fail_fn(count)
15 #define __mutex_fastpath_unlock(count, fail_fn) fail_fn(count)
16 #define __mutex_fastpath_trylock(count, fail_fn) fail_fn(count)
H A Dmutex-dec.h14 * @fail_fn: function to call if the original value was not 1
16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
24 fail_fn(count);
31 * @fail_fn: function to call if the original value was not 1
33 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
38 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
41 return fail_fn(count);
48 * @fail_fn: function to call if the original value was not 0
50 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
H A Dmutex-xchg.h19 * @fail_fn: function to call if the original value was not 1
21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
26 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
29 fail_fn(count);
36 * @fail_fn: function to call if the original value was not 1
38 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
43 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
46 return fail_fn(count);
53 * @fail_fn: function to call if the original value was not 0
63 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/include/asm/
H A Dmutex_32.h24 #define __mutex_fastpath_lock(count, fail_fn) \
29 typecheck_fn(void (*)(atomic_t *), fail_fn); \
33 " call " #fail_fn "\n" \
45 * @fail_fn: function to call if the original value was not 1
47 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
52 int (*fail_fn)(atomic_t *))
55 return fail_fn(count);
63 * @fail_fn: function to call if the original value was not 0
65 * try to promote the mutex from 0 to 1. if it wasn't 0, call <fail_fn>.
73 #define __mutex_fastpath_unlock(count, fail_fn) \
[all...]
H A Dmutex_64.h15 * @fail_fn: function to call if the result is negative
17 * Atomically decrements @v and calls <fail_fn> if the result is negative.
19 #define __mutex_fastpath_lock(v, fail_fn) \
24 typecheck_fn(void (*)(atomic_t *), fail_fn); \
28 " call " #fail_fn "\n" \
40 * @fail_fn: function to call if the original value was not 1
42 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
47 int (*fail_fn)(atomic_t *))
50 return fail_fn(count);
58 * @fail_fn
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/include/asm/
H A Dmutex_32.h24 #define __mutex_fastpath_lock(count, fail_fn) \
29 typecheck_fn(void (*)(atomic_t *), fail_fn); \
33 " call " #fail_fn "\n" \
45 * @fail_fn: function to call if the original value was not 1
47 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
52 int (*fail_fn)(atomic_t *))
55 return fail_fn(count);
63 * @fail_fn: function to call if the original value was not 0
65 * try to promote the mutex from 0 to 1. if it wasn't 0, call <fail_fn>.
73 #define __mutex_fastpath_unlock(count, fail_fn) \
[all...]
H A Dmutex_64.h15 * @fail_fn: function to call if the result is negative
17 * Atomically decrements @v and calls <fail_fn> if the result is negative.
19 #define __mutex_fastpath_lock(v, fail_fn) \
24 typecheck_fn(void (*)(atomic_t *), fail_fn); \
28 " call " #fail_fn "\n" \
40 * @fail_fn: function to call if the original value was not 1
42 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
47 int (*fail_fn)(atomic_t *))
50 return fail_fn(count);
58 * @fail_fn
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/blackfin/include/asm/
H A Dmutex.h21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
24 fail_fn(count);
30 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
33 return fail_fn(count);
41 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
45 fail_fn(count);
51 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
70 return fail_fn(count);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/blackfin/include/asm/
H A Dmutex.h21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
24 fail_fn(count);
30 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
33 return fail_fn(count);
41 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
45 fail_fn(count);
51 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
70 return fail_fn(count);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/ia64/include/asm/
H A Dmutex.h15 * @fail_fn: function to call if the original value was not 1
17 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
25 fail_fn(count);
32 * @fail_fn: function to call if the original value was not 1
34 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
39 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
42 return fail_fn(count);
49 * @fail_fn: function to call if the original value was not 0
51 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/ia64/include/asm/
H A Dmutex.h15 * @fail_fn: function to call if the original value was not 1
17 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
25 fail_fn(count);
32 * @fail_fn: function to call if the original value was not 1
34 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
39 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
42 return fail_fn(count);
49 * @fail_fn: function to call if the original value was not 0
51 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/powerpc/include/asm/
H A Dmutex.h68 * @fail_fn: function to call if the original value was not 1
70 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
75 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
78 fail_fn(count);
85 * @fail_fn: function to call if the original value was not 1
87 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
92 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
95 return fail_fn(count);
102 * @fail_fn: function to call if the original value was not 0
104 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sh/include/asm/
H A Dmutex-llsc.h22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
36 fail_fn(count);
40 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
54 __res = fail_fn(count);
60 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
74 fail_fn(count);
88 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sh/include/asm/
H A Dmutex-llsc.h22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
36 fail_fn(count);
40 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
54 __res = fail_fn(count);
60 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
74 fail_fn(count);
88 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/include/asm/
H A Dmutex.h28 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
44 fail_fn(count);
48 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
64 __res = fail_fn(count);
74 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
90 fail_fn(count);
107 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dmutex.h68 * @fail_fn: function to call if the original value was not 1
70 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
75 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
78 fail_fn(count);
85 * @fail_fn: function to call if the original value was not 1
87 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
92 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
95 return fail_fn(count);
102 * @fail_fn: function to call if the original value was not 0
104 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/include/asm/
H A Dmutex.h28 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
44 fail_fn(count);
48 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
64 __res = fail_fn(count);
74 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
90 fail_fn(count);
107 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/nmbd/
H A Dnmbd_nodestatus.c70 if( rrec->fail_fn)
71 (*rrec->fail_fn)(subrec, rrec);
83 node_status_fail_function fail_fn, struct userdata_struct *userdata)
86 success_fn, fail_fn, userdata, nmbname, send_ip)==NULL) {
81 node_status(struct subnet_record *subrec, struct nmb_name *nmbname, struct in_addr send_ip, node_status_success_function success_fn, node_status_fail_function fail_fn, struct userdata_struct *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba/source/nmbd/
H A Dnmbd_nodestatus.c73 if( rrec->fail_fn)
74 (*rrec->fail_fn)(subrec, rrec);
86 node_status_fail_function fail_fn, struct userdata_struct *userdata)
90 success_fn, fail_fn, userdata, nmbname, send_ip)==NULL)
84 node_status(struct subnet_record *subrec, struct nmb_name *nmbname, struct in_addr send_ip, node_status_success_function success_fn, node_status_fail_function fail_fn, struct userdata_struct *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/nmbd/
H A Dnmbd_nodestatus.c69 if( rrec->fail_fn)
70 (*rrec->fail_fn)(subrec, rrec);
82 node_status_fail_function fail_fn, struct userdata_struct *userdata)
85 success_fn, fail_fn, userdata, nmbname, send_ip)==NULL) {
80 node_status(struct subnet_record *subrec, struct nmb_name *nmbname, struct in_addr send_ip, node_status_success_function success_fn, node_status_fail_function fail_fn, struct userdata_struct *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/nmbd/
H A Dnmbd_nodestatus.c70 if( rrec->fail_fn)
71 (*rrec->fail_fn)(subrec, rrec);
83 node_status_fail_function fail_fn, struct userdata_struct *userdata)
86 success_fn, fail_fn, userdata, nmbname, send_ip)==NULL) {
81 node_status(struct subnet_record *subrec, struct nmb_name *nmbname, struct in_addr send_ip, node_status_success_function success_fn, node_status_fail_function fail_fn, struct userdata_struct *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba/source/nmbd/
H A Dnmbd_nodestatus.c73 if( rrec->fail_fn)
74 (*rrec->fail_fn)(subrec, rrec);
86 node_status_fail_function fail_fn, struct userdata_struct *userdata)
90 success_fn, fail_fn, userdata, nmbname, send_ip)==NULL)
84 node_status(struct subnet_record *subrec, struct nmb_name *nmbname, struct in_addr send_ip, node_status_success_function success_fn, node_status_fail_function fail_fn, struct userdata_struct *userdata) argument

Completed in 126 milliseconds

1234