Searched refs:try (Results 1 - 25 of 105) sorted by relevance

12345

/linux-master/lib/kunit/
H A Dtry-catch-impl.h3 * Internal kunit try catch implementation to be shared with tests.
12 #include <kunit/try-catch.h>
19 kunit_try_catch_func_t try,
23 try_catch->try = try;
17 kunit_try_catch_init(struct kunit_try_catch *try_catch, struct kunit *test, kunit_try_catch_func_t try, kunit_try_catch_func_t catch) argument
H A DMakefile8 try-catch.o \
H A Dtry-catch.c15 #include "try-catch-impl.h"
28 try_catch->try(try_catch->context);
79 kunit_err(test, "try timed out\n");
/linux-master/scripts/
H A DMakefile.compiler9 # would try to directly execute the shell builtin 'command'. This workaround
18 # try-run
19 # Usage: option = $(call try-run, $(CC)...-o "$$TMP",option-ok,otherwise)
22 try-run = $(shell set -e; \
34 as-option = $(call try-run,\
40 as-instr = $(call try-run,\
45 __cc-option = $(call try-run,\
56 cc-option-yn = $(call try-run,\
61 cc-disable-warning = $(call try-run,\
74 ld-option = $(call try
[all...]
H A Dshow_delta64 try:
94 try:
102 # assume a numeric base. If that fails, try searching
104 try:
110 try:
H A Djobserver-exec16 try:
46 try:
H A Ddiffconfig96 try:
133 try:
/linux-master/net/dccp/ccids/lib/
H A Dtfrc_equation.c593 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; local
596 try = (low + high) / 2;
597 if (fval <= tfrc_calc_x_lookup[try][small])
598 high = try;
600 low = try + 1;
657 * tfrc_calc_x_reverse_lookup - try to find p given f(p)
/linux-master/include/kunit/
H A Dtry-catch.h25 * @try: The function, the test case, to attempt to run.
26 * @catch: The function called if @try bails out.
27 * @context: used to pass user data to the try and catch functions.
31 * calling kunit_try_catch_throw(). If kunit_try_catch_throw() is called, @try
51 kunit_try_catch_func_t try;
/linux-master/drivers/media/pci/zoran/
H A Dzoran_card.h23 struct zoran_jpg_settings *settings, int try);
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-cxl.c88 int i, hwirq, try; local
94 try = num;
95 while (try) {
96 hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, try);
99 try /= 2;
101 if (!try)
105 irqs->range[i] = try;
108 num -= try;
/linux-master/drivers/pcmcia/
H A Drsrc_iodyn.c107 unsigned int try; local
132 try = res->end + 1;
133 if ((*base == 0) || (*base == try)) {
137 *base = try;
144 try = res->start - num;
145 if ((*base == 0) || (*base == try)) {
150 *base = try;
/linux-master/tools/perf/util/
H A Dperf_api_probe.c62 const char *try[] = {"cycles:u", "instructions:u", "cpu-clock:u", NULL}; local
74 ret = perf_do_probe_api(fn, cpu, try[i++]);
77 } while (ret == -EAGAIN && try[i]);
/linux-master/tools/verification/dot2/
H A Ddot2k27 try:
/linux-master/init/
H A Ddo_mounts.c265 int try; local
271 * The server or network may not be ready, so try several
276 for (try = 1; ; try++) {
279 if (try > NFSROOT_RETRY_MAX)
307 int try; local
313 for (try = 1; ; try++) {
317 if (try > CIFSROOT_RETRY_MAX)
/linux-master/arch/arm/include/debug/
H A Dsa1100.S32 @ if Ser3 is inactive, then try Ser1
37 @ if Ser1 is inactive, then try Ser2
/linux-master/drivers/phy/broadcom/
H A Dphy-brcm-sata.c429 int try; local
468 try = 50;
469 while (try) {
475 try--;
477 if (!try) {
492 unsigned int val, try; local
534 try = 50;
535 while (--try) {
542 if (!try) {
564 unsigned int val, try; local
616 unsigned int try; local
[all...]
/linux-master/tools/virtio/
H A DMakefile8 try-run = $(shell set -e; \
14 __cc-option = $(call try-run,\
/linux-master/drivers/misc/sgi-gru/
H A Dgrukdump.c115 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; local
121 for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) {
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A DMakefile12 no-pie-option := $(call try-run, echo 'int main() { return 0; }' | \
/linux-master/include/linux/surface_aggregator/
H A Dserial_hub.h370 #define __SSH_PACKET_PRIORITY(base, try) \
371 (((base) << 4) | ((try) & 0x0f))
378 * @try: The number of tries (must be less than 16).
388 #define SSH_PACKET_PRIORITY(base, try) \
389 __SSH_PACKET_PRIORITY(SSH_PACKET_PRIORITY_##base, (try))
/linux-master/tools/hv/
H A Dvmbus_testing176 try:
193 try:
226 try:
365 try:
/linux-master/fs/bcachefs/
H A Dsix.c118 struct task_struct *task, bool try)
125 (try != !(atomic_read(&lock->state) & SIX_LOCK_HELD_write)));
172 if (try) {
179 if (try && !ret) {
188 if (!ret || (type == SIX_LOCK_write && !try)) {
200 EBUG_ON(type == SIX_LOCK_write && try && ret <= 0 &&
272 static bool do_six_trylock(struct six_lock *lock, enum six_lock_type type, bool try) argument
276 ret = __do_six_trylock(lock, type, current, try);
117 __do_six_trylock(struct six_lock *lock, enum six_lock_type type, struct task_struct *task, bool try) argument
/linux-master/kernel/locking/
H A Dpercpu-rwsem.c167 bool __sched __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) argument
172 if (try)
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux.c240 int try, clock = 0; local
288 for (try = 0; try < 3; try++) {
297 if (try == 3) {
324 /* Must try at least 3 times according to DP spec */
325 for (try = 0; try < 5; try++) {

Completed in 484 milliseconds

12345