Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/linux-6.3-rc2/drivers/usb/gadget/function/
A Df_loopback.c196 if (!loop->out_ep) in loopback_bind()
217 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
289 loop->out_ep : loop->in_ep, in loopback_complete()
301 disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL); in disable_loopback()
330 out_req = lb_alloc_ep_req(loop->out_ep, loop->buflen); in alloc_requests()
384 result = enable_endpoint(cdev, loop, loop->in_ep); in enable_loopback()
388 result = enable_endpoint(cdev, loop, loop->out_ep); in enable_loopback()
430 loop = kzalloc(sizeof *loop, GFP_KERNEL); in loopback_alloc()
431 if (!loop) in loopback_alloc()
442 if (!loop->qlen) in loopback_alloc()
[all …]
/linux-6.3-rc2/fs/ramfs/
A Dfile-nommu.c64 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
95 for (loop = npages; loop < xpages; loop++) in ramfs_nommu_expand_for_mapping()
96 __free_page(pages + loop); in ramfs_nommu_expand_for_mapping()
104 for (loop = 0; loop < npages; loop++) { in ramfs_nommu_expand_for_mapping()
105 struct page *page = pages + loop; in ramfs_nommu_expand_for_mapping()
107 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping()
123 while (loop < npages) in ramfs_nommu_expand_for_mapping()
124 __free_page(pages + loop++); in ramfs_nommu_expand_for_mapping()
239 for (loop = 0; loop < nr_folios; loop++) { in ramfs_nommu_get_unmapped_area()
240 if (pfn + nr_pages != folio_pfn(fbatch.folios[loop])) { in ramfs_nommu_get_unmapped_area()
[all …]
/linux-6.3-rc2/drivers/soc/fsl/qbman/
A Dqman_test_stash.c215 int loop; in allocate_frame_data() local
229 for (loop = 0; loop < HP_NUM_WORDS; loop++) { in allocate_frame_data()
257 int loop; in process_frame_data() local
264 for (loop = 0; loop < HP_NUM_WORDS; loop++, p++) { in process_frame_data()
320 int loop; in create_per_cpu_handlers() local
329 for (loop = 0; loop < HP_PER_CPU; loop++) { in create_per_cpu_handlers()
443 int loop; in init_phase2() local
449 for (loop = 0; loop < HP_PER_CPU; loop++) { in init_phase2()
453 if (!loop) in init_phase2()
494 for (loop = 0; loop < HP_PER_CPU; loop++) { in init_phase3()
[all …]
A Dbman_test.c40 int loop = 1; in test_init() local
42 while (loop--) in test_init()
/linux-6.3-rc2/fs/afs/
A Dcmservice.c236 int ret, loop; in afs_deliver_cb_callback() local
281 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
371 unsigned loop; in afs_deliver_cb_init_call_back_state3() local
410 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3()
411 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
486 unsigned loop; in afs_deliver_cb_probe_uuid() local
523 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
524 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
544 int loop; in SRXAFSCB_TellMeAboutYourself() local
569 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
[all …]
/linux-6.3-rc2/fs/
A Dbinfmt_elf_fdpic.c162 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
697 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
711 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
756 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
796 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
812 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
821 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
837 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
842 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
879 for (loop = 1; loop < nloads; loop++) { in elf_fdpic_map_file()
[all …]
/linux-6.3-rc2/lib/
A Dbuild_OID_registry57 for (my $loop = 2; $loop <= $#components; $loop++) {
58 my $c = $components[$loop];
97 for (my $loop = 2; $loop <= $#components; $loop++) {
98 my $c = $components[$loop];
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-block-loop1 What: /sys/block/loopX/loop/autoclear
10 What: /sys/block/loopX/loop/backing_file
15 (RO) The path of the backing file that the loop device maps its
18 What: /sys/block/loopX/loop/offset
25 What: /sys/block/loopX/loop/sizelimit
33 What: /sys/block/loopX/loop/partscan
40 per loop device during its setup by setting LO_FLAGS_PARTSCAN in
44 What: /sys/block/loopX/loop/dio
/linux-6.3-rc2/kernel/locking/
A Dqspinlock_paravirt.h267 pv_wait_early(struct pv_node *prev, int loop) in pv_wait_early() argument
269 if ((loop & PV_PREV_CHECK_MASK) != 0) in pv_wait_early()
297 int loop; in pv_wait_node() local
301 for (wait_early = false, loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_node()
304 if (pv_wait_early(pp, loop)) { in pv_wait_node()
408 int loop; in pv_wait_head_or_lock() local
434 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head_or_lock()
/linux-6.3-rc2/tools/testing/selftests/bpf/map_tests/
A Dtask_storage_map.c24 int loop; member
36 while (!ctx->stop && i++ < ctx->loop) in lookup_fn()
54 unsigned int i, nr = 256, loop = 8192, cpu = 0; in test_task_storage_map_stress_lookup() local
70 loop = atoi(cfg); in test_task_storage_map_stress_lookup()
99 ctx.loop = loop; in test_task_storage_map_stress_lookup()
/linux-6.3-rc2/crypto/asymmetric_keys/
A Dverify_pefile.c245 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local
274 for (loop = 1; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
275 for (i = 0; i < loop; i++) { in pefile_digest_pe_contents()
277 &ctx->secs[loop]) > 0) { in pefile_digest_pe_contents()
279 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents()
283 canon[i] = loop; in pefile_digest_pe_contents()
287 for (loop = 0; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
288 i = canon[loop]; in pefile_digest_pe_contents()
/linux-6.3-rc2/Documentation/hwmon/
A Dg762.rst5 and performs closed-loop or open-loop control of the fan speed. Two
25 set desired fan speed. This only makes sense in closed-loop
44 in closed-loop control mode, if fan RPM value is 25% out
50 speed control (open-loop) via pwm1 described below, 2 for
51 automatic fan speed control (closed-loop) via fan1_target
58 get or set PWM fan control value in open-loop mode. This is an
63 when current fan speed control mode is open-loop ('pwm1_enable' set to 1),
65 entry (0 stops the fan, 255 makes it run at full speed). In closed-loop mode
67 the chip via 'fan1_target'. In closed-loop mode, the target speed is compared
/linux-6.3-rc2/drivers/pci/hotplug/
A Dcpqphp_nvram.c229 u8 loop; in store_HRT() local
292 loop = 0; in store_HRT()
295 loop++; in store_HRT()
311 p_ev_ctrl->mem_avail = loop; in store_HRT()
317 loop = 0; in store_HRT()
320 loop++; in store_HRT()
342 loop = 0; in store_HRT()
345 loop++; in store_HRT()
361 p_ev_ctrl->io_avail = loop; in store_HRT()
367 loop = 0; in store_HRT()
[all …]
A Dcpqphp_core.c163 int loop; in pci_print_IRQ_route() local
169 for (loop = 0; loop < len; ++loop) { in pci_print_IRQ_route()
170 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
311 long loop; in get_slot_mapping() local
320 for (loop = 0; loop < len; ++loop) { in get_slot_mapping()
683 int loop; in one_time_init() local
705 for (loop = 0; loop < 256; loop++) in one_time_init()
706 cpqhp_slot_list[loop] = NULL; in one_time_init()
1250 int loop; in unload_cpqphpd() local
1311 for (loop = 0; loop < 256; loop++) { in unload_cpqphpd()
[all …]
A Dibmphp_core.c116 int loop; in ibmphp_init_devno() local
132 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno()
134 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
152 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
154 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno()
156 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno()
158 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno()
161 rtable->slots[loop].irq[0].link); in ibmphp_init_devno()
163 rtable->slots[loop].irq[1].link); in ibmphp_init_devno()
165 rtable->slots[loop].irq[2].link); in ibmphp_init_devno()
[all …]
/linux-6.3-rc2/drivers/watchdog/
A Dimx7ulp_wdt.c133 u32 loop = RETRY_MAX; in imx7ulp_wdt_enable() local
138 } while (--loop > 0 && ((!!(val & WDOG_CS_EN)) != enable || ret)); in imx7ulp_wdt_enable()
140 if (loop == 0) in imx7ulp_wdt_enable()
192 u32 loop = RETRY_MAX; in imx7ulp_wdt_set_timeout() local
197 } while (--loop > 0 && (val != toval || ret)); in imx7ulp_wdt_set_timeout()
199 if (loop == 0) in imx7ulp_wdt_set_timeout()
284 u32 loop = RETRY_MAX; in imx7ulp_wdt_init() local
294 } while (--loop > 0 && (cs != val || toval != timeout || ret)); in imx7ulp_wdt_init()
296 if (loop == 0) in imx7ulp_wdt_init()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dhtab_reuse.c11 int loop; member
25 while (i++ < ctx->loop && !ctx->stop) { in htab_lookup_fn()
42 while (i++ < ctx->loop && !ctx->stop) { in htab_update_fn()
75 ctx.loop = 500; in test_htab_reuse()
/linux-6.3-rc2/drivers/net/can/
A Dvcan.c90 int loop; in vcan_tx() local
100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
106 if (loop) { in vcan_tx()
119 if (loop) { in vcan_tx()
/linux-6.3-rc2/arch/m68k/fpsp040/
A Dbinstr.S25 | A2. Beginning of the loop:
43 | A7. Decrement d6 (LEN counter) and repeat the loop until zero.
81 | A2. Copy d2:d3 to d4:d5. Start loop.
83 loop: label
113 tstw %d7 |if zero, store digit & to loop
122 dbf %d0,loop |do loop some more!
129 dbf %d0,loop |do loop some more!
/linux-6.3-rc2/drivers/nvme/target/
A DMakefile6 obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o
17 nvme-loop-y += loop.o
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Dintel_gmbus.c277 u32 val, loop = 0; in gmbus_xfer() local
289 } while (--len && ++loop < 4); in gmbus_xfer()
292 u32 val, loop; in gmbus_xfer() local
294 val = loop = 0; in gmbus_xfer()
296 val |= *buf++ << (8 * loop); in gmbus_xfer()
297 } while (--len && ++loop < 4); in gmbus_xfer()
315 val = loop = 0; in gmbus_xfer()
317 val |= *buf++ << (8 * loop); in gmbus_xfer()
318 } while (--len && ++loop < 4); in gmbus_xfer()
/linux-6.3-rc2/samples/vfs/
A Dtest-statx.c152 int loop, byte; in dump_statx() local
171 for (loop = 7; loop >= 0; loop--) { in dump_statx()
172 int bit = byte + loop; in dump_statx()
/linux-6.3-rc2/arch/alpha/lib/
A Dev6-clear_user.S86 subq $1, 16, $4 # .. .. .. E : If < 16, we can not use the huge loop
87 and $16, 0x3f, $2 # .. .. E .. : Forward work for huge loop
88 subq $2, 0x40, $3 # .. E .. .. : bias counter (huge loop)
140 subq $1, 16, $4 # .. .. E .. : Forward calculation - repeat the loop?
152 subq $0, 168, $5 # E : U L L U : two trips through the loop left?
198 # so we will use $0 as the loop counter
/linux-6.3-rc2/drivers/usb/usbip/
A Dusbip_common.c410 int loop; in urb_to_usbip() local
412 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in urb_to_usbip()
413 if (flags & flag_map[loop].urb_flag) in urb_to_usbip()
414 map_flags |= flag_map[loop].usbip_flag; in urb_to_usbip()
423 int loop; in usbip_to_urb() local
425 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in usbip_to_urb()
426 if (flags & flag_map[loop].usbip_flag) in usbip_to_urb()
427 map_flags |= flag_map[loop].urb_flag; in usbip_to_urb()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dpercpu.h70 unsigned int loop; \
82 : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \
91 unsigned int loop; \
104 : [loop] "=&r" (loop), [ret] "=&r" (ret), \

Completed in 45 milliseconds

12345678910>>...21