Home
last modified time | relevance | path

Searched full:raise (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/linux/tools/testing/selftests/drivers/net/
H A Dhds.py18 raise KsftSkipEx('ring-get not supported by device')
20 raise KsftSkipEx('tcp-data-split not supported by device')
39 raise KsftSkipEx('ring-get not supported by device')
42 raise KsftSkipEx('setting Tx ring size not supported')
59 raise KsftSkipEx('ring-get not supported by device')
61 raise KsftSkipEx('hds-thresh not supported by device')
100 raise KsftSkipEx("disabling of HDS not supported by the device")
102 raise KsftSkipEx("ring-set not supported by the device")
106 raise KsftSkipEx('ring-get not supported by device')
108 raise KsftSkipEx('tcp-data-split not supported by device')
[all …]
H A Dshaper.py18 raise KsftSkipEx("shapers not supported by the device")
19 raise
29 raise KsftSkipEx("shapers not supported by the device")
30 raise
42 raise KsftSkipEx("shapers not supported by the device")
43 raise
45 raise KsftSkipEx("device does not support queue scope shapers with bw_max and metric bps")
57 raise KsftSkipEx(f"device does not support enough queues min 3 found {cfg.nr_queues}")
99 raise KsftSkipEx("queue shapers not supported by device, skipping delete")
115 raise KsftSkipEx("shapers not supported by the device")
[all …]
H A Dnetpoll_basic.py76 raise KsftSkipEx(
109 raise KsftSkipEx(
134 raise KsftSkipEx(
158 raise KsftFailEx(
187 raise KsftFailEx(
220 raise KsftFailEx(
252 raise KsftSkipEx("BPFtrace thread is not alive. Skipping test")
264 raise KsftFailEx("BPFtrace didn't start")
276 raise KsftFailEx(f"bpftrace failed to run!?: {MAPS}")
295 raise KsftXfailEx("netpoll_poll_dev() was not called during the test...")
[all …]
H A Dstats.py34 raise KsftSkipEx("pause not supported by the device") from e
35 raise
52 raise KsftSkipEx("FEC not supported by the device") from e
53 raise
71 raise KsftSkipEx("FEC not supported by the device") from e
72 raise
74 raise KsftSkipEx("FEC stats not supported by the device")
76 raise KsftSkipEx("FEC histogram not supported by the device")
105 raise KsftSkipEx("qstats not supported by the device")
122 raise KsftFailE
[all...]
H A Dqueues.py31 raise KsftSkipEx('AF_XDP unsupported')
33 raise KsftFailEx('unable to create AF_XDP socket')
42 raise KsftSkipEx("Netlink reports no queues")
67 raise KsftSkipEx('queue-get not supported by device')
76 raise KsftSkipEx('queue-get not supported by device')
80 raise KsftSkipEx('cannot decrement queue: already at 1')
/linux/tools/testing/selftests/signal/
H A Dmangle_uc_sigmask.c56 if (raise(SIGUSR2)) in handler_verify_ucontext()
57 ksft_exit_fail_perror("raise"); in handler_verify_ucontext()
79 * Break out of infinite recursion caused by raise(SIGUSR1) invoked in handler_usr()
87 if (raise(SIGSEGV)) in handler_usr()
88 ksft_exit_fail_perror("raise"); in handler_usr()
96 if (raise(SIGUSR1)) in handler_usr()
97 ksft_exit_fail_perror("raise"); in handler_usr()
102 /* Raise USR1 again; only one instance must be delivered upon exit */ in handler_usr()
103 if (raise(SIGUSR1)) in handler_usr()
104 ksft_exit_fail_perror("raise"); in handler_usr()
[all …]
/linux/tools/net/sunrpc/xdrgen/generators/
H A D__init__.py31 raise NotImplementedError("Language not supported")
81 raise NotImplementedError("No language support defined")
85 raise NotImplementedError("Header boilerplate generation not supported")
89 raise NotImplementedError("Header boilerplate generation not supported")
93 raise NotImplementedError("Source boilerplate generation not supported")
101 raise NotImplementedError("No language support defined")
105 raise NotImplementedError("Declaration generation not supported")
109 raise NotImplementedError("Decoder generation not supported")
113 raise NotImplementedError("Definition generation not supported")
117 raise NotImplementedErro
[all...]
/linux/tools/crypto/ccp/
H A Ddbc.py30 raise OSError(code, os.strerror(code))
35 raise ValueError("Device required")
45 raise ValueError("Signature required")
47 raise ValueError("UID required")
56 raise ValueError("Signature required")
58 raise ValueError("Expected message tuple")
H A Ddbc_cli.py70 raise IOError("Missing device {device}".format(device=args.device))
73 raise ValueError("Invalid signature file %s" % args.signature)
77 raise ValueError(
82 raise ValueError("Invalid uid file %s" % args.uid)
86 raise ValueError(
111 raise ValueError("Invalid message %s" % args.message)
124 raise ValueError("Invalid message %s" % args.message)
/linux/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_rate_tc_bw.py114 raise KsftSkipEx(f"Failed to enable switchdev mode on {cfg.pci}") from exc
119 raise KsftSkipEx(f"Failed to enable SR-IOV on {cfg.ifname}") from exc
127 raise KsftSkipEx("VF interface not found")
189 raise KsftSkipEx("Could not find representor for the VF")
200 raise KsftSkipEx("Could not find VF port index")
220 raise KsftSkipEx("devlink rate configuration is not supported on the VF") from exc
221 raise KsftFailEx(f"rate_set failed on VF port {port_index}") from exc
267 raise KsftFailEx("iperf3 barrier wait timed") from exc
272 raise KsftFailEx("iperf3 bandwidth measurement failed") from exc
307 raise KsftFailE
[all...]
H A Dpp_alloc_fail.py28 raise KsftSkipEx("Kernel built without function error injection (or DebugFS)")
67 raise KsftFailEx("Traffic seems low:", stat2['rx-packets'] - stat1['rx-packets'])
76 raise
78 raise KsftSkipEx("Driver does not report 'rx-alloc-fail' via qstats")
95 raise KsftSkipEx("Allocation failures not increasing")
100 raise KsftSkipEx("Allocation increasing too slowly", seen_fails,
H A Drss_ctx.py61 raise KsftSkipEx("Device does not support ntuple-filters")
71 raise KsftSkipEx(f"Test requires at least {need_cnt} contexts, but device only has {cfg.context_cnt}")
125 raise KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
131 raise KsftFailEx("ethtool results missing key: " + k)
133 raise KsftFailEx(f"ethtool results empty for '{k}': {data[k]}")
229 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
282 raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
294 raise Exception(f"Driver didn't prevent us from targeting a nonexistent queue (context {ctx_id})")
315 raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
332 raise KsftSkipE
[all...]
H A Drss_input_xfrm.py67 raise KsftSkipEx("Need at least two CPUs to test symmetric RSS hash")
72 raise KsftSkipEx("socket.SO_INCOMING_CPU was added in Python 3.11")
77 raise KsftSkipEx("Symmetric RSS hash not supported by device")
97 raise KsftFailEx("Failed to run traffic")
/linux/scripts/gdb/linux/
H A Drbtree.py29 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
45 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
70 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
93 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
124 raise gdb.GdbError("No entry in tree")
144 raise gdb.GdbError("No entry in tree")
164 raise gdb.GdbError("No entry in tree")
184 raise gdb.GdbError("No entry in tree")
H A Dmapletree.py39 raise gdb.GdbError("must be {} not {}"
111 raise gdb.GdbError("{} must be {} not {}"
126 raise gdb.GdbError("{} must be {} not {}"
132 raise gdb.GdbError("{} must be {} not {}"
146 raise gdb.GdbError("{} must be {} not {}"
153 raise gdb.GdbError("{} must be {} not {}"
172 raise gdb.GdbError("{}: must be {} not {}"
183 raise gdb.GdbError("{}: must be {} not {}"
H A Dstackdepot.py21 raise gdb.GdbError(t)
30 raise gdb.GdbError("stack_depot_disabled\n")
38 raise gdb.GdbError("handle is 0\n")
58 raise gdb.GdbError("CONFIG_STACKDEPOT is not enabled")
77 raise gdb.GdbError('CONFIG_STACKDEPOT is not set')
H A Ddevice.py53 raise gdb.GdbError("Can't find bus type {!r}".format(name))
60 raise gdb.GdbError("Can't find device class {!r}".format(name))
112 raise gdb.GdbError("Can't find bus {!r}".format(arg))
143 raise gdb.GdbError('Please provide pointer to struct device')
146 raise gdb.GdbError('Please provide pointer to struct device')
H A Dproc.py160 raise gdb.GdbError("Provide a PID as integer value")
166 raise gdb.GdbError("Couldn't find a process with PID {}"
171 raise gdb.GdbError("No namespace for current process")
238 raise gdb.GdbError("Kernel not compiled with CONFIG_OF\n")
252 raise gdb.GdbError("No flattened device tree magic found\n")
269 raise gdb.GdbError("Could not open file to dump fdt")
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Denv.py54 raise Exception("Can't parse configuration line:", full_file)
86 raise KsftXfailEx("Test only works on netdevsim")
91 raise KsftXfailEx("Test does not work on netdevsim")
134 raise KsftXfailEx("Test only works on netdevsim")
147 raise KsftXfailEx("Test does not work on netdevsim")
222 raise Exception("Invalid environment, missing configuration:", missing,
232 raise Exception("Can't resolve remote interface name, v4 and v6 don't match")
234 raise Exception("Can't resolve remote interface name, multiple interfaces match")
253 raise KsftSkipEx(f"Test requires IPv{ipver} connectivity")
258 raise KsftXfailE
[all...]
H A Dload.py66 raise RuntimeError("iperf3 failed to run successfully")
70 raise ValueError("Failed to parse iperf3 JSON output") from exc
75 raise ValueError(f"iperf3 returned too few intervals: {len(samples)}")
95 raise Exception("iperf3 traffic did not ramp up")
142 raise Exception(f"Waiting for client to stop timed out after {timeout}s")
/linux/tools/testing/kunit/
H A Dkunit_kernel.py54 raise ConfigError('Could not call make command: ' + str(e))
56 raise ConfigError(e.output.decode())
71 raise ConfigError('Could not call make command: ' + str(e))
73 raise ConfigError(e.output.decode())
88 raise BuildError('Could not call execute make: ' + str(e))
90 raise BuildError(e.output)
93 raise BuildError(stderr.decode())
98 raise RuntimeError('not implemented!')
186 raise ConfigError(f'Specified kunitconfig ({path}) does not exist')
192 raise ConfigErro
[all...]
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py213 raise AttributeError(name)
295 raise YnlException(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
479 raise YnlException(f"Netlink error: {nl_msg.error}")
530 raise YnlException(f"Netlink error: {nl_msg.error}")
599 raise YnlException(f'Multicast group "{mcast_name}" not present in the spec')
628 raise YnlException(f'Multicast group "{mcast_name}" not present in the family')
650 raise YnlException(
652 raise YnlException(f"Attribute '{name}' not defined in any attribute-set")
708 raise YnlException(f"Family '{self.yaml['name']}' not supported by the kernel") from err
719 raise ConfigErro
[all...]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2ba.py66 raise AutomataError(f"Illegal character '{t.value[0]}'")
153 raise NotImplementedError
156 raise NotImplementedError
159 raise NotImplementedError
170 raise NotImplementedError
291 raise NotImplementedError
294 raise NotImplementedError
302 raise NotImplementedError
492 raise AutomataError(f"Invalid unary operator {p[1]}")
512 raise AutomataErro
[all...]
/linux/Documentation/sphinx/
H A Dkernel_include.py163 raise self.severe('Problems with directive path:\n'
167 raise self.severe('Problems with directive path:\n%s.' % ErrorString(error))
172 raise self.severe('Problem with directive:\n%s' % ErrorString(error))
187 raise self.severe(f'Problem with "{self.name}" directive:\n'
196 raise self.severe('Problem with "start-after" option of "%s" '
204 raise self.severe('Problem with "end-before" option of "%s" '
298 raise self.error(":number-lines: with non-integer start value")
350 raise self.warning(f'File "%s" doesn\'t exist', path)
357 raise self.severe('Problems with "%s" directive, prohibited path: %s' %
361 raise self.severe('Problems with "%s" directive, invalid path: %s' %
[all …]
/linux/scripts/
H A Dspdxcheck.py67 raise SPDXException(el, 'Duplicate License Identifier: %s' %lid)
78raise SPDXException(None, 'Exception %s missing license %s' %(exception, lic))
84raise SPDXException(el, 'Exception %s is missing SPDX-Licenses' %exception)
134 raise ParserException(tok, 'Invalid License ID')
138 raise ParserException(tok, 'Invalid Exception ID')
140 raise ParserException(tok, 'Exception not valid for license %s' %self.lastid)
161 raise ParserException(tok, 'Missing parentheses')
176 raise ParserException(tok, 'Invalid token')
188 raise ParserException(None, 'Unfinished license expression')
190 raise ParserException(p, 'Syntax error')

12345678910>>...17