Home
last modified time | relevance | path

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

12345678910>>...18

/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 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__.py30 raise NotImplementedError("Language not supported")
78 raise NotImplementedError("No language support defined")
82 raise NotImplementedError("Header boilerplate generation not supported")
86 raise NotImplementedError("Header boilerplate generation not supported")
90 raise NotImplementedError("Source boilerplate generation not supported")
98 raise NotImplementedError("No language support defined")
102 raise NotImplementedError("Declaration generation not supported")
106 raise NotImplementedError("Decoder generation not supported")
110 raise NotImplementedError("Definition generation not supported")
114 raise NotImplementedError("Encoder generation not supported")
[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.py59 raise KsftSkipEx("Ntuple filters not enabled on the device: " + str(features["ntuple-filters"]))
67 raise KsftSkipEx(f"Test requires at least {need_cnt} contexts, but device only has {cfg.context_cnt}")
121 raise KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
127 raise KsftFailEx("ethtool results missing key: " + k)
129 raise KsftFailEx(f"ethtool results empty for '{k}': {data[k]}")
208 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
261 raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
273 raise Exception(f"Driver didn't prevent us from targeting a nonexistent queue (context {ctx_id})")
294 raise Exception(f"Driver didn't prevent us from deactivating a used queue (context {ctx_id})")
311 raise KsftSkipE
[all...]
H A Drss_input_xfrm.py33 raise KsftSkipEx("Need at least two CPUs to test symmetric RSS hash")
38 raise KsftSkipEx("socket.SO_INCOMING_CPU was added in Python 3.11")
45 raise KsftSkipEx("Symmetric RSS hash not requested")
65 raise KsftFailEx("Failed to run traffic")
H A Drss_api.py21 raise KsftSkipEx(f"Local has only {qcnt} queues")
168 raise KsftFailEx("No notification received")
175 raise KsftFailEx("No notification received after reset")
198 raise KsftFailEx("No notification received")
353 raise KsftSkipEx("no input-xfrm supported")
380 raise KsftFailEx("No notification received after IOCTL change")
388 raise KsftFailEx("No notification received after Netlink change")
443 raise KsftFailEx("[NL] No notification after context creation")
449 raise KsftFailEx("[NL] No notification after context deletion")
457 raise KsftFailEx("[IOCTL] No notification after context creation")
[all …]
/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.py50 raise Exception("Can't parse configuration line:", full_file)
82 raise KsftXfailEx("Test only works on netdevsim")
87 raise KsftXfailEx("Test does not work on netdevsim")
130 raise KsftXfailEx("Test only works on netdevsim")
143 raise KsftXfailEx("Test does not work on netdevsim")
217 raise Exception("Invalid environment, missing configuration:", missing,
227 raise Exception("Can't resolve remote interface name, v4 and v6 don't match")
229 raise Exception("Can't resolve remote interface name, multiple interfaces match")
248 raise KsftSkipEx(f"Test requires IPv{ipver} connectivity")
252 raise KsftXfailE
[all...]
/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.py159 raise Exception(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
415 raise Exception(f'Multicast group "{mcast_name}" not present in the spec')
443 raise Exception(f'Multicast group "{mcast_name}" not present in the family')
464 raise Exception(
466 raise Exception(f"Attribute '{name}' not defined in any attribute-set")
489 raise Exception(f"Family '{self.yaml['name']}' not supported by the kernel")
500 raise ConfigError()
556 raise e
562 raise Exception(f"Space '{space}' has no attribute '{name}'")
603 raise Exceptio
[all...]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2ba.py65 raise ValueError(f"Illegal character '{t.value[0]}'")
154 raise NotImplementedError
157 raise NotImplementedError
160 raise NotImplementedError
171 raise NotImplementedError
292 raise NotImplementedError
295 raise NotImplementedError
303 raise NotImplementedError
490 raise ValueError(f"Invalid unary operator {p[1]}")
510 raise ValueError(f"Invalid binary operator {p[2]}")
[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')
/linux/lib/
H A Dnmi_backtrace.c31 * When raise() is called it will be passed a pointer to the
33 * directly from their raise() functions may rely on the mask
38 void (*raise)(cpumask_t *mask)) in nmi_trigger_cpumask_backtrace()
68 raise(to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()

12345678910>>...18