Home
last modified time | relevance | path

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

123

/Linux-v5.4/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.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()
145 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
149 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
153 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
157 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
158 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
163 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
167 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
168 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 …]
/Linux-v5.4/scripts/atomic/
Dgen-atomic-fallback.sh13 local pfx="$1"; shift
20 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
39 local pfx="$1"; shift
44 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
45 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
63 local pfx="$1"; shift
68 local basename="${atomic}_${pfx}${name}${sfx}"
70 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
75 gen_proto_fallback "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@"
78 gen_proto_fallback "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@"
[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.sh40 local pfx="$1"; shift
45 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}"
47 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
67 local pfx="$1"; shift
74 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
76 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")"
/Linux-v5.4/drivers/pinctrl/sh-pfc/
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.h633 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
635 #define PORT_10(pn, fn, pfx, sfx) \ argument
636 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
637 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
638 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
639 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
640 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
642 #define PORT_90(pn, fn, pfx, sfx) \ argument
643 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
644 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
Dpfc-emev2.c12 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
13 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
14 PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \
15 PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \
16 PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \
17 PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \
18 PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \
19 PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \
20 PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx)
245 #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) argument
[all …]
Dpfc-sh73a0.c19 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
20 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
21 PORT_10(100, fn, pfx##10, sfx), \
22 PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \
23 PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \
24 PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \
25 PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \
26 PORT_1(118, fn, pfx##118, sfx), \
27 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \
28 PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \
[all …]
/Linux-v5.4/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()
206 &t->table[i].pfx, t->table[i].plen, in lowpan_context_show()
/Linux-v5.4/arch/mips/include/asm/
Dr4kcache.h530 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
531 static inline void extra##blast_##pfx##cache##lsize(void) \
545 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
556 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
592 #define __BUILD_BLAST_USER_CACHE(pfx, desc, indexop, hitop, lsize) \ argument
593 static inline void blast_##pfx##cache##lsize##_user_page(unsigned long page) \
615 #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra) \ argument
616 static inline void prot##extra##blast_##pfx##cache##_range(unsigned long start, \
638 #define __BUILD_PROT_BLAST_CACHE_RANGE(pfx, desc, hitop) \
639 static inline void protected_blast_##pfx##cache##_range(unsigned long start,\
[all …]
Dio.h315 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
317 static inline void pfx##write##bwlq(type val, \
330 __val = pfx##ioswab##bwlq(__mem, val); \
357 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
393 return pfx##ioswab##bwlq(__mem, __val); \
396 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ argument
398 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
410 __val = pfx##ioswab##bwlq(__addr, val); \
418 static inline type pfx##in##bwlq##p(unsigned long port) \
435 return pfx##ioswab##bwlq(__addr, __val); \
/Linux-v5.4/tools/bpf/bpftool/
Dmain.c110 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
112 if (!pfx) in is_prefix()
114 if (strlen(str) < strlen(pfx)) in is_prefix()
117 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
155 const char *pfx = ""; in fprint_hex() local
164 pfx = sep; in fprint_hex()
166 fprintf(f, "%s%02hhx", i ? pfx : "", data[i]); in fprint_hex()
/Linux-v5.4/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
/Linux-v5.4/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()
/Linux-v5.4/drivers/acpi/
Dacpi_extlog.c95 static void __print_extlog_rcd(const char *pfx, in __print_extlog_rcd() argument
102 if (!pfx) { in __print_extlog_rcd()
104 pfx = KERN_INFO; in __print_extlog_rcd()
106 pfx = KERN_ERR; in __print_extlog_rcd()
109 snprintf(pfx_seq, sizeof(pfx_seq), "%s{%u}", pfx, curr_seqno); in __print_extlog_rcd()
114 static int print_extlog_rcd(const char *pfx, in print_extlog_rcd() argument
128 __print_extlog_rcd(pfx, estatus, cpu); in print_extlog_rcd()
/Linux-v5.4/net/dsa/
Dmaster.c152 uint8_t pfx[4]; in dsa_master_get_strings() local
155 snprintf(pfx, sizeof(pfx), "p%.2d", port); in dsa_master_get_strings()
157 pfx[sizeof(pfx) - 1] = '_'; in dsa_master_get_strings()
182 memmove(ndata + (i * len + sizeof(pfx)), in dsa_master_get_strings()
183 ndata + i * len, len - sizeof(pfx)); in dsa_master_get_strings()
184 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_master_get_strings()
/Linux-v5.4/scripts/atomic/fallbacks/
Drelease3 ${atomic}_${pfx}${name}${sfx}_release(${params})
6 ${retstmt}${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Ddec3 ${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
5 ${retstmt}${atomic}_${pfx}sub${sfx}${order}(1, v);
Dinc3 ${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
5 ${retstmt}${atomic}_${pfx}add${sfx}${order}(1, v);
Dacquire3 ${atomic}_${pfx}${name}${sfx}_acquire(${params})
5 ${ret} ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dandnot3 ${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v)
5 ${retstmt}${atomic}_${pfx}and${sfx}${order}(~i, v);
Dfence3 ${atomic}_${pfx}${name}${sfx}(${params})
7 ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args});
/Linux-v5.4/tools/testing/selftests/net/
Dfib_tests.sh479 local pfx=$4
488 cmd="$IP route add vrf $vrf $pfx $gw $dev"
695 local pfx="$1"
705 run_cmd "$IP -6 ro flush ${pfx}"
708 out=$($IP -6 ro ls match ${pfx})
714 run_cmd "$IP -6 ro add ${pfx} ${nh}"
729 local pfx
735 pfx=$1
737 out=$($IP -6 ro ls match ${pfx} | sed -e 's/ pref medium//')
1118 local pfx="$1"
[all …]

123