Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/Documentation/auxdisplay/
Dcfag12864b-example.c142 unsigned short i; in cfag12864b_fill() local
144 for (i = 0; i < CFAG12864B_SIZE; i++) in cfag12864b_fill()
145 cfag12864b_buffer[i] = 0xFF; in cfag12864b_fill()
153 unsigned short i; in cfag12864b_clear() local
155 for (i = 0; i < CFAG12864B_SIZE; i++) in cfag12864b_clear()
156 cfag12864b_buffer[i] = 0; in cfag12864b_clear()
167 unsigned char i, j, n; in cfag12864b_format() local
169 for (i = 0; i < CFAG12864B_HEIGHT; i++) in cfag12864b_format()
171 cfag12864b_buffer[i * CFAG12864B_WIDTH / CFAG12864B_BPB + in cfag12864b_format()
174 if (matrix[i * CFAG12864B_WIDTH + in cfag12864b_format()
[all …]
/Documentation/lguest/
Dlguest.c220 unsigned int i; in iov_empty() local
222 for (i = 0; i < num_iov; i++) in iov_empty()
223 if (iov[i].iov_len) in iov_empty()
231 unsigned int i; in iov_consume() local
233 for (i = 0; i < num_iov; i++) { in iov_consume()
236 used = iov[i].iov_len < len ? iov[i].iov_len : len; in iov_consume()
237 iov[i].iov_base += used; in iov_consume()
238 iov[i].iov_len -= used; in iov_consume()
351 unsigned int i; in map_elf() local
373 for (i = 0; i < ehdr->e_phnum; i++) { in map_elf()
[all …]
/Documentation/fb/
Dcmap_xfbdev.txt17 for (i = 0; i < 8; i++)
18 info->cmap.red[i] = (((2*i)+1)*(0xFFFF))/16;
23 for (i=0; i < 8; i++) {
26 sprintf(colorspec, "rgb:%x/%x/%x", i*36,i*36,i*36);
30 grays[i] = wantedColor;
/Documentation/video4linux/
Dextract_xc3028.pl103 for (my $i=0;$i<$length;$i++) {
104 printf "%02x ",ord(substr($out,$i,1)) if ($debug);
118 for (my $i=0;$i<$length;$i++) {
119 printf "%02x ",ord(substr($out,$i,1)) if ($debug);
123 my $i=0;
124 while ($i<$length) {
125 my $size = ord(substr($out,$i,1))*256+ord(substr($out,$i+1,1));
126 syswrite(OUTFILE, substr($out,$i+1,1));
127 syswrite(OUTFILE, substr($out,$i,1));
128 $i+=2;
[all …]
Dv4lgrab.c93 long i, tot = 0; in get_brightness_adj() local
94 for (i=0;i<size*3;i++) in get_brightness_adj()
95 tot += image[i]; in get_brightness_adj()
109 unsigned int i, src_depth; in main() local
192 for (i = 0; i < win.width * win.height; i++) { in main()
/Documentation/prctl/
Ddisable-tsc-ctxt-sw-stress-test.c78 int n_tasks = 100, i; in main() local
82 for (i=0; i<n_tasks; i++) in main()
85 if (i & 1) in main()
91 for (i=0; i<n_tasks; i++) in main()
Ddisable-tsc-on-off-stress-test.c82 int n_tasks = 100, i; in main() local
86 for (i=0; i<n_tasks; i++) in main()
90 for (i=0; i<n_tasks; i++) in main()
/Documentation/ia64/
Derr_inject.txt228 u64 i : 1,
246 i : 1,
730 int i;
732 for (i=0;i<ERR_DATA_BUFFER_SIZE; i++)
733 if (err_data_buffer[i]!=-1)
749 int i;
821 for (i=0;i<num;i++) {
822 if (create_sem(parameters[i].cpu)) {
823 printf("Can not create semaphore for cpu%d...exit\n",i);
836 for (i=0;i<num;i++) {
[all …]
Daliasing-test.c69 int i, n, r, rc = 0, result = 0; in scan_tree() local
78 for (i = 0; i < n; i++) { in scan_tree()
79 name = namelist[i]->d_name; in scan_tree()
114 free(namelist[i]); in scan_tree()
153 int i, n, r, rc = 0, result = 0; in scan_rom() local
162 for (i = 0; i < n; i++) { in scan_rom()
163 name = namelist[i]->d_name; in scan_rom()
202 free(namelist[i]); in scan_rom()
/Documentation/device-mapper/
Dstriped.txt4 Device-Mapper's "striped" target is used to create a striped (i.e. RAID-0)
35 my ($min_dev_size, $stripe_dev_size, $i);
42 for ($i = 1; $i < $num_devs; $i++) {
43 my $this_size = `blockdev --getsize $devs[$i]`;
52 for ($i = 0; $i < $num_devs; $i++) {
53 $table .= " $devs[$i] 0";
/Documentation/networking/
Difenslave.c247 int c, i, rv; in main() local
407 for (i = 0; i < 6; i++) { in main()
408 if (hwaddr[i] != 0) { in main()
575 int i; in if_print() local
586 for (i = ifc.ifc_len / sizeof(struct ifreq); --i >= 0; ifr++) { in if_print()
869 int i; in get_if_settings() local
872 for (i = 0; ifra[i].req_ifr; i++) { in get_if_settings()
873 strncpy(ifra[i].req_ifr->ifr_name, ifname, IFNAMSIZ); in get_if_settings()
874 res = ioctl(skfd, ifra[i].req_type, ifra[i].req_ifr); in get_if_settings()
878 ifname, ifra[i].req_name, in get_if_settings()
[all …]
Dregulatory.txt115 unsigned int i;
117 for (i = 0; i < ARRAY_SIZE(reg_alpha2_map); i++) {
118 reg_map = &reg_alpha2_map[i];
175 unsigned int i;
186 for (i=0; i < num_rules; i++)
187 memcpy(&rd->reg_rules[i],
188 &mydriver_jp_regdom.reg_rules[i],
/Documentation/filesystems/configfs/
Dconfigfs_example_macros.c410 int i; in configfs_example_init() local
413 for (i = 0; example_subsys[i]; i++) { in configfs_example_init()
414 subsys = example_subsys[i]; in configfs_example_init()
430 for (; i >= 0; i--) { in configfs_example_init()
431 configfs_unregister_subsystem(example_subsys[i]); in configfs_example_init()
439 int i; in configfs_example_exit() local
441 for (i = 0; example_subsys[i]; i++) { in configfs_example_exit()
442 configfs_unregister_subsystem(example_subsys[i]); in configfs_example_exit()
Dconfigfs_example_explicit.c447 int i; in configfs_example_init() local
450 for (i = 0; example_subsys[i]; i++) { in configfs_example_init()
451 subsys = example_subsys[i]; in configfs_example_init()
467 for (; i >= 0; i--) { in configfs_example_init()
468 configfs_unregister_subsystem(example_subsys[i]); in configfs_example_init()
476 int i; in configfs_example_exit() local
478 for (i = 0; example_subsys[i]; i++) { in configfs_example_exit()
479 configfs_unregister_subsystem(example_subsys[i]); in configfs_example_exit()
/Documentation/crypto/
Ddescore-readme.txt38 To more rapidly understand the code in this package, inspect desSmallFips.i
46 performance comparison to other available des code which i could
55 this has the quickest encryption/decryption routines i've seen.
56 since i was interested in fast des filters rather than crypt(3)
57 and password cracking, i haven't really bothered yet to speed up
58 the key setting routine. also, i have no interest in re-implementing
59 all the other junk in the mit kerberos des library, so i've just
69 improvements i had suggested to him, this package's
87 of the optimizations which i did in my encryption routines.
92 (at some point i may do the same in my package). he also implements
[all …]
/Documentation/mtd/
Dnand_ecc.txt105 for (i = 0; i < 256; i++)
107 if (i & 0x01)
111 if (i & 0x02)
115 if (i & 0x04)
119 if (i & 0x08)
123 if (i & 0x10)
127 if (i & 0x20)
131 if (i & 0x40)
135 if (i & 0x80)
191 int i;
[all …]
/Documentation/block/
Dbiodoc.txt56 2. New flexible and generic but minimalist i/o structure or descriptor
57 (instead of using buffer heads at the i/o layer)
96 capabilities to the maximum extent for better i/o performance. This is
103 Sophisticated devices with large built-in caches, intelligent i/o scheduling
115 i. Per-queue limits/values exported to the generic layer by the driver
117 Various parameters that the generic i/o scheduler logic uses are set at
170 ii. High-mem i/o capabilities are now considered the default
173 by default copyin/out i/o requests on high-memory buffers to low-memory buffers
176 for which the device cannot handle i/o. A driver can specify this by
179 where a device is capable of handling high memory i/o.
[all …]
/Documentation/
Dcpu-load.txt76 int i;
87 for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog (ULONG_MAX);
88 for (i = 0; i < HIST; ++i) tmp += v[i];
97 sigwait (&set, &i);
/Documentation/vm/
Dhugetlbpage.txt209 unsigned long i;
228 for (i = 0; i < LENGTH; i++) {
229 shmaddr[i] = (char)(i);
230 if (!(i % (1024 * 1024)))
236 for (i = 0; i < LENGTH; i++)
237 if (shmaddr[i] != (char)i)
238 printf("\nIndex %lu mismatched\n", i);
293 unsigned long i;
295 for (i = 0; i < LENGTH; i++)
296 *(addr + i) = (char)i;
[all …]
/Documentation/timers/
Dhpet.txt84 int i;
95 for (i = 0; i < (sizeof (hpet_command) / sizeof (hpet_command[0])); i++)
96 if (!strcmp(argv[0], hpet_command[i].command)) {
100 hpet_command[i].command);
101 hpet_command[i].func(argc, argv);
138 int iterations, i, fd;
185 for (i = 0; i < iterations; i++) {
230 int iterations, i, fd, value;
287 for (i = 0; i < iterations; i++) {
/Documentation/video4linux/cx2341x/
DREADME.hm1248 unsigned int y, x, i;
56 for (i = 0; i < 16; i++) {
57 memcpy(dst + x + (y + i) * dstride, src, 16);
66 unsigned int y, x, i;
75 for (i = 0; i < 16; i++) {
76 int idx = x + (y + i) * dstride;
96 int i;
/Documentation/aoe/
Dmkdevs.sh37 i=0
38 while test $i -lt $n_shelves; do
39 sh -xc "sh $mkshelf $dir $i"
40 i=`expr $i + 1`
/Documentation/pcmcia/
Dcrc32hash.c13 int i; in crc32() local
17 for (i = 0; i < 8; i++) in crc32()
/Documentation/usb/
Dgadget_printer.txt438 int i; /* Looping var */
447 for (i = 1; i < argc && !retval; i ++) {
449 if (argv[i][0] != '-') {
453 if (!strcmp(argv[i], "-get_status")) {
458 } else if (!strcmp(argv[i], "-paper_loaded")) {
463 } else if (!strcmp(argv[i], "-paper_out")) {
468 } else if (!strcmp(argv[i], "-selected")) {
473 } else if (!strcmp(argv[i], "-not_selected")) {
478 } else if (!strcmp(argv[i], "-error")) {
483 } else if (!strcmp(argv[i], "-no_error")) {
[all …]
/Documentation/dvb/
Dget_dvb_firmware35 for ($i=0; $i < scalar(@components); $i++) {
36 if ($cid eq $components[$i]) {
505 for($i=0; $i < scalar(@components); $i++) {
506 print STDERR "\t" . $components[$i] . "\n";

12345678910>>...13