Searched refs:set (Results 1 - 25 of 98) sorted by relevance

1234

/seL4-refos-master/libs/libmuslc/src/signal/
H A Dsigemptyset.c4 int sigemptyset(sigset_t *set) argument
6 set->__bits[0] = 0;
7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0;
9 set->__bits[2] = 0;
10 set->__bits[3] = 0;
H A Dsigfillset.c4 int sigfillset(sigset_t *set) argument
7 set->__bits[0] = 0x7ffffffful;
8 set->__bits[1] = 0xfffffffcul;
10 set->__bits[2] = 0xfffffffful;
11 set->__bits[3] = 0xfffffffful;
14 set->__bits[0] = 0xfffffffc7ffffffful;
15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful;
H A Dsigismember.c3 int sigismember(const sigset_t *set, int sig) argument
7 return !!(set->__bits[s/8/sizeof *set->__bits] & 1UL<<(s&8*sizeof *set->__bits-1));
H A Dsigpending.c4 int sigpending(sigset_t *set) argument
6 return syscall(SYS_rt_sigpending, set, _NSIG/8);
H A Dsigisemptyset.c5 int sigisemptyset(const sigset_t *set) argument
8 return !memcmp(set, &zeroset, _NSIG/8);
H A Dsigaddset.c4 int sigaddset(sigset_t *set, int sig) argument
11 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1);
H A Dsigdelset.c4 int sigdelset(sigset_t *set, int sig) argument
11 set->__bits[s/8/sizeof *set->__bits] &=~(1UL<<(s&8*sizeof *set->__bits-1));
H A Dblock.c31 void __block_all_sigs(void *set) argument
33 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &all_mask, set, _NSIG/8);
36 void __block_app_sigs(void *set) argument
38 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &app_mask, set, _NSIG/8);
41 void __restore_sigs(void *set) argument
43 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, set, 0, _NSIG/8);
H A Dsigprocmask.c4 int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument
6 int r = pthread_sigmask(how, set, old);
H A Draise.c9 sigset_t set; local
10 __block_app_sigs(&set);
13 __restore_sigs(&set);
H A Dsigqueue.c10 sigset_t set; local
17 __block_app_sigs(&set);
20 __restore_sigs(&set);
/seL4-refos-master/libs/libmuslc/src/sched/
H A Daffinity.c7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) argument
9 return syscall(SYS_sched_setaffinity, tid, size, set);
12 int pthread_setaffinity_np(pthread_t td, size_t size, const cpu_set_t *set) argument
14 return -__syscall(SYS_sched_setaffinity, td->tid, size, set);
17 static int do_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument
19 long ret = __syscall(SYS_sched_getaffinity, tid, size, set);
21 if (ret < size) memset((char *)set+ret, 0, size-ret);
25 int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument
27 return __syscall_ret(do_getaffinity(tid, size, set));
30 int pthread_getaffinity_np(pthread_t td, size_t size, cpu_set_t *set) argument
[all...]
H A Dsched_cpucount.c4 int __sched_cpucount(size_t size, const cpu_set_t *set) argument
7 const unsigned char *p = (const void *)set;
/seL4-refos-master/libs/libmuslc/include/
H A Dsched.h84 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \
85 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) )
87 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=)
88 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~)
89 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &)
109 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set)
[all...]
/seL4-refos-master/libs/libmuslc/src/thread/mips64/
H A D__unmapself.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/thread/mipsn32/
H A D__unmapself.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/process/
H A Dfork.c17 sigset_t set; local
19 __block_all_sigs(&set);
32 __restore_sigs(&set);
/seL4-refos-master/libs/libmuslc/src/signal/mips/
H A Drestore.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/signal/mips64/
H A Drestore.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/signal/mipsn32/
H A Drestore.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/thread/mips/
H A D__unmapself.s1 .set noreorder
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dpthread_sigmask.c5 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument
9 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8);
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/zynq7000/
H A Dio.h128 * Clear and set bits in one shot. These macros can be used to clear and
129 * set multiple bits in a register using a single call. These macros can
130 * also be used to set a multiple-bit bit pattern using a mask, by
132 * in the 'set' parameter.
138 #define setbits(type, addr, set) \
139 out_##type((addr), in_##type(addr) | (set))
141 #define clrsetbits(type, addr, clear, set) \
142 out_##type((addr), (in_##type(addr) & ~(clear)) | (set))
145 #define setbits_be32(addr, set) setbits(be32, addr, set)
[all...]
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/tx2/
H A Dio.h125 * Clear and set bits in one shot. These macros can be used to clear and
126 * set multiple bits in a register using a single call. These macros can
127 * also be used to set a multiple-bit bit pattern using a mask, by
129 * in the 'set' parameter.
135 #define setbits(type, addr, set) \
136 out_##type((addr), in_##type(addr) | (set))
138 #define clrsetbits(type, addr, clear, set) \
139 out_##type((addr), (in_##type(addr) & ~(clear)) | (set))
142 #define setbits_be32(addr, set) setbits(be32, addr, set)
[all...]
/seL4-refos-master/libs/libmuslc/crt/mips/
H A Dcrtn.s1 .set noreorder

Completed in 69 milliseconds

1234