Searched refs:mask (Results 51 - 75 of 187) sorted by relevance

12345678

/barrelfish-2018-10-04/lib/libc/rpc/
H A Dclnt_dg.c104 #define release_fd_lock(fd, mask) { \
108 thr_sigsetmask(SIG_SETMASK, &(mask), NULL); \
172 sigset_t mask; local
178 thr_sigsetmask(SIG_SETMASK, &newmask, &mask);
189 thr_sigsetmask(SIG_SETMASK, &(mask), NULL);
200 thr_sigsetmask(SIG_SETMASK, &(mask), NULL);
211 thr_sigsetmask(SIG_SETMASK, &(mask), NULL);
333 sigset_t mask; local
342 thr_sigsetmask(SIG_SETMASK, &newmask, &mask);
605 release_fd_lock(cu->cu_fd, mask);
623 sigset_t mask; local
650 sigset_t mask; local
793 sigset_t mask; local
821 sigset_t mask; local
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Shm/src/
H A Dalloc.c169 /* mask must be unsigned */
179 #define Next_Bit(block, ptr, mask) { \
180 if (((mask) <<= 1) == 0) \
182 (mask) = 0x1; \
193 #define Prev_Bit(block, ptr, mask) { \
194 if (((mask) >>= 1) == 0) \
196 (mask) = SIGN_BIT; \
340 register bits32 *p, mask; local
358 Page_Parameters(ptr, block, p, mask);
360 Prev_Bit(block, p, mask);
548 bits32 *p, mask; local
[all...]
/barrelfish-2018-10-04/lib/numa/
H A Dnuma.c187 * \brief returns the size of the node mask
189 * \return size of the node mask
219 * returns the mask of nodes from which the process is allowed to allocate memory
383 * \brief returns a mask of CPUs on which the current task is allowed to run.
463 * \param mask returned bitmask
468 errval_t numa_sched_getaffinity(domainid_t did, struct bitmap *mask) argument
478 * \brief sets a domain's allowed cpu's to those cpu's specified in mask.
481 * \param mask bitmap representing the CPUs
486 errval_t numa_sched_setaffinity(domainid_t did, struct bitmap *mask) argument
513 * \param mask bitma
521 numa_node_to_cpus(nodeid_t node, struct bitmap *mask) argument
[all...]
/barrelfish-2018-10-04/include/lwip/lwip/
H A Dip_addr.h112 * @arg mask network identifier mask
115 #define ip_addr_netcmp(addr1, addr2, mask) (((addr1)->addr & \
116 (mask)->addr) == \
118 (mask)->addr))
/barrelfish-2018-10-04/include/
H A Dnuma.h88 * \brief returns the size of the node mask
90 * \return size of the node mask
122 * returns the mask of nodes from which the process is allowed to allocate memory
173 * \param mask bitmap to store the result
182 errval_t numa_parse_bitmap(char *line, struct bitmap *mask);
185 * \brief parses a character string list of nodes into a bit mask.
200 * \brief parses a character string list of cpus into a bit mask.
256 * \brief returns the current interleave mask
260 * returns the current interleave mask if the task's memory allocation policy is
261 * page interleaved. Otherwise, this function returns an empty mask
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ec/
H A Dec2_mult.c220 BN_ULONG mask,word; local
255 mask = BN_TBIT;
257 while (!(word & mask)) mask >>= 1;
258 mask >>= 1;
260 if (!mask)
263 mask = BN_TBIT;
269 while (mask)
271 if (word & mask)
281 mask >>
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rsa/
H A Drsa_oaep.c31 static int MGF1(unsigned char *mask, long len,
184 int PKCS1_MGF1(unsigned char *mask, long len, argument
208 EVP_DigestFinal_ex(&c, mask + outlen, NULL);
214 memcpy(mask + outlen, md, len - outlen);
222 static int MGF1(unsigned char *mask, long len, const unsigned char *seed, argument
225 return PKCS1_MGF1(mask, len, seed, seedlen, EVP_sha1());
/barrelfish-2018-10-04/usr/monitor/include/
H A Dmonitor_invocations.h26 uint8_t relations, uint8_t mask,
31 ((uint16_t)relations) | (((uint16_t)mask)<<8));
39 invoke_monitor_cap_has_relations(capaddr_t caddr, uint8_t level, uint8_t mask, argument
44 caddr, level, mask);
213 mask, uint8_t *ret_relations);
215 mask, uint8_t *ret_relations);
216 errval_t monitor_cap_has_relations(struct capref cap, uint8_t mask,
24 invoke_monitor_remote_relations(capaddr_t root_cap, int root_level, capaddr_t cap, int level, uint8_t relations, uint8_t mask, uint8_t *ret_remote_relations) argument
/barrelfish-2018-10-04/lib/usb/class/
H A Dusb_hid.c201 int32_t mask; local
268 mask = 0;
272 mask = 0xFF;
278 mask = 0xFFFF;
285 mask = 0xFFFFFFFF;
374 /* mask because value is unsigned */
375 s->loc_size = dval & mask;
381 /* mask because value is unsigned */
382 s->loc_count = dval & mask;
425 dval = (dval & mask) |
715 uint64_t mask; local
[all...]
/barrelfish-2018-10-04/lib/libc/locale/
H A Dxlocale.c250 locale_t newlocale(int mask, const char *locale, locale_t base) argument
274 if (mask & 1) {
293 mask >>= 1;
345 const char *querylocale(int mask, locale_t loc) argument
347 int type = ffs(mask) - 1;
H A Dutf8.c97 int ch, i, mask, want; local
120 * from the first octet, and a mask that extracts the
138 mask = 0x1f;
142 mask = 0x0f;
146 mask = 0x07;
166 wch = (unsigned char)*s++ & mask;
/barrelfish-2018-10-04/lib/zlib/
H A Dinftrees.c52 unsigned mask; /* mask for low root bits */ local
209 mask = used - 1; /* mask for comparing low */
260 if (len > root && (huff & mask) != low) {
284 low = huff & mask;
303 if (drop != 0 && (huff & mask) != low) {
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c48 alloc->top = (alloc->top + alloc->max) & alloc->mask;
73 alloc->top = (alloc->top + alloc->max) & alloc->mask;
78 int mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask, argument
90 alloc->mask = mask;
/barrelfish-2018-10-04/usr/tests/msun/
H A Drem_test.c138 mask(int x) function
161 assert(q == (abs(expected_quo) & mask(q)));
183 assert(q == (abs(expected_quo) & mask(q)));
205 assert((q & mask(q)) == (abs(expected_quo) & mask(q)));
/barrelfish-2018-10-04/lib/netd/
H A DARP_lookup_service.c54 net_ARP_ipv4addr_t *gw, net_ARP_ipv4addr_t *mask);
128 net_ARP_ipv4addr_t *gw, net_ARP_ipv4addr_t *mask)
138 *mask = state->netif_ptr->netmask.addr;
126 get_ip_info(struct net_ARP_binding *cc, uint32_t iface, errval_t *err, net_ARP_ipv4addr_t *ip, net_ARP_ipv4addr_t *gw, net_ARP_ipv4addr_t *mask) argument
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_rand.c121 int ret=0,bit,bytes,mask; local
132 mask=0xff<<(bit+1);
196 buf[0] &= ~mask;
/barrelfish-2018-10-04/lib/x86emu/
H A Dprim_ops.c837 register unsigned int res, cnt, mask, cf; local
874 /* note that the right hand side done by the mask */
881 and mask off the result before or'ing in.
883 mask = (1 << (cnt - 1)) - 1;
884 res |= (d >> (9 - cnt)) & mask;
910 register unsigned int res, cnt, mask, cf; local
916 mask = (1 << (cnt - 1)) - 1;
917 res |= (d >> (17 - cnt)) & mask;
934 register u32 res, cnt, mask, cf; local
940 mask
959 u32 mask, cf, ocf = 0; local
1043 u32 mask, cf, ocf = 0; local
1075 u32 mask, cf, ocf = 0; local
1107 register unsigned int res, cnt, mask; local
1156 register unsigned int res, cnt, mask; local
1181 register u32 res, cnt, mask; local
1206 register unsigned int res, cnt, mask; local
1252 register unsigned int res, cnt, mask; local
1275 register u32 res, cnt, mask; local
1529 unsigned int cnt, res, cf, mask, sf; local
1569 unsigned int cnt, res, cf, mask, sf; local
1609 u32 cnt, res, cf, mask, sf; local
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/net/mlx4/
H A Dalloc.c55 & bitmap->mask;
120 & bitmap->mask;
156 & bitmap->mask;
163 int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, uint32_t num, uint32_t mask, argument
179 bitmap->mask = mask;
/barrelfish-2018-10-04/usr/monitor/
H A Dinvocations.c84 uint8_t mask, uint8_t *ret_relations)
90 cptr, level, relations, mask,
95 uint8_t mask, uint8_t *ret_relations)
100 mask, ret_relations);
107 errval_t monitor_cap_has_relations(struct capref cap, uint8_t mask, argument
112 return invoke_monitor_cap_has_relations(caddr, level, mask, res);
82 monitor_domcap_remote_relations(struct capref croot, capaddr_t cptr, int level, uint8_t relations, uint8_t mask, uint8_t *ret_relations) argument
94 monitor_remote_relations(struct capref cap, uint8_t relations, uint8_t mask, uint8_t *ret_relations) argument
/barrelfish-2018-10-04/usr/drivers/solarflair/sfxge/common/
H A Defx_phy.c358 uint32_t mask; local
367 mask = (1 << EFX_PHY_LED_DEFAULT);
368 mask |= encp->enc_led_mask;
370 if (!((1 << mode) & mask)) {
423 __in uint32_t mask)
432 if ((mask & ~epp->ep_phy_cap_mask) != 0) {
437 if (epp->ep_adv_cap_mask == mask)
440 epp->ep_adv_cap_mask = mask;
421 efx_phy_adv_cap_set( __in efx_nic_t *enp, __in uint32_t mask) argument
H A Dsiena_phy.c36 uint32_t mask; local
38 mask = 0;
40 mask |= (1 << EFX_PHY_CAP_10HDX);
42 mask |= (1 << EFX_PHY_CAP_10FDX);
44 mask |= (1 << EFX_PHY_CAP_100HDX);
46 mask |= (1 << EFX_PHY_CAP_100FDX);
48 mask |= (1 << EFX_PHY_CAP_1000HDX);
50 mask |= (1 << EFX_PHY_CAP_1000FDX);
52 mask |= (1 << EFX_PHY_CAP_10000FDX);
54 mask |
[all...]
/barrelfish-2018-10-04/lib/libc/include/isc/
H A Deventlib.h63 typedef struct { unsigned char mask[256/8]; } evByteMask; member in struct:__anon977
67 ((bm).mask[EV_BYTEMASK_BYTE(b)] |= EV_BYTEMASK_MASK(b))
69 ((bm).mask[EV_BYTEMASK_BYTE(b)] &= ~EV_BYTEMASK_MASK(b))
71 ((bm).mask[EV_BYTEMASK_BYTE(b)] & EV_BYTEMASK_MASK(b))
/barrelfish-2018-10-04/usr/acpi/arch/x86/
H A Dioapic.c71 tbl.mask = enable ? 0 : 1;
/barrelfish-2018-10-04/lib/msun/arm/
H A Dfenv.c63 #define __set_env(env, flags, mask, rnd) env = ((flags) \
64 | (mask)<<_FPUSW_SHIFT \
/barrelfish-2018-10-04/kernel/include/arch/x86/
H A Dx86.h23 #define MSR_IA32_FMASK 0xc0000084 ///< System call flag mask MSR
174 static inline void addmsr(uint32_t msr_number, uint64_t mask) argument
176 wrmsr(msr_number, rdmsr(msr_number) | mask);

Completed in 313 milliseconds

12345678