Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/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, in kunit_try_catch_init()
23 try_catch->try = try; in kunit_try_catch_init()
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) kunit_try_catch_init() argument
/kernel/linux/linux-6.6/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, in kunit_try_catch_init()
23 try_catch->try = try; in kunit_try_catch_init()
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) kunit_try_catch_init() argument
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dpci-cxl.c87 int i, hwirq, try; in pnv_cxl_alloc_hwirq_ranges() local
93 try = num; in pnv_cxl_alloc_hwirq_ranges()
94 while (try) { in pnv_cxl_alloc_hwirq_ranges()
95 hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, try); in pnv_cxl_alloc_hwirq_ranges()
98 try /= 2; in pnv_cxl_alloc_hwirq_ranges()
100 if (!try) in pnv_cxl_alloc_hwirq_ranges()
104 irqs->range[i] = try; in pnv_cxl_alloc_hwirq_ranges()
107 num -= try; in pnv_cxl_alloc_hwirq_ranges()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dpci-cxl.c88 int i, hwirq, try; in pnv_cxl_alloc_hwirq_ranges() local
94 try = num; in pnv_cxl_alloc_hwirq_ranges()
95 while (try) { in pnv_cxl_alloc_hwirq_ranges()
96 hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, try); in pnv_cxl_alloc_hwirq_ranges()
99 try /= 2; in pnv_cxl_alloc_hwirq_ranges()
101 if (!try) in pnv_cxl_alloc_hwirq_ranges()
105 irqs->range[i] = try; in pnv_cxl_alloc_hwirq_ranges()
108 num -= try; in pnv_cxl_alloc_hwirq_ranges()
/kernel/linux/linux-5.10/net/dccp/ccids/lib/
H A Dtfrc_equation.c593 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; in tfrc_binsearch() local
596 try = (low + high) / 2; in tfrc_binsearch()
597 if (fval <= tfrc_calc_x_lookup[try][small]) in tfrc_binsearch()
598 high = try; in tfrc_binsearch()
600 low = try + 1; in tfrc_binsearch()
657 * tfrc_calc_x_reverse_lookup - try to find p given f(p)
/kernel/linux/linux-6.6/net/dccp/ccids/lib/
H A Dtfrc_equation.c593 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; in tfrc_binsearch() local
596 try = (low + high) / 2; in tfrc_binsearch()
597 if (fval <= tfrc_calc_x_lookup[try][small]) in tfrc_binsearch()
598 high = try; in tfrc_binsearch()
600 low = try + 1; in tfrc_binsearch()
657 * tfrc_calc_x_reverse_lookup - try to find p given f(p)
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Drsrc_iodyn.c107 unsigned int try; in iodyn_find_io() local
132 try = res->end + 1; in iodyn_find_io()
133 if ((*base == 0) || (*base == try)) { in iodyn_find_io()
137 *base = try; in iodyn_find_io()
144 try = res->start - num; in iodyn_find_io()
145 if ((*base == 0) || (*base == try)) { in iodyn_find_io()
150 *base = try; in iodyn_find_io()
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Drsrc_iodyn.c107 unsigned int try; in iodyn_find_io() local
132 try = res->end + 1; in iodyn_find_io()
133 if ((*base == 0) || (*base == try)) { in iodyn_find_io()
137 *base = try; in iodyn_find_io()
144 try = res->start - num; in iodyn_find_io()
145 if ((*base == 0) || (*base == try)) { in iodyn_find_io()
150 *base = try; in iodyn_find_io()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
H A Dphy-brcm-sata.c401 int try; in brcm_ns2_sata_init() local
440 try = 50; in brcm_ns2_sata_init()
441 while (try) { in brcm_ns2_sata_init()
447 try--; in brcm_ns2_sata_init()
449 if (!try) { in brcm_ns2_sata_init()
464 unsigned int val, try; in brcm_nsp_sata_init() local
506 try = 50; in brcm_nsp_sata_init()
507 while (--try) { in brcm_nsp_sata_init()
514 if (!try) { in brcm_nsp_sata_init()
536 unsigned int val, try; in brcm_sr_sata_init() local
588 unsigned int try; brcm_dsl_sata_init() local
[all...]
/kernel/linux/linux-5.10/scripts/
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:
35 try:
/kernel/linux/linux-6.6/scripts/
H A Dshow_delta64 try:
94 try:
102 # assume a numeric base. If that fails, try searching
104 try:
110 try:
/kernel/linux/linux-6.6/init/
H A Ddo_mounts.c262 int try; in mount_nfs_root() local
268 * The server or network may not be ready, so try several in mount_nfs_root()
273 for (try = 1; ; try++) { in mount_nfs_root()
276 if (try > NFSROOT_RETRY_MAX) in mount_nfs_root()
304 int try; in mount_cifs_root() local
310 for (try = 1; ; try++) { in mount_cifs_root()
314 if (try > CIFSROOT_RETRY_MAX) in mount_cifs_root()
/kernel/linux/linux-6.6/drivers/phy/broadcom/
H A Dphy-brcm-sata.c429 int try; in brcm_ns2_sata_init() local
468 try = 50; in brcm_ns2_sata_init()
469 while (try) { in brcm_ns2_sata_init()
475 try--; in brcm_ns2_sata_init()
477 if (!try) { in brcm_ns2_sata_init()
492 unsigned int val, try; in brcm_nsp_sata_init() local
534 try = 50; in brcm_nsp_sata_init()
535 while (--try) { in brcm_nsp_sata_init()
542 if (!try) { in brcm_nsp_sata_init()
564 unsigned int val, try; in brcm_sr_sata_init() local
616 unsigned int try; brcm_dsl_sata_init() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/
H A Dlbtest63 try:
73 try:
87 try:
119 try:
/kernel/linux/linux-5.10/include/linux/
H A Dlockdep.h430 #define LOCK_CONTENDED(_lock, try, lock) \
432 if (!try(_lock)) { \
439 #define LOCK_CONTENDED_RETURN(_lock, try, lock) \
442 if (!try(_lock)) { \
456 #define LOCK_CONTENDED(_lock, try, lock) \
459 #define LOCK_CONTENDED_RETURN(_lock, try, lock) \
471 #define LOCK_CONTENDED_FLAGS(_lock, try, lock, lockfl, flags) \
472 LOCK_CONTENDED((_lock), (try), (lock))
476 #define LOCK_CONTENDED_FLAGS(_lock, try, lock, lockfl, flags) \
/kernel/linux/linux-5.10/init/
H A Ddo_mounts.c289 * try non-existent, but valid partition, which may only exist in name_to_dev_t()
297 /* try disk name without <part number> */ in name_to_dev_t()
304 /* try disk name without p<part number> */ in name_to_dev_t()
488 int try, err; in mount_nfs_root() local
495 * The server or network may not be ready, so try several in mount_nfs_root()
500 for (try = 1; ; try++) { in mount_nfs_root()
505 if (try > NFSROOT_RETRY_MAX) in mount_nfs_root()
530 int try, err; in mount_cifs_root() local
537 for (try in mount_cifs_root()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dperf_api_probe.c62 const char *try[] = {"cycles:u", "instructions:u", "cpu-clock:u", NULL}; in perf_probe_api() local
73 ret = perf_do_probe_api(fn, cpu, try[i++]); in perf_probe_api()
76 } while (ret == -EAGAIN && try[i]); in perf_probe_api()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dperf_api_probe.c62 const char *try[] = {"cycles:u", "instructions:u", "cpu-clock:u", NULL}; in perf_probe_api() local
74 ret = perf_do_probe_api(fn, cpu, try[i++]); in perf_probe_api()
77 } while (ret == -EAGAIN && try[i]); in perf_probe_api()
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
H A Dgrukdump.c115 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; in gru_dump_context() local
121 for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) { in gru_dump_context()
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/
H A Dgrukdump.c115 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; in gru_dump_context() local
121 for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) { in gru_dump_context()
/kernel/linux/linux-6.6/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))
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dbt3c_cs.c646 int *try = priv_data; in bt3c_check_config() local
648 if (!try) in bt3c_check_config()
687 unsigned long try; in bt3c_config() local
692 for (try = 0; try < 2; try++) in bt3c_config()
693 if (!pcmcia_loop_config(link, bt3c_check_config, (void *) try)) in bt3c_config()
696 /* Second pass: try to find an entry that isn't picky about in bt3c_config()
697 * its base address, then try to grab any standard serial port in bt3c_config()
698 * address, and finally try t in bt3c_config()
[all...]
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbt3c_cs.c646 int *try = priv_data; in bt3c_check_config() local
648 if (!try) in bt3c_check_config()
687 unsigned long try; in bt3c_config() local
692 for (try = 0; try < 2; try++) in bt3c_config()
693 if (!pcmcia_loop_config(link, bt3c_check_config, (void *) try)) in bt3c_config()
696 /* Second pass: try to find an entry that isn't picky about in bt3c_config()
697 * its base address, then try to grab any standard serial port in bt3c_config()
698 * address, and finally try t in bt3c_config()
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-rv8803.c71 int try = RV8803_I2C_TRY_COUNT; in rv8803_read_reg() local
80 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_reg()
90 int try = RV8803_I2C_TRY_COUNT; in rv8803_read_regs() local
95 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_regs()
108 int try = RV8803_I2C_TRY_COUNT; in rv8803_write_reg() local
113 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_reg()
123 int try = RV8803_I2C_TRY_COUNT; in rv8803_write_regs() local
129 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_regs()

Completed in 15 milliseconds

12345678