Searched refs:loop (Results 1 - 9 of 9) sorted by relevance

/system/core/toolbox/
H A Dumount.c8 #include <linux/loop.h>
61 int loop, loop_fd; local
69 loop = is_loop_mount(argv[1], loopdev);
75 if (loop) {
76 // free the loop device
79 fprintf(stderr, "open loop device failed: %s\n", strerror(errno));
H A Dmount.c14 #include <linux/loop.h>
96 parse_mount_options(char *arg, unsigned long rwflag, struct extra_opts *extra, int* loop, char *loopdev) argument
100 *loop = 0;
109 if (strncmp(s, "loop=", 5) == 0) {
110 *loop = 1;
115 if (strcmp(s, "loop") == 0) {
116 *loop = 1;
165 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop, argument
171 if (loop) {
184 perror("open loop devic
305 int loop = 0; local
[all...]
/system/vold/
H A DLoop.h21 #include <linux/loop.h>
/system/core/libcutils/tests/memset_mips/
H A Dmemset_omips.S58 andi t0, a2, 0x7 # Enough left for one loop iteration?
61 addu a3, a0 # a3 is last loop address +1
62 move a2, t0 # a2 is now # of bytes left after loop
71 beq t0, zero, .Llast8 # word remaining after the loop
/system/core/libpixelflinger/codeflinger/
H A Ddisassem.c582 int loop; local
590 for (loop = 0; loop < 17; ++loop) {
592 if (loop == 16 || !(insn & (1 << loop))) {
597 if (start == loop - 1)
600 di->di_printf("r%d-r%d", start, loop - 1);
604 if (insn & (1 << loop))
605 start = loop;
[all...]
/system/core/init/
H A Dbuiltins.c33 #include <linux/loop.h>
407 } else if (!strncmp(source, "loop@", 5)) {
408 int mode, loop, fd; local
418 sprintf(tmp, "/dev/block/loop%d", n);
419 loop = open(tmp, mode);
420 if (loop < 0) {
424 /* if it is a blank loop device */
425 if (ioctl(loop, LOOP_GET_STATUS, &info) < 0 && errno == ENXIO) {
426 /* if it becomes our loop device */
427 if (ioctl(loop, LOOP_SET_F
[all...]
/system/core/sh/
H A Dexec.c511 loop:
518 goto loop;
524 goto loop;
530 goto loop;
541 goto loop;
545 goto loop;
548 goto loop;
562 goto loop;
565 goto loop;
568 goto loop;
[all...]
H A Dparser.c361 synerror("Bad for loop variable");
951 loop: { /* for each line, until end of word */
959 goto loop;
968 goto endword; /* exit outer loop */
976 goto loop; /* continue outer loop */
1114 goto endword; /* exit outer loop */
1117 goto endword; /* exit outer loop */
/system/core/fs_mgr/
H A Dfs_mgr.c37 #include <linux/loop.h>
166 * If not found, the loop exits with fl[i].name being null.

Completed in 131 milliseconds