Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/dma/idxd/
A Dperfmon.h108 #define DEFINE_PERFMON_FORMAT_ATTR(_name, _format) \ argument
113 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
114 return sprintf(page, _format "\n"); \
/linux-6.3-rc2/drivers/s390/scsi/
A Dzfcp_sysfs.c20 #define ZFCP_DEFINE_ATTR(_feat_def, _feat, _name, _format, _value) \ argument
27 return sprintf(buf, _format, _value); \
32 #define ZFCP_DEFINE_ATTR_CONST(_feat, _name, _format, _value) \ argument
37 return sprintf(buf, _format, _value); \
42 #define ZFCP_DEFINE_A_ATTR(_name, _format, _value) \ argument
54 i = sprintf(buf, _format, _value); \
605 #define ZFCP_DEFINE_SCSI_ATTR(_name, _format, _value) \ argument
613 return sprintf(buf, _format, _value); \
749 #define ZFCP_SHOST_ATTR(_name, _format, _arg...) \ argument
761 return sprintf(buf, _format, ## _arg); \
/linux-6.3-rc2/include/linux/
A Dipack.h263 #define IPACK_DEVICE(_format, vend, dev) \ argument
264 .format = (_format), \
A Dperf_event.h1824 #define PMU_FORMAT_ATTR_SHOW(_name, _format) \ argument
1830 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
1831 return sprintf(page, _format "\n"); \
1834 #define PMU_FORMAT_ATTR(_name, _format) \ argument
1835 PMU_FORMAT_ATTR_SHOW(_name, _format) \
/linux-6.3-rc2/arch/powerpc/kernel/
A Deeh_sysfs.c24 #define EEH_SHOW_ATTR(_name,_memb,_format) \ argument
34 return sprintf(buf, _format "\n", edev->_memb); \
/linux-6.3-rc2/arch/powerpc/perf/
A Dhv-gpci.c78 #define HV_CAPS_ATTR(_name, _format) \ argument
88 return sprintf(page, _format, caps._name); \
/linux-6.3-rc2/arch/x86/events/intel/
A Duncore.h236 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
241 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
242 return sprintf(page, _format "\n"); \
A Dcstate.c114 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ argument
119 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
120 return sprintf(page, _format "\n"); \
/linux-6.3-rc2/arch/x86/events/amd/
A Duncore.c304 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
309 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
310 return sprintf(page, _format "\n"); \
/linux-6.3-rc2/drivers/perf/
A Dthunderx2_pmu.c124 #define TX2_PMU_FORMAT_ATTR(_var, _name, _format) \ argument
130 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
131 return sysfs_emit(page, _format "\n"); \
/linux-6.3-rc2/drivers/iommu/intel/
A Dperfmon.c71 #define IOMMU_PMU_ATTR(_name, _format, _filter) \ argument
72 PMU_FORMAT_ATTR(_name, _format); \
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dformat.rst4 .. _format:
A Dpixfmt-v4l2.rst210 .. _format-flags:
A Ddev-subdev.rst409 .. _format-propagation:
/linux-6.3-rc2/drivers/perf/hisilicon/
A Dhisi_pcie_pmu.c121 #define HISI_PCIE_PMU_FORMAT_ATTR(_name, _format) \ argument
125 .var = (void *)_format } \
A Dhns3_pmu.c423 #define HNS3_PMU_FORMAT_ATTR(_name, _format) \ argument
424 HNS3_PMU_ATTR(_name, hns3_pmu_format_show, (void *)_format)
/linux-6.3-rc2/arch/s390/kernel/
A Dipl.c204 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ argument
209 return scnprintf(page, PAGE_SIZE, _format, ##args); \
239 #define DEFINE_IPL_ATTR_RO(_prefix, _name, _format, _value) \ argument
240 IPL_ATTR_SHOW_FN(_prefix, _name, _format, _value) \

Completed in 54 milliseconds