Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 106) sorted by relevance

12345

/linux/rust/syn/
H A Dattr.rs13 use crate::path::Path;
188 pub fn path(&self) -> &Path { in path() argument
249 Meta::Path(path) => Err(crate::error::new2( in parse_args_with()
476 Path(Path),
490 pub path: Path,
500 pub path: Path,
511 pub fn path(&self) -> &Path { in path() argument
513 Meta::Path(path) => path, in path()
522 pub fn require_path_only(&self) -> Result<&Path> { in require_path_only() argument
524 Meta::Path(path) => return Ok(path), in require_path_only()
[all …]
H A Dpath.rs16 pub struct Path {
22 impl<T> From<T> for Path implementation
27 let mut path = Path { in from()
36 impl Path { implementation
302 ParenthesizedGenericArguments, Path, PathArguments, PathSegment, QSelf,
311 impl Parse for Path { implementation
331 Type::Path(mut ty) in parse()
402 argument = Type::Path(ty); in parse()
421 return Ok(Expr::Path(ExprPath { in const_argument()
424 path: Path::from(ident), in const_argument()
[all …]
H A Drestriction.rs3 use crate::path::Path;
37 pub path: Box<Path>,
68 use crate::path::Path;
119 path: Box::new(Path::from(path)), in parse_pub()
124 let path = content.call(Path::parse_mod_style)?; in parse_pub()
H A Dmeta.rs9 use crate::path::{Path, PathSegment};
167 pub path: Path,
405 fn parse_meta_path(input: ParseStream) -> Result<Path> { in parse_meta_path() argument
406 Ok(Path { in parse_meta_path()
H A Dpat.rs6 use crate::path::{Path, QSelf};
54 Path(PatPath),
177 pub path: Path,
200 pub path: Path,
256 use crate::path::{self, Path, QSelf};
450 Ok(Pat::Path(ExprPath { in pat_path_or_macro_or_struct_or_range()
498 path: Path, in pat_tuple_struct() argument
523 fn pat_struct(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<PatStruct> { in pat_struct()
606 fn pat_range(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<Pat> { in pat_range()
614 start: Some(Box::new(Expr::Path(ExprPath { in pat_range()
[all …]
H A Dclassify.rs8 use crate::path::{Path, PathArguments};
57 | Expr::Path(_) in requires_comma_to_be_match_arm()
84 Type::Path(t) => match last_type_in_path(&t.path) { in trailing_unparameterized_path()
107 fn last_type_in_path(path: &Path) -> ControlFlow<bool, &Type> { in trailing_unparameterized_path()
168 | Expr::Path(_) in expr_leading_label()
239 | Expr::Path(_) in expr_trailing_brace()
258 Type::Path(t) => match last_type_in_path(&t.path) { in expr_trailing_brace()
281 fn last_type_in_path(path: &Path) -> Option<&Type> { in expr_trailing_brace()
H A Dmac.rs7 use crate::path::Path;
20 pub path: Path,
179 use crate::path::Path;
186 path: input.call(Path::parse_mod_style)?, in parse()
H A Dty.rs10 use crate::path::{Path, QSelf};
53 Path(TypePath),
178 pub path: Path,
286 use crate::path::{Path, PathArguments, QSelf};
330 if let Type::Path(mut ty) = *group.elem { in ambig_ty()
331 Path::parse_rest(input, &mut ty.path, false)?; in ambig_ty()
332 return Ok(Type::Path(ty)); in ambig_ty()
334 return Ok(Type::Path(TypePath { in ambig_ty()
342 path: Path::parse_helper(input, false)?, in ambig_ty()
348 if let Type::Path(mut ty) = *group.elem { in ambig_ty()
[all …]
/linux/Documentation/translations/zh_CN/infiniband/
H A Dopa_vnic.rst21 太网数据包,支持Omni-Path结构上的以太网功能。
26 Omni-Path封装的以太网数据包的交换模式涉及Omni-Path结构拓扑上覆盖的一个或
27 多个虚拟以太网交换机。Omni-Path结构上的HFI节点的一个子集被允许在特定的虚
61 Omni-Path封装的以太网数据包格式如下所述。
119 需的net_device_ops功能。它在传输路径中期待Omni-Path封装的以太网数据包,
120 并提供对它们的HW访问。在将数据包向上传递到网络堆栈之前,它把Omni-Path
127 以适应任何控制操作。它还处理以太网数据包的封装,在传输路径中使用Omni-Path头。
/linux/tools/testing/selftests/net/lib/py/
H A Dynl.py4 from pathlib import Path
36 super().__init__((SPEC_PATH / Path('ethtool.yaml')).as_posix(),
42 super().__init__((SPEC_PATH / Path('rt-link.yaml')).as_posix(),
47 super().__init__((SPEC_PATH / Path('rt-addr.yaml')).as_posix(),
52 super().__init__((SPEC_PATH / Path('netdev.yaml')).as_posix(),
57 super().__init__((SPEC_PATH / Path('net_shaper.yaml')).as_posix(),
62 super().__init__((SPEC_PATH / Path('devlink.yaml')).as_posix(),
67 super().__init__((SPEC_PATH / Path('psp.yaml')).as_posix(),
H A Dconsts.py4 from pathlib import Path
6 KSFT_DIR = (Path(__file__).parent / "../../..").resolve()
7 KSRC = (Path(__file__).parent / "../../../../../..").resolve()
9 KSFT_MAIN_NAME = Path(sys.argv[0]).with_suffix("").name
/linux/scripts/
H A Drustdoc_test_gen.rs35 path::{Path, PathBuf},
48 fn find_real_path<'a>(srctree: &Path, valid_paths: &'a mut Vec<PathBuf>, file: &str) -> &'a str { in find_real_path() argument
53 find_candidates(srctree, valid_paths, Path::new(""), &potential_components); in find_real_path()
55 srctree: &Path, in find_real_path() argument
57 prefix: &Path, in find_real_path() argument
71 Path::new("rust/kernel") in find_real_path()
111 let srctree = Path::new(&srctree); in main()
H A Dgenerate_rust_analyzer.py204 parser.add_argument("srctree", type=pathlib.Path)
205 parser.add_argument("objtree", type=pathlib.Path)
206 parser.add_argument("sysroot", type=pathlib.Path)
207 parser.add_argument("sysroot_src", type=pathlib.Path)
208 parser.add_argument("exttree", type=pathlib.Path, nargs="?")
/linux/Documentation/infiniband/
H A Dopa_vnic.rst2 Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC)
5 Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC) feature
6 supports Ethernet functionality over Omni-Path fabric by encapsulating
11 The patterns of exchanges of Omni-Path encapsulated Ethernet packets
12 involves one or more virtual Ethernet switches overlaid on the Omni-Path
13 fabric topology. A subset of HFI nodes on the Omni-Path fabric are
52 The Omni-Path encapsulated Ethernet packet format is as described below.
116 net_device_ops functions. It expects Omni-Path encapsulated Ethernet
118 the Omni-Path header from the received packets before passing them up
129 Omni-Path header in the transmit path. For each VNIC interface, the
/linux/tools/net/sunrpc/xdrgen/generators/
H A D__init__.py5 from pathlib import Path
18 Path(__file__).parent.parent / "templates" / language / xdr_type
54 return Path(filename).stem.upper()
/linux/drivers/infiniband/ulp/opa_vnic/
H A DKconfig6 This is Omni-Path Express (OPX) Virtual Network Interface Controller (VNIC)
7 driver for Ethernet over Omni-Path feature. It implements the HW
/linux/tools/testing/selftests/drivers/net/lib/py/
H A D__init__.py12 from pathlib import Path
14 KSFT_DIR = (Path(__file__).parent / "../../../..").resolve()
H A Denv.py5 from pathlib import Path
18 test_dir: Path to the source directory of the test
19 net_lib_dir: Path to the net/lib directory
22 self.src_path = Path(src_path)
24 self.net_lib_dir = (Path(__file__).parent / "../../../../net/lib").resolve()
34 src_dir = Path(self.src_path).parent.resolve()
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A D__init__.py12 from pathlib import Path
14 KSFT_DIR = (Path(__file__).parent / "../../../../..").resolve()
/linux/tools/testing/selftests/hid/tests/
H A Dconftest.py14 from pathlib import Path
54 Path("/lib/modules/")
H A Dbase.py19 from pathlib import Path
232 sysfs_path = Path("/sys/bus/hid/drivers")
238 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_")
254 script_dir = Path(os.path.dirname(os.path.realpath(__file__)))
/linux/drivers/net/wireless/marvell/libertas/
H A DREADME74 Path: /sys/kernel/debug/libertas_wireless/ethX/registers/
97 Path: /sys/kernel/debug/libertas_wireless/ethX/
117 Path: /sys/kernel/debug/libertas_wireless/ethX/subscribed_events/
167 Path: /sys/kernel/debug/libertas_wireless/ethX/
181 Path: /sys/kernel/debug/libertas_wireless/ethX/
190 Path: /sys/kernel/debug/libertas_wireless/ethX/
233 Path: /sys/kernel/debug/libertas_wireless/ethX/
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-uevent.rst52 :Value: Path name in the form of "Major:Minor"
78 1.) Path failure::
95 2.) Path reinstate::
/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py6 from pathlib import Path
80 with open(Path(filename).resolve(), "r") as f:
89 parent = Path(output_file).parent
588 outpath = Path(args.output_dir)
589 reportf = Path.joinpath(outpath, 'perf_report.json')
590 fullrule = Path.joinpath(outpath, 'full_rule.json')
591 datafile = Path.joinpath(outpath, 'perf_data.json')
/linux/tools/net/sunrpc/xdrgen/
H A Dxdrgen13 from pathlib import Path
16 _XDRGEN_DIR = Path(__file__).resolve().parent

12345