Home
last modified time | relevance | path

Searched refs:pfx (Results 1 – 25 of 95) sorted by relevance

1234

/linux/drivers/firmware/efi/ !
H A Dcper-arm.c88 static void cper_print_arm_err_info(const char *pfx, u32 type, in cper_print_arm_err_info() argument
107 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info()
117 printk("%scache error, operation type: %s\n", pfx, in cper_print_arm_err_info()
123 printk("%sTLB error, operation type: %s\n", pfx, in cper_print_arm_err_info()
129 printk("%sbus error, operation type: %s\n", pfx, in cper_print_arm_err_info()
139 printk("%scache level: %d\n", pfx, level); in cper_print_arm_err_info()
142 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info()
146 pfx, level); in cper_print_arm_err_info()
153 printk("%sprocessor context corrupted\n", pfx); in cper_print_arm_err_info()
155 printk("%sprocessor context not corrupted\n", pfx); in cper_print_arm_err_info()
[all …]
H A Dcper_cxl.c24 void cxl_cper_print_prot_err(const char *pfx, in cxl_cper_print_prot_err() argument
28 pr_info("%s agent_type: %d, %s\n", pfx, prot_err->agent_type, in cxl_cper_print_prot_err()
49 pfx, prot_err->agent_addr.segment, in cxl_cper_print_prot_err()
55 pr_info("%s rcrb_base_address: 0x%016llx\n", pfx, in cxl_cper_print_prot_err()
74 pr_info("%s slot: %d\n", pfx, in cxl_cper_print_prot_err()
77 pfx, prot_err->device_id.vendor_id, in cxl_cper_print_prot_err()
80 pfx, prot_err->device_id.subsystem_vendor_id, in cxl_cper_print_prot_err()
83 pr_info("%s class_code: %02x%02x\n", pfx, in cxl_cper_print_prot_err()
97 pr_info("%s lower_dw: 0x%08x, upper_dw: 0x%08x\n", pfx, in cxl_cper_print_prot_err()
115 print_hex_dump(pfx, "", DUMP_PREFIX_OFFSET, 16, 4, in cxl_cper_print_prot_err()
[all …]
H A Dcper.c84 void cper_print_bits(const char *pfx, unsigned int bits, in cper_print_bits() argument
102 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits()
204 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
208 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
212 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
216 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
217 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
222 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
226 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
227 cper_print_bits(pfx, proc->flags, proc_flag_strs, in cper_print_proc_generic()
[all …]
H A Dcper-x86.c153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument
155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool()
158 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument
163 printk("%sError Type: %u, %s\n", pfx, err_type, in print_err_info_ms()
169 print_bool("Processor Context Corrupt", pfx, check, CHECK_MS_PCC); in print_err_info_ms()
172 print_bool("Uncorrected", pfx, check, CHECK_MS_UNCORRECTED); in print_err_info_ms()
175 print_bool("Precise IP", pfx, check, CHECK_MS_PRECISE_IP); in print_err_info_ms()
178 print_bool("Restartable IP", pfx, check, CHECK_MS_RESTARTABLE_IP); in print_err_info_ms()
181 print_bool("Overflow", pfx, check, CHECK_MS_OVERFLOW); in print_err_info_ms()
184 static void print_err_info(const char *pfx, u8 err_type, u64 check) in print_err_info() argument
[all …]
/linux/arch/mips/include/asm/ !
H A Datomic.h26 #define ATOMIC_OPS(pfx, type) \ argument
27 static __always_inline type arch_##pfx##_read(const pfx##_t *v) \
32 static __always_inline void arch_##pfx##_set(pfx##_t *v, type i) \
44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
45 static __inline__ void arch_##pfx##_##op(type i, pfx##_t * v) \
62 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
73 arch_##pfx##_##op##_return_relaxed(type i, pfx##_t * v) \
92 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \
105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
[all …]
H A Dr4kcache.h201 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
202 static inline void extra##blast_##pfx##cache##lsize(void) \
217 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
228 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
265 #define __BUILD_BLAST_USER_CACHE(pfx, desc, indexop, hitop, lsize) \ argument
266 static inline void blast_##pfx##cache##lsize##_user_page(unsigned long page) \
288 #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra) \ argument
289 static inline void prot##extra##blast_##pfx##cache##_range(unsigned long start, \
317 #define __BUILD_BLAST_CACHE_NODE(pfx, desc, indexop, hitop, lsize) \ argument
318 static inline void blast_##pfx##cache##lsize##_node(long node) \
H A Dio.h180 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
182 static inline void pfx##write##bwlq(type val, \
195 __val = pfx##ioswab##bwlq(__mem, val); \
222 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
258 return pfx##ioswab##bwlq(__mem, __val); \
261 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax) \ argument
263 static inline void pfx##out##bwlq(type val, unsigned long port) \
275 __val = pfx##ioswab##bwlq(__addr, val); \
283 static inline type pfx##in##bwlq(unsigned long port) \
300 return pfx##ioswab##bwlq(__addr, __val); \
/linux/scripts/atomic/ !
H A Datomic-tbl.sh49 local pfx="$1"; shift
62 for base in "${pfx}${name}${sfx}${order}" "${pfx}${name}${sfx}" "${name}"; do
191 local pfx="$1"; shift
198 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
232 local pfx="$1"; shift
237 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
239 local tmpl="$(find_kerneldoc_template "${pfx}" "${name}" "${sfx}" "${order}")"
245 gen_template_kerneldoc "${tmpl}" "${class}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
253 local pfx="$1"; shift
257 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@"
[all …]
H A Dgen-atomic-fallback.sh13 local pfx="$1"; shift
32 local pfx="$1"; shift
39 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
46 local pfx="$1"; shift
51 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
52 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
59 local pfx="$1"; shift
66 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
67 local basename="${atomic}_${pfx}${name}${sfx}"
69 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
[all …]
H A Dgen-atomic-long.sh39 local pfx="$1"; shift
44 local atomicname="${pfx}${name}${sfx}${order}"
52 gen_kerneldoc "raw_" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "atomic_long" "long" "$@"
/linux/drivers/pinctrl/renesas/ !
H A Dpfc-r8a73a4.c13 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
15 PORT_10(0, fn, pfx, sfx), \
16 PORT_10(10, fn, pfx##1, sfx), \
17 PORT_10(20, fn, pfx##2, sfx), \
18 PORT_1(30, fn, pfx##30, sfx), \
20 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \
21 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \
22 PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \
23 PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \
24 PORT_1(40, fn, pfx##40, sfx), \
[all …]
H A Dsh_pfc.h650 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
652 #define PORT_10(pn, fn, pfx, sfx) \ argument
653 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
654 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
655 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
656 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
657 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
659 #define PORT_90(pn, fn, pfx, sfx) \ argument
660 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
661 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
H A Dpfc-sh73a0.c18 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
19 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
20 PORT_10(100, fn, pfx##10, sfx), \
21 PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \
22 PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \
23 PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \
24 PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \
25 PORT_1(118, fn, pfx##118, sfx), \
26 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \
27 PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \
[all …]
H A Dpfc-emev2.c11 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
12 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
13 PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \
14 PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \
15 PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \
16 PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \
17 PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \
18 PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \
19 PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx)
244 #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) argument
[all …]
/linux/net/ipv6/ !
H A Drpl.c15 const void *post, unsigned char pfx) in ipv6_rpl_addr_decompress() argument
17 memcpy(dst, daddr, pfx); in ipv6_rpl_addr_decompress()
18 memcpy(&dst->s6_addr[pfx], post, IPV6_PFXTAIL_LEN(pfx)); in ipv6_rpl_addr_decompress()
22 unsigned char pfx) in ipv6_rpl_addr_compress() argument
24 memcpy(dst, &addr->s6_addr[pfx], IPV6_PFXTAIL_LEN(pfx)); in ipv6_rpl_addr_compress()
/linux/net/6lowpan/ !
H A Ddebugfs.c105 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show()
106 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show()
107 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show()
108 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show()
109 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show()
110 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show()
111 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show()
112 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
151 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff); in lowpan_ctx_pfx_write()
207 &t->table[i].pfx, t->table[i].plen, in lowpan_context_show()
/linux/tools/objtool/include/objtool/ !
H A Dtrace.h54 #define TRACE_ALT_FMT(pfx, fmt) pfx "<%s.%lx> " fmt argument
61 #define TRACE_ALT_INFO(insn, pfx, fmt, ...) \ argument
62 TRACE_ADDR(insn, TRACE_ALT_FMT(pfx, fmt), \
65 #define TRACE_ALT_INFO_NOADDR(insn, pfx, fmt, ...) \ argument
66 TRACE_ADDR(NULL, TRACE_ALT_FMT(pfx, fmt), \
/linux/tools/testing/selftests/drivers/net/netdevsim/ !
H A Dudp_tunnel_nic.sh161 err_cnt "ethtool table $1 on port $port: $pfx - $msg"
171 err_cnt "table $1 on port $port: $pfx - $msg"
204 err_cnt "ethtool static entry: $pfx - $msg"
261 pfx="basic"
338 pfx="module tests"
367 local pfx=$1
390 local pfx=$1
466 pfx="sync all"
523 pfx="destroy full"
551 pfx="IPv4 only"
[all …]
/linux/include/linux/ !
H A Dbtree-type.h2 #define __BTREE_TP(pfx, type, sfx) pfx ## type ## sfx argument
3 #define _BTREE_TP(pfx, type, sfx) __BTREE_TP(pfx, type, sfx) argument
4 #define BTREE_TP(pfx) _BTREE_TP(pfx, BTREE_TYPE_SUFFIX,) argument
/linux/tools/testing/selftests/net/ !
H A Dxfrm_policy_add_speed.sh24 local pfx
25 pfx=30
40 echo xfrm policy add src 10.$s.$j.0/30 dst 10.$d.$j.$a/$pfx dir $dir action block
45 echo xfrm policy add src 10.$s.$j.$a/30 dst 10.$d.$j.0/$pfx dir $dir action block
/linux/tools/bpf/bpftool/ !
H A Dmain.c219 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
221 if (!pfx) in is_prefix()
223 if (strlen(str) < strlen(pfx)) in is_prefix()
226 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
264 const char *pfx = ""; in fprint_hex() local
273 pfx = sep; in fprint_hex()
275 fprintf(f, "%s%02hhx", i ? pfx : "", data[i]); in fprint_hex()
/linux/tools/net/ynl/ynltool/ !
H A Dmain.c107 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
109 if (!pfx) in is_prefix()
111 if (strlen(str) < strlen(pfx)) in is_prefix()
114 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
/linux/drivers/acpi/ !
H A Dacpi_extlog.c96 static void __print_extlog_rcd(const char *pfx, in __print_extlog_rcd() argument
103 if (!pfx) { in __print_extlog_rcd()
105 pfx = KERN_INFO; in __print_extlog_rcd()
107 pfx = KERN_ERR; in __print_extlog_rcd()
110 snprintf(pfx_seq, sizeof(pfx_seq), "%s{%u}", pfx, curr_seqno); in __print_extlog_rcd()
115 static int print_extlog_rcd(const char *pfx, in print_extlog_rcd() argument
129 __print_extlog_rcd(pfx, estatus, cpu); in print_extlog_rcd()
/linux/net/ipv6/netfilter/ !
H A Dip6t_NPT.c18 struct in6_addr pfx; in ip6t_npt_checkentry() local
25 ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in ip6t_npt_checkentry()
26 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
28 ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
/linux/net/dsa/ !
H A Dconduit.c206 u8 pfx[8], *ndata; in dsa_conduit_append_port_strings() local
212 snprintf(pfx, sizeof(pfx), "s%.2d_p%.2d", ds->index, port); in dsa_conduit_append_port_strings()
214 pfx[sizeof(pfx) - 1] = '_'; in dsa_conduit_append_port_strings()
226 memmove(ndata + (i * len + sizeof(pfx)), in dsa_conduit_append_port_strings()
227 ndata + i * len, len - sizeof(pfx)); in dsa_conduit_append_port_strings()
228 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_conduit_append_port_strings()

1234