Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/firmware/efi/
Dcper-arm.c101 static void cper_print_arm_err_info(const char *pfx, u32 type, in cper_print_arm_err_info() argument
124 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info()
135 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
141 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
147 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
159 printk("%scache level: %d\n", pfx, level); in cper_print_arm_err_info()
162 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info()
166 pfx, level); in cper_print_arm_err_info()
175 printk("%sprocessor context corrupted\n", pfx); in cper_print_arm_err_info()
177 printk("%sprocessor context not corrupted\n", pfx); in cper_print_arm_err_info()
[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 …]
Dcper.c96 void cper_print_bits(const char *pfx, unsigned int bits, in cper_print_bits() argument
114 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits()
157 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
161 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
165 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
169 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
170 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
175 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
179 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
180 cper_print_bits(pfx, proc->flags, proc_flag_strs, in cper_print_proc_generic()
[all …]
/Linux-v4.19/arch/mips/include/asm/
Dr4kcache.h579 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
580 static inline void extra##blast_##pfx##cache##lsize(void) \
589 __##pfx##flush_prologue \
595 __##pfx##flush_epilogue \
598 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
603 __##pfx##flush_prologue \
610 __##pfx##flush_epilogue \
613 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
623 __##pfx##flush_prologue \
629 __##pfx##flush_epilogue \
[all …]
Dio.h325 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ argument
327 static inline void pfx##write##bwlq(type val, \
337 __val = pfx##ioswab##bwlq(__mem, val); \
363 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
394 return pfx##ioswab##bwlq(__mem, __val); \
397 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument
399 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
408 __val = pfx##ioswab##bwlq(__addr, val); \
417 static inline type pfx##in##bwlq##p(unsigned long port) \
431 return pfx##ioswab##bwlq(__addr, __val); \
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dpfc-r8a73a4.c26 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
28 PORT_10(0, fn, pfx, sfx), \
29 PORT_10(10, fn, pfx##1, sfx), \
30 PORT_10(20, fn, pfx##2, sfx), \
31 PORT_1(30, fn, pfx##30, sfx), \
33 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \
34 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \
35 PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \
36 PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \
37 PORT_1(40, fn, pfx##40, sfx), \
[all …]
Dsh_pfc.h554 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
556 #define PORT_10(pn, fn, pfx, sfx) \ argument
557 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
558 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
559 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
560 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
561 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
563 #define PORT_90(pn, fn, pfx, sfx) \ argument
564 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
565 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
Dpfc-emev2.c15 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
16 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
17 PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \
18 PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \
19 PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \
20 PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \
21 PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \
22 PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \
23 PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx)
231 #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) argument
[all …]
Dpfc-sh73a0.c32 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument
33 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \
34 PORT_10(100, fn, pfx##10, sfx), \
35 PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \
36 PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \
37 PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \
38 PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \
39 PORT_1(118, fn, pfx##118, sfx), \
40 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \
41 PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \
[all …]
/Linux-v4.19/net/dsa/
Dmaster.c92 uint8_t pfx[4]; in dsa_master_get_strings() local
95 snprintf(pfx, sizeof(pfx), "p%.2d", port); in dsa_master_get_strings()
97 pfx[sizeof(pfx) - 1] = '_'; in dsa_master_get_strings()
122 memmove(ndata + (i * len + sizeof(pfx)), in dsa_master_get_strings()
123 ndata + i * len, len - sizeof(pfx)); in dsa_master_get_strings()
124 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_master_get_strings()
/Linux-v4.19/net/6lowpan/
Ddebugfs.c111 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show()
112 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show()
113 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show()
114 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show()
115 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show()
116 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show()
117 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show()
118 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
157 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff); in lowpan_ctx_pfx_write()
228 &t->table[i].pfx, t->table[i].plen, in lowpan_context_show()
Diphc.c228 if (ipv6_prefix_equal(&addr_pfx, &table[i].pfx, addr_plen)) { in lowpan_iphc_ctx_get_by_addr()
267 ipv6_addr_prefix(&network_pfx, &table[i].pfx, in lowpan_iphc_ctx_get_by_mcast_addr()
384 ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen); in lowpan_iphc_uncompress_ctx_addr()
391 ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen); in lowpan_iphc_uncompress_ctx_addr()
404 ipv6_addr_prefix_copy(ipaddr, &ctx->pfx, ctx->plen); in lowpan_iphc_uncompress_ctx_addr()
496 ipv6_addr_prefix(&network_pfx, &ctx->pfx, ctx->plen); in lowpan_uncompress_multicast_ctx_daddr()
808 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_compress_ctx_802154_lladdr()
818 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_compress_ctx_802154_lladdr()
841 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_addr_equal()
876 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_compress_ctx_addr()
[all …]
/Linux-v4.19/tools/bpf/bpftool/
Dmain.c130 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument
132 if (!pfx) in is_prefix()
134 if (strlen(str) < strlen(pfx)) in is_prefix()
137 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
146 const char *pfx = ""; in fprint_hex() local
155 pfx = sep; in fprint_hex()
157 fprintf(f, "%s%02hhx", i ? pfx : "", data[i]); in fprint_hex()
/Linux-v4.19/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-v4.19/net/ipv6/netfilter/
Dip6t_NPT.c21 struct in6_addr pfx; in ip6t_npt_checkentry() local
28 ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
31 ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in ip6t_npt_checkentry()
32 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
/Linux-v4.19/drivers/acpi/
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-v4.19/tools/testing/selftests/net/
Dfib_tests.sh439 local pfx=$4
448 cmd="$IP route add vrf $vrf $pfx $gw $dev"
608 local pfx="$1"
618 run_cmd "$IP -6 ro flush ${pfx}"
621 out=$($IP -6 ro ls match ${pfx})
627 run_cmd "$IP -6 ro add ${pfx} ${nh}"
642 local pfx="2001:db8:104::/64"
647 out=$($IP -6 ro ls match ${pfx} | sed -e 's/ pref medium//')
974 local pfx="$1"
984 run_cmd "$IP ro flush ${pfx}"
[all …]
/Linux-v4.19/arch/sh/include/asm/
Dio.h89 #define __BUILD_MEMORY_STRING(pfx, bwlq, type) \ argument
92 pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \
103 static inline void pfx##reads##bwlq(volatile void __iomem *mem, \
158 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument
160 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
169 static inline type pfx##in##bwlq##p(unsigned long port) \
/Linux-v4.19/arch/arm/mm/
Dproc-macros.S134 .macro armv6_mt_table pfx
135 \pfx\()_mt_table:
154 .macro armv6_set_pte_ext pfx
162 adr ip, \pfx\()_mt_table
/Linux-v4.19/arch/x86/include/asm/
Dinat.h95 #define INAT_MAKE_PREFIX(pfx) (pfx << INAT_PFX_OFFS) argument
/Linux-v4.19/tools/perf/util/intel-pt-decoder/
Dinat.h95 #define INAT_MAKE_PREFIX(pfx) (pfx << INAT_PFX_OFFS) argument
/Linux-v4.19/tools/objtool/arch/x86/include/asm/
Dinat.h95 #define INAT_MAKE_PREFIX(pfx) (pfx << INAT_PFX_OFFS) argument
/Linux-v4.19/arch/sparc/kernel/
Dtraps_64.c1952 static void sun4v_report_real_raddr(const char *pfx, struct pt_regs *regs) in sun4v_report_real_raddr() argument
1965 pfx, addr); in sun4v_report_real_raddr()
1969 int cpu, const char *pfx, atomic_t *ocnt) in sun4v_log_error() argument
1975 printk("%s: Reporting on cpu %d\n", pfx, cpu); in sun4v_log_error()
1977 pfx, regs->tpc, (void *) regs->tpc); in sun4v_log_error()
1980 pfx, raw_ptr[0], raw_ptr[1], raw_ptr[2], raw_ptr[3]); in sun4v_log_error()
1982 pfx, raw_ptr[4], raw_ptr[5], raw_ptr[6], raw_ptr[7]); in sun4v_log_error()
1985 pfx, ent->err_handle, ent->err_stick); in sun4v_log_error()
1987 printk("%s: type [%s]\n", pfx, sun4v_err_type_to_str(ent->err_type)); in sun4v_log_error()
1990 printk("%s: attrs [0x%08x] < ", pfx, attrs); in sun4v_log_error()
[all …]
/Linux-v4.19/include/net/
Dipv6.h457 static inline void ipv6_addr_prefix(struct in6_addr *pfx, in ipv6_addr_prefix() argument
465 memset(pfx->s6_addr, 0, sizeof(pfx->s6_addr)); in ipv6_addr_prefix()
466 memcpy(pfx->s6_addr, addr, o); in ipv6_addr_prefix()
468 pfx->s6_addr[o] = addr->s6_addr[o] & (0xff00 >> b); in ipv6_addr_prefix()
472 const struct in6_addr *pfx, in ipv6_addr_prefix_copy() argument
479 memcpy(addr->s6_addr, pfx, o); in ipv6_addr_prefix_copy()
482 addr->s6_addr[o] |= (pfx->s6_addr[o] & (0xff00 >> b)); in ipv6_addr_prefix_copy()
/Linux-v4.19/net/ipv6/
Daddrlabel.c382 struct in6_addr *pfx; in ip6addrlbl_newdel() local
399 pfx = nla_data(tb[IFAL_ADDRESS]); in ip6addrlbl_newdel()
413 err = ip6addrlbl_add(net, pfx, ifal->ifal_prefixlen, in ip6addrlbl_newdel()
418 err = ip6addrlbl_del(net, pfx, ifal->ifal_prefixlen, in ip6addrlbl_newdel()

12