/tools/testing/selftests/tc-testing/ |
D | config | 4 CONFIG_NF_CONNTRACK=m 8 CONFIG_NF_FLOW_TABLE=m 9 CONFIG_NF_NAT=m 16 CONFIG_NET_SCH_PRIO=m 17 CONFIG_NET_SCH_INGRESS=m 23 CONFIG_NET_CLS_FW=m 24 CONFIG_NET_CLS_U32=m 29 CONFIG_NET_EMATCH_CMP=m 30 CONFIG_NET_EMATCH_NBYTE=m 31 CONFIG_NET_EMATCH_U32=m [all …]
|
/tools/testing/selftests/net/ |
D | config | 3 CONFIG_TEST_BPF=m 18 CONFIG_NF_CONNTRACK=m 19 CONFIG_NF_NAT=m 20 CONFIG_IP6_NF_IPTABLES=m 21 CONFIG_IP_NF_IPTABLES=m 22 CONFIG_IP6_NF_NAT=m 23 CONFIG_IP_NF_NAT=m 24 CONFIG_NF_TABLES=m 27 CONFIG_NFT_NAT=m 28 CONFIG_NET_SCH_FQ=m [all …]
|
/tools/testing/selftests/bpf/ |
D | config | 3 CONFIG_NET_CLS_BPF=m 5 CONFIG_TEST_BPF=m 7 CONFIG_NETDEVSIM=m 16 CONFIG_CRYPTO_USER_API_HASH=m 17 CONFIG_CRYPTO_HMAC=m 18 CONFIG_CRYPTO_SHA256=m 21 CONFIG_NET_CLS_FLOWER=m 29 CONFIG_NET_FOU=m 31 CONFIG_IPV6_FOU=m 32 CONFIG_IPV6_FOU_TUNNEL=m [all …]
|
/tools/testing/selftests/proc/ |
D | proc-uptime-002.c | 33 static inline int sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_getaffinity() argument 35 return syscall(SYS_sched_getaffinity, pid, len, m); in sys_sched_getaffinity() 38 static inline int sys_sched_setaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_setaffinity() argument 40 return syscall(SYS_sched_setaffinity, pid, len, m); in sys_sched_setaffinity() 46 unsigned long *m; in main() local 52 m = NULL; in main() 56 free(m); in main() 57 m = malloc(len); in main() 58 } while (sys_sched_getaffinity(0, len, m) == -1 && errno == EINVAL); in main() 65 memset(m, 0, len); in main() [all …]
|
/tools/perf/util/ |
D | memswap.c | 8 u32 *m = src; in mem_bswap_32() local 10 *m = bswap_32(*m); in mem_bswap_32() 12 ++m; in mem_bswap_32() 18 u64 *m = src; in mem_bswap_64() local 21 *m = bswap_64(*m); in mem_bswap_64() 23 ++m; in mem_bswap_64()
|
D | metricgroup.c | 303 struct metric *m; in metricgroup__setup_events() local 311 list_for_each_entry (m, groups, nd) { in metricgroup__setup_events() 316 hashmap__size(&m->pctx.ids) + 1); in metricgroup__setup_events() 321 evsel = find_evsel_group(perf_evlist, &m->pctx, in metricgroup__setup_events() 323 m->has_constraint, metric_events, in metricgroup__setup_events() 327 m->metric_name, m->metric_expr); in metricgroup__setup_events() 350 if (m->metric_refs_cnt) { in metricgroup__setup_events() 353 metric_refs = zalloc(sizeof(struct metric_ref) * (m->metric_refs_cnt + 1)); in metricgroup__setup_events() 362 list_for_each_entry(ref, &m->metric_refs, list) { in metricgroup__setup_events() 376 expr->metric_expr = m->metric_expr; in metricgroup__setup_events() [all …]
|
D | find-map.c | 15 int m = -1; in find_map() local 19 start, end, &m)) in find_map() 21 if (m < 0) in find_map() 24 if (!strncmp(&line[m], name, strlen(name))) in find_map()
|
D | mem-events.c | 134 u64 m = PERF_MEM_TLB_NA; in perf_mem__tlb_scnprintf() local 141 m = mem_info->data_src.mem_dtlb; in perf_mem__tlb_scnprintf() 143 hit = m & PERF_MEM_TLB_HIT; in perf_mem__tlb_scnprintf() 144 miss = m & PERF_MEM_TLB_MISS; in perf_mem__tlb_scnprintf() 147 m &= ~(PERF_MEM_TLB_HIT|PERF_MEM_TLB_MISS); in perf_mem__tlb_scnprintf() 149 for (i = 0; m && i < ARRAY_SIZE(tlb_access); i++, m >>= 1) { in perf_mem__tlb_scnprintf() 150 if (!(m & 0x1)) in perf_mem__tlb_scnprintf() 196 u64 m = PERF_MEM_LVL_NA; in perf_mem__lvl_scnprintf() local 201 m = mem_info->data_src.mem_lvl; in perf_mem__lvl_scnprintf() 206 hit = m & PERF_MEM_LVL_HIT; in perf_mem__lvl_scnprintf() [all …]
|
/tools/include/uapi/linux/ |
D | stat.h | 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
|
/tools/testing/selftests/net/forwarding/ |
D | config | 1 CONFIG_BRIDGE=m 2 CONFIG_VLAN_8021Q=m 6 CONFIG_NET_VRF=m 9 CONFIG_NET_CLS_FLOWER=m 10 CONFIG_NET_SCH_INGRESS=m 11 CONFIG_NET_ACT_GACT=m 12 CONFIG_VETH=m
|
/tools/build/ |
D | fixdep.c | 49 char *m = map; in parse_dep_file() local 50 char *end = m + len; in parse_dep_file() 57 while (m < end) { in parse_dep_file() 59 while (m < end && (*m == ' ' || *m == '\\' || *m == '\n')) in parse_dep_file() 60 m++; in parse_dep_file() 62 p = m; in parse_dep_file() 74 memcpy(s, m, p-m); in parse_dep_file() 75 s[p - m] = 0; in parse_dep_file() 109 m = p + 1; in parse_dep_file()
|
/tools/testing/selftests/netfilter/ |
D | config | 3 CONFIG_NFT_QUEUE=m 4 CONFIG_NFT_NAT=m 5 CONFIG_NFT_REDIR=m 6 CONFIG_NFT_MASQ=m 7 CONFIG_NFT_FLOW_OFFLOAD=m 8 CONFIG_NF_CT_NETLINK=m
|
/tools/perf/scripts/python/ |
D | mem-phys-addr.py | 34 m = re.split('-|:',j,2) 35 if m[2].strip() == 'System RAM': 36 system_ram.append(int(m[0], 16)) 37 system_ram.append(int(m[1], 16)) 38 if m[2].strip() == 'Persistent Memory': 39 pmem.append(int(m[0], 16)) 40 pmem.append(int(m[1], 16)) 87 m = re.split('-|:',j,2) 88 if int(m[0], 16) <= phys_addr <= int(m[1], 16): 89 return m[2]
|
/tools/testing/selftests/lib/ |
D | config | 1 CONFIG_TEST_PRINTF=m 2 CONFIG_TEST_BITMAP=m 3 CONFIG_PRIME_NUMBERS=m 4 CONFIG_TEST_STRSCPY=m 5 CONFIG_TEST_BITOPS=m
|
/tools/testing/selftests/kmod/ |
D | config | 1 CONFIG_TEST_KMOD=m 2 CONFIG_TEST_LKM=m 3 CONFIG_XFS_FS=m 6 CONFIG_TUN=m 7 CONFIG_BTRFS_FS=m
|
/tools/perf/tests/ |
D | kmod-path.c | 13 struct kmod_path m; in test() local 15 memset(&m, 0x0, sizeof(m)); in test() 18 !__kmod_path__parse(&m, path, alloc_name)); in test() 21 path, alloc_name, m.kmod, m.comp, m.name); in test() 23 TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); in test() 24 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test() 27 TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); in test() 29 TEST_ASSERT_VAL("wrong name", !m.name); in test() 31 free(m.name); in test()
|
/tools/testing/selftests/powerpc/nx-gzip/include/ |
D | nx_dbg.h | 35 time_t t; struct tm *m; time(&t); m = localtime(&t); \ 38 (int)m->tm_year + 1900, (int)m->tm_mon+1, (int)m->tm_mday, \ 39 (int)m->tm_hour, (int)m->tm_min, (int)m->tm_sec, \
|
/tools/testing/selftests/bpf/progs/ |
D | loop1.c | 17 int i, j, sum = 0, m; in nested_loops() local 22 m = PT_REGS_RC(ctx); in nested_loops() 24 m = j; in nested_loops() 25 sum += i * m; in nested_loops()
|
/tools/testing/selftests/net/mptcp/ |
D | config | 5 CONFIG_INET_DIAG=m 6 CONFIG_INET_MPTCP_DIAG=m 8 CONFIG_NET_SCH_NETEM=m
|
/tools/testing/selftests/ftrace/ |
D | config | 10 CONFIG_PREEMPTIRQ_DELAY_TEST=m 14 CONFIG_SAMPLE_FTRACE_DIRECT=m 15 CONFIG_SAMPLE_TRACE_PRINTK=m
|
/tools/testing/selftests/vm/ |
D | config | 3 CONFIG_TEST_VMALLOC=m 5 CONFIG_TEST_HMM=m
|
/tools/perf/bench/ |
D | sched-pipe.c | 57 int m = 0, i; in worker_thread() local 62 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread() 64 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread() 67 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread() 69 ret = read(td->pipe_read, &m, sizeof(int)); in worker_thread()
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 281 static int mutex_lock(unsigned long *m) in mutex_lock() argument 288 c = cmpxchg(m, 0, 1); in mutex_lock() 293 c = xchg(m, 2); in mutex_lock() 296 sys_futex(m, flags, 2, NULL, NULL, 0); in mutex_lock() 297 c = xchg(m, 2); in mutex_lock() 303 static int mutex_unlock(unsigned long *m) in mutex_unlock() argument 309 if (*m == 2) in mutex_unlock() 310 *m = 0; in mutex_unlock() 311 else if (xchg(m, 0) == 1) in mutex_unlock() 314 sys_futex(m, flags, 1, NULL, NULL, 0); in mutex_unlock()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 11 const struct btf_member *m; in test_btf_write() local 106 m = btf_members(t) + 0; in test_btf_write() 107 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f1", "f1_name"); in test_btf_write() 108 ASSERT_EQ(m->type, 1, "f1_type"); in test_btf_write() 111 m = btf_members(t) + 1; in test_btf_write() 112 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f2", "f2_name"); in test_btf_write() 113 ASSERT_EQ(m->type, 1, "f2_type"); in test_btf_write() 134 m = btf_members(t) + 0; in test_btf_write() 135 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f1", "f1_name"); in test_btf_write() 136 ASSERT_EQ(m->type, 1, "f1_type"); in test_btf_write()
|
/tools/testing/nvdimm/test/ |
D | Kbuild | 5 obj-m += nfit_test.o 6 obj-m += nfit_test_iomap.o
|