/linux/drivers/usb/gadget/function/ |
H A D | f_loopback.c | 169 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() 215 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind() 235 struct f_loopback *loop = ep->driver_data; in loopback_complete() local 236 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete() 241 if (ep == loop->out_ep) { in loopback_complete() 250 ep = loop->in_ep; in loopback_complete() [all …]
|
/linux/fs/ramfs/ |
H A D | file-nommu.c | 64 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/drivers/soc/fsl/qbman/ |
H A D | qman_test_stash.c | 215 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 …]
|
/linux/fs/afs/ |
H A D | cmservice.c | 237 int ret, loop; in afs_deliver_cb_callback() local 282 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback() 372 unsigned loop; in afs_deliver_cb_init_call_back_state3() local 411 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3() 412 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3() 487 unsigned loop; in afs_deliver_cb_probe_uuid() local 524 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid() 525 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid() 545 int loop; in SRXAFSCB_TellMeAboutYourself() local 570 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_in_map.c | 16 int loop, err; 29 int loop = ctx->loop, err = 0; in update_map_fn() 35 while (loop-- > 0) { in update_map_fn() 60 int loop = ctx->loop; in access_map_fn() 66 while (loop-- > 0) { in access_map_fn() 110 ctx.loop = 4; in test_map_in_map_access() 14 int loop, err; global() member 27 int loop = ctx->loop, err = 0; update_map_fn() local 58 int loop = ctx->loop; access_map_fn() local
|
H A D | htab_reuse.c | 11 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/lib/ |
H A D | build_OID_registry | 62 for (my $loop = 2; $loop <= $#components; $loop++) { 63 my $c = $components[$loop]; 102 for (my $loop = 2; $loop <= $#components; $loop++) { 103 my $c = $components[$loop];
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-loop | 1 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/kernel/locking/ |
H A D | qspinlock_paravirt.h | 264 pv_wait_early(struct pv_node *prev, int loop) in pv_wait_early() argument 266 if ((loop & PV_PREV_CHECK_MASK) != 0) in pv_wait_early() 295 int loop; in pv_wait_node() local 298 for (wait_early = false, loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_node() 301 if (pv_wait_early(pp, loop)) { in pv_wait_node() 404 int loop; in pv_wait_head_or_lock() local 430 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head_or_lock()
|
/linux/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 249 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local 278 for (loop = 1; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents() 279 for (i = 0; i < loop; i++) { in pefile_digest_pe_contents() 281 &ctx->secs[loop]) > 0) { in pefile_digest_pe_contents() 283 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents() 287 canon[i] = loop; in pefile_digest_pe_contents() 291 for (loop = 0; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents() 292 i = canon[loop]; in pefile_digest_pe_contents()
|
/linux/Documentation/hwmon/ |
H A D | g762.rst | 5 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/tools/testing/selftests/bpf/map_tests/ |
H A D | task_storage_map.c | 25 int loop; 37 while (!ctx->stop && i++ < ctx->loop) in lookup_fn() 55 unsigned int i, nr = 256, loop = 8192, cpu = 0; in test_task_storage_map_stress_lookup() 71 loop = atoi(cfg); in test_task_storage_map_stress_lookup() 100 ctx.loop = loop; in test_task_storage_map_stress_lookup() 24 int loop; global() member 54 unsigned int i, nr = 256, loop = 8192, cpu = 0; test_task_storage_map_stress_lookup() local
|
H A D | lpm_trie_map_get_next_key.c | 28 int loop; member 40 while (!ctx->stop && i++ < ctx->loop) in get_next_key_fn() 70 unsigned int i, nr = MAX_NR_THREADS, loop = 65536; in test_lpm_trie_map_get_next_key() local 91 ctx.loop = loop; in test_lpm_trie_map_get_next_key()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_compiler.h | 8 #define __pragma_loop_unroll DO_PRAGMA_(clang loop unroll(enable)) 16 #define __pragma_loop_unroll_count(N) DO_PRAGMA_(clang loop unroll_count(N)) 22 #define __pragma_loop_unroll_full DO_PRAGMA_(clang loop unroll(full)) 28 #define __pragma_loop_no_unroll DO_PRAGMA_(clang loop unroll(disable))
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp_nvram.c | 229 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 …]
|
H A D | cpqphp_core.c | 163 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 …]
|
H A D | ibmphp_core.c | 116 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/drivers/watchdog/ |
H A D | imx7ulp_wdt.c | 134 u32 loop = RETRY_MAX; in imx7ulp_wdt_enable() local 139 } while (--loop > 0 && ((!!(val & WDOG_CS_EN)) != enable || ret)); in imx7ulp_wdt_enable() 141 if (loop == 0) in imx7ulp_wdt_enable() 193 u32 loop = RETRY_MAX; in imx7ulp_wdt_set_timeout() local 198 } while (--loop > 0 && (val != toval || ret)); in imx7ulp_wdt_set_timeout() 200 if (loop == 0) in imx7ulp_wdt_set_timeout() 285 u32 loop = RETRY_MAX; in imx7ulp_wdt_init() local 303 } while (--loop > 0 && (cs != val || toval != timeout || ret)); in imx7ulp_wdt_init() 305 if (loop == 0) in imx7ulp_wdt_init()
|
/linux/arch/m68k/fpsp040/ |
H A D | binstr.S | 25 | 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/drivers/net/can/ |
H A D | vcan.c | 90 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/drivers/gpu/drm/gma500/ |
H A D | intel_gmbus.c | 277 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/drivers/usb/usbip/ |
H A D | usbip_common.c | 410 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/samples/vfs/ |
H A D | test-statx.c | 152 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/arch/alpha/lib/ |
H A D | ev6-clear_user.S | 86 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/arch/arm64/include/asm/ |
H A D | percpu.h | 70 unsigned int loop; \ 82 : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \ 91 unsigned int loop; \ 104 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
|