• Home
  • Raw
  • Download

Lines Matching refs:_name

571 #define	DEFINE_EARLY_PER_CPU(_type, _name, _initvalue)			\  argument
572 DEFINE_PER_CPU(_type, _name) = _initvalue; \
573 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
575 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
577 #define DEFINE_EARLY_PER_CPU_READ_MOSTLY(_type, _name, _initvalue) \ argument
578 DEFINE_PER_CPU_READ_MOSTLY(_type, _name) = _initvalue; \
579 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
581 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
583 #define EXPORT_EARLY_PER_CPU_SYMBOL(_name) \ argument
584 EXPORT_PER_CPU_SYMBOL(_name)
586 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
587 DECLARE_PER_CPU(_type, _name); \
588 extern __typeof__(_type) *_name##_early_ptr; \
589 extern __typeof__(_type) _name##_early_map[]
591 #define DECLARE_EARLY_PER_CPU_READ_MOSTLY(_type, _name) \ argument
592 DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \
593 extern __typeof__(_type) *_name##_early_ptr; \
594 extern __typeof__(_type) _name##_early_map[]
596 #define early_per_cpu_ptr(_name) (_name##_early_ptr) argument
597 #define early_per_cpu_map(_name, _idx) (_name##_early_map[_idx]) argument
598 #define early_per_cpu(_name, _cpu) \ argument
599 *(early_per_cpu_ptr(_name) ? \
600 &early_per_cpu_ptr(_name)[_cpu] : \
601 &per_cpu(_name, _cpu))
604 #define DEFINE_EARLY_PER_CPU(_type, _name, _initvalue) \ argument
605 DEFINE_PER_CPU(_type, _name) = _initvalue
607 #define DEFINE_EARLY_PER_CPU_READ_MOSTLY(_type, _name, _initvalue) \ argument
608 DEFINE_PER_CPU_READ_MOSTLY(_type, _name) = _initvalue
610 #define EXPORT_EARLY_PER_CPU_SYMBOL(_name) \ argument
611 EXPORT_PER_CPU_SYMBOL(_name)
613 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
614 DECLARE_PER_CPU(_type, _name)
616 #define DECLARE_EARLY_PER_CPU_READ_MOSTLY(_type, _name) \ argument
617 DECLARE_PER_CPU_READ_MOSTLY(_type, _name)
619 #define early_per_cpu(_name, _cpu) per_cpu(_name, _cpu) argument
620 #define early_per_cpu_ptr(_name) NULL argument