Searched refs:mask (Results 151 - 175 of 1780) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/kern/
H A Dkern_cpuset.c81 * simply be referred to as a mask. In the syscall api these are referred to
87 * mask and the same parent as the existing anonymous set. This gives the
88 * illusion of each thread having a private mask.
91 * or mask that is discovered via a pid, tid, or setid. Modifying a set
92 * modifies all numbered and anonymous child sets to comply with the new mask.
93 * Modifying a pid or tid's mask applies only to that tid but must still
259 _cpuset_create(struct cpuset *set, struct cpuset *parent, const cpuset_t *mask, argument
263 if (!CPU_OVERLAP(&parent->cs_mask, mask))
265 CPU_COPY(mask, &set->cs_mask);
282 * Create a new non-anonymous set with the requested parent and mask
287 cpuset_create(struct cpuset **setp, struct cpuset *parent, const cpuset_t *mask) argument
312 cpuset_testupdate(struct cpuset *set, cpuset_t *mask, int check_mask) argument
339 cpuset_update(struct cpuset *set, cpuset_t *mask) argument
357 cpuset_modify(struct cpuset *set, cpuset_t *mask) argument
489 cpuset_shadow(struct cpuset *set, struct cpuset *fset, const cpuset_t *mask) argument
516 cpuset_setproc(pid_t pid, struct cpuset *set, cpuset_t *mask) argument
695 cpuset_setthread(lwpid_t id, cpuset_t *mask) argument
737 cpuset_t mask; local
936 cpuset_t mask; local
1077 cpuset_t *mask; member in struct:cpuset_getaffinity_args
1096 cpuset_t *mask; local
1195 const cpuset_t *mask; member in struct:cpuset_setaffinity_args
1214 cpuset_t *mask; local
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_xarray.c90 * "mask" argument defines the maximum index allowed, inclusivly, and
99 __xa_alloc(struct xarray *xa, uint32_t *pindex, void *ptr, uint32_t mask, gfp_t gfp) argument
105 /* mask cannot be zero */
106 MPASS(mask != 0);
108 /* mask can be any power of two value minus one */
109 MPASS((mask & (mask + 1)) == 0);
117 if (likely(*pindex != mask)) {
136 xa_alloc(struct xarray *xa, uint32_t *pindex, void *ptr, uint32_t mask, gfp_t gfp) argument
141 retval = __xa_alloc(xa, pindex, ptr, mask, gf
154 __xa_alloc_cyclic(struct xarray *xa, uint32_t *pindex, void *ptr, uint32_t mask, uint32_t *pnext_index, gfp_t gfp) argument
196 xa_alloc_cyclic(struct xarray *xa, uint32_t *pindex, void *ptr, uint32_t mask, uint32_t *pnext_index, gfp_t gfp) argument
[all...]
/freebsd-11-stable/sys/mips/cavium/
H A Dciu.c324 uint64_t mask; local
328 mask = cvmx_read_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2));
329 mask &= ~(1ull << (irq - CIU_IRQ_EN0_BEGIN));
330 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2), mask);
336 uint64_t mask; local
340 mask = cvmx_read_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2));
341 mask |= 1ull << (irq - CIU_IRQ_EN0_BEGIN);
342 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2), mask);
349 uint64_t mask; local
355 mask
370 uint64_t mask; local
382 uint64_t mask; local
395 uint64_t mask; local
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_acpi.c38 u32 notification_mask; /* supported notifications mask */
44 u32 valid_mask; /* valid flags mask */
125 * @mask: supported notifications mask from ATIF
127 * Use the supported notifications mask from ATIF function
131 static void radeon_atif_parse_notification(struct radeon_atif_notifications *n, u32 mask) argument
133 n->display_switch = mask & ATIF_DISPLAY_SWITCH_REQUEST_SUPPORTED;
134 n->expansion_mode_change = mask & ATIF_EXPANSION_MODE_CHANGE_REQUEST_SUPPORTED;
135 n->thermal_state = mask & ATIF_THERMAL_STATE_CHANGE_REQUEST_SUPPORTED;
136 n->forced_power_state = mask
154 radeon_atif_parse_functions(struct radeon_atif_functions *f, u32 mask) argument
442 radeon_atcs_parse_functions(struct radeon_atcs_functions *f, u32 mask) argument
[all...]
/freebsd-11-stable/contrib/libstdc++/config/os/bsd/darwin/
H A Dctype_inline.h46 is(mask __m, char __c) const
56 is(const char* __low, const char* __high, mask* __vec) const
68 mask __m = 0;
79 // Do not include explicit line for alnum mask since it is a
89 scan_is(mask __m, const char* __low, const char* __high) const
103 scan_not(mask __m, const char* __low, const char* __high) const
118 do_is(mask __m, wchar_t __c) const
125 do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const
135 do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const
144 do_scan_not(mask __
[all...]
/freebsd-11-stable/contrib/libstdc++/config/os/bsd/freebsd/
H A Dctype_inline.h46 is(mask __m, char __c) const
56 is(const char* __low, const char* __high, mask* __vec) const
68 mask __m = 0;
79 // Do not include explicit line for alnum mask since it is a
89 scan_is(mask __m, const char* __low, const char* __high) const
103 scan_not(mask __m, const char* __low, const char* __high) const
118 do_is(mask __m, wchar_t __c) const
125 do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const
135 do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const
144 do_scan_not(mask __
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar724x_chip.c96 ar724x_chip_device_stop(uint32_t mask) argument
100 mask_inv = mask & AR724X_RESET_MODULE_USB_OHCI_DLL;
102 reg |= mask;
108 ar724x_chip_device_start(uint32_t mask) argument
112 mask_inv = mask & AR724X_RESET_MODULE_USB_OHCI_DLL;
114 reg &= ~mask;
120 ar724x_chip_device_stopped(uint32_t mask) argument
125 return ((reg & mask) == mask);
H A Dar71xx_cpudef.h88 static inline void ar71xx_device_stop(uint32_t mask) argument
90 ar71xx_cpu_ops->ar71xx_chip_device_stop(mask);
93 static inline void ar71xx_device_start(uint32_t mask) argument
95 ar71xx_cpu_ops->ar71xx_chip_device_start(mask);
98 static inline int ar71xx_device_stopped(uint32_t mask) argument
100 return ar71xx_cpu_ops->ar71xx_chip_device_stopped(mask);
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c210 unsigned int good, found_zero_byte, mask; local
239 mask = ~constant_time_is_zero(flen);
240 flen -= 1 & mask;
241 from -= 1 & mask;
242 *--em = *from & mask;
290 mask = ~constant_time_eq(msg_index & (num - 11 - mlen), 0);
292 em[i] = constant_time_select_8(mask, em[i + msg_index], em[i]);
295 mask = good & constant_time_lt(i, mlen);
296 to[i] = constant_time_select_8(mask, em[i + 11], to[i]);
/freebsd-11-stable/contrib/gcc/
H A Ddouble-int.c27 /* Returns mask for PREC bits. */
33 double_int mask; local
39 mask.high = (HOST_WIDE_INT) m;
40 mask.low = ALL_ONES;
44 mask.high = 0;
45 mask.low = ((unsigned HOST_WIDE_INT) 2 << (prec - 1)) - 1;
48 return mask;
72 double_int mask = double_int_mask (prec); local
75 r.low = cst.low & mask.low;
76 r.high = cst.high & mask
86 double_int mask = double_int_mask (prec); local
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dunwind.c236 unsigned int mask, reg; local
238 /* Load the mask */
239 mask = unwind_exec_read_byte(state);
240 mask |= (insn & INSN_STD_DATA_MASK) << 8;
243 if (mask == 0)
250 for (reg = 4; mask && reg < 16; mask >>= 1, reg++) {
251 if (mask & 1) {
293 unsigned int mask, reg; local
295 mask
[all...]
/freebsd-11-stable/release/picobsd/floppy.tree/etc/
H A Drc.conf.defaults132 # sets "mask" using $1 (netmask name) as the search key in /etc/networks
136 mask=""
137 while read a b junk; do # key mask otherstuff
140 mask=$b
145 if [ "${mask}" = "" ] ; then
146 mask=${default_mask}
148 echo "fetch_mask for <${key}> returns <${mask}>"
167 eval ifconfig_${main_if}=\" \${hostname} netmask \${mask}\"
173 local i ether hostname mask
181 eval ifconfig_${i}=\" \${hostname} netmask \${mask}\"
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_packer.c77 __be32 mask; local
88 mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift);
90 *addr = (*addr & ~mask) | (cpu_to_be32(val) & mask);
94 __be64 mask; local
105 mask = cpu_to_be64((~0ull >> (64 - desc[i].size_bits)) << shift);
107 *addr = (*addr & ~mask) | (cpu_to_be64(val) & mask);
166 u32 mask; local
170 mask
180 u64 mask; local
[all...]
/freebsd-11-stable/contrib/blacklist/libexec/
H A Dblacklistd-helper8 # $5 mask
42 mask="$5"
46 mask=32
56 echo block in quick $proto from $addr/$mask to \
65 /sbin/ipfw -q table $tname add "$addr/$mask"
74 "$addr/$mask" to any $port
82 # insert $ip/$mask into per-protocol/port anchored table
83 /sbin/pfctl -qa "$2/$6" -t "port$6" -T add "$addr/$mask" && \
92 echo block in quick $proto from $addr/$mask to \
97 /sbin/ipfw table "port$6" delete "$addr/$mask"
[all...]
/freebsd-11-stable/contrib/ntp/conf/
H A Drackety.conf37 restrict 128.4.0.0 mask 255.255.0.0 # allow DCnet clients
38 restrict 128.175.0.0 mask 255.255.0.0 # allow UDELnet clients
39 restrict 140.173.0.0 mask 255.255.0.0 # allow DARTnet/CAIRN clients
/freebsd-11-stable/contrib/opie/
H A Dpopen.c187 sigset_t omask, mask; local
189 sigemptyset(&mask);
190 sigaddset(&mask, SIGINT);
191 sigaddset(&mask, SIGQUIT);
192 sigaddset(&mask, SIGHUP);
200 sigprocmask(SIG_BLOCK, &mask, &omask);
/freebsd-11-stable/sys/dev/tpm/
H A Dtpm_tis.c95 uint32_t mask, uint32_t val, int32_t timeout);
248 tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val, argument
253 if ((RD4(sc, off) & mask) == val)
261 return ((RD4(sc, off) & mask) == val);
266 if ((RD4(sc, off) & mask) == val)
338 uint8_t mask; local
345 mask = TPM_ACCESS_LOC_ACTIVE | TPM_ACCESS_VALID;
353 return ((RD1(sc, TPM_ACCESS) & mask) == mask);
356 if ((RD1(sc, TPM_ACCESS) & mask)
384 uint32_t mask; local
402 uint32_t mask, curr_cmd; local
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dspicds.c78 int mask; local
109 for (mask = 0x10; mask != 0; mask >>= 1)
110 spicds_wrbit(codec, reg & mask);
112 for (mask = 0x80; mask != 0; mask >>= 1)
113 spicds_wrbit(codec, val & mask);
119 for (mask
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_signal.c241 /* add sig to mask before exececuting signal handler */
249 sigset_t mask; local
251 SIGEMPTYSET(mask);
252 SIGADDSET(mask, signum);
253 return (kern_sigprocmask(td, SIG_BLOCK, &mask, NULL,
304 sigset_t mask; local
306 SIGEMPTYSET(mask);
307 SIGADDSET(mask, signum);
308 return (kern_sigprocmask(td, SIG_UNBLOCK, &mask, NULL,
325 sigset_t mask; local
409 sigset_t mask; local
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dvga.c409 uint8_t mask; local
453 mask = sc->vga_gc.gc_bit_mask;
460 m0 = (set_reset & 1) ? mask : 0x00;
461 m1 = (set_reset & 2) ? mask : 0x00;
462 m2 = (set_reset & 4) ? mask : 0x00;
463 m3 = (set_reset & 8) ? mask : 0x00;
465 c0 = (enb_set_reset & 1) ? (c0 & ~mask) : (val & mask);
466 c1 = (enb_set_reset & 2) ? (c1 & ~mask) : (val & mask);
[all...]
/freebsd-11-stable/usr.bin/jot/
H A Djot.c98 int mask = 0; local
148 mask |= HAVE_STEP;
157 mask |= HAVE_ENDER;
166 mask |= HAVE_BEGIN;
177 mask |= HAVE_REPS;
191 while (mask) /* 4 bit mask has 1's where last 4 args were given */
192 switch (mask) { /* fill in the 0's by default or computation */
199 mask |= HAVE_REPS;
203 mask |
[all...]
/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_gpio.c219 uint32_t mask = 1U << pin; local
224 if ((CSR_READ_4(sc, AML_GPIO_OE_N_REG) & mask) == 0) {
239 uint32_t mask = 1U << pin; local
249 (CSR_READ_4(sc, AML_GPIO_OE_N_REG) & ~mask));
253 (CSR_READ_4(sc, AML_GPIO_OE_N_REG) | mask));
266 uint32_t mask; local
277 mask = 1U << pin;
282 ((CSR_READ_4(sc, AML_GPIO_OUT_REG) & ~mask) | (value << pin)));
294 uint32_t mask = 1U << pin; local
299 *value = (CSR_READ_4(sc, AML_GPIO_IN_REG) & mask)
309 uint32_t mask; local
[all...]
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_ring.h47 unsigned int mask; member in struct:ck_ring
63 return (p - c) & ring->mask;
77 ring->mask = size - 1;
94 const unsigned int mask = ring->mask; local
101 *size = (producer - consumer) & mask;
103 if (CK_CC_UNLIKELY((delta & mask) == (consumer & mask)))
106 buffer = (char *)buffer + ts * (producer & mask);
139 const unsigned int mask local
173 const unsigned int mask = ring->mask; local
273 const unsigned int mask = ring->mask; local
298 const unsigned int mask = ring->mask; local
[all...]
/freebsd-11-stable/contrib/libbegemot/
H A Drpoll.c161 int mask; /* event flags */ member in struct:__anon1917
220 * Don't change the mask between this calls (your changes will be lost).
246 * mask arrives func is called with arg.
247 * If fd is already registered with that func and arg, only the mask
253 poll_register(int fd, poll_f func, void *arg, int mask) argument
262 p->mask = mask;
289 p->mask = mask;
300 fd, (void *)func, (void *)arg, mask,
581 int mask = 0; local
666 infunc(int fd, int mask, void *arg) argument
[all...]
/freebsd-11-stable/contrib/ipfilter/
H A Dradix_ipf.c54 /* Returns: number of consecutive bits starting at "mask". */
62 count_mask_bits(mask, lastp)
63 addrfamily_t *mask;
66 u_32_t *mp = (u_32_t *)&mask->adf_addr;
71 mlen = mask->adf_len - offsetof(addrfamily_t, adf_addr);
89 /* mask(I) - netmask associated with the above address */
91 /* associated with addr and mask. */
94 /* data supplied in the paramters "addr" and "mask". It is expected that */
95 /* "mask" will contain a consecutive string of bits set. Masks with gaps in */
99 buildnodes(addr, mask, node
190 u_32_t *mask; local
339 ipf_rdx_mask_t *mask; local
948 addrfamily_t mask; member in struct:myst
955 char *mask; member in struct:tabe_s
1370 addrfamily_t mask; local
[all...]

Completed in 245 milliseconds

1234567891011>>