/linux/rust/kernel/ |
H A D | device.rs | 85 pub fn pr_emerg(&self, args: fmt::Arguments<'_>) { in pr_emerg() 95 pub fn pr_alert(&self, args: fmt::Arguments<'_>) { in pr_alert() 105 pub fn pr_crit(&self, args: fmt::Arguments<'_>) { in pr_crit() 115 pub fn pr_err(&self, args: fmt::Arguments<'_>) { in pr_err() 125 pub fn pr_warn(&self, args: fmt::Arguments<'_>) { in pr_warn() 135 pub fn pr_notice(&self, args: fmt::Arguments<'_>) { in pr_notice() 145 pub fn pr_info(&self, args: fmt::Arguments<'_>) { in pr_info() 155 pub fn pr_dbg(&self, args: fmt::Arguments<'_>) { in pr_dbg() 169 unsafe fn printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) { in printk() 176 klevel as *const _ as *const core::ffi::c_char, in printk() constant [all …]
|
H A D | kunit.rs | 15 pub fn err(args: fmt::Arguments<'_>) { in err() 22 &args as *const _ as *const c_void, in err() constant 31 pub fn info(args: fmt::Arguments<'_>) { in info() 38 &args as *const _ as *const c_void, in info() constant
|
H A D | print.rs | 26 let _ = w.write_fmt(unsafe { *(ptr as *const fmt::Arguments<'_>) }); rust_fmt_argument() localVariable 101 call_printk( format_string: &[u8; format_strings::LENGTH], module_name: &[u8], args: fmt::Arguments<'_>, ) global() argument 109 &args as *const _ as *const c_void, global() constant 121 call_printk_cont(args: fmt::Arguments<'_>) call_printk_cont() argument 129 &args as *const _ as *const c_void, call_printk_cont() constant
|
H A D | jump_label.rs | 40 const _: &str = include!(concat!( constant
|
H A D | rbtree.rs | 196 iter(&self) -> Iter<'_, K, V> iter() argument 211 iter_mut(&mut self) -> IterMut<'_, K, V> iter_mut() argument 241 cursor_front(&mut self) -> Option<Cursor<'_, K, V>> cursor_front() argument 256 cursor_back(&mut self) -> Option<Cursor<'_, K, V>> cursor_back() argument 306 raw_entry(&mut self, key: &K) -> RawEntry<'_, K, V> raw_entry() argument 360 entry(&mut self, key: K) -> Entry<'_, K, V> entry() argument 368 find_mut(&mut self, key: &K) -> Option<OccupiedEntry<'_, K, V>> find_mut() argument 419 cursor_lower_bound(&mut self, key: &K) -> Option<Cursor<'_, K, V>> where K: Ord, cursor_lower_bound() argument [all...] |
H A D | static_assert.rs | 32 const _: () = core::assert!($condition); constant
|
H A D | list.rs | 494 cursor_front(&mut self) -> Option<Cursor<'_, T, ID>> cursor_front() argument 506 iter(&self) -> Iter<'_, T, ID> iter() argument 591 current(&self) -> ArcBorrow<'_, T> current() argument
|
/linux/tools/testing/selftests/net/ |
H A D | bpf_offload.py | 706 _, base_maps = bpftool("map") global() variable 718 _, out = cmd("mount") global() variable 730 _, _, err = cmd("tc qdisc delete dev lo handle 0", global() variable 759 ret, _ = sim.cls_bpf_add_filter(obj, skip_hw=True, fail=False) global() variable 763 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) global() variable 770 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, global() variable 780 ret, _ = sim.cls_bpf_add_filter(obj, fail=False) global() variable 790 ret, _ = sim.cls_bpf_add_filter(bytecode, fail=False) global() variable 801 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True, global() variable 809 ret, _, err = sim.cls_bpf_add_filter(obj, chain=1, prio=1, handle=1, global() variable 832 ret, _ = sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, global() variable 855 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True, global() variable 862 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True, global() variable 886 ret, _ = sim.set_ethtool_tc_offloads(False, fail=False) global() variable 895 ret, _ = sim.set_ethtool_tc_offloads(False, fail=False) global() variable 927 ret, _ = sim.set_xdp(obj, "drv", fail=False) global() variable 932 ret, _ = sim.set_xdp(obj, "drv", force=True, fail=False) global() variable 943 ret, _, err = sim.set_xdp(obj, "generic", force=True, global() variable 951 ret, _ = sim.set_mtu(9000, fail=False) global() variable 957 ret, _, err = sim.set_xdp(obj, "drv", fail=False, include_stderr=True) global() variable 966 ret, _, err = sim.set_xdp(nooffload, "offload", global() variable 976 ret, _, err = sim.set_xdp(offload, "drv", fail=False, include_stderr=True) global() variable 984 ret, _, err = bpftool_prog_load("sample_ret0.bpf.o", "/sys/fs/bpf/offload", global() variable 992 _, _, err = sim.set_xdp(obj, "offload", verbose=True, include_stderr=True) global() variable 1024 ret, _, err = sim.set_xdp(pinned, "offload", global() variable 1029 ret, _, err = sim.set_xdp(pinned, "offload", global() variable 1043 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, global() variable 1051 ret, _, err = sim.set_xdp(obj, "offload", fail=False, include_stderr=True) global() variable 1071 ret, _ = sim.cls_bpf_add_filter(pinned, da=True, skip_sw=True, fail=False) global() variable 1076 ret, _, err = sim.cls_bpf_add_filter(obj, da=True, skip_sw=True, global() variable 1095 ret, _ = cmd_result(tc_proc, fail=False) global() variable 1129 prog_file, _ = pin_prog("/sys/fs/bpf/tmp_prog") global() variable 1130 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) global() variable 1154 ret, _ = bpftool("map update id %d key %s value %s" % global() variable 1185 _, entries = bpftool("map dump id %d" % (m["id"])) global() variable 1194 _, entry = bpftool("map getnext id %d" % (m["id"])) global() variable 1197 _, entry = bpftool("map getnext id %d key %s" % global() variable 1234 ret, _ = sim.set_xdp(map_obj, "offload", JSON=False, fail=False) global() variable 1260 ret, _ = simA.set_xdp(progB, "offload", force=True, JSON=False, fail=False) global() variable 1263 ret, _ = d.set_xdp(progA, "offload", force=True, JSON=False, fail=False) global() variable 1270 ret, _, err = simA.set_xdp(progB, "offload", force=True, JSON=False, global() variable 1275 ret, _, err = d.set_xdp(progA, "offload", force=True, JSON=False, global() variable 1285 ret, _ = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimB_", global() variable 1292 ret, _, err = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimA_", global() variable 1300 ret, _, err = bpftool_prog_load("sample_map_ret0.bpf.o", "/sys/fs/bpf/nsimB_", global() variable [all...] |
/linux/rust/kernel/init/ |
H A D | macros.rs | 830 const _: () = { global() constant 1164 let _ = || { global() localVariable 1391 const _: () = { global() constant [all...] |
/linux/rust/kernel/sync/ |
H A D | condvar.rs | 119 wait_internal<T: ?Sized, B: Backend>( &self, wait_state: c_int, guard: &mut Guard<'_, T, B>, timeout_in_jiffies: c_long, ) -> c_long wait_internal() argument 147 wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) wait() argument 158 wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool wait_interruptible() argument 171 wait_interruptible_timeout<T: ?Sized, B: Backend>( &self, guard: &mut Guard<'_, T, B>, jiffies: Jiffies, ) -> CondVarTimeoutResult wait_interruptible_timeout() argument
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-tid0.c | 35 static void *f(void *_) in f() 40 static void sigalrm(int _) in sigalrm()
|
H A D | proc-empty-vm.c | 157 static void sigaction_SIGSEGV(int _, siginfo_t *__, void *___) in sigaction_SIGSEGV() 163 static void sigaction_SIGSEGV_vsyscall(int _, siginfo_t *__, void *___) in sigaction_SIGSEGV_vsyscall()
|
H A D | setns-dcache.c | 48 char _ = 0; in main() local
|
H A D | setns-sysvipc.c | 47 char _ = 0; in main() local
|
/linux/arch/x86/include/asm/ |
H A D | special_insns.h | 229 const struct { char _[64]; } *__src = src; in movdir64b() member 230 struct { char _[64]; } *__dst = dst; in movdir64b() member 274 const struct { char _[64]; } *__src = src; in enqcmds() member 275 struct { char _[64]; } __iomem *__dst = dst; in enqcmds() member
|
/linux/scripts/ |
H A D | jobserver-exec | 32 _, _, path = fds.partition('fifo:') variable
|
H A D | generate_rust_target.rs | 31 formatter: &mut Formatter<'_>, in comma_sep() 32 f: impl Fn(&mut Formatter<'_>, &T) -> Result, in comma_sep()
|
/linux/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 112 static void sigsegv(int _, siginfo_t *__, void *uc_) in sigsegv() 153 static void sigtrap(int _, siginfo_t *__, void *uc_) in sigtrap()
|
/linux/tools/lib/bpf/ |
H A D | bpf_core_read.h | 368 #define ___nolast2(a, _) a argument 369 #define ___nolast3(a, b, _) a, b argument 370 #define ___nolast4(a, b, c, _) a, b, c argument 371 #define ___nolast5(a, b, c, d, _) a, b, c, d argument 372 #define ___nolast6(a, b, c, d, e, _) a, b, c, d, e argument 373 #define ___nolast7(a, b, c, d, e, f, _) a, b, c, d, e, f argument 374 #define ___nolast8(a, b, c, d, e, f, g, _) a, b, c, d, e, f, g argument 375 #define ___nolast9(a, b, c, d, e, f, g, h, _) a, b, c, d, e, f, g, h argument 376 #define ___nolast10(a, b, c, d, e, f, g, h, i, _) a, b, c, d, e, f, g, h, i argument
|
/linux/drivers/net/phy/ |
H A D | ax88796b_rust.rs | 97 let _ = dev.init_hw(); in link_change_notify() localVariable 98 let _ = dev.start_aneg(); in link_change_notify() localVariable
|
/linux/include/uapi/linux/ |
H A D | atmapi.h | 28 typedef struct { unsigned char _[8]; } __ATM_API_ALIGN atm_kptr_t; member
|
/linux/drivers/gpu/drm/ |
H A D | drm_panic_qr.rs | 393 fn iter(&self) -> SegmentIterator<'_> { in iter() 479 fn new<'a>(segments: &[&Segment<'_>], data: &'a mut [u8]) -> Option<EncodedMsg<'a>> { in new() 536 fn add_segments(&mut self, segments: &[&Segment<'_>]) { in add_segments() 588 fn encode(&mut self, segments: &[&Segment<'_>]) { in encode() 593 fn iter(&self) -> EncodedMsgIterator<'_> { in iter()
|
/linux/tools/power/cpupower/utils/helpers/ |
H A D | helpers.h | 22 #define _(String) gettext(String) macro 30 #define _(String) String macro
|
/linux/crypto/ |
H A D | rsassa-pkcs1.c | 97 #define _(X) { #X, hash_prefix_##X, sizeof(hash_prefix_##X) } macro 107 #define _(X) { "sha3-" #X, hash_prefix_sha3_##X, sizeof(hash_prefix_sha3_##X) } macro
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_namespacing.c | 54 int f(struct { in f()
|