Home
last modified time | relevance | path

Searched refs:_format (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/kernel/
Deeh_sysfs.c23 #define EEH_SHOW_ATTR(_name,_memb,_format) \ argument
33 return sprintf(buf, _format "\n", edev->_memb); \
/arch/powerpc/perf/
Dhv-gpci.c78 #define HV_CAPS_ATTR(_name, _format) \ argument
88 return sprintf(page, _format, caps._name); \
/arch/x86/events/intel/
Duncore.h218 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
223 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
224 return sprintf(page, _format "\n"); \
Dcstate.c112 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ argument
117 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
118 return sprintf(page, _format "\n"); \
/arch/x86/events/amd/
Duncore.c277 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
282 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
283 return sprintf(page, _format "\n"); \
/arch/s390/kernel/
Dipl.c189 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ argument
194 return scnprintf(page, PAGE_SIZE, _format, ##args); \
224 #define DEFINE_IPL_ATTR_RO(_prefix, _name, _format, _value) \ argument
225 IPL_ATTR_SHOW_FN(_prefix, _name, _format, _value) \