Home
last modified time | relevance | path

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

12345678910>>...20

/linux-6.1.9/drivers/usb/gadget/function/ !
Df_loopback.c169 struct f_loopback *loop = func_to_loop(f); in loopback_bind() local
187 loop->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_source_desc); in loopback_bind()
188 if (!loop->in_ep) { in loopback_bind()
195 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); in loopback_bind()
196 if (!loop->out_ep) in loopback_bind()
217 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
237 struct f_loopback *loop = ep->driver_data; in loopback_complete() local
238 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
243 if (ep == loop->out_ep) { in loopback_complete()
252 ep = loop->in_ep; in loopback_complete()
[all …]
/linux-6.1.9/fs/ramfs/ !
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()
206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local
239 for (loop = 0; loop < nr_folios; loop++) { in ramfs_nommu_get_unmapped_area()
[all …]
/linux-6.1.9/drivers/soc/fsl/qbman/ !
Dqman_test_stash.c215 int loop; in allocate_frame_data() local
229 for (loop = 0; loop < HP_NUM_WORDS; loop++) { in allocate_frame_data()
230 frame_ptr[loop] = lfsr; 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()
346 struct list_head *loop, *tmp; in destroy_per_cpu_handlers() local
352 list_for_each_safe(loop, tmp, &hp_cpu->handlers) { in destroy_per_cpu_handlers()
354 struct hp_handler *handler = list_entry(loop, struct hp_handler, in destroy_per_cpu_handlers()
[all …]
Dbman_test.c40 int loop = 1; in test_init() local
42 while (loop--) in test_init()
/linux-6.1.9/fs/afs/ !
Dcmservice.c234 int ret, loop; in afs_deliver_cb_callback() local
279 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
369 unsigned loop; in afs_deliver_cb_init_call_back_state3() local
408 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3()
409 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
484 unsigned loop; in afs_deliver_cb_probe_uuid() local
521 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
522 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
542 int loop; in SRXAFSCB_TellMeAboutYourself() local
567 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
[all …]
/linux-6.1.9/fs/ !
Dbinfmt_elf_fdpic.c143 int retval, loop; in elf_fdpic_fetch_phdrs() local
162 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
508 int loop; in create_elf_fdpic_tables() local
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()
752 int loop, ret; in elf_fdpic_map_file() local
756 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
757 if (params->phdrs[loop].p_type == PT_LOAD) 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()
[all …]
/linux-6.1.9/lib/ !
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.1.9/Documentation/ABI/testing/ !
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.1.9/kernel/locking/ !
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.1.9/tools/testing/selftests/bpf/map_tests/ !
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.1.9/crypto/asymmetric_keys/ !
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.1.9/Documentation/hwmon/ !
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.1.9/drivers/pci/hotplug/ !
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()
336 p_ev_ctrl->p_mem_avail = 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()
[all …]
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()
171 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
172 tslot = cpqhp_routing_table->slots[loop].slot; in pci_print_IRQ_route()
311 long loop; in get_slot_mapping() local
320 for (loop = 0; loop < len; ++loop) { in get_slot_mapping()
321 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
322 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
323 tslot = cpqhp_routing_table->slots[loop].slot; in get_slot_mapping()
[all …]
Dibmphp_core.c116 int loop; in ibmphp_init_devno() local
132 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno()
133 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
134 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); 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()
[all …]
/linux-6.1.9/drivers/watchdog/ !
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.1.9/drivers/net/can/ !
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.1.9/arch/m68k/fpsp040/ !
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.1.9/drivers/nvme/target/ !
DMakefile6 obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o
17 nvme-loop-y += loop.o
/linux-6.1.9/drivers/gpu/drm/gma500/ !
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.1.9/samples/vfs/ !
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.1.9/arch/alpha/lib/ !
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.1.9/drivers/usb/usbip/ !
Dusbip_common.c409 int loop; in urb_to_usbip() local
411 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in urb_to_usbip()
412 if (flags & flag_map[loop].urb_flag) in urb_to_usbip()
413 map_flags |= flag_map[loop].usbip_flag; in urb_to_usbip()
422 int loop; in usbip_to_urb() local
424 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in usbip_to_urb()
425 if (flags & flag_map[loop].usbip_flag) in usbip_to_urb()
426 map_flags |= flag_map[loop].urb_flag; in usbip_to_urb()
/linux-6.1.9/tools/testing/selftests/bpf/progs/ !
Dtest_get_stack_rawtp_err.c17 goto loop; in bpf_prog2()
20 loop: in bpf_prog2()
/linux-6.1.9/arch/arm64/include/asm/ !
Dpercpu.h70 unsigned int loop; \
82 : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \
91 unsigned int loop; \
104 : [loop] "=&r" (loop), [ret] "=&r" (ret), \

12345678910>>...20