Home
last modified time | relevance | path

Searched refs:dstat (Results 1 – 3 of 3) sorted by relevance

/external/blktrace/
Dblkiomon.c61 struct dstat { struct
64 struct dstat *next; argument
85 static struct dstat *vacant_dstats_list = NULL;
87 static struct dstat *dstat_list[2] = {};
156 static struct dstat *blkiomon_alloc_dstat(void) in blkiomon_alloc_dstat()
158 struct dstat *dstat; in blkiomon_alloc_dstat() local
161 dstat = vacant_dstats_list; in blkiomon_alloc_dstat()
162 vacant_dstats_list = dstat->next; in blkiomon_alloc_dstat()
164 dstat = malloc(sizeof(*dstat)); in blkiomon_alloc_dstat()
165 if (!dstat) { in blkiomon_alloc_dstat()
[all …]
/external/u-boot/drivers/usb/gadget/
Df_dfu.c126 static void dfu_set_poll_timeout(struct dfu_status *dstat, unsigned int ms) in dfu_set_poll_timeout() argument
141 dstat->bwPollTimeout[0] = 0; in dfu_set_poll_timeout()
142 dstat->bwPollTimeout[1] = 0; in dfu_set_poll_timeout()
143 dstat->bwPollTimeout[2] = 0; in dfu_set_poll_timeout()
148 dstat->bwPollTimeout[0] = *p++; in dfu_set_poll_timeout()
149 dstat->bwPollTimeout[1] = *p++; in dfu_set_poll_timeout()
150 dstat->bwPollTimeout[2] = *p; in dfu_set_poll_timeout()
182 struct dfu_status *dstat = (struct dfu_status *)req->buf; in handle_getstatus() local
186 dfu_set_poll_timeout(dstat, 0); in handle_getstatus()
197 dfu_set_poll_timeout(dstat, dfu_get_manifest_timeout(dfu)); in handle_getstatus()
[all …]
/external/u-boot/scripts/
Dcheckpatch.pl4921 my ($off, $dstat, $dcond, $rest);
4925 ($dstat, $dcond, $ln, $cnt, $off) =
4927 $ctx = $dstat;
4934 $dstat =~ s/^.\s*\#\s*define\s+$Ident(\([^\)]*\))?\s*//;
4936 my $define_stmt = $dstat;
4945 $dstat =~ s/$;//g;
4946 $dstat =~ s/\\\n.//g;
4947 $dstat =~ s/^\s*//s;
4948 $dstat =~ s/\s*$//s;
4951 while ($dstat =~ s/\([^\(\)]*\)/1/ ||
[all …]