Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper-arm.c89 static void cper_print_arm_err_info(const char *pfx, u32 type, in cper_print_arm_err_info() argument
112 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info()
123 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
129 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
135 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
147 printk("%scache level: %d\n", pfx, level); in cper_print_arm_err_info()
150 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info()
154 pfx, level); in cper_print_arm_err_info()
163 printk("%sprocessor context corrupted\n", pfx); in cper_print_arm_err_info()
165 printk("%sprocessor context not corrupted\n", pfx); in cper_print_arm_err_info()
[all …]
Dcper.c82 void cper_print_bits(const char *pfx, unsigned int bits, in cper_print_bits() argument
100 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits()
143 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
147 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
151 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
155 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
156 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
161 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
165 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
166 cper_print_bits(pfx, proc->flags, proc_flag_strs, in cper_print_proc_generic()
[all …]
Dcper-x86.c152 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument
154 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool()
157 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument
162 printk("%sError Type: %u, %s\n", pfx, err_type, in print_err_info_ms()
168 print_bool("Processor Context Corrupt", pfx, check, CHECK_MS_PCC); in print_err_info_ms()
171 print_bool("Uncorrected", pfx, check, CHECK_MS_UNCORRECTED); in print_err_info_ms()
174 print_bool("Precise IP", pfx, check, CHECK_MS_PRECISE_IP); in print_err_info_ms()
177 print_bool("Restartable IP", pfx, check, CHECK_MS_RESTARTABLE_IP); in print_err_info_ms()
180 print_bool("Overflow", pfx, check, CHECK_MS_OVERFLOW); in print_err_info_ms()
183 static void print_err_info(const char *pfx, u8 err_type, u64 check) in print_err_info() argument
[all …]
/kernel/linux/linux-5.10/scripts/atomic/
Dgen-atomic-fallback.sh14 local pfx="$1"; shift
22 local atomicname="${arch}${atomic}_${pfx}${name}${sfx}${order}"
41 local pfx="$1"; shift
46 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
47 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
64 local pfx="$1"; shift
71 local basename="${arch}${atomic}_${pfx}${name}${sfx}"
80 local pfx="$1"; shift
86 local basename="${arch}${atomic}_${pfx}${name}${sfx}"
88 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
[all …]
Datomic-tbl.sh42 local pfx="$1"; shift
55 for base in "${pfx}${name}${sfx}${order}" "${name}"; do
149 local pfx="$1"; shift
153 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@"
156 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@"
159 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_release" "$@"
162 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_relaxed" "$@"
171 local pfx=""
174 meta_in "${meta}" "fF" && pfx="fetch_"
177 gen_proto_order_variants "${meta}" "${pfx}" "${name}" "${sfx}" "$@"
Dgen-atomic-instrumented.sh49 local pfx="$1"; shift
54 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}"
56 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
76 local pfx="$1"; shift
83 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
85 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")"
/kernel/linux/linux-5.10/arch/mips/include/asm/
Datomic.h27 #define ATOMIC_OPS(pfx, type) \ argument
28 static __always_inline type pfx##_read(const pfx##_t *v) \
33 static __always_inline void pfx##_set(pfx##_t *v, type i) \
38 static __always_inline type pfx##_cmpxchg(pfx##_t *v, type o, type n) \
43 static __always_inline type pfx##_xchg(pfx##_t *v, type n) \
55 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
56 static __inline__ void pfx##_##op(type i, pfx##_t * v) \
73 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
82 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
83 static __inline__ type pfx##_##op##_return_relaxed(type i, pfx##_t * v) \
[all …]
Dr4kcache.h207 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
208 static inline void extra##blast_##pfx##cache##lsize(void) \
223 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
234 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
271 #define __BUILD_BLAST_USER_CACHE(pfx, desc, indexop, hitop, lsize) \ argument
272 static inline void blast_##pfx##cache##lsize##_user_page(unsigned long page) \
294 #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra) \ argument
295 static inline void prot##extra##blast_##pfx##cache##_range(unsigned long start, \
317 #define __BUILD_PROT_BLAST_CACHE_RANGE(pfx, desc, hitop) \
318 static inline void protected_blast_##pfx##cache##_range(unsigned long start,\
[all …]
Dio.h216 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
218 static inline void pfx##write##bwlq(type val, \
231 __val = pfx##ioswab##bwlq(__mem, val); \
258 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
294 return pfx##ioswab##bwlq(__mem, __val); \
297 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ argument
299 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
311 __val = pfx##ioswab##bwlq(__addr, val); \
319 static inline type pfx##in##bwlq##p(unsigned long port) \
336 return pfx##ioswab##bwlq(__addr, __val); \
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
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 …]
Dsh_pfc.h637 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
639 #define PORT_10(pn, fn, pfx, sfx) \ argument
640 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
641 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
642 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
643 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
644 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
646 #define PORT_90(pn, fn, pfx, sfx) \ argument
647 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
648 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
/kernel/linux/linux-5.10/net/ipv6/
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()
/kernel/linux/linux-5.10/net/6lowpan/
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()
/kernel/linux/linux-5.10/include/linux/
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
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
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"
260 pfx="basic"
337 pfx="module tests"
378 local pfx=$1
401 local pfx=$1
477 pfx="sync all"
534 pfx="destroy full"
562 pfx="IPv4 only"
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_extlog.c94 static void __print_extlog_rcd(const char *pfx, in __print_extlog_rcd() argument
101 if (!pfx) { in __print_extlog_rcd()
103 pfx = KERN_INFO; in __print_extlog_rcd()
105 pfx = KERN_ERR; in __print_extlog_rcd()
108 snprintf(pfx_seq, sizeof(pfx_seq), "%s{%u}", pfx, curr_seqno); in __print_extlog_rcd()
113 static int print_extlog_rcd(const char *pfx, in print_extlog_rcd() argument
127 __print_extlog_rcd(pfx, estatus, cpu); in print_extlog_rcd()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dmain.c141 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
143 if (!pfx) in is_prefix()
145 if (strlen(str) < strlen(pfx)) in is_prefix()
148 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
186 const char *pfx = ""; in fprint_hex() local
195 pfx = sep; in fprint_hex()
197 fprintf(f, "%s%02hhx", i ? pfx : "", data[i]); in fprint_hex()
/kernel/linux/linux-5.10/net/dsa/
Dmaster.c151 uint8_t pfx[4]; in dsa_master_get_strings() local
154 snprintf(pfx, sizeof(pfx), "p%.2d", port); in dsa_master_get_strings()
156 pfx[sizeof(pfx) - 1] = '_'; in dsa_master_get_strings()
183 memmove(ndata + (i * len + sizeof(pfx)), in dsa_master_get_strings()
184 ndata + i * len, len - sizeof(pfx)); in dsa_master_get_strings()
185 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_master_get_strings()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
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()
/kernel/linux/linux-5.10/scripts/atomic/fallbacks/
Drelease3 ${arch}${atomic}_${pfx}${name}${sfx}_release(${params})
6 ${retstmt}${arch}${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Ddec3 ${arch}${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
5 ${retstmt}${arch}${atomic}_${pfx}sub${sfx}${order}(1, v);
Dinc3 ${arch}${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
5 ${retstmt}${arch}${atomic}_${pfx}add${sfx}${order}(1, v);
Dacquire3 ${arch}${atomic}_${pfx}${name}${sfx}_acquire(${params})
5 ${ret} ret = ${arch}${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dandnot3 ${arch}${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v)
5 ${retstmt}${arch}${atomic}_${pfx}and${sfx}${order}(~i, v);
Dfence3 ${arch}${atomic}_${pfx}${name}${sfx}(${params})
7 ret = ${arch}${atomic}_${pfx}${name}${sfx}_relaxed(${args});

123