| /linux/lib/zstd/common/ |
| H A D | error_private.c | 25 case PREFIX(no_error): return "No error detected"; in ERR_getErrorString() 26 case PREFIX(GENERIC): return "Error (generic)"; in ERR_getErrorString() 27 case PREFIX(prefix_unknown): return "Unknown frame descriptor"; in ERR_getErrorString() 28 case PREFIX(version_unsupported): return "Version not supported"; in ERR_getErrorString() 29 case PREFIX(frameParameter_unsupported): return "Unsupported frame parameter"; in ERR_getErrorString() 30 … case PREFIX(frameParameter_windowTooLarge): return "Frame requires too much memory for decoding"; in ERR_getErrorString() 31 case PREFIX(corruption_detected): return "Data corruption detected"; in ERR_getErrorString() 32 case PREFIX(checksum_wrong): return "Restored data doesn't match checksum"; in ERR_getErrorString() 33 …case PREFIX(literals_headerWrong): return "Header of Literals' block doesn't respect format specif… in ERR_getErrorString() 34 case PREFIX(parameter_unsupported): return "Unsupported parameter"; in ERR_getErrorString() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb-read-hwpoison.c | 16 #define PREFIX " ... " macro 61 printf(PREFIX ERROR_PREFIX "check fail: buf[%lu] = %u != %u\n", in verify_chunk() 78 printf(PREFIX PREFIX "init val=%u with offset=0x%lx\n", val, offset); in seek_read_hugepage_filemap() 79 printf(PREFIX PREFIX "expect to read 0x%lx bytes of data in total\n", in seek_read_hugepage_filemap() 82 perror(PREFIX ERROR_PREFIX "seek failed"); in seek_read_hugepage_filemap() 89 printf(PREFIX PREFIX "read reach end of the file\n"); in seek_read_hugepage_filemap() 92 perror(PREFIX ERROR_PREFIX "read failed"); in seek_read_hugepage_filemap() 101 printf(PREFIX PREFIX "actually read 0x%lx bytes of data in total\n", in seek_read_hugepage_filemap() 115 printf(PREFIX PREFIX "expect to read 0x%lx bytes of data in total\n", in read_hugepage_filemap() 120 printf(PREFIX PREFIX "read reach end of the file\n"); in read_hugepage_filemap() [all …]
|
| /linux/drivers/regulator/ |
| H A D | mc13xxx.h | 55 #define MC13xxx_DEFINE(prefix, _name, _node, _reg, _vsel_reg, _voltages, _ops) \ argument 56 [prefix ## _name] = { \ 63 .id = prefix ## _name, \ 66 .reg = prefix ## _reg, \ 67 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \ 68 .vsel_reg = prefix ## _vsel_reg, \ 69 .vsel_shift = prefix ## _vsel_reg ## _ ## _name ## VSEL,\ 70 .vsel_mask = prefix ## _vsel_reg ## _ ## _name ## VSEL_M,\ 73 #define MC13xxx_FIXED_DEFINE(prefix, _name, _node, _reg, _voltages, _ops) \ argument 74 [prefix ## _name] = { \ [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.h | 21 #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc) \ argument 22 module_param_array_named(prefix ## name, params.name, type, \ 23 &prefix ## params.name ## _count, \ 25 MODULE_PARM_DESC(prefix ## name, desc) 27 #define _FSG_MODULE_PARAM(prefix, params, name, type, desc) \ argument 28 module_param_named(prefix ## name, params.name, type, \ 30 MODULE_PARM_DESC(prefix ## name, desc) 32 #define __FSG_MODULE_PARAMETERS(prefix, params) \ argument 33 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \ 35 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \ [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | message-stats.c | 15 static void write_u64(char *prefix, u64 value, char *suffix, char **buf, in write_u64() argument 20 count = scnprintf(*buf, *maxlen, "%s%llu%s", prefix == NULL ? "" : prefix, in write_u64() 26 static void write_u32(char *prefix, u32 value, char *suffix, char **buf, in write_u32() argument 31 count = scnprintf(*buf, *maxlen, "%s%u%s", prefix == NULL ? "" : prefix, in write_u32() 37 static void write_block_count_t(char *prefix, block_count_t value, char *suffix, in write_block_count_t() argument 42 count = scnprintf(*buf, *maxlen, "%s%llu%s", prefix == NULL ? "" : prefix, in write_block_count_t() 48 static void write_string(char *prefix, char *value, char *suffix, char **buf, in write_string() argument 53 count = scnprintf(*buf, *maxlen, "%s%s%s", prefix == NULL ? "" : prefix, in write_string() 59 static void write_bool(char *prefix, bool value, char *suffix, char **buf, in write_bool() argument 64 count = scnprintf(*buf, *maxlen, "%s%d%s", prefix == NULL ? "" : prefix, in write_bool() [all …]
|
| /linux/net/ipv6/ |
| H A D | addrlabel.c | 27 struct in6_addr prefix; member 39 * prefix addr_type label 61 const struct in6_addr *prefix; member 66 .prefix = &in6addr_any, 69 .prefix = &(struct in6_addr){ { { 0xfc } } } , 73 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } }, 77 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } }, 81 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } }, 85 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } }, 89 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } }, [all …]
|
| /linux/tools/bootconfig/scripts/ |
| H A D | ftrace2bconf.sh | 74 emit_kv $PREFIX.event.kprobes.$event.probes += $args 80 emit_kv $PREFIX.event.synthetic.$event.fields = `echo $fields | sed "s/;/,/g"` 117 emit_kv $PREFIX.event.$group.$event.actions += \'$action\' 121 emit_kv $PREFIX.event.$group.$event.enable 125 emit_kv $PREFIX.event.$group.$event.filter = "$val" 140 # PREFIX and INSTANCE must be set 141 if [ $PREFIX = "ftrace" ]; then 148 emit_kv $PREFIX.event.enable 156 emit_kv $PREFIX.event.$group.enable 212 PREFIX="ftrace" [all …]
|
| /linux/scripts/ |
| H A D | syscallhdr.sh | 19 …echo >&2 "usage: $0 [--abis ABIS] [--emit-nr] [--offset OFFSET] [--prefix PREFIX] INFILE OUTFILE" … 28 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 36 prefix= 50 --prefix) 51 prefix=$2 86 echo "#define __NR_$prefix$name $nr" 92 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|
| H A D | syscallnr.sh | 18 echo >&2 "usage: $0 [--abis ABIS] [--prefix PREFIX] INFILE OUTFILE" >&2 25 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 31 prefix= 39 --prefix) 40 prefix=$2 71 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|
| /linux/drivers/pci/pcie/ |
| H A D | tlp.c | 17 * aer_tlp_log_len - Calculate AER Capability TLP Header/Prefix Log length 21 * Return: TLP Header/Prefix Log length 35 * dpc_tlp_log_len - Calculate DPC RP PIO TLP Header/Prefix Log length 38 * Return: TLP Header/Prefix Log length 54 * @where2: PCI Config offset of TLP Prefix Log 55 * @tlp_len: TLP Log length (Header Log + TLP Prefix Log in DWORDs) 98 * pcie_print_tlp_log - Print TLP Header / Prefix Log contents 102 * @pfx: String prefix 104 * Prints TLP Header and Prefix Log information held by @log. 124 if (log->prefix[0]) in pcie_print_tlp_log() [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12.dtsi | 17 sound-name-prefix = "TDM_A"; 28 sound-name-prefix = "TDM_B"; 39 sound-name-prefix = "TDM_C"; 54 sound-name-prefix = "PDM"; 104 sound-name-prefix = "TODDR_A"; 119 sound-name-prefix = "TODDR_B"; 134 sound-name-prefix = "TODDR_C"; 149 sound-name-prefix = "FRDDR_A"; 164 sound-name-prefix = "FRDDR_B"; 179 sound-name-prefix = "FRDDR_C"; [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | lcc-msm8960.c | 92 #define CLK_AIF_OSR_SRC(prefix, _ns, _md) \ argument 93 static struct clk_rcg prefix##_osr_src = { \ 117 .name = #prefix "_osr_src", \ 126 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument 127 static struct clk_branch prefix##_osr_clk = { \ 135 .name = #prefix "_osr_clk", \ 137 &prefix##_osr_src.clkr.hw, \ 146 #define CLK_AIF_OSR_DIV_CLK(prefix, _ns, _width) \ argument 147 static struct clk_regmap_div prefix##_div_clk = { \ 153 .name = #prefix "_div_clk", \ [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | trace.c | 168 static void trace_print_header(int seq, int prefix) in trace_print_header() argument 170 printf("%*s[%d]: ", prefix, "", seq); in trace_print_header() 235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) in trace_print_entry() argument 239 trace_print_header(seq, *prefix); in trace_print_entry() 243 trace_print_header(seq, *prefix); in trace_print_entry() 247 trace_print_header(seq, *prefix); in trace_print_entry() 251 trace_print_header(seq, *prefix); in trace_print_entry() 253 *prefix += PREFIX_DELTA; in trace_print_entry() 256 *prefix -= PREFIX_DELTA; in trace_print_entry() 257 if (*prefix < BASE_PREFIX) in trace_print_entry() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | utils.c | 21 char *prefix; in iwl_trans_pcie_dump_regs() local 40 prefix = (char *)buf + alloc_size - PREFIX_LEN; in iwl_trans_pcie_dump_regs() 45 sprintf(prefix, "iwlwifi %s: ", pci_name(pdev)); in iwl_trans_pcie_dump_regs() 50 print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, 32, 4, buf, i, 0); in iwl_trans_pcie_dump_regs() 55 print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, 32, 4, buf, i, 0); in iwl_trans_pcie_dump_regs() 63 print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, in iwl_trans_pcie_dump_regs() 72 sprintf(prefix, "iwlwifi %s: ", pci_name(pdev)); in iwl_trans_pcie_dump_regs() 79 print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, 32, 4, buf, i, 0); in iwl_trans_pcie_dump_regs() 89 sprintf(prefix, "iwlwifi %s: ", pci_name(pdev)); in iwl_trans_pcie_dump_regs() 93 print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, 32, in iwl_trans_pcie_dump_regs() [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | stat+std_output.sh | 32 local prefix=1 36 in "--interval") prefix=2 37 ;; "--per-thread") prefix=2 38 ;; "--system-wide-no-aggr") prefix=2 39 ;; "--per-core") prefix=3 40 ;; "--per-socket") prefix=3 41 ;; "--per-node") prefix=3 42 ;; "--per-die") prefix=3 43 ;; "--per-cache") prefix=3 44 ;; "--per-cluster") prefix=3 [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | it87.rst | 8 Prefix: 'it8603' 16 Prefix: 'it8620' 22 Prefix: 'it8628' 30 Prefix: 'it87' 38 Prefix: 'it8712' 46 Prefix: 'it8716' 54 Prefix: 'it8718' 62 Prefix: 'it8720' 70 Prefix: 'it8721' 78 Prefix: 'it8728' [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gen_wa_oob.c | 55 static int parse(FILE *input, FILE *csource, FILE *cheader, char *prefix) in parse() argument 99 fprintf(cheader, "\t%s_%s = %u,\n", prefix, name, idx); in parse() 121 fprintf(cheader, "\t_%s_COUNT = %u\n", prefix, idx); in parse() 134 static int fn_to_prefix(const char *fn, char *prefix, size_t size) in fn_to_prefix() argument 144 memcpy(prefix, fn, len + 1); in fn_to_prefix() 146 for (char *p = prefix; *p; p++) { in fn_to_prefix() 178 char prefix[128]; in main() local 186 if (fn_to_prefix(args[ARGS_CHEADER].fn, prefix, sizeof(prefix)) < 0) in main() 198 fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn, prefix, prefix); in main() 201 args[ARGS_CHEADER].f, prefix); in main()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | soc15_common.h | 113 #define WREG32_RLC_EX(prefix, reg, value, inst) \ argument 118 …uint32_t r0 = adev->reg_offset[GC_HWIP][inst][prefix##SCRATCH_REG0_BASE_IDX] + prefix##SCRATCH_REG… 119 …uint32_t r1 = adev->reg_offset[GC_HWIP][inst][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG… 120 …uint32_t spare_int = adev->reg_offset[GC_HWIP][inst][prefix##RLC_SPARE_INT_BASE_IDX] + prefix##RLC… 151 #define WREG32_SOC15_RLC_SHADOW_EX(prefix, ip, inst, reg, value) \ argument 155 …uint32_t r2 = adev->reg_offset[GC_HWIP][inst][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG… 156 …uint32_t r3 = adev->reg_offset[GC_HWIP][inst][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG… 157 …uint32_t grbm_cntl = adev->reg_offset[GC_HWIP][inst][prefix##GRBM_GFX_CNTL_BASE_IDX] + prefix##GRB… 158 …uint32_t grbm_idx = adev->reg_offset[GC_HWIP][inst][prefix##GRBM_GFX_INDEX_BASE_IDX] + prefix##GRB… 178 #define WREG32_SOC15_RLC_EX(prefix, ip, inst, reg, value) \ argument [all …]
|
| /linux/tools/include/linux/ |
| H A D | btf_ids.h | 51 #define __ID(prefix) \ argument 52 __PASTE(__PASTE(prefix, __COUNTER__), __LINE__) 58 #define BTF_ID(prefix, name) \ argument 59 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__)) 93 #define BTF_ID_LIST_SINGLE(name, prefix, typename) \ argument 95 BTF_ID(prefix, typename) 96 #define BTF_ID_LIST_GLOBAL_SINGLE(name, prefix, typename) \ argument 98 BTF_ID(prefix, typename) 161 #define BTF_ID(prefix, name) argument 164 #define BTF_ID_LIST_SINGLE(name, prefix, typename) static u32 __maybe_unused name[1]; argument [all …]
|
| /linux/lib/crc/x86/ |
| H A D | crc-pclmul-template.h | 18 #define DECLARE_CRC_PCLMUL_FUNCS(prefix, crc_t) \ argument 19 crc_t prefix##_pclmul_sse(crc_t crc, const u8 *p, size_t len, \ 21 crc_t prefix##_vpclmul_avx2(crc_t crc, const u8 *p, size_t len, \ 23 crc_t prefix##_vpclmul_avx512(crc_t crc, const u8 *p, size_t len, \ 25 DEFINE_STATIC_CALL(prefix##_pclmul, prefix##_pclmul_sse) 56 #define CRC_PCLMUL(crc, p, len, prefix, consts, have_pclmulqdq) \ argument 64 crc = static_call(prefix##_pclmul)((crc), (p), (len), \
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-feature.rst | 26 …** **feature probe** [*COMPONENT*] [**full**] [**unprivileged**] [**macros** [**prefix** *PREFIX*]] 35 bpftool feature probe [kernel] [full] [macros [prefix *PREFIX*]] 46 be included in a C header file, for example. If, additionally, **prefix** 47 is used to define a *PREFIX*, the provided string will be used as a prefix 62 bpftool feature probe dev *NAME* [full] [macros [prefix *PREFIX*]] 66 The keywords **full**, **macros** and **prefix** have the same role as when
|
| /linux/fs/erofs/ |
| H A D | xattr.c | 150 .prefix = XATTR_USER_PREFIX, 157 .prefix = XATTR_TRUSTED_PREFIX, 165 .prefix = XATTR_SECURITY_PREFIX, 206 const char *prefix, *infix = NULL; in erofs_listxattr_foreach() local 221 infix = pf->prefix->infix; in erofs_listxattr_foreach() 223 base_index = pf->prefix->base_index; in erofs_listxattr_foreach() 226 prefix = erofs_xattr_prefix(base_index, it->dentry); in erofs_listxattr_foreach() 227 if (!prefix) in erofs_listxattr_foreach() 229 prefix_len = strlen(prefix); in erofs_listxattr_foreach() 240 memcpy(it->buffer + it->buffer_ofs, prefix, prefix_len); in erofs_listxattr_foreach() [all …]
|
| /linux/tools/usb/usbip/ |
| H A D | INSTALL | 108 can specify an installation prefix other than `/usr/local' by giving 109 `configure' the option `--prefix=PREFIX'. 113 pass the option `--exec-prefix=PREFIX' to `configure', the package uses 114 PREFIX as the prefix for installing programs and libraries. 115 Documentation and other data files still use the regular prefix. 123 with an extra prefix or suffix on their names by giving `configure' the 124 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. 176 values for variables like `CC', `cache_file', and `prefix'. 177 `configure' looks for `PREFIX/share/config.site' if it exists, then 178 `PREFIX/etc/config.site' if it exists. Or, you can set the
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_syncmap.c | 74 u64 prefix; member 160 if (likely(__sync_leaf_prefix(p, id) == p->prefix)) in i915_syncmap_is_later() 169 if (__sync_branch_prefix(p, id) == p->prefix) in i915_syncmap_is_later() 182 if (__sync_branch_prefix(p, id) != p->prefix) in i915_syncmap_is_later() 207 p->prefix = __sync_leaf_prefix(p, id); in __sync_alloc_leaf() 241 GEM_BUG_ON(__sync_leaf_prefix(p, id) == p->prefix); in __sync_set() 243 /* Climb back up the tree until we find a common prefix */ in __sync_set() 250 if (__sync_branch_prefix(p, id) == p->prefix) in __sync_set() 263 * Starting at the top, we check whether the current prefix matches. If in __sync_set() 268 * The matching prefix means we are still following the right branch in __sync_set() [all …]
|
| /linux/Documentation/networking/ |
| H A D | fib_trie.rst | 11 with 'hlist' with routing table entries sorted by prefix length. 106 Dumps the routing table ordered by prefix length. This is somewhat 108 entire trie for each prefix length. In comparison, fib_hash is organized 109 as one "zone"/hash per prefix length. 125 the fib_semantic_match in the leaf's sorted prefix hlist. 129 If we don't find a match, we enter prefix matching mode. The prefix length, 132 prefix. The goal is always to reach a leaf and get a positive result from the 135 Inside each tnode, the search for longest matching prefix consists of searching 141 chop off part of the key in order to find the longest matching prefix.
|