Home
last modified time | relevance | path

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

/linux/drivers/dma/idxd/
H 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/drivers/s390/scsi/
H 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/include/linux/
H A Dipack.h263 #define IPACK_DEVICE(_format, vend, dev) \ argument
264 .format = (_format), \
H A Dperf_event.h1891 #define PMU_FORMAT_ATTR_SHOW(_name, _format) \ argument
1897 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
1898 return sprintf(page, _format "\n"); \
1901 #define PMU_FORMAT_ATTR(_name, _format) \ argument
1902 PMU_FORMAT_ATTR_SHOW(_name, _format) \
/linux/arch/powerpc/kernel/
H A Deeh_sysfs.c24 #define EEH_SHOW_ATTR(_name,_memb,_format) \ argument
34 return sprintf(buf, _format "\n", edev->_memb); \
/linux/drivers/hwmon/
H A Dsg2042-mcu.c37 #define DEFINE_MCU_DEBUG_ATTR(_name, _reg, _format) \ argument
46 seq_printf(seqf, _format "\n", ret); \
/linux/arch/x86/events/intel/
H A Duncore.h240 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
245 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
246 return sprintf(page, _format "\n"); \
H A Dcstate.c120 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ argument
125 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
126 return sprintf(page, _format "\n"); \
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_link_training.c41 #define lt_dbg(_intel_dp, _dp_phy, _format, ...) \ argument
43 LT_MSG_PREFIX _format, \
46 #define lt_err(_intel_dp, _dp_phy, _format, ...) do { \ argument
49 LT_MSG_PREFIX _format, \
52 lt_dbg(_intel_dp, _dp_phy, "Sink disconnected: " _format, ## __VA_ARGS__); \
/linux/drivers/perf/
H 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"); \
H A Dcxl_pmu.c211 #define CXL_PMU_FORMAT_ATTR(_name, _format)\ argument
215 .var = (void *)_format \
/linux/fs/bcachefs/
H A Dbkey.h355 #define bkeyp_val(_format, _k) \ argument
356 ((struct bch_val *) ((u64 *) (_k)->_data + bkeyp_key_u64s(_format, _k)))
/linux/arch/x86/events/amd/
H A Duncore.c280 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument
285 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
286 return sprintf(page, _format "\n"); \
/linux/arch/powerpc/perf/
H A Dhv-gpci.c78 #define HV_CAPS_ATTR(_name, _format) \ argument
88 return sprintf(page, _format, caps._name); \
/linux/drivers/iommu/intel/
H A Dperfmon.c52 #define IOMMU_PMU_ATTR(_name, _format, _filter) \ argument
53 PMU_FORMAT_ATTR(_name, _format); \
/linux/Documentation/userspace-api/media/v4l/
H A Dformat.rst4 .. _format:
H A Dpixfmt-v4l2.rst210 .. _format-flags:
/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c111 #define HISI_PCIE_PMU_FORMAT_ATTR(_name, _format) \ argument
114 .var = (void *)_format } \
/linux/arch/s390/kernel/
H A Dipl.c207 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ argument
212 return scnprintf(page, PAGE_SIZE, _format, ##args); \
242 #define DEFINE_IPL_ATTR_RO(_prefix, _name, _format, _value) \ argument
243 IPL_ATTR_SHOW_FN(_prefix, _name, _format, _value) \
/linux/kernel/trace/
H A Dtrace_functions_graph.c699 #define print_graph_retval(_seq, _retval, _leaf, _func, _format) do {} while (0) argument