Home
last modified time | relevance | path

Searched refs:mask_str (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c70 static int set_delegate_mask(int fs_fd, const char *key, __u64 mask, const char *mask_str) in set_delegate_mask() argument
75 if (!mask_str) { in set_delegate_mask()
77 mask_str = "any"; in set_delegate_mask()
80 mask_str = buf; in set_delegate_mask()
85 mask_str, 0); in set_delegate_mask()
/linux/kernel/trace/
H A Dtrace_osnoise.c2303 char *mask_str; in osnoise_cpus_read() local
2309 mask_str = kmalloc(len, GFP_KERNEL); in osnoise_cpus_read()
2310 if (!mask_str) { in osnoise_cpus_read()
2315 len = snprintf(mask_str, len, "%*pbl\n", cpumask_pr_args(&osnoise_cpumask)); in osnoise_cpus_read()
2321 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len); in osnoise_cpus_read()
2324 kfree(mask_str); in osnoise_cpus_read()
H A Dtrace.c5019 char *mask_str; in tracing_cpumask_read() local
5024 mask_str = kmalloc(len, GFP_KERNEL); in tracing_cpumask_read()
5025 if (!mask_str) in tracing_cpumask_read()
5028 len = snprintf(mask_str, len, "%*pb\n", in tracing_cpumask_read()
5034 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len); in tracing_cpumask_read()
5037 kfree(mask_str); in tracing_cpumask_read()
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py186 mac_str, _, mask_str = data.partition('/')
189 mac_str = mask_str = "00:00:00:00:00:00"
190 elif not mask_str:
191 mask_str = "FF:FF:FF:FF:FF:FF"
193 return to_bytes(mac_str), to_bytes(mask_str)