Searched refs:prefix (Results 1 - 200 of 662) sorted by relevance

1234

/linux-4.1.27/tools/perf/
H A Dbuiltin.h16 extern int cmd_annotate(int argc, const char **argv, const char *prefix);
17 extern int cmd_bench(int argc, const char **argv, const char *prefix);
18 extern int cmd_buildid_cache(int argc, const char **argv, const char *prefix);
19 extern int cmd_buildid_list(int argc, const char **argv, const char *prefix);
20 extern int cmd_diff(int argc, const char **argv, const char *prefix);
21 extern int cmd_evlist(int argc, const char **argv, const char *prefix);
22 extern int cmd_help(int argc, const char **argv, const char *prefix);
23 extern int cmd_sched(int argc, const char **argv, const char *prefix);
24 extern int cmd_list(int argc, const char **argv, const char *prefix);
25 extern int cmd_record(int argc, const char **argv, const char *prefix);
26 extern int cmd_report(int argc, const char **argv, const char *prefix);
27 extern int cmd_stat(int argc, const char **argv, const char *prefix);
28 extern int cmd_timechart(int argc, const char **argv, const char *prefix);
29 extern int cmd_top(int argc, const char **argv, const char *prefix);
30 extern int cmd_script(int argc, const char **argv, const char *prefix);
31 extern int cmd_version(int argc, const char **argv, const char *prefix);
32 extern int cmd_probe(int argc, const char **argv, const char *prefix);
33 extern int cmd_kmem(int argc, const char **argv, const char *prefix);
34 extern int cmd_lock(int argc, const char **argv, const char *prefix);
35 extern int cmd_kvm(int argc, const char **argv, const char *prefix);
36 extern int cmd_test(int argc, const char **argv, const char *prefix);
37 extern int cmd_trace(int argc, const char **argv, const char *prefix);
38 extern int cmd_inject(int argc, const char **argv, const char *prefix);
39 extern int cmd_mem(int argc, const char **argv, const char *prefix);
40 extern int cmd_data(int argc, const char **argv, const char *prefix);
H A Dbuiltin-data.c8 typedef int (*data_cmd_fn_t)(int argc, const char **argv, const char *prefix);
53 const char *prefix __maybe_unused) cmd_data_convert()
96 int cmd_data(int argc, const char **argv, const char *prefix) cmd_data() argument
116 return cmd->fn(argc, argv, prefix); for_each_cmd()
H A Dbuiltin-bench.c28 typedef int (*bench_fn_t)(int argc, const char **argv, const char *prefix);
155 int argc, const char **argv, const char *prefix) run_bench()
171 ret = fn(argc, argv, prefix); run_bench()
211 int cmd_bench(int argc, const char **argv, const char *prefix __maybe_unused) cmd_bench()
270 ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1, prefix); for_each_bench()
154 run_bench(const char *coll_name, const char *bench_name, bench_fn_t fn, int argc, const char **argv, const char *prefix) run_bench() argument
H A Dbuiltin-evlist.c41 int cmd_evlist(int argc, const char **argv, const char *prefix __maybe_unused) cmd_evlist()
H A Dbuiltin-list.c19 int cmd_list(int argc, const char **argv, const char *prefix __maybe_unused) cmd_list()
H A Dbuiltin-stat.c71 static void print_counter_aggr(struct perf_evsel *counter, char *prefix);
72 static void print_counter(struct perf_evsel *counter, char *prefix);
73 static void print_aggr(char *prefix);
540 char prefix[64]; print_interval() local
558 sprintf(prefix, "%6lu.%09lu%s", rs.tv_sec, rs.tv_nsec, csv_sep);
583 print_aggr(prefix);
587 print_counter(counter, prefix);
592 print_counter_aggr(counter, prefix);
1227 static void print_aggr(char *prefix) print_aggr() argument
1251 if (prefix) evlist__for_each()
1252 fprintf(output, "%s", prefix); evlist__for_each()
1298 static void print_counter_aggr(struct perf_evsel *counter, char *prefix) print_counter_aggr() argument
1309 if (prefix) print_counter_aggr()
1310 fprintf(output, "%s", prefix); print_counter_aggr()
1349 static void print_counter(struct perf_evsel *counter, char *prefix) print_counter() argument
1360 if (prefix) print_counter()
1361 fprintf(output, "%s", prefix); print_counter()
1710 int cmd_stat(int argc, const char **argv, const char *prefix __maybe_unused) cmd_stat()
H A Dbuiltin-buildid-list.c86 const char *prefix __maybe_unused) cmd_buildid_list()
H A Dbuiltin-help.c303 static const char *prepend(const char *prefix, const char *cmd) prepend() argument
305 size_t pre_len = strlen(prefix); prepend()
308 memcpy(p, prefix, pre_len); prepend()
427 int cmd_help(int argc, const char **argv, const char *prefix __maybe_unused) cmd_help()
/linux-4.1.27/drivers/regulator/
H A Dmc13xxx.h59 #define MC13xxx_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages, _ops) \
60 [prefix ## _name] = { \
67 .id = prefix ## _name, \
70 .reg = prefix ## _reg, \
71 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \
72 .vsel_reg = prefix ## _vsel_reg, \
73 .vsel_shift = prefix ## _vsel_reg ## _ ## _name ## VSEL,\
74 .vsel_mask = prefix ## _vsel_reg ## _ ## _name ## VSEL_M,\
77 #define MC13xxx_FIXED_DEFINE(prefix, _name, _reg, _voltages, _ops) \
78 [prefix ## _name] = { \
85 .id = prefix ## _name, \
88 .reg = prefix ## _reg, \
89 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \
92 #define MC13xxx_GPO_DEFINE(prefix, _name, _reg, _voltages, _ops) \
93 [prefix ## _name] = { \
100 .id = prefix ## _name, \
103 .reg = prefix ## _reg, \
104 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \
H A Dmc13783-regulator.c235 #define MC13783_DEFINE(prefix, name, reg, vsel_reg, voltages) \
239 #define MC13783_FIXED_DEFINE(prefix, name, reg, voltages) \
243 #define MC13783_GPO_DEFINE(prefix, name, reg, voltages) \
/linux-4.1.27/tools/net/
H A DMakefile0 prefix = /usr
33 install bpf_jit_disasm $(prefix)/bin/bpf_jit_disasm
34 install bpf_dbg $(prefix)/bin/bpf_dbg
35 install bpf_asm $(prefix)/bin/bpf_asm
1 prefix = /usr global() macro
/linux-4.1.27/tools/firewire/
H A DMakefile0 prefix = /usr
19 install nosy-dump $(prefix)/bin/nosy-dump
1 prefix = /usr global() macro
/linux-4.1.27/tools/perf/bench/
H A Dbench.h28 extern int bench_numa(int argc, const char **argv, const char *prefix);
29 extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
30 extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
32 const char *prefix __maybe_unused);
33 extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
34 extern int bench_futex_hash(int argc, const char **argv, const char *prefix);
35 extern int bench_futex_wake(int argc, const char **argv, const char *prefix);
36 extern int bench_futex_requeue(int argc, const char **argv, const char *prefix);
H A Dmem-memcpy.c221 const char *prefix __maybe_unused, bench_mem_common()
337 const char *prefix __maybe_unused) bench_mem_memcpy()
346 return bench_mem_common(argc, argv, prefix, &info); bench_mem_memcpy()
424 const char *prefix __maybe_unused) bench_mem_memset()
433 return bench_mem_common(argc, argv, prefix, &info); bench_mem_memset()
/linux-4.1.27/include/linux/netfilter/ipset/
H A Dpfxlen.h45 ip6_netmask(union nf_inet_addr *ip, u8 prefix) ip6_netmask() argument
47 ip->ip6[0] &= ip_set_netmask6(prefix)[0]; ip6_netmask()
48 ip->ip6[1] &= ip_set_netmask6(prefix)[1]; ip6_netmask()
49 ip->ip6[2] &= ip_set_netmask6(prefix)[2]; ip6_netmask()
50 ip->ip6[3] &= ip_set_netmask6(prefix)[3]; ip6_netmask()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.h20 #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc) \
21 module_param_array_named(prefix ## name, params.name, type, \
22 &prefix ## params.name ## _count, \
24 MODULE_PARM_DESC(prefix ## name, desc)
26 #define _FSG_MODULE_PARAM(prefix, params, name, type, desc) \
27 module_param_named(prefix ## name, params.name, type, \
29 MODULE_PARM_DESC(prefix ## name, desc)
31 #define __FSG_MODULE_PARAMETERS(prefix, params) \
32 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \
34 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \
36 _FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \
38 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \
40 _FSG_MODULE_PARAM_ARRAY(prefix, params, nofua, bool, \
42 _FSG_MODULE_PARAM(prefix, params, luns, uint, \
44 _FSG_MODULE_PARAM(prefix, params, stall, bool, \
49 #define FSG_MODULE_PARAMETERS(prefix, params) \
50 __FSG_MODULE_PARAMETERS(prefix, params); \
55 #define FSG_MODULE_PARAMETERS(prefix, params) \
56 __FSG_MODULE_PARAMETERS(prefix, params)
H A Du_fs.h28 # define ffs_dump_mem(prefix, ptr, len) \
29 print_hex_dump_bytes(pr_fmt(prefix ": "), DUMP_PREFIX_NONE, ptr, len)
34 # define ffs_dump_mem(prefix, ptr, len) do { } while (0)
/linux-4.1.27/arch/mips/bcm47xx/
H A Dsprom.c33 static void create_key(const char *prefix, const char *postfix, create_key() argument
36 if (prefix && postfix) create_key()
37 snprintf(buf, len, "%s%s%s", prefix, name, postfix); create_key()
38 else if (prefix) create_key()
39 snprintf(buf, len, "%s%s", prefix, name); create_key()
46 static int get_nvram_var(const char *prefix, const char *postfix, get_nvram_var() argument
52 create_key(prefix, postfix, name, key, sizeof(key)); get_nvram_var()
55 if (fallback && err == -ENOENT && prefix) { get_nvram_var()
63 static void nvram_read_ ## type (const char *prefix, \
71 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
78 prefix, name, postfix, buf, err); \
93 static void nvram_read_u32_2(const char *prefix, const char *name, nvram_read_u32_2() argument
100 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); nvram_read_u32_2()
106 prefix, name, buf, err); nvram_read_u32_2()
113 static void nvram_read_leddc(const char *prefix, const char *name, nvram_read_leddc() argument
121 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); nvram_read_leddc()
127 prefix, name, buf, err); nvram_read_leddc()
152 static void nvram_read_macaddr(const char *prefix, const char *name, nvram_read_macaddr() argument
158 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); nvram_read_macaddr()
165 static void nvram_read_alpha2(const char *prefix, const char *name, nvram_read_alpha2() argument
171 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); nvram_read_alpha2()
198 const char *prefix, bool fallback) bcm47xx_sprom_fill_auto()
200 const char *pre = prefix; bcm47xx_sprom_fill_auto()
413 const char *prefix, bool fallback) bcm47xx_fill_sprom_r1234589()
415 nvram_read_u16(prefix, NULL, "devid", &sprom->dev_id, 0, fallback); bcm47xx_fill_sprom_r1234589()
416 nvram_read_alpha2(prefix, "ccode", sprom->alpha2, fallback); bcm47xx_fill_sprom_r1234589()
419 static void bcm47xx_fill_sprom_r3(struct ssb_sprom *sprom, const char *prefix, bcm47xx_fill_sprom_r3() argument
422 nvram_read_leddc(prefix, "leddc", &sprom->leddc_on_time, bcm47xx_fill_sprom_r3()
427 const char *prefix, bool fallback) bcm47xx_fill_sprom_r4589()
429 nvram_read_leddc(prefix, "leddc", &sprom->leddc_on_time, bcm47xx_fill_sprom_r4589()
434 const char *prefix, bool fallback) bcm47xx_fill_sprom_path_r4589()
442 nvram_read_u8(prefix, postfix, "maxp2ga", bcm47xx_fill_sprom_path_r4589()
444 nvram_read_u8(prefix, postfix, "itt2ga", bcm47xx_fill_sprom_path_r4589()
446 nvram_read_u8(prefix, postfix, "itt5ga", bcm47xx_fill_sprom_path_r4589()
448 nvram_read_u16(prefix, postfix, "pa2gw0a", bcm47xx_fill_sprom_path_r4589()
450 nvram_read_u16(prefix, postfix, "pa2gw1a", bcm47xx_fill_sprom_path_r4589()
452 nvram_read_u16(prefix, postfix, "pa2gw2a", bcm47xx_fill_sprom_path_r4589()
454 nvram_read_u8(prefix, postfix, "maxp5ga", bcm47xx_fill_sprom_path_r4589()
456 nvram_read_u8(prefix, postfix, "maxp5gha", bcm47xx_fill_sprom_path_r4589()
458 nvram_read_u8(prefix, postfix, "maxp5gla", bcm47xx_fill_sprom_path_r4589()
460 nvram_read_u16(prefix, postfix, "pa5gw0a", bcm47xx_fill_sprom_path_r4589()
462 nvram_read_u16(prefix, postfix, "pa5gw1a", bcm47xx_fill_sprom_path_r4589()
464 nvram_read_u16(prefix, postfix, "pa5gw2a", bcm47xx_fill_sprom_path_r4589()
466 nvram_read_u16(prefix, postfix, "pa5glw0a", bcm47xx_fill_sprom_path_r4589()
468 nvram_read_u16(prefix, postfix, "pa5glw1a", bcm47xx_fill_sprom_path_r4589()
470 nvram_read_u16(prefix, postfix, "pa5glw2a", bcm47xx_fill_sprom_path_r4589()
472 nvram_read_u16(prefix, postfix, "pa5ghw0a", bcm47xx_fill_sprom_path_r4589()
474 nvram_read_u16(prefix, postfix, "pa5ghw1a", bcm47xx_fill_sprom_path_r4589()
476 nvram_read_u16(prefix, postfix, "pa5ghw2a", bcm47xx_fill_sprom_path_r4589()
482 const char *prefix, bool fallback) bcm47xx_fill_sprom_path_r45()
490 nvram_read_u16(prefix, postfix, "pa2gw3a", bcm47xx_fill_sprom_path_r45()
492 nvram_read_u16(prefix, postfix, "pa5gw3a", bcm47xx_fill_sprom_path_r45()
494 nvram_read_u16(prefix, postfix, "pa5glw3a", bcm47xx_fill_sprom_path_r45()
496 nvram_read_u16(prefix, postfix, "pa5ghw3a", bcm47xx_fill_sprom_path_r45()
529 const char *prefix, bool fallback) bcm47xx_fill_sprom_ethernet()
531 nvram_read_macaddr(prefix, "et0macaddr", sprom->et0mac, fallback); bcm47xx_fill_sprom_ethernet()
532 nvram_read_u8(prefix, NULL, "et0mdcport", &sprom->et0mdcport, 0, bcm47xx_fill_sprom_ethernet()
534 nvram_read_u8(prefix, NULL, "et0phyaddr", &sprom->et0phyaddr, 0, bcm47xx_fill_sprom_ethernet()
537 nvram_read_macaddr(prefix, "et1macaddr", sprom->et1mac, fallback); bcm47xx_fill_sprom_ethernet()
538 nvram_read_u8(prefix, NULL, "et1mdcport", &sprom->et1mdcport, 0, bcm47xx_fill_sprom_ethernet()
540 nvram_read_u8(prefix, NULL, "et1phyaddr", &sprom->et1phyaddr, 0, bcm47xx_fill_sprom_ethernet()
543 nvram_read_macaddr(prefix, "macaddr", sprom->il0mac, fallback); bcm47xx_fill_sprom_ethernet()
544 nvram_read_macaddr(prefix, "il0macaddr", sprom->il0mac, fallback); bcm47xx_fill_sprom_ethernet()
546 /* The address prefix 00:90:4C is used by Broadcom in their initial bcm47xx_fill_sprom_ethernet()
547 configuration. When a mac address with the prefix 00:90:4C is used bcm47xx_fill_sprom_ethernet()
566 static void bcm47xx_fill_board_data(struct ssb_sprom *sprom, const char *prefix, bcm47xx_fill_board_data() argument
569 nvram_read_u32_2(prefix, "boardflags", &sprom->boardflags_lo, bcm47xx_fill_board_data()
571 nvram_read_u32_2(prefix, "boardflags2", &sprom->boardflags2_lo, bcm47xx_fill_board_data()
575 void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, bcm47xx_fill_sprom() argument
578 bcm47xx_fill_sprom_ethernet(sprom, prefix, fallback); bcm47xx_fill_sprom()
579 bcm47xx_fill_board_data(sprom, prefix, fallback); bcm47xx_fill_sprom()
581 nvram_read_u8(prefix, NULL, "sromrev", &sprom->revision, 0, fallback); bcm47xx_fill_sprom()
585 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
588 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
591 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
592 bcm47xx_fill_sprom_r3(sprom, prefix, fallback); bcm47xx_fill_sprom()
596 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
597 bcm47xx_fill_sprom_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
598 bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
599 bcm47xx_fill_sprom_path_r45(sprom, prefix, fallback); bcm47xx_fill_sprom()
602 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
603 bcm47xx_fill_sprom_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
604 bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
607 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
608 bcm47xx_fill_sprom_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
609 bcm47xx_fill_sprom_path_r4589(sprom, prefix, fallback); bcm47xx_fill_sprom()
615 bcm47xx_fill_sprom_r1234589(sprom, prefix, fallback); bcm47xx_fill_sprom()
618 bcm47xx_sprom_fill_auto(sprom, prefix, fallback); bcm47xx_fill_sprom()
623 const char *prefix) bcm47xx_fill_ssb_boardinfo()
625 nvram_read_u16(prefix, NULL, "boardvendor", &boardinfo->vendor, 0, bcm47xx_fill_ssb_boardinfo()
630 nvram_read_u16(prefix, NULL, "boardtype", &boardinfo->type, 0, true); bcm47xx_fill_ssb_boardinfo()
636 const char *prefix) bcm47xx_fill_bcma_boardinfo()
638 nvram_read_u16(prefix, NULL, "boardvendor", &boardinfo->vendor, 0, bcm47xx_fill_bcma_boardinfo()
643 nvram_read_u16(prefix, NULL, "boardtype", &boardinfo->type, 0, true); bcm47xx_fill_bcma_boardinfo()
650 char prefix[10]; bcm47xx_get_sprom_ssb() local
654 snprintf(prefix, sizeof(prefix), "pci/%u/%u/", bcm47xx_get_sprom_ssb()
657 bcm47xx_fill_sprom(out, prefix, false); bcm47xx_get_sprom_ssb()
674 static void bcm47xx_sprom_apply_prefix_alias(char *prefix, size_t prefix_size) bcm47xx_sprom_apply_prefix_alias() argument
676 size_t prefix_len = strlen(prefix); bcm47xx_sprom_apply_prefix_alias()
682 /* Passed prefix has to end with a slash */ bcm47xx_sprom_apply_prefix_alias()
683 if (prefix_len <= 0 || prefix[prefix_len - 1] != '/') bcm47xx_sprom_apply_prefix_alias()
691 if (!strcmp(buf, prefix) || bcm47xx_sprom_apply_prefix_alias()
692 (short_len && strlen(buf) == short_len && !strncmp(buf, prefix, short_len))) { bcm47xx_sprom_apply_prefix_alias()
693 snprintf(prefix, prefix_size, "%d:", i); bcm47xx_sprom_apply_prefix_alias()
701 char prefix[10]; bcm47xx_get_sprom_bcma() local
707 snprintf(prefix, sizeof(prefix), "pci/%u/%u/", bcm47xx_get_sprom_bcma()
710 bcm47xx_sprom_apply_prefix_alias(prefix, sizeof(prefix)); bcm47xx_get_sprom_bcma()
711 bcm47xx_fill_sprom(out, prefix, false); bcm47xx_get_sprom_bcma()
717 snprintf(prefix, sizeof(prefix), "sb/%u/", bcm47xx_get_sprom_bcma()
719 bcm47xx_fill_sprom(out, prefix, true); bcm47xx_get_sprom_bcma()
197 bcm47xx_sprom_fill_auto(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_sprom_fill_auto() argument
412 bcm47xx_fill_sprom_r1234589(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_fill_sprom_r1234589() argument
426 bcm47xx_fill_sprom_r4589(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_fill_sprom_r4589() argument
433 bcm47xx_fill_sprom_path_r4589(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_fill_sprom_path_r4589() argument
481 bcm47xx_fill_sprom_path_r45(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_fill_sprom_path_r45() argument
528 bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom, const char *prefix, bool fallback) bcm47xx_fill_sprom_ethernet() argument
622 bcm47xx_fill_ssb_boardinfo(struct ssb_boardinfo *boardinfo, const char *prefix) bcm47xx_fill_ssb_boardinfo() argument
635 bcm47xx_fill_bcma_boardinfo(struct bcma_boardinfo *boardinfo, const char *prefix) bcm47xx_fill_bcma_boardinfo() argument
/linux-4.1.27/include/net/netfilter/
H A Dnfnetlink_log.h12 const char *prefix);
H A Dnf_log.h43 const char *prefix);
110 const char *prefix);
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_NFLOG.h17 char prefix[64]; member in struct:xt_nflog_info
H A Dxt_LOG.h16 char prefix[30]; member in struct:xt_log_info
H A Dnfnetlink_log.h46 NFULA_PREFIX, /* string prefix */
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_nflog.h20 char prefix[EBT_NFLOG_PREFIX_SIZE]; member in struct:ebt_nflog_info
H A Debt_log.h16 __u8 prefix[EBT_LOG_PREFIX_SIZE]; member in struct:ebt_log_info
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c168 static void trace_print_header(int seq, int prefix) trace_print_header() argument
170 printf("%*s[%d]: ", prefix, "", seq); trace_print_header()
235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) trace_print_entry() argument
239 trace_print_header(seq, *prefix); trace_print_entry()
243 trace_print_header(seq, *prefix); trace_print_entry()
247 trace_print_header(seq, *prefix); trace_print_entry()
251 trace_print_header(seq, *prefix); trace_print_entry()
253 *prefix += PREFIX_DELTA; trace_print_entry()
256 *prefix -= PREFIX_DELTA; trace_print_entry()
257 if (*prefix < BASE_PREFIX) trace_print_entry()
258 *prefix = BASE_PREFIX; trace_print_entry()
259 trace_print_header(seq, *prefix); trace_print_entry()
263 trace_print_header(seq, *prefix); trace_print_entry()
272 int i, prefix; trace_buffer_print() local
285 prefix = BASE_PREFIX; trace_buffer_print()
290 trace_print_entry(e, i, &prefix); trace_buffer_print()
/linux-4.1.27/net/ipv6/
H A Daddrlabel.c33 struct in6_addr prefix; member in struct:ip6addrlbl_entry
59 * prefix addr_type label
81 const struct in6_addr *prefix; member in struct:ip6addrlbl_init_table
86 .prefix = &in6addr_any,
89 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
93 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
97 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
101 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
105 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
109 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
113 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
117 .prefix = &in6addr_any,
121 .prefix = &in6addr_loopback,
161 if (!ipv6_prefix_equal(addr, &p->prefix, p->prefixlen)) __ip6addrlbl_match()
199 const struct in6_addr *prefix, ip6addrlbl_alloc()
206 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u)\n", ip6addrlbl_alloc()
207 __func__, prefix, prefixlen, ifindex, (unsigned int)label); ip6addrlbl_alloc()
209 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); ip6addrlbl_alloc()
232 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); ip6addrlbl_alloc()
257 ipv6_addr_equal(&p->prefix, &newp->prefix)) { __ip6addrlbl_add()
284 const struct in6_addr *prefix, int prefixlen, ip6addrlbl_add()
290 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u, replace=%d)\n", ip6addrlbl_add()
291 __func__, prefix, prefixlen, ifindex, (unsigned int)label, ip6addrlbl_add()
294 newp = ip6addrlbl_alloc(net, prefix, prefixlen, ifindex, label); ip6addrlbl_add()
307 const struct in6_addr *prefix, int prefixlen, __ip6addrlbl_del()
314 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n", __ip6addrlbl_del()
315 __func__, prefix, prefixlen, ifindex); __ip6addrlbl_del()
321 ipv6_addr_equal(&p->prefix, prefix)) { __ip6addrlbl_del()
332 const struct in6_addr *prefix, int prefixlen, ip6addrlbl_del()
338 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n", ip6addrlbl_del()
339 __func__, prefix, prefixlen, ifindex); ip6addrlbl_del()
341 ipv6_addr_prefix(&prefix_buf, prefix, prefixlen); ip6addrlbl_del()
358 ip6addrlbl_init_table[i].prefix, ip6addrlbl_net_init()
480 if (nla_put_in6_addr(skb, IFAL_ADDRESS, &p->prefix) < 0 || ip6addrlbl_fill()
198 ip6addrlbl_alloc(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label) ip6addrlbl_alloc() argument
283 ip6addrlbl_add(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label, int replace) ip6addrlbl_add() argument
306 __ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) __ip6addrlbl_del() argument
331 ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) ip6addrlbl_del() argument
H A Dsit.c180 ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); ipip6_tunnel_clone_6rd()
763 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, check_6rd()
785 /* 6to4 v6 addr has 16 bits prefix, 32 v4addr, 16 SLA, ... */ check_6rd()
1107 struct in6_addr prefix; ipip6_tunnel_update_6rd() local
1114 ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); ipip6_tunnel_update_6rd()
1115 if (!ipv6_addr_equal(&prefix, &ip6rd->prefix)) ipip6_tunnel_update_6rd()
1126 t->ip6rd.prefix = prefix; ipip6_tunnel_update_6rd()
1172 ip6rd.prefix = t->ip6rd.prefix; ipip6_tunnel_ioctl()
1518 ip6rd->prefix = nla_get_in6_addr(data[IFLA_IPTUN_6RD_PREFIX]); ipip6_netlink_6rd_parms()
1682 &tunnel->ip6rd.prefix) || ipip6_fill_info()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_eacl.h67 #define CFS_ACL_XATTR_SIZE(count, prefix) \
68 (sizeof(prefix ## _header) + (count) * sizeof(prefix ## _entry))
70 #define CFS_ACL_XATTR_COUNT(size, prefix) \
71 (((size) - sizeof(prefix ## _header)) / sizeof(prefix ## _entry))
/linux-4.1.27/drivers/misc/genwqe/
H A Dgenwqe_driver.h68 char prefix[32]; genwqe_hexdump() local
70 scnprintf(prefix, sizeof(prefix), "%s %s: ", genwqe_hexdump()
73 print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, genwqe_hexdump()
/linux-4.1.27/net/bridge/netfilter/
H A Dnf_log_bridge.c25 const char *prefix) nf_log_bridge_packet()
30 loginfo, "%s", prefix); nf_log_bridge_packet()
34 loginfo, "%s", prefix); nf_log_bridge_packet()
39 loginfo, "%s", prefix); nf_log_bridge_packet()
19 nf_log_bridge_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) nf_log_bridge_packet() argument
H A Debt_nflog.c35 par->out, &li, "%s", info->prefix); ebt_nflog_tg()
45 info->prefix[EBT_NFLOG_PREFIX_SIZE - 1] = '\0'; ebt_nflog_tg_check()
H A Debt_log.c35 info->prefix[EBT_LOG_PREFIX_SIZE - 1] = '\0'; ebt_log_tg_check()
78 const char *prefix) ebt_log_packet()
88 '0' + loginfo->u.log.level, prefix, ebt_log_packet()
195 par->in, par->out, &li, "%s", info->prefix); ebt_log_tg()
198 par->out, &li, info->prefix); ebt_log_tg()
75 ebt_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) ebt_log_packet() argument
/linux-4.1.27/net/netfilter/
H A Dnft_log.c26 char *prefix; member in struct:nft_log
37 pkt->out, &priv->loginfo, "%s", priv->prefix); nft_log_eval()
60 priv->prefix = kmalloc(nla_len(nla) + 1, GFP_KERNEL); nft_log_init()
61 if (priv->prefix == NULL) nft_log_init()
63 nla_strlcpy(priv->prefix, nla, nla_len(nla) + 1); nft_log_init()
65 priv->prefix = (char *)nft_log_null_prefix; nft_log_init()
123 if (priv->prefix != nft_log_null_prefix) nft_log_destroy()
124 kfree(priv->prefix); nft_log_destroy()
139 if (priv->prefix != nft_log_null_prefix) nft_log_dump()
140 if (nla_put_string(skb, NFTA_LOG_PREFIX, priv->prefix)) nft_log_dump()
H A Dxt_LOG.c43 &li, "%s", loginfo->prefix); log_tg()
59 if (loginfo->prefix[sizeof(loginfo->prefix)-1] != '\0') { log_tg_check()
60 pr_debug("prefix is not null-terminated\n"); log_tg_check()
H A Dxt_NFLOG.c37 par->out, &li, info->prefix); nflog_tg()
47 if (info->prefix[sizeof(info->prefix) - 1] != '\0') nflog_tg_check()
H A Dnf_log.c201 char prefix[NF_LOG_PREFIXLEN]; nf_log_packet() local
212 vsnprintf(prefix, sizeof(prefix), fmt, args); nf_log_packet()
214 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); nf_log_packet()
229 char prefix[NF_LOG_PREFIXLEN]; nf_log_trace() local
236 vsnprintf(prefix, sizeof(prefix), fmt, args); nf_log_trace()
238 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); nf_log_trace()
H A Dnf_log_common.c156 const struct nf_loginfo *loginfo, const char *prefix) nf_log_dump_packet_common()
159 '0' + loginfo->u.log.level, prefix, nf_log_dump_packet_common()
152 nf_log_dump_packet_common(struct nf_log_buf *m, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) nf_log_dump_packet_common() argument
/linux-4.1.27/drivers/iommu/
H A Dof_iommu.c34 * @prefix: prefix for property name if any
40 * This supports different formats flexibly. "prefix" can be
44 int of_get_dma_window(struct device_node *dn, const char *prefix, int index, of_get_dma_window() argument
54 if (!prefix) of_get_dma_window()
55 prefix = ""; of_get_dma_window()
57 snprintf(propname, sizeof(propname), "%sdma-window", prefix); of_get_dma_window()
58 snprintf(addrname, sizeof(addrname), "%s#dma-address-cells", prefix); of_get_dma_window()
59 snprintf(sizename, sizeof(sizename), "%s#dma-size-cells", prefix); of_get_dma_window()
/linux-4.1.27/drivers/clk/qcom/
H A Dlcc-msm8960.c202 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \
203 static struct clk_rcg prefix##_osr_src = { \
227 .name = #prefix "_osr_src", \
236 static const char *lcc_##prefix##_parents[] = { \
237 #prefix "_osr_src", \
240 static struct clk_branch prefix##_osr_clk = { \
248 .name = #prefix "_osr_clk", \
249 .parent_names = lcc_##prefix##_parents, \
257 static struct clk_regmap_div prefix##_div_clk = { \
263 .name = #prefix "_div_clk", \
264 .parent_names = lcc_##prefix##_parents, \
271 static struct clk_branch prefix##_bit_div_clk = { \
279 .name = #prefix "_bit_div_clk", \
281 #prefix "_div_clk" \
290 static struct clk_regmap_mux prefix##_bit_clk = { \
296 .name = #prefix "_bit_clk", \
298 #prefix "_bit_div_clk", \
299 #prefix "_codec_clk", \
/linux-4.1.27/fs/hfsplus/
H A Dxattr.h26 const char *prefix, size_t prefixlen);
33 const char *prefix, size_t prefixlen);
H A Dxattr_trusted.c40 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c40 .prefix = XATTR_USER_PREFIX,
H A Dxattr_security.c94 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/include/linux/
H A Dof_iommu.h10 extern int of_get_dma_window(struct device_node *dn, const char *prefix,
20 static inline int of_get_dma_window(struct device_node *dn, const char *prefix, of_get_dma_window() argument
H A Dstring.h138 * strstarts - does @str start with @prefix?
140 * @prefix: prefix to look for.
142 static inline bool strstarts(const char *str, const char *prefix) strstarts() argument
144 return strncmp(str, prefix, strlen(prefix)) == 0; strstarts()
H A Dcompiler.h194 # define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __LINE__)
407 #define __compiletime_assert(condition, msg, prefix, suffix) \
410 extern void prefix ## suffix(void) __compiletime_error(msg); \
412 prefix ## suffix(); \
416 #define _compiletime_assert(condition, msg, prefix, suffix) \
417 __compiletime_assert(condition, msg, prefix, suffix)
H A Dexport.h12 /* Some toolchains use a `_' prefix for all user symbols. */
H A Didr.h31 int prefix; /* the ID prefix of this idr_layer */ member in struct:idr_layer
119 if (hint && (id & ~IDR_MASK) == hint->prefix) idr_find()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Ddebug.h92 #define wl1271_dump(level, prefix, buf, len) \
95 print_hex_dump_debug(DRIVER_PREFIX prefix, \
102 #define wl1271_dump_ascii(level, prefix, buf, len) \
105 print_hex_dump_debug(DRIVER_PREFIX prefix, \
H A Ddebugfs.h63 #define DEBUGFS_ADD_PREFIX(prefix, name, parent) \
66 wl, &prefix## _## name## _ops); \
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
H A Dipt_LOG.h18 char prefix[30]; member in struct:ipt_log_info
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
H A Dip6t_LOG.h18 char prefix[30]; member in struct:ip6t_log_info
/linux-4.1.27/arch/sh/include/asm/
H A Dio_generic.h11 #error "Don't include this header without a valid system prefix"
/linux-4.1.27/arch/mips/include/asm/mach-bcm47xx/
H A Dbcm47xx.h48 void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix,
53 const char *prefix);
57 const char *prefix);
/linux-4.1.27/tools/perf/util/
H A Dstrbuf.c4 int prefixcmp(const char *str, const char *prefix) prefixcmp() argument
6 for (; ; str++, prefix++) prefixcmp()
7 if (!*prefix) prefixcmp()
9 else if (*str != *prefix) prefixcmp()
10 return (unsigned char)*prefix - (unsigned char)*str; prefixcmp()
H A Dhelp.c119 const char *prefix) list_commands_in_dir()
129 if (!prefix) list_commands_in_dir()
130 prefix = "perf-"; list_commands_in_dir()
131 prefix_len = strlen(prefix); list_commands_in_dir()
139 if (prefixcmp(de->d_name, prefix)) list_commands_in_dir()
157 void load_command_list(const char *prefix, load_command_list() argument
165 list_commands_in_dir(main_cmds, exec_path, prefix); load_command_list()
178 list_commands_in_dir(other_cmds, path, prefix); load_command_list()
335 const char *prefix __maybe_unused) cmd_version()
117 list_commands_in_dir(struct cmdnames *cmds, const char *path, const char *prefix) list_commands_in_dir() argument
H A Dhelp.h19 void load_command_list(const char *prefix,
H A Dusage.c12 static void report(const char *prefix, const char *err, va_list params) report() argument
16 fprintf(stderr, " %s%s\n", prefix, msg); report()
H A Dexec_cmd.c14 static const char *prefix = PREFIX; system_path() local
20 strbuf_addf(&d, "%s/%s", prefix, path); system_path()
H A Dutil.h156 extern int prefixcmp(const char *str, const char *prefix);
159 static inline const char *skip_prefix(const char *str, const char *prefix) skip_prefix() argument
161 size_t len = strlen(prefix); skip_prefix()
162 return strncmp(str, prefix, len) ? NULL : str + len; skip_prefix()
/linux-4.1.27/arch/s390/kvm/
H A Ddiag.c26 unsigned long prefix = kvm_s390_get_prefix(vcpu); diag_release_pages() local
40 * fast path (no prefix swap page involved) diag_release_pages()
42 if (end <= prefix || start >= prefix + 2 * PAGE_SIZE) { diag_release_pages()
47 * so lets split this into before prefix, prefix, after diag_release_pages()
48 * prefix and let gmap_discard make some of these calls diag_release_pages()
51 gmap_discard(vcpu->arch.gmap, start, prefix); diag_release_pages()
52 if (start <= prefix) diag_release_pages()
54 if (end > prefix + 4096) diag_release_pages()
56 gmap_discard(vcpu->arch.gmap, prefix + 2 * PAGE_SIZE, end); diag_release_pages()
H A Dgaccess.h28 * address @gra of a virtual guest cpu by applying its prefix.
33 unsigned long prefix = kvm_s390_get_prefix(vcpu); kvm_s390_real_to_abs() local
36 gra += prefix; kvm_s390_real_to_abs()
37 else if (gra >= prefix && gra < prefix + 2 * PAGE_SIZE) kvm_s390_real_to_abs()
38 gra -= prefix; kvm_s390_real_to_abs()
74 * prefix pages, so that these pages can be accessed directly via the
H A Dkvm-s390.h63 return vcpu->arch.sie_block->prefix << GUEST_PREFIX_SHIFT; kvm_s390_get_prefix()
66 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) kvm_s390_set_prefix() argument
68 vcpu->arch.sie_block->prefix = prefix >> GUEST_PREFIX_SHIFT; kvm_s390_set_prefix()
H A Dsigp.c188 .u.prefix.address = address & 0x7fffe000u, __sigp_set_prefix()
197 if (kvm_is_error_gpa(vcpu->kvm, irq.u.prefix.address)) { __sigp_set_prefix()
209 VCPU_EVENT(vcpu, 4, "set prefix of cpu %02x to %x", __sigp_set_prefix()
210 dst_vcpu->vcpu_id, irq.u.prefix.address); __sigp_set_prefix()
H A Dinterrupt.c420 struct kvm_s390_prefix_info prefix; __deliver_set_prefix() local
423 prefix = li->irq.prefix; __deliver_set_prefix()
424 li->irq.prefix.address = 0; __deliver_set_prefix()
428 VCPU_EVENT(vcpu, 4, "interrupt: set prefix to %x", prefix.address); __deliver_set_prefix()
432 prefix.address, 0); __deliver_set_prefix()
434 kvm_s390_set_prefix(vcpu, prefix.address); __deliver_set_prefix()
1073 struct kvm_s390_prefix_info *prefix = &li->irq.prefix; __inject_set_prefix() local
1075 VCPU_EVENT(vcpu, 3, "inject: set prefix to %x (from user)", __inject_set_prefix()
1076 irq->u.prefix.address); __inject_set_prefix()
1078 irq->u.prefix.address, 0, 2); __inject_set_prefix()
1083 *prefix = irq->u.prefix; __inject_set_prefix()
1481 irq->u.prefix.address = s390int->parm; s390int_to_s390irq()
2210 irq->u.prefix = li->irq.prefix; store_local_irq()
/linux-4.1.27/drivers/acpi/acpica/
H A Dacapps.h72 #define ACPI_COMMON_HEADER(utility_name, prefix) \
74 prefix, ACPICA_NAME, \
75 prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \
76 prefix, ACPICA_COPYRIGHT, \
77 prefix
116 char *filename, char *prefix, char **out_filename);
166 char *ad_generate_filename(char *prefix, char *table_id);
H A Dexnames.c69 * string is long enough, and set up prefix if any.
273 * Examine first character of name for root or parent prefix operators acpi_ex_get_name_string()
310 /* Not a prefix character */ acpi_ex_get_name_string()
315 /* Examine first character of name for name segment prefix operator */ acpi_ex_get_name_string()
332 /* Indicate that we processed a prefix */ acpi_ex_get_name_string()
364 /* Indicate that we processed a prefix */ acpi_ex_get_name_string()
418 /* Ran out of segments after processing a prefix */ acpi_ex_get_name_string()
H A Dutxfmutex.c61 * PARAMETERS: handle - Mutex or prefix handle (optional)
121 * PARAMETERS: handle - Mutex or prefix handle (optional)
158 * PARAMETERS: handle - Mutex or prefix handle (optional)
H A Dnsaccess.c315 /* Get the prefix scope. A null scope means use the root scope */ acpi_ns_lookup()
319 "Null scope prefix, using root node (%p)\n", acpi_ns_lookup()
371 * optional scope prefix followed by a name segment part. acpi_ns_lookup()
373 * If present, the scope prefix is either a Root Prefix (in acpi_ns_lookup()
396 "Searching relative to prefix scope [%4.4s] (%p)\n", acpi_ns_lookup()
402 * the parent node for each prefix instance. acpi_ns_lookup()
413 * Point past this prefix to the name segment acpi_ns_lookup()
452 * Examine the name prefix opcode, if any, to determine the number of acpi_ns_lookup()
504 * Not a Null name, no Dual or Multi prefix, hence there is acpi_ns_lookup()
/linux-4.1.27/fs/xfs/
H A Dxfs_xattr.c78 .prefix = XATTR_USER_PREFIX,
85 .prefix = XATTR_TRUSTED_PREFIX,
92 .prefix = XATTR_SECURITY_PREFIX,
122 return xfs_xattr_security_handler.prefix; xfs_xattr_prefix()
124 return xfs_xattr_trusted_handler.prefix; xfs_xattr_prefix()
126 return xfs_xattr_user_handler.prefix; xfs_xattr_prefix()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Domapdss-boot-init.c35 static const char prefix[] __initconst = "omapdss,";
79 strcpy(dst, prefix); omapdss_prefix_strcpy()
80 dst += strlen(prefix); omapdss_prefix_strcpy()
107 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) omapdss_omapify_node()
112 new_len = prop->length + strlen(prefix) * num_strs; omapdss_omapify_node()
/linux-4.1.27/arch/s390/mm/
H A Dmaccess.c113 unsigned long cr0, flags, prefix; memcpy_absolute() local
118 prefix = store_prefix(); memcpy_absolute()
119 if (prefix) { memcpy_absolute()
123 set_prefix(prefix); memcpy_absolute()
159 * Check if physical address is within prefix or zero page
180 * For swapped prefix pages a new buffer is returned that contains a copy of
/linux-4.1.27/drivers/net/can/softing/
H A Dsofting_platform.h7 /* softing firmware directory prefix */
/linux-4.1.27/drivers/s390/net/
H A Dsmsgiucv.c35 const char *prefix; member in struct:smsg_callback
96 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { smsg_message_pending()
105 int smsg_register_callback(const char *prefix, smsg_register_callback() argument
113 cb->prefix = prefix; smsg_register_callback()
114 cb->len = strlen(prefix); smsg_register_callback()
122 void smsg_unregister_callback(const char *prefix, smsg_unregister_callback() argument
132 strcmp(tmp->prefix, prefix) == 0) { smsg_unregister_callback()
H A Dsmsgiucv_app.c5 * "APP" prefix. Incoming messages are delivered to user space
27 /* prefix used for SMSG registration */
88 /* setting up environment: sender, prefix name, and message text */ smsg_app_event_alloc()
129 /* get start of message text (skip prefix and leading blanks) */ smsg_app_callback()
/linux-4.1.27/arch/powerpc/boot/
H A Dstdlib.c15 /* Not currently supported: leading whitespace, sign, 0x prefix, zero base */ strtoull()
H A Dwrapper18 # -C prefix specify command prefix for cross-building tools
45 # cross-compilation prefix
61 echo ' [-d devtree] [-s tree.dts] [-c] [-C cross-prefix]' >&2
/linux-4.1.27/tools/iio/
H A Dlsiio.c33 static inline int check_prefix(const char *str, const char *prefix) check_prefix() argument
35 return strlen(str) > strlen(prefix) && check_prefix()
36 strncmp(str, prefix, strlen(prefix)) == 0; check_prefix()
/linux-4.1.27/tools/lib/lockdep/
H A DMakefile17 # Allow setting CC and AR and LD, or setting CROSS_COMPILE as a prefix.
31 prefix ?= /usr/local macro
33 libdir = $(prefix)/$(libdir_relative)
35 bindir = $(prefix)/$(bindir_relative)
/linux-4.1.27/include/linux/ceph/
H A Dceph_debug.h9 * wrap pr_debug to include a filename:lineno prefix on each line.
/linux-4.1.27/arch/um/drivers/
H A Dchan_user.h46 #define __channel_help(fn, prefix) \
47 __uml_help(fn, prefix "[0-9]*=<channel description>\n" \
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-misc.c67 const char *prefix, const char *suffix) flexcop_device_name()
70 prefix, flexcop_device_names[fc->dev_type], flexcop_device_name()
66 flexcop_device_name(struct flexcop_device *fc, const char *prefix, const char *suffix) flexcop_device_name() argument
H A Dflexcop-common.h24 #warning please define a log prefix for your file, using a default one
171 const char *prefix, const char *suffix);
/linux-4.1.27/include/uapi/linux/
H A Dif_addr.h9 __u8 ifa_prefixlen; /* The prefix length */
17 * IFA_ADDRESS is prefix address, rather than local interface address.
H A Dif_tunnel.h90 struct in6_addr prefix; member in struct:ip_tunnel_6rd
H A Dipv6_route.h22 #define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */
H A Datmbr2684.h100 __be32 prefix; /* network byte order */ member in struct:br2684_filter
/linux-4.1.27/arch/powerpc/include/asm/
H A Dftrace.h70 * prefix from the symbol name and the sys prefix from the system call name and arch_syscall_match_sym_name()
H A Dbitops.h57 #define DEFINE_BITOP(fn, op, prefix) \
64 prefix \
102 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \
110 prefix \
/linux-4.1.27/net/wimax/
H A Ddebugfs.c31 #define __debugfs_register(prefix, name, parent) \
33 result = d_level_register_debugfs(prefix, name, parent); \
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtrace.h299 TP_PROTO(const char *msg, const char *prefix,
302 TP_ARGS(msg, prefix, buf, buf_len),
306 __string(prefix, prefix)
313 __assign_str(prefix, prefix);
319 "%s/%s\n", __get_str(prefix), __get_str(msg)
H A Ddebug.h66 const char *msg, const char *prefix,
90 const char *msg, const char *prefix, ath6kl_dbg_dump()
89 ath6kl_dbg_dump(enum ATH6K_DEBUG_MASK mask, const char *msg, const char *prefix, const void *buf, size_t len) ath6kl_dbg_dump() argument
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c244 char *prefix = "Lustre", *ptype = NULL; cfs_print_to_console() local
247 prefix = dbghdr_to_err_string(hdr); cfs_print_to_console()
250 prefix = dbghdr_to_err_string(hdr); cfs_print_to_console()
253 prefix = dbghdr_to_info_string(hdr); cfs_print_to_console()
256 prefix = dbghdr_to_info_string(hdr); cfs_print_to_console()
261 printk("%s%s: %.*s", ptype, prefix, len, buf); cfs_print_to_console()
263 printk("%s%s: %d:%d:(%s:%d:%s()) %.*s", ptype, prefix, cfs_print_to_console()
/linux-4.1.27/arch/x86/include/asm/
H A Dinsn.h39 * prefixes.bytes[3]: last prefix
41 struct insn_field rex_prefix; /* REX prefix */
42 struct insn_field vex_prefix; /* VEX prefix */
159 /* Get the last prefix id from last prefix or VEX prefix */ insn_last_prefix_id()
163 return insn_vex_p_bits(insn); /* VEX_p is a SIMD prefix id */ insn_last_prefix_id()
H A Darch_hweight.h5 /* popcnt %edi, %eax -- redundant REX prefix for alignment */
H A Dinat.h46 /* x86-64 REX prefix */
49 #define INAT_PFX_VEX2 13 /* 2-bytes VEX prefix */
50 #define INAT_PFX_VEX3 14 /* 3-bytes VEX prefix */
64 /* Legacy prefix */
H A Dlocal.h124 /* Always has a lock prefix */
154 * because they dont use a lock prefix.
H A Dcmpxchg_32.h19 * cmpxchg8b must be used with the lock prefix here to allow the
/linux-4.1.27/fs/squashfs/
H A Dxattr.c137 int type, prefix, name_size; squashfs_xattr_get() local
146 prefix = type & SQUASHFS_XATTR_PREFIX_MASK; squashfs_xattr_get()
148 if (prefix == name_index && name_size == name_len) squashfs_xattr_get()
157 if (prefix == name_index && name_size == name_len && squashfs_xattr_get()
237 .prefix = XATTR_USER_PREFIX,
267 .prefix = XATTR_TRUSTED_PREFIX,
294 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/tools/lib/traceevent/
H A DMakefile23 # Allow setting CC and AR, or setting CROSS_COMPILE as a prefix.
37 prefix ?= /usr/local macro
39 bindir = $(prefix)/$(bindir_relative)
40 man_dir = $(prefix)/share/man
57 ifeq ($(prefix),$(HOME))
61 override plugin_dir = $(prefix)/lib/traceevent/plugins
88 export prefix bindir src obj
H A Devent-plugin.c265 * @prefix: The prefix string to add before listing the option name
270 * returned by traceevent_load_plugins(). Use @prefix and @suffix for formating:
271 * @prefix = " ", @suffix = "\n".
274 const char *prefix, const char *suffix, traceevent_print_plugins()
278 trace_seq_printf(s, "%s%s%s", prefix, list->name, suffix); traceevent_print_plugins()
273 traceevent_print_plugins(struct trace_seq *s, const char *prefix, const char *suffix, const struct plugin_list *list) traceevent_print_plugins() argument
/linux-4.1.27/arch/tile/include/uapi/arch/
H A Dabi.h53 /** String prefix to use for printf(). */
66 /** String prefix to use for printf(). */
84 /** String prefix to use for printf(). */
/linux-4.1.27/arch/ia64/kernel/
H A Defi.c61 #define STUB_GET_TIME(prefix, adjust_arg) \
63 prefix##_get_time (efi_time_t *tm, efi_time_cap_t *tc) \
72 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \
78 #define STUB_SET_TIME(prefix, adjust_arg) \
80 prefix##_set_time (efi_time_t *tm) \
86 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \
92 #define STUB_GET_WAKEUP_TIME(prefix, adjust_arg) \
94 prefix##_get_wakeup_time (efi_bool_t *enabled, efi_bool_t *pending, \
101 ret = efi_call_##prefix( \
108 #define STUB_SET_WAKEUP_TIME(prefix, adjust_arg) \
110 prefix##_set_wakeup_time (efi_bool_t enabled, efi_time_t *tm) \
119 ret = efi_call_##prefix( \
126 #define STUB_GET_VARIABLE(prefix, adjust_arg) \
128 prefix##_get_variable (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, \
138 ret = efi_call_##prefix( \
146 #define STUB_GET_NEXT_VARIABLE(prefix, adjust_arg) \
148 prefix##_get_next_variable (unsigned long *name_size, efi_char16_t *name, \
155 ret = efi_call_##prefix( \
162 #define STUB_SET_VARIABLE(prefix, adjust_arg) \
164 prefix##_set_variable (efi_char16_t *name, efi_guid_t *vendor, \
172 ret = efi_call_##prefix( \
180 #define STUB_GET_NEXT_HIGH_MONO_COUNT(prefix, adjust_arg) \
182 prefix##_get_next_high_mono_count (u32 *count) \
188 ret = efi_call_##prefix((efi_get_next_high_mono_count_t *) \
195 #define STUB_RESET_SYSTEM(prefix, adjust_arg) \
197 prefix##_reset_system (int reset_type, efi_status_t status, \
207 efi_call_##prefix( \
/linux-4.1.27/arch/m68k/lib/
H A Dmulsi3.S55 /* Use the right prefix for global labels. */
59 /* Use the right prefix for registers. */
63 /* Use the right prefix for immediate values. */
H A Ddivsi3.S55 /* Use the right prefix for global labels. */
59 /* Use the right prefix for registers. */
63 /* Use the right prefix for immediate values. */
H A Dmodsi3.S55 /* Use the right prefix for global labels. */
59 /* Use the right prefix for registers. */
63 /* Use the right prefix for immediate values. */
H A Dumodsi3.S55 /* Use the right prefix for global labels. */
59 /* Use the right prefix for registers. */
63 /* Use the right prefix for immediate values. */
H A Dudivsi3.S55 /* Use the right prefix for global labels. */
59 /* Use the right prefix for registers. */
63 /* Use the right prefix for immediate values. */
/linux-4.1.27/fs/reiserfs/
H A Dxattr_trusted.c52 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c48 .prefix = XATTR_USER_PREFIX,
H A Dxattr_security.c116 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/fs/jffs2/
H A Dxattr_trusted.c51 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c51 .prefix = XATTR_USER_PREFIX,
H A Dsecurity.c85 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/fs/ext2/
H A Dxattr_trusted.c50 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c57 .prefix = XATTR_USER_PREFIX,
H A Dxattr_security.c70 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/fs/ext3/
H A Dxattr_trusted.c50 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c54 .prefix = XATTR_USER_PREFIX,
H A Dxattr_security.c74 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/fs/ext4/
H A Dxattr_trusted.c54 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_security.c78 .prefix = XATTR_SECURITY_PREFIX,
H A Dxattr_user.c57 .prefix = XATTR_USER_PREFIX,
/linux-4.1.27/tools/thermal/tmon/
H A DMakefile47 git archive --format=tar --prefix="$(TARGET)-$(VERSION)/" v$(VERSION) | \
/linux-4.1.27/drivers/misc/cb710/
H A Ddebug.c20 static const char *const prefix[ARRAY_SIZE(allow)] = { variable
79 dev_dbg(dev, "%s 0x%02X %s\n", prefix[i], i << 4, msg); \
/linux-4.1.27/drivers/scsi/
H A Dsr.h59 #define sr_printk(prefix, cd, fmt, a...) \
60 sdev_prefix_printk(prefix, (cd)->device, (cd)->cdi.name, fmt, ##a)
H A Dsd.h104 #define sd_printk(prefix, sdsk, fmt, a...) \
106 sdev_prefix_printk(prefix, (sdsk)->device, \
108 sdev_printk(prefix, (sdsk)->device, fmt, ##a)
110 #define sd_first_printk(prefix, sdsk, fmt, a...) \
113 sd_printk(prefix, sdsk, fmt, ##a); \
H A D53c700.h25 #define DDEBUG(prefix, sdev, fmt, a...) \
26 sdev_printk(prefix, sdev, fmt, ##a)
27 #define CDEBUG(prefix, scmd, fmt, a...) \
28 scmd_printk(prefix, scmd, fmt, ##a)
31 #define DDEBUG(prefix, scmd, fmt, a...) do {} while (0)
32 #define CDEBUG(prefix, scmd, fmt, a...) do {} while (0)
H A Dscript_asm.pl56 #$prefix; # (set by perl -s)
57 # define all arrays having this prefix so we
900 print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n";
933 if (defined($prefix) && $prefix ne '') {
934 printf OUTPUT "#define A_".$i."_used ".$prefix."A_".$i."_used\n";
961 printf OUTPUT "static u32 ".$prefix."LABELPATCHES[] __attribute((unused)) = {\n";
969 "} ".$prefix."EXTERNAL_PATCHES[] __attribute((unused)) = {\n";
977 printf OUTPUT "static u32 ".$prefix."INSTRUCTIONS __attribute((unused))\t= %d;\n",
979 printf OUTPUT "static u32 ".$prefix."PATCHES __attribute((unused))\t= %d;\n",
981 printf OUTPUT "static u32 ".$prefix."EXTERNAL_PATCHES_LEN __attribute((unused))\t= %d;\n",
/linux-4.1.27/arch/s390/kernel/
H A Dswsusp.S36 /* Store prefix register on stack */
39 /* Save prefix register contents for lowcore copy */
49 mvc 0x318(4,%r1),__SF_EMPTY(%r15) /* move prefix to lowcore */
90 /* Set prefix page to zero */
114 /* Restore prefix register and return */
139 /* Set prefix page to zero */
273 /* Save prefix register */
285 /* Restore prefix register */
/linux-4.1.27/drivers/hwmon/
H A Dw83l785ts.c238 const char *prefix; w83l785ts_read_value() local
246 prefix = ""; w83l785ts_read_value()
249 prefix = "w83l785ts: "; w83l785ts_read_value()
261 prefix, value, reg); w83l785ts_read_value()
264 dev_dbg(dev, "%sRead failed, will retry in %d.\n", prefix, i); w83l785ts_read_value()
268 dev_err(dev, "%sCouldn't read value from register 0x%02x.\n", prefix, w83l785ts_read_value()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c370 prefix, prefix, prefix); aic_print_reg_dump_types()
381 prefix, aic_print_reg_dump_start()
414 prefix, aic_print_reg_dump_end()
416 prefix, aic_print_reg_dump_end()
432 prefix, aic_print_reg_dump_end()
433 prefix, aic_print_reg_dump_end()
435 prefix, aic_print_reg_dump_end()
437 prefix, aic_print_reg_dump_end()
H A Daicasm_gram.y68 char *prefix = stock_prefix;
238 | prefix
239 | program prefix
281 prefix: label
284 if (prefix != stock_prefix)
287 prefix = strdup($3);
288 if (prefix == NULL)
289 stop("Unable to record prefix", EX_SOFTWARE);
1963 const char prefix[] = " * ";
1967 newlen = strlen(verstring) + strlen(prefix);
1974 strcpy(&versions[oldlen], prefix);
1975 strcpy(&versions[oldlen + strlen(prefix)], verstring);
H A Daicasm.c395 "typedef int %spatch_func_t (%s);\n", prefix, patch_arg_list); output_code()
408 prefix, output_code()
409 prefix, output_code()
411 prefix, output_code()
423 "} patches[] = {\n", prefix); output_code()
430 prefix, output_code()
/linux-4.1.27/tools/perf/Documentation/
H A DMakefile37 # Make the path relative to DESTDIR, not prefix
39 prefix?=$(HOME) macro
41 bindir?=$(prefix)/bin
42 htmldir?=$(prefix)/share/doc/perf-doc
43 pdfdir?=$(prefix)/share/doc/perf-doc
44 mandir?=$(prefix)/share/man
58 infodir?=$(prefix)/share/info
/linux-4.1.27/drivers/staging/lustre/lustre/fid/
H A Dfid_request.c452 const char *prefix, seq_client_init()
458 LASSERT(prefix != NULL); seq_client_init()
479 "cli-%s", prefix); seq_client_init()
505 char *prefix; client_fid_init() local
512 OBD_ALLOC(prefix, MAX_OBD_NAME + 5); client_fid_init()
513 if (prefix == NULL) { client_fid_init()
518 snprintf(prefix, MAX_OBD_NAME + 5, "cli-%s", obd->obd_name); client_fid_init()
521 rc = seq_client_init(cli->cl_seq, exp, type, prefix, NULL); client_fid_init()
522 OBD_FREE(prefix, MAX_OBD_NAME + 5); client_fid_init()
449 seq_client_init(struct lu_client_seq *seq, struct obd_export *exp, enum lu_cli_type type, const char *prefix, struct lu_server_seq *srv) seq_client_init() argument
/linux-4.1.27/arch/x86/lib/
H A Dinsn.c75 * insn_get_prefixes - scan x86 instruction prefix bytes
97 /* Skip if same prefix */ insn_get_prefixes()
122 /* Set the last prefix */ insn_get_prefixes()
125 /* Swap the last prefix */ insn_get_prefixes()
134 /* Decode REX prefix */ insn_get_prefixes()
149 /* Decode VEX prefix */ insn_get_prefixes()
199 * If necessary, first collects any preceding (prefix) bytes.
218 /* Check if there is VEX prefix or not */ insn_get_opcode()
359 * address size = 2 (0x67 prefix in 32-bit mode) insn_get_displacement()
/linux-4.1.27/fs/f2fs/
H A Dxattr.c33 const char *prefix = NULL; f2fs_xattr_generic_list() local
39 prefix = XATTR_USER_PREFIX; f2fs_xattr_generic_list()
45 prefix = XATTR_TRUSTED_PREFIX; f2fs_xattr_generic_list()
49 prefix = XATTR_SECURITY_PREFIX; f2fs_xattr_generic_list()
58 memcpy(list, prefix, prefix_len); f2fs_xattr_generic_list()
186 .prefix = XATTR_USER_PREFIX,
194 .prefix = XATTR_TRUSTED_PREFIX,
202 .prefix = F2FS_SYSTEM_ADVISE_PREFIX,
210 .prefix = XATTR_SECURITY_PREFIX,
/linux-4.1.27/fs/affs/
H A Dsuper.c174 {Opt_prefix, "prefix=%s"},
191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options()
239 *prefix = match_strdup(&args[0]); parse_options()
240 if (!*prefix) parse_options()
526 char *prefix = NULL; affs_remount() local
539 &blocksize, &prefix, volume, affs_remount()
541 kfree(prefix); affs_remount()
556 if (prefix) { affs_remount()
558 sbi->s_prefix = prefix; affs_remount()
190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options() argument
/linux-4.1.27/arch/x86/tools/
H A Dgen-insn-attr-x86.awk76 # accepts VEX prefix
79 # All opcodes with (v) superscript supports *only* VEX prefix
313 # check REX prefix
330 semantic_error("Unknown prefix: " opcode)
335 # check if last prefix
/linux-4.1.27/lib/
H A Dhexdump.c209 * @prefix_str: string to prefix each line with;
211 * @prefix_type: controls whether prefix of an offset, address, or none
221 * leading prefix.
274 * @prefix_str: string to prefix each line with;
276 * @prefix_type: controls whether prefix of an offset, address, or none
H A Dstring.c811 unsigned int words, prefix; memchr_inv() local
828 prefix = (unsigned long)start % 8; memchr_inv()
829 if (prefix) { memchr_inv()
832 prefix = 8 - prefix; memchr_inv()
833 r = check_bytes8(start, value, prefix); memchr_inv()
836 start += prefix; memchr_inv()
837 bytes -= prefix; memchr_inv()
H A Dcpu_rmap.c114 static void debug_print_rmap(const struct cpu_rmap *rmap, const char *prefix) debug_print_rmap() argument
119 pr_info("cpu_rmap %p, %s:\n", rmap, prefix); debug_print_rmap()
129 debug_print_rmap(const struct cpu_rmap *rmap, const char *prefix) debug_print_rmap() argument
/linux-4.1.27/drivers/firmware/
H A Ddmi-id.c74 const char *prefix; get_modalias() member in struct:mafield
99 for (f = fields; f->prefix && left > 0; f++) { get_modalias()
111 l = scnprintf(p, left, ":%s%s", f->prefix, t); get_modalias()
/linux-4.1.27/scripts/
H A Dconfig6 # If no prefix forced, use the default CONFIG_
44 $myname uses 'CONFIG_' as the default symbol prefix. Set the environment
45 variable CONFIG_ to the prefix to use. Eg.: CONFIG_="FOO_" $myname ...
H A Dkallsyms.c75 "[--symbol-prefix=<prefix char>] " usage()
132 /* skip prefix char */ read_symbol()
227 /* skip prefix char */ symbol_valid()
664 /* sort by the number of prefix underscores */ compare_symbols()
697 else if (strncmp(argv[i], "--symbol-prefix=", 16) == 0) { main()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c107 nouveau_vram_manager_debug(struct ttm_mem_type_manager *man, const char *prefix) nouveau_vram_manager_debug() argument
117 prefix, r->type, ((u64)r->offset << 12), nouveau_vram_manager_debug()
127 prefix, (u64)total << 12, (u64)free << 12); nouveau_vram_manager_debug()
129 prefix, mm->block_size << 12); nouveau_vram_manager_debug()
196 nouveau_gart_manager_debug(struct ttm_mem_type_manager *man, const char *prefix) nouveau_gart_manager_debug() argument
269 nv04_gart_manager_debug(struct ttm_mem_type_manager *man, const char *prefix) nv04_gart_manager_debug() argument
/linux-4.1.27/mm/kasan/
H A Dkasan.c170 unsigned int prefix = (unsigned long)start % 8; memory_is_zero() local
175 if (prefix) { memory_is_zero()
176 prefix = 8 - prefix; memory_is_zero()
177 ret = bytes_is_zero(start, prefix); memory_is_zero()
180 start += prefix; memory_is_zero()
/linux-4.1.27/drivers/acpi/
H A Dutils.c47 char prefix[80] = {'\0'}; acpi_util_eval_error() local
48 struct acpi_buffer buffer = {sizeof(prefix), prefix}; acpi_util_eval_error()
51 (char *) prefix, p, acpi_format_exception(s))); acpi_util_eval_error()
494 * acpi_handle_printk: Print message with ACPI prefix and object path
497 * a message with ACPI prefix and object path. This function acquires
522 * __acpi_handle_debug: pr_debug with ACPI prefix and object path
525 * prints a message with ACPI prefix and object path. This function
/linux-4.1.27/fs/cifs/
H A Dxattr.c38 /* BB need to add server (Samba e.g) support for security and trusted prefix */
79 /* BB what if no namespace prefix? */ cifs_removexattr()
86 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_removexattr()
154 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_setxattr()
164 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ cifs_setxattr()
221 /* BB what if no namespace prefix? */ cifs_setxattr()
281 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_getxattr()
290 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ cifs_getxattr()
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_log_arp.c85 const char *prefix) nf_log_arp_packet()
99 prefix); nf_log_arp_packet()
80 nf_log_arp_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) nf_log_arp_packet() argument
/linux-4.1.27/tools/perf/tests/
H A Dfdarray.c17 static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp) fdarray__fprintf_prefix() argument
24 printed += fprintf(fp, "\n%s: ", prefix); fdarray__fprintf_prefix()
/linux-4.1.27/sound/soc/generic/
H A Dsimple-card.c262 char *prefix, int idx) asoc_simple_card_parse_daifmt()
270 daifmt = snd_soc_of_parse_daifmt(node, prefix, asoc_simple_card_parse_daifmt()
274 if (strlen(prefix) && !bitclkmaster && !framemaster) { asoc_simple_card_parse_daifmt()
313 char *prefix = ""; asoc_simple_card_dai_link_of() local
318 prefix = "simple-audio-card,"; asoc_simple_card_dai_link_of()
320 snprintf(prop, sizeof(prop), "%scpu", prefix); asoc_simple_card_dai_link_of()
323 snprintf(prop, sizeof(prop), "%scodec", prefix); asoc_simple_card_dai_link_of()
333 codec, prefix, idx); asoc_simple_card_dai_link_of()
259 asoc_simple_card_parse_daifmt(struct device_node *node, struct simple_card_data *priv, struct device_node *codec, char *prefix, int idx) asoc_simple_card_parse_daifmt() argument
/linux-4.1.27/tools/perf/config/
H A DMakefile621 # this is interpreted as relative to $(prefix) and "perf" at
625 # Make the path relative to DESTDIR, not to prefix
627 prefix ?= $(HOME) macro
630 bindir = $(prefix)/$(bindir_relative)
634 sharedir = $(prefix)/share
637 ifeq ($(prefix),/usr)
641 sysconfdir = $(prefix)/etc
651 libdir = $(prefix)/$(lib)
662 prefix_SQ = $(subst ','\'',$(prefix))
669 perfexec_instdir = $(prefix)/$(perfexecdir)
687 $(call print_var,prefix)
/linux-4.1.27/drivers/firmware/efi/libstub/
H A DMakefile39 OBJCOPYFLAGS := --prefix-alloc-sections=.init
/linux-4.1.27/arch/x86/mm/kmemcheck/
H A Dopcode.c50 /* REX prefix */ kmemcheck_opcode_decode()
/linux-4.1.27/arch/unicore32/
H A DMakefile15 CROSS_COMPILE := $(call cc-cross-prefix, unicore32-linux-)
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/
H A Dmangle-port.h48 * string I/O functions), hence the "__mem_" prefix.
/linux-4.1.27/arch/mips/include/asm/mach-generic/
H A Dmangle-port.h26 * string I/O functions), hence the "__mem_" prefix.
/linux-4.1.27/include/media/
H A Dv4l2-dv-timings.h106 * @dev_prefix:device prefix for each log line.
107 * @prefix: additional prefix for each log line, may be NULL.
111 void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
/linux-4.1.27/arch/s390/include/asm/
H A Dkexec.h48 * tod_cmp, tod_reg, control regs, and prefix
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dmangle-port.h23 * string I/O functions), hence the "__mem_" prefix.
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dbug.h20 unsigned short prefix; member in struct:bug_frame
/linux-4.1.27/net/batman-adv/
H A Dsysfs.h24 * BATADV_SYSFS_VLAN_SUBDIR_PREFIX - prefix of the subfolder that will be
/linux-4.1.27/scripts/dtc/
H A Ddtc.c33 static void fill_fullpaths(struct node *tree, const char *prefix) fill_fullpaths() argument
38 tree->fullpath = join_path(prefix, tree->name); fill_fullpaths()
98 "\n\tEnable/disable warnings (prefix with \"no-\")",
99 "\n\tEnable/disable errors (prefix with \"no-\")",
/linux-4.1.27/fs/9p/
H A Dxattr_security.c77 .prefix = XATTR_SECURITY_PREFIX,
H A Dxattr_trusted.c77 .prefix = XATTR_TRUSTED_PREFIX,
H A Dxattr_user.c77 .prefix = XATTR_USER_PREFIX,
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dtrace.h117 TP_PROTO(struct ath10k *ar, const char *msg, const char *prefix,
120 TP_ARGS(ar, msg, prefix, buf, buf_len),
126 __string(prefix, prefix)
135 __assign_str(prefix, prefix);
144 __get_str(prefix),
H A Ddebug.h148 const char *msg, const char *prefix,
161 const char *msg, const char *prefix, ath10k_dbg_dump()
159 ath10k_dbg_dump(struct ath10k *ar, enum ath10k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) ath10k_dbg_dump() argument
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Ddebug.c282 struct sk_buff *skb, const char *prefix, char *buf, carl9170_debugfs_format_frame()
291 "pc:%.8x, to:%d ms\n", prefix, skb, txc->s.cookie, carl9170_debugfs_format_frame()
337 char prefix[32]; carl9170_debugfs_ampdu_state_read() local
339 snprintf(prefix, sizeof(prefix), "\t\t%3d :", fc); carl9170_debugfs_ampdu_state_read()
340 carl9170_debugfs_format_frame(ar, skb, prefix, buf, carl9170_debugfs_ampdu_state_read()
358 char prefix[16]; carl9170_debugfs_queue_dump() local
363 snprintf(prefix, sizeof(prefix), "%3d :", fc); skb_queue_walk()
364 carl9170_debugfs_format_frame(ar, skb, prefix, buf, skb_queue_walk()
281 carl9170_debugfs_format_frame(struct ar9170 *ar, struct sk_buff *skb, const char *prefix, char *buf, ssize_t *off, ssize_t bufsize) carl9170_debugfs_format_frame() argument
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_vli.h83 * this particular encoding is chosen so that the prefix code
91 prefix data bits max val NÂș data bits
124 /* LEVEL: (total bits, prefix bits, prefix value),
197 * Code length is determined by some unique (e.g. unary) prefix.
/linux-4.1.27/sound/usb/bcd2000/
H A Dbcd2000.c77 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) bcd2000_dump_buffer() argument
79 print_hex_dump(KERN_DEBUG, prefix, bcd2000_dump_buffer()
84 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) {} bcd2000_dump_buffer() argument
146 /* copy command prefix bytes */ bcd2000_midi_send()
151 * get MIDI packet and leave space for command prefix bcd2000_midi_send()
/linux-4.1.27/drivers/s390/char/
H A Dzcore.c259 unsigned long prefix; zcore_add_lc() local
263 prefix = save_area->pref_reg; zcore_add_lc()
264 sa_start = prefix + sys_info.sa_base; zcore_add_lc()
265 sa_end = prefix + sys_info.sa_base + sys_info.sa_size; zcore_add_lc()
352 * expect register sets in the prefix pages of the cpus, zcore_read()
582 u32 prefix; zcore_header_init() local
596 prefix = dump_save_areas.areas[i]->sa.pref_reg; zcore_header_init()
598 if (!prefix) zcore_header_init()
600 hdr->lc_vec[hdr->cpu_cnt] = prefix; zcore_header_init()
/linux-4.1.27/drivers/gpio/
H A Dgpiolib.h116 /* With descriptor prefix */
137 /* With chip prefix */
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_bo_manager.c141 const char *prefix) ttm_bo_man_debug()
146 drm_mm_debug_table(&rman->mm, prefix); ttm_bo_man_debug()
140 ttm_bo_man_debug(struct ttm_mem_type_manager *man, const char *prefix) ttm_bo_man_debug() argument
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmrid_manager.c160 const char *prefix) vmw_gmrid_man_debug()
163 "id manager.\n", prefix); vmw_gmrid_man_debug()
159 vmw_gmrid_man_debug(struct ttm_mem_type_manager *man, const char *prefix) vmw_gmrid_man_debug() argument
/linux-4.1.27/fs/jfs/
H A Djfs_metapage.h25 /* Common logsyncblk prefix (see jfs_logmgr.h) */
31 /* End of logsyncblk prefix */
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dkvm.h156 __u64 prefix; /* prefix register */ member in struct:kvm_sync_regs
/linux-4.1.27/arch/powerpc/kernel/
H A Dcpu_setup_ppc970.S56 mtspr SPRN_HIOR,0 /* Clear interrupt prefix */
165 /* Clear interrupt prefix */
/linux-4.1.27/net/xfrm/
H A Dxfrm_hash.h61 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ __xfrm6_pref_hash()
62 pbi = prefixlen & 0x1f; /* num of bits in incomplete u32 in prefix */ __xfrm6_pref_hash()
/linux-4.1.27/drivers/mtd/maps/
H A Dimpa7.c27 #define MSG_PREFIX "impA7:" /* prefix for our printk()'s */
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h75 #define wl1251_dump(level, prefix, buf, len) \
78 print_hex_dump(KERN_DEBUG, DRIVER_PREFIX prefix, \
85 #define wl1251_dump_ascii(level, prefix, buf, len) \
88 print_hex_dump(KERN_DEBUG, DRIVER_PREFIX prefix, \
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfwil.c299 const s8 *prefix = "bsscfg:"; brcmf_create_bsscfg() local
309 prefixlen = strlen(prefix); brcmf_create_bsscfg()
320 /* copy prefix, no null */ brcmf_create_bsscfg()
321 memcpy(p, prefix, prefixlen); brcmf_create_bsscfg()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dstorcenter.c103 /* Set exception prefix high - to the firmware */ storcenter_restart()
/linux-4.1.27/arch/arm64/include/asm/
H A Dfpsimd.h28 * Note that user_fpsimd forms a prefix of this structure, which is
/linux-4.1.27/Documentation/spi/
H A Dspidev_test.c52 static void hex_dump(const void *src, size_t length, size_t line_size, char *prefix) hex_dump() argument
59 printf("%s | ", prefix); hex_dump()
74 printf("%s | ", prefix); hex_dump()
/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_hash_ip.c37 /* Type specific function prefix */
189 hash_ip6_netmask(union nf_inet_addr *ip, u8 prefix) hash_ip6_netmask() argument
191 ip6_netmask(ip, prefix); hash_ip6_netmask()
/linux-4.1.27/drivers/media/common/
H A Dcx2341x.c1184 void cx2341x_log_status(const struct cx2341x_mpeg_params *p, const char *prefix) cx2341x_log_status() argument
1190 prefix, cx2341x_log_status()
1196 prefix, cx2341x_log_status()
1201 prefix, cx2341x_log_status()
1206 prefix, cx2341x_log_status()
1216 prefix, cx2341x_log_status()
1221 prefix, p->video_temporal_decimation); cx2341x_log_status()
1225 prefix, cx2341x_log_status()
1243 prefix, cx2341x_log_status()
1253 prefix, cx2341x_log_status()
1259 prefix, cx2341x_log_status()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Devergreen_cs.c188 const char *prefix) evergreen_surface_check_linear()
199 const char *prefix) evergreen_surface_check_linear_aligned()
210 if (prefix) { evergreen_surface_check_linear_aligned()
212 __func__, __LINE__, prefix, surf->nbx, palign); evergreen_surface_check_linear_aligned()
221 const char *prefix) evergreen_surface_check_1d()
233 if (prefix) { evergreen_surface_check_1d()
235 __func__, __LINE__, prefix, surf->nbx, palign, evergreen_surface_check_1d()
241 if (prefix) { evergreen_surface_check_1d()
243 __func__, __LINE__, prefix, surf->nby); evergreen_surface_check_1d()
252 const char *prefix) evergreen_surface_check_2d()
276 if (prefix) { evergreen_surface_check_2d()
278 __func__, __LINE__, prefix, surf->nbx, palign); evergreen_surface_check_2d()
283 if (prefix) { evergreen_surface_check_2d()
285 __func__, __LINE__, prefix, surf->nby, halign); evergreen_surface_check_2d()
295 const char *prefix) evergreen_surface_check()
302 return evergreen_surface_check_linear(p, surf, prefix); evergreen_surface_check()
304 return evergreen_surface_check_linear_aligned(p, surf, prefix); evergreen_surface_check()
306 return evergreen_surface_check_1d(p, surf, prefix); evergreen_surface_check()
308 return evergreen_surface_check_2d(p, surf, prefix); evergreen_surface_check()
311 __func__, __LINE__, prefix, surf->mode); evergreen_surface_check()
319 const char *prefix) evergreen_surface_value_conv_check()
330 __func__, __LINE__, prefix, surf->mode); evergreen_surface_value_conv_check()
341 __func__, __LINE__, prefix, surf->nbanks); evergreen_surface_value_conv_check()
351 __func__, __LINE__, prefix, surf->bankw); evergreen_surface_value_conv_check()
361 __func__, __LINE__, prefix, surf->bankh); evergreen_surface_value_conv_check()
371 __func__, __LINE__, prefix, surf->mtilea); evergreen_surface_value_conv_check()
384 __func__, __LINE__, prefix, surf->tsplit); evergreen_surface_value_conv_check()
186 evergreen_surface_check_linear(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_check_linear() argument
197 evergreen_surface_check_linear_aligned(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_check_linear_aligned() argument
219 evergreen_surface_check_1d(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_check_1d() argument
250 evergreen_surface_check_2d(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_check_2d() argument
293 evergreen_surface_check(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_check() argument
317 evergreen_surface_value_conv_check(struct radeon_cs_parser *p, struct eg_surface *surf, const char *prefix) evergreen_surface_value_conv_check() argument
/linux-4.1.27/drivers/net/ppp/
H A Dbsd_comp.c120 unsigned short prefix; /* preceding code */ member in struct:bsd_dict::__anon7482::__anon7483
126 unsigned short prefix; /* preceding code */
206 #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \
207 ^ (unsigned long)(prefix))
208 #define BSD_KEY(prefix,suffix) ((((unsigned long)(suffix)) << 16) \
209 + (unsigned long)(prefix))
670 continue; /* found (prefix,suffix) */ bsd_compress()
691 ent = dictp->codem1 + 1; /* finally found (prefix,suffix) */ bsd_compress()
695 OUTPUT(ent); /* output the prefix */ bsd_compress()
1026 finchar = dictp->f.hs.prefix; bsd_decompress()
/linux-4.1.27/drivers/nfc/
H A Dtrf7970a.c647 unsigned int len, u8 *prefix, unsigned int prefix_len) trf7970a_transmit()
661 t[0].tx_buf = prefix; trf7970a_transmit()
709 u8 prefix; trf7970a_fill_fifo() local
731 prefix = TRF7970A_CMD_BIT_CONTINUOUS | TRF7970A_FIFO_IO_REGISTER; trf7970a_fill_fifo()
733 ret = trf7970a_transmit(trf, skb, len, &prefix, sizeof(prefix)); trf7970a_fill_fifo()
1446 u8 prefix[5]; trf7970a_send_cmd() local
1512 prefix[0] = TRF7970A_CMD_BIT_CTRL | trf7970a_send_cmd()
1514 prefix[1] = TRF7970A_CMD_BIT_CTRL | trf7970a_send_cmd()
1516 prefix[2] = TRF7970A_CMD_BIT_CONTINUOUS | TRF7970A_TX_LENGTH_BYTE1; trf7970a_send_cmd()
1519 prefix[3] = 0x00; trf7970a_send_cmd()
1520 prefix[4] = 0x0f; /* 7 bits */ trf7970a_send_cmd()
1522 prefix[3] = (len & 0xf00) >> 4; trf7970a_send_cmd()
1523 prefix[3] |= ((len & 0xf0) >> 4); trf7970a_send_cmd()
1524 prefix[4] = ((len & 0x0f) << 4); trf7970a_send_cmd()
1534 ret = trf7970a_transmit(trf, skb, len, prefix, sizeof(prefix)); trf7970a_send_cmd()
646 trf7970a_transmit(struct trf7970a *trf, struct sk_buff *skb, unsigned int len, u8 *prefix, unsigned int prefix_len) trf7970a_transmit() argument
/linux-4.1.27/arch/x86/math-emu/
H A Dfpu_entry.c211 ("FPU emulator: Unknown prefix byte 0x%02x, probably due to\n" math_emulate()
223 FPU_EIP++; /* We have fetched the prefix and first code bytes. */ math_emulate()
582 /* Support for prefix bytes is not yet complete. To properly handle
583 all prefix bytes, further changes are needed in the emulator code
629 /* lock is not a valid prefix for FPU instructions, valid_prefix()
653 /* Not a valid sequence of prefix bytes followed by valid_prefix()
/linux-4.1.27/include/linux/wimax/
H A Ddebug.h190 * @tag: tag to prefix the message with
428 * @prefix: string to prefix the name with
436 #define d_level_register_debugfs(prefix, name, parent) \
442 prefix #name, 0600, verify_parent_type, \
447 "%d\n", __func__, prefix #name, rc); \
/linux-4.1.27/kernel/trace/
H A Dtrace_output.c185 const char *prefix = ""; ftrace_print_array_seq() local
194 trace_seq_printf(p, "%s0x%x", prefix, ftrace_print_array_seq()
198 trace_seq_printf(p, "%s0x%x", prefix, ftrace_print_array_seq()
202 trace_seq_printf(p, "%s0x%x", prefix, ftrace_print_array_seq()
206 trace_seq_printf(p, "%s0x%llx", prefix, ftrace_print_array_seq()
214 prefix = ","; ftrace_print_array_seq()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_mech_switch.c72 static char *prefix = "gss/"; make_auth_domain_name() local
75 new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL); make_auth_domain_name()
77 strcpy(new, prefix); make_auth_domain_name()
/linux-4.1.27/scripts/kconfig/
H A DMakefile230 moc="\$$(shell pkg-config $$pkg --variable=prefix)/bin/moc"; \
231 dir="$$(pkg-config $$pkg --variable=prefix)"; \
264 [ -n "$$moc" ] || moc="\$$(shell pkg-config QtCore --variable=prefix)/bin/moc"; \
/linux-4.1.27/security/apparmor/
H A Dpolicy.c121 * @prefix: prefix name if any is required. (MAYBE NULL)
128 static bool policy_init(struct aa_policy *policy, const char *prefix, policy_init() argument
132 if (prefix) { policy_init()
133 policy->hname = kmalloc(strlen(prefix) + strlen(name) + 3, policy_init()
136 sprintf(policy->hname, "%s//%s", prefix, name); policy_init()
257 * thus the curr ns.hname is a prefix of its name. aa_ns_name()
259 * Add + 2 to skip over // separating curr hname prefix aa_ns_name()
269 * @prefix: parent namespace name (MAYBE NULL)
274 static struct aa_namespace *alloc_namespace(const char *prefix, alloc_namespace() argument
283 if (!policy_init(&ns->base, prefix, name)) alloc_namespace()
848 * @hname: name to do lookup on. Does not contain namespace prefix (NOT NULL)
/linux-4.1.27/sound/soc/sh/rcar/
H A Drsrc-card.c25 const char *prefix; member in struct:rsrc_card_of_data
36 .prefix = "ak4642",
238 priv->codec_conf.name_prefix = of_data->prefix; rsrc_card_sub_parse_of()

Completed in 5827 milliseconds

1234