/linux/drivers/usb/gadget/function/ |
A D | f_loopback.c | 196 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/fs/ramfs/ |
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, loop, ret; in ramfs_nommu_get_unmapped_area() local 236 for (loop = lpages; loop > 1; loop--) in ramfs_nommu_get_unmapped_area() [all …]
|
/linux/drivers/soc/fsl/qbman/ |
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() 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 …]
|
/linux/fs/cachefiles/ |
A D | key.c | 38 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local 46 for (loop = 2; loop < keylen; loop++) { in cachefiles_cook_key() 47 ch = raw[loop]; in cachefiles_cook_key() 98 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key() 117 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key()
|
/linux/fs/afs/ |
A D | cmservice.c | 234 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/fs/ |
A D | binfmt_elf_fdpic.c | 162 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs() 696 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables() 710 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables() 755 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file() 795 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 811 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file() 820 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 836 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file() 841 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 878 for (loop = 1; loop < nloads; loop++) { in elf_fdpic_map_file() [all …]
|
/linux/lib/ |
A D | build_OID_registry | 57 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/Documentation/ABI/testing/ |
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/ |
A D | qspinlock_paravirt.h | 267 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/crypto/asymmetric_keys/ |
A D | verify_pefile.c | 245 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/Documentation/hwmon/ |
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/drivers/pci/hotplug/ |
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() 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 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() 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 D | ibmphp_core.c | 124 int loop; in ibmphp_init_devno() local 140 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno() 142 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno() 160 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno() 162 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno() 164 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno() 166 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno() 169 rtable->slots[loop].irq[0].link); in ibmphp_init_devno() 171 rtable->slots[loop].irq[1].link); in ibmphp_init_devno() 173 rtable->slots[loop].irq[2].link); in ibmphp_init_devno() [all …]
|
/linux/arch/m68k/fpsp040/ |
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/gpu/drm/gma500/ |
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/net/can/ |
A D | vcan.c | 90 int loop; in vcan_tx() local 99 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx() 103 if (loop) { in vcan_tx() 116 if (loop) { in vcan_tx()
|
/linux/drivers/nvme/target/ |
A D | Makefile | 6 obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o 16 nvme-loop-y += loop.o
|
/linux/samples/vfs/ |
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/ |
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/drivers/usb/early/ |
A D | ehci-dbgp.c | 215 if (ret == -DBGP_ERR_BAD && --loop > 0) in dbgp_wait_until_done() 229 if (--loop > 0) in dbgp_wait_until_done() 429 int loop; in dbgp_ehci_startup() local 449 loop = 1000; in dbgp_ehci_startup() 455 } while (--loop > 0); in dbgp_ehci_startup() 457 if (!loop) { in dbgp_ehci_startup() 467 int loop = 250 * 1000; in dbgp_ehci_controller_reset() local 476 } while ((cmd & CMD_RESET) && (--loop > 0)); in dbgp_ehci_controller_reset() 478 if (!loop) { in dbgp_ehci_controller_reset() 612 int loop; in ehci_reset_port() local [all …]
|
/linux/arch/arm64/include/asm/ |
A D | percpu.h | 69 unsigned int loop; \ 81 : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \ 90 unsigned int loop; \ 103 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
|
/linux/net/rxrpc/ |
A D | key.c | 140 unsigned int len, paddedlen, loop, ntoken, toklen, sec_ix; in rxrpc_preparse_xdr() local 171 for (loop = 0; loop < len; loop++) in rxrpc_preparse_xdr() 172 if (!isprint(cp[loop])) in rxrpc_preparse_xdr() 174 for (; loop < paddedlen; loop++) in rxrpc_preparse_xdr() 175 if (cp[loop]) in rxrpc_preparse_xdr() 193 loop = ntoken; in rxrpc_preparse_xdr() 207 } while (--loop > 0); in rxrpc_preparse_xdr()
|
/linux/drivers/firmware/arm_scmi/ |
A D | base.c | 176 int ret, loop; in scmi_base_implementation_list_get() local 205 for (loop = 0; loop < loop_num_ret; loop++) in scmi_base_implementation_list_get() 206 protocols_imp[tot_num_ret + loop] = *(list + loop); in scmi_base_implementation_list_get()
|
/linux/drivers/pcmcia/ |
A D | pcmcia_cis.c | 302 struct pcmcia_loop_mem *loop = priv; in pcmcia_do_loop_tuple() local 304 return loop->loop_tuple(loop->p_dev, tuple, loop->priv_data); in pcmcia_do_loop_tuple() 325 struct pcmcia_loop_mem loop = { in pcmcia_loop_tuple() local 331 &loop, pcmcia_do_loop_tuple); in pcmcia_loop_tuple()
|