Searched refs:m (Results 1 – 2 of 2) sorted by relevance
/xv6-public/ |
H A D | grep.c | 13 int n, m; in grep() local 16 m = 0; in grep() 17 while((n = read(fd, buf+m, sizeof(buf)-m-1)) > 0){ in grep() 18 m += n; in grep() 19 buf[m] = '\0'; in grep() 30 m = 0; in grep() 31 if(m > 0){ in grep() 32 m -= p - buf; in grep() 33 memmove(buf, p, m); in grep()
|
H A D | fs.c | 59 int b, bi, m; in balloc() local 66 m = 1 << (bi % 8); in balloc() 85 int bi, m; in bfree() local 89 m = 1 << (bi % 8); in bfree() 90 if((bp->data[bi/8] & m) == 0) in bfree() 92 bp->data[bi/8] &= ~m; in bfree() 455 uint tot, m; in readi() local 469 for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ in readi() 471 m = min(n - tot, BSIZE - off%BSIZE); in readi() 484 uint tot, m; in writei() local [all …]
|