Lines Matching refs:set

430 #define	CPUSET_ALL(set)			cpuset_all(&(set))  argument
431 #define CPUSET_ALL_BUT(set, cpu) cpuset_all_but(&(set), cpu) argument
432 #define CPUSET_ONLY(set, cpu) cpuset_only(&(set), cpu) argument
433 #define CPU_IN_SET(set, cpu) BT_TEST((set).cpub, cpu) argument
434 #define CPUSET_ADD(set, cpu) BT_SET((set).cpub, cpu) argument
435 #define CPUSET_DEL(set, cpu) BT_CLEAR((set).cpub, cpu) argument
436 #define CPUSET_ISNULL(set) cpuset_isnull(&(set)) argument
444 #define CPUSET_FIND(set, cpu) { \ argument
445 cpu = cpuset_find(&(set)); \
452 #define CPUSET_BOUNDS(set, smallest, largest) { \ argument
453 cpuset_bounds(&(set), &(smallest), &(largest)); \
465 #define CPUSET_ATOMIC_DEL(set, cpu) BT_ATOMIC_CLEAR((set).cpub, (cpu)) argument
466 #define CPUSET_ATOMIC_ADD(set, cpu) BT_ATOMIC_SET((set).cpub, (cpu)) argument
468 #define CPUSET_ATOMIC_XADD(set, cpu, result) \ argument
469 BT_ATOMIC_SET_EXCL((set).cpub, cpu, result)
471 #define CPUSET_ATOMIC_XDEL(set, cpu, result) \ argument
472 BT_ATOMIC_CLEAR_EXCL((set).cpub, cpu, result)
493 #define CPUSET_ZERO(set) { \ argument
496 (set).cpub[_i] = 0; \
505 #define CPUSET_ALL(set) ((void)((set) = ~0UL)) argument
506 #define CPUSET_ALL_BUT(set, cpu) ((void)((set) = ~CPUSET(cpu))) argument
507 #define CPUSET_ONLY(set, cpu) ((void)((set) = CPUSET(cpu))) argument
508 #define CPU_IN_SET(set, cpu) ((set) & CPUSET(cpu)) argument
509 #define CPUSET_ADD(set, cpu) ((void)((set) |= CPUSET(cpu))) argument
510 #define CPUSET_DEL(set, cpu) ((void)((set) &= ~CPUSET(cpu))) argument
511 #define CPUSET_ISNULL(set) ((set) == 0) argument
516 #define CPUSET_ZERO(set) ((void)((set) = 0)) argument
518 #define CPUSET_FIND(set, cpu) { \ argument
519 cpu = (uint_t)(lowbit(set) - 1); \
522 #define CPUSET_BOUNDS(set, smallest, largest) { \ argument
523 smallest = (uint_t)(lowbit(set) - 1); \
524 largest = (uint_t)(highbit(set) - 1); \
527 #define CPUSET_ATOMIC_DEL(set, cpu) atomic_and_long(&(set), ~CPUSET(cpu)) argument
528 #define CPUSET_ATOMIC_ADD(set, cpu) atomic_or_long(&(set), CPUSET(cpu)) argument
530 #define CPUSET_ATOMIC_XADD(set, cpu, result) \ argument
531 { result = atomic_set_long_excl(&(set), (cpu)); }
533 #define CPUSET_ATOMIC_XDEL(set, cpu, result) \ argument
534 { result = atomic_clear_long_excl(&(set), (cpu)); }