Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 25 of 82) sorted by relevance

1234

/l4re-core-master/uclibc/lib/uclibc/ARCH-mips/include/asm-generic/
A Dioctl.h74 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
75 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
76 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
77 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
78 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
79 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
80 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
83 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
84 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
85 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
[all …]
/l4re-core-master/uclibc/lib/uclibc/ARCH-ppc32/include/asm/
A Dioctl.h37 ((nr) << _IOC_NRSHIFT) | \
52 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
53 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
54 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
56 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
57 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
58 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
61 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
62 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
63 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
[all …]
/l4re-core-master/uclibc/lib/uclibc/ARCH-arm/include/asm/
A Dioctls.h42 #define _IOC(dir,type,nr,size) \ argument
45 ((nr) << _IOC_NRSHIFT) | \
49 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
50 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
51 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
52 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
55 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
56 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
57 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
58 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/l4re-core-master/uclibc/lib/uclibc/ARCH-sparc/include/asm/
A Dioctls.h42 #define _IOC(dir,type,nr,size) \ argument
45 ((nr) << _IOC_NRSHIFT) | \
49 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
50 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
51 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
52 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
55 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
56 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
57 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
58 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/l4re-core-master/uclibc/lib/uclibc/ARCH-x86/include/asm/
A Dioctls.h32 #define _IOC(dir,type,nr,size) \ argument
35 ((nr) << _IOC_NRSHIFT) | \
39 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
45 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
46 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
47 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
48 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/l4re-core-master/uclibc/lib/uclibc/ARCH-amd64/include/asm/
A Dioctls.h32 #define _IOC(dir,type,nr,size) \ argument
35 ((nr) << _IOC_NRSHIFT) | \
39 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
45 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
46 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
47 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
48 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/l4re-core-master/uclibc/lib/uclibc/ARCH-arm64/include/asm/
A Dioctls.h42 #define _IOC(dir,type,nr,size) \ argument
45 ((nr) << _IOC_NRSHIFT) | \
49 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
50 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
51 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
52 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
55 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
56 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
57 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
58 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/i386/
A Duseldt.h66 #define DO_MODIFY_LDT(descr, nr) \ argument
89 # define DO_SET_THREAD_AREA_REUSE(nr) 1 argument
92 # define DO_SET_THREAD_AREA_REUSE(nr) (!__builtin_constant_p (nr) || (nr)) argument
94 #define DO_SET_THREAD_AREA(descr, nr) \ argument
97 if (DO_SET_THREAD_AREA_REUSE (nr)) \
142 # define INIT_THREAD_SELF(descr, nr) DO_SET_THREAD_AREA (descr, nr) argument
149 DO_MODIFY_LDT (descr, nr); \
154 # define INIT_THREAD_SELF(descr, nr) DO_MODIFY_LDT (descr, nr) argument
161 #define FREE_THREAD(descr, nr) \ argument
168 { nr, 0, 0, 0, 0, 1, 0, 1, 0, 0 }; \
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/i386/
A Duseldt.h67 #define DO_MODIFY_LDT(descr, nr) \ argument
90 # define DO_SET_THREAD_AREA_REUSE(nr) 1 argument
93 # define DO_SET_THREAD_AREA_REUSE(nr) (!__builtin_constant_p (nr) || (nr)) argument
95 #define DO_SET_THREAD_AREA(descr, nr) \ argument
98 if (DO_SET_THREAD_AREA_REUSE (nr)) \
147 # define INIT_THREAD_SELF(descr, nr) DO_SET_THREAD_AREA (descr, nr) argument
154 DO_MODIFY_LDT (descr, nr); \
159 # define INIT_THREAD_SELF(descr, nr) DO_MODIFY_LDT (descr, nr) argument
166 #define FREE_THREAD(descr, nr) \ argument
173 { nr, 0, 0, 0, 0, 1, 0, 1, 0, 0 }; \
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/powerpc/bits/
A Dsyscalls.h30 # define INLINE_VSYSCALL(name, nr, args...) \ argument
57 # define INLINE_VSYSCALL(name, nr, args...) \ argument
58 INLINE_SYSCALL (name, nr, ##args)
62 # define INTERNAL_VSYSCALL(name, err, nr, args...) \ argument
79 # define INTERNAL_VSYSCALL(name, err, nr, args...) \ argument
80 INTERNAL_SYSCALL (name, err, nr, ##args)
118 LOAD_ARGS_##nr (funcptr, args); \
126 : ASM_INPUT_##nr \
142 # define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
156 LOAD_ARGS_##nr(name, args); \
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dsetxid.h29 # define INLINE_SETXID_SYSCALL(name, nr, args...) \ argument
30 INLINE_SYSCALL (name, nr, args)
32 # define INLINE_SETXID_SYSCALL(name, nr, args...) \ argument
39 __SETXID_##nr (__cmd, args); \
43 __result = INLINE_SYSCALL (name, nr, args); \
47 # define INLINE_SETXID_SYSCALL(name, nr, args...) \ argument
55 __SETXID_##nr (__cmd, args); \
59 __result = INLINE_SYSCALL (name, nr, args); \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/arm/
A Dsysdep.h247 #define INLINE_SYSCALL(name, nr, args...) \ argument
273 LOAD_ARGS_##nr (args) \
280 : "r" (_v3) ASM_ARGS_##nr \
290 LOAD_ARGS_##nr (args) \
294 : "r" (_nr) ASM_ARGS_##nr \
304 LOAD_ARGS_##nr (args) \
307 : "i" (name) ASM_ARGS_##nr \
315 #define INTERNAL_SYSCALL(name, err, nr, args...) \ argument
316 INTERNAL_SYSCALL_RAW(SYS_ify(name), err, nr, args)
332 INTERNAL_SYSCALL_RAW(number, err, nr, args)
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/arm/bits/
A Dsyscalls.h33 #define INLINE_SYSCALL_NCS(name, nr, args...) \ argument
36 unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr, args);\
48 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
53 LOAD_ARGS_##nr (args) \
57 : "r" (_nr) ASM_ARGS_##nr \
65 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
70 LOAD_ARGS_##nr (args) \
73 : "i" (name) ASM_ARGS_##nr \
84 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
92 LOAD_ARGS_##nr (args) \
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-rwlock8.c43 writer_thread (void *nr) in writer_thread() argument
53 printf ("writer thread %ld tries again\n", (long int) nr); in writer_thread()
61 printf ("writer thread %ld succeeded\n", (long int) nr); in writer_thread()
71 printf ("writer thread %ld released\n", (long int) nr); in writer_thread()
79 reader_thread (void *nr) in reader_thread() argument
89 printf ("reader thread %ld tries again\n", (long int) nr); in reader_thread()
97 printf ("reader thread %ld succeeded\n", (long int) nr); in reader_thread()
107 printf ("reader thread %ld released\n", (long int) nr); in reader_thread()
A Dtst-rwlock9.c45 writer_thread (void *nr) in writer_thread() argument
70 printf ("writer thread %ld tries again\n", (long int) nr); in writer_thread()
81 printf ("writer thread %ld succeeded\n", (long int) nr); in writer_thread()
91 printf ("writer thread %ld released\n", (long int) nr); in writer_thread()
99 reader_thread (void *nr) in reader_thread() argument
124 printf ("reader thread %ld tries again\n", (long int) nr); in reader_thread()
135 printf ("reader thread %ld succeeded\n", (long int) nr); in reader_thread()
145 printf ("reader thread %ld released\n", (long int) nr); in reader_thread()
A Dtst-barrier3.c40 int nr = (long int) arg; in worker() local
48 if (nr == 0) in worker()
57 printf ("thread %d failed to wait for all the others\n", nr); in worker()
61 for (j = nr; j < NTHREADS; ++j) in worker()
72 if (nr == 0 && counters[j] != j + 1) in worker()
84 nr, j); in worker()
99 if (nr == 0 && serial[j] != 1) in worker()
A Dtst-signal6.c66 size_t nr = (uintptr_t) arg; in tf() local
67 if (nr >= N) in tf()
77 if (i != nr) in tf()
106 ti[nr].p = p; in tf()
107 ti[nr].s = pthread_self (); in tf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/ia64/bits/
A Dsyscalls.h49 # define DO_INLINE_SYSCALL_NCS(name, nr, args...) \ argument
50 LOAD_ARGS_##nr (args) \
55 LOAD_REGS_##nr \
58 ASM_OUTARGS_##nr \
59 : "2" (_r15) ASM_ARGS_##nr \
60 : "memory" ASM_CLOBBERS_##nr); \
63 #define INLINE_SYSCALL_NCS(name, nr, args...) \ argument
66 DO_INLINE_SYSCALL_NCS (name, nr, args) \
78 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
81 DO_INLINE_SYSCALL_NCS (name, nr, args) \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/bits/
A Dsyscalls-common.h34 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) argument
37 # define INLINE_SYSCALL_NOERR(name, nr, args...) INLINE_SYSCALL_NOERR_NCS(__NR_##name, nr, args) argument
42 # define INLINE_SYSCALL_NCS(name, nr, args...) \ argument
48 long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args); \
60 # define INLINE_SYSCALL_NOERR_NCS(name, nr, args...) \ argument
63 long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args); \
70 # define INTERNAL_SYSCALL(name, err, nr, args...) INTERNAL_SYSCALL_NCS(__NR_##name, err, nr, args) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/c6x/bits/
A Dsyscalls.h38 #define INLINE_SYSCALL(name, nr, args...) \ argument
39 ({ unsigned int _inline_sys_result = INTERNAL_SYSCALL (name, , nr, args); \
48 #define INLINE_SYSCALL_NOERR(name, nr, args...) \ argument
49 ({ unsigned int _inline_sys_result = INTERNAL_SYSCALL (name, , nr, args); \
56 #define INTERNAL_SYSCALL( name, err, nr, args...) \ argument
57 INTERNAL_SYSCALL_NCS( __NR_##name, err, nr, args )
60 #define INTERNAL_SYSCALL_NCS(sys_num, err, nr, args...) \ argument
65 LOAD_ARGS_##nr(args) \
68 : "b" (__b0) ASM_ARGS_##nr \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/metag/bits/
A Dsyscalls.h33 #define INLINE_SYSCALL_NCS(name, nr, args...) \ argument
35 ({ unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr, args); \
48 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
52 PREP_ARGS_##nr (args); \
54 LOAD_ARGS_##nr; \
58 : "d" (_nr) ASM_ARGS_##nr \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/cris/bits/
A Dsyscalls.h10 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
14 LOAD_ARGS_c_##nr(args) \
17 __asm__ __volatile__ (LOAD_ARGS_asm_##nr (args) \
18 CHECK_ARGS_asm_##nr \
21 : ASM_ARGS_##nr (args) \
22 : ASM_CLOBBER_##nr); \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/nios2/bits/
A Dsyscalls.h21 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
28 ASM_ARGS_##nr \
34 MAP_ARGS_##nr (args) /* %3-%8 */ \
37 CLOB_ARGS_##nr /* Clobbered */ \
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/
A Dsem_post.c30 int nr; in sem_post() local
33 nr = atomic_increment_val (&isem->value); in sem_post()
37 nr = ++(isem->value); in sem_post()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/hppa/bits/
A Dsyscalls.h43 #define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ argument
47 K_LOAD_ARGS_##nr(args) \
55 : "i" (name) K_ASM_ARGS_##nr \
56 : "memory", K_CALL_CLOB_REGS K_CLOB_ARGS_##nr \

Completed in 63 milliseconds

1234