Searched refs:maskp (Results 1 – 4 of 4) sorted by relevance
32 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()33 if (bmp->maskp == 0) { in bitmask_alloc()45 free(bmp->maskp); in bitmask_free()46 bmp->maskp = (unsigned long *)0xdeadcdef; /* double free tripwire */ in bitmask_free()65 return (bmp->maskp[n/bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()75 bmp->maskp[n/bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()77 bmp->maskp[n/bitsperlong] &= in _setbit()
13 unsigned long *maskp; member
16 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) in sched__get_first_possible_cpu() argument20 CPU_ZERO(maskp); in sched__get_first_possible_cpu()22 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()32 if (CPU_ISSET(i, maskp)) { in sched__get_first_possible_cpu()36 CPU_CLR(i, maskp); in sched__get_first_possible_cpu()
689 #define cpumask_bits(maskp) ((maskp)->bits) argument